/* 版面概念：大膽紅白黑的部落客雜誌。滿版電影感照片開場、粗黑標題、直角線條；手機單欄、電腦主欄＋側欄。
   刻意固定淺色：品牌樣貌對每位讀者一致。 */
:root {
  color-scheme: light;
  --red: #C8102E; --red-deep: #9C0C23; --ink: #111111; --ink-2: #2A2A28; --paper: #FFFFFF; --mist: #F3F3F1; --line: #E1E1DD; --muted: #5E5E59; --on-ink: #FFFFFF; --on-ink-muted: #BDBDB7;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-num: "Oswald", "Noto Sans TC", "Arial Narrow", sans-serif;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.8; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.35; font-weight: 900; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 40; }
.br-m { display: inline; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.wrap.narrow { max-width: 760px; }

.preview-bar { background: var(--ink); color: var(--on-ink-muted); font-size: 12px; text-align: center; padding: 5px 16px; letter-spacing: 1px; }

/* ===== 頁首 ===== */
.topbar { background: var(--ink); color: var(--on-ink); }
.topbar-inner { display: flex; align-items: center; gap: 14px; height: 36px; overflow-x: auto; }
.topbar-label { font-size: 11px; letter-spacing: 3px; color: var(--on-ink-muted); flex: none; }
.topbar nav { display: flex; gap: 4px; }
.topbar a { flex: none; font-size: 13px; padding: 0 10px; line-height: 36px; color: var(--on-ink); }
.topbar a[aria-current="page"] { background: var(--red); }
.topbar a:hover { background: var(--ink-2); }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); border-bottom: 3px solid var(--ink); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: baseline; gap: 10px; flex: none; }
.logo-name { font-weight: 900; font-size: 26px; letter-spacing: 3px; color: var(--red); line-height: 1; }
.logo-tag { font-size: 12px; letter-spacing: 4px; color: var(--muted); }
.main-nav { display: none; gap: 2px; margin-left: auto; }
.main-nav a { font-weight: 700; font-size: 15px; padding: 8px 12px; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.main-nav a:hover { border-bottom-color: var(--red); color: var(--red); }
.header-search { margin-left: auto; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.header-search:hover { color: var(--red); }

.menu { position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 22px; height: 2.5px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
.menu[open] summary span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu[open] summary span:nth-child(2) { opacity: 0; }
.menu[open] summary span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.menu-panel { position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 67px); bottom: 0; background: var(--ink); color: var(--on-ink); padding: 20px var(--gut-r) 40px var(--gut); overflow-y: auto; display: flex; flex-direction: column; }
.menu-panel a { font-size: 22px; font-weight: 900; padding: 10px 0; border-bottom: 1px solid var(--ink-2); }
.menu-panel a:hover { color: var(--red); }
.menu-label { margin: 20px 0 2px; font-size: 11px; letter-spacing: 3px; color: var(--on-ink-muted); }
.menu-label:first-child { margin-top: 0; }

/* ===== 共用元素 ===== */
.kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--red); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kicker a:hover { text-decoration: underline; }
.kicker.light { color: var(--on-ink); }
.flag { position: absolute; left: 0; top: 0; background: var(--ink); color: var(--on-ink); font-size: 11px; letter-spacing: 1px; padding: 4px 10px; font-weight: 700; }
.flag.static { position: static; }
.meta-line { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-family: var(--font-num); letter-spacing: 0.5px; }
.m-author { font-family: var(--font-body); font-weight: 700; color: var(--ink); letter-spacing: 0; }
.m-dot { width: 3px; height: 3px; background: var(--muted); }
.m-photos { display: inline-flex; align-items: center; gap: 4px; }
.meta { font-size: 13px; color: var(--muted); margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--red); transition: gap 0.2s; }
.text-link:hover { gap: 10px; }
.btn-red { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; background: var(--red); color: #FFFFFF; font-weight: 700; font-size: 15px; align-self: flex-start; transition: background 0.2s, gap 0.2s; }
.btn-red:hover { background: var(--red-deep); gap: 12px; }
.btn-outline-light { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border: 2px solid #FFFFFF; color: #FFFFFF; font-weight: 700; }
.btn-outline-light:hover { background: #FFFFFF; color: var(--red); }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 3px solid var(--ink); padding-top: 12px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; font-size: 22px; letter-spacing: 1px; }
.sec-en { font-family: var(--font-num); font-size: 12px; letter-spacing: 3px; color: var(--muted); }
.block { padding-block: 28px 4px; }

.avatar { display: flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #FFFFFF; font-weight: 900; font-size: 19px; }
.avatar-lg { width: 64px; height: 64px; font-size: 24px; }
.avatar-xl { width: 104px; height: 104px; font-size: 40px; margin: 0 auto; background: var(--red); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags.center { justify-content: center; }
.tag { font-size: 12px; padding: 3px 10px; border: 1px solid var(--line); color: var(--ink-2); }

.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.crumbs li + li::before { content: "/"; padding: 0 8px; opacity: 0.6; }
.crumbs a:hover { text-decoration: underline; }

/* ===== 首頁主視覺：滿版照片 ===== */
.home-hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: #FFFFFF; background: var(--ink); overflow: hidden; }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 18s ease-out both; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, 0.15) 0%, rgba(17, 17, 17, 0.2) 40%, rgba(17, 17, 17, 0.88) 100%); }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.home-hero-inner { position: relative; z-index: 1; width: 100%; padding-block: 48px 32px; display: grid; gap: 28px; }
.home-title { margin: 0; font-size: clamp(52px, 15vw, 128px); line-height: 1; letter-spacing: 6px; }
.home-title span { display: block; margin-top: 14px; font-size: 16px; font-weight: 500; letter-spacing: 1px; line-height: 1.7; max-width: 30em; color: #EDEDEA; }
.hero-story { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid rgba(255, 255, 255, 0.5); max-width: 640px; }
.hero-story-title { font-size: clamp(19px, 4.5vw, 26px); font-weight: 900; line-height: 1.45; }
.hero-story:hover .btn-red { background: var(--red-deep); gap: 12px; }

.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 32px 0; }

/* ===== 文章卡 ===== */
.list { display: flex; flex-direction: column; gap: 28px; }
.bcard { display: grid; gap: 14px; }
.bcard-img { position: relative; display: block; aspect-ratio: 3 / 2; max-width: 100%; overflow: hidden; background: var(--mist); }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.bcard:hover .bcard-img img { transform: scale(1.04); }
.bcard-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bcard-title { margin: 0; font-size: 20px; line-height: 1.45; }
.bcard-title a:hover { color: var(--red); }
.bcard-excerpt { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard-grid .bcard-title { font-size: 22px; }
.grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }

.guide-feature { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--ink); color: var(--on-ink); }
.guide-feature .kicker { color: #FF6B7D; }
.gf-title { font-size: 21px; font-weight: 900; line-height: 1.45; }
.gf-text { font-size: 14px; color: var(--on-ink-muted); }
.guide-feature .text-link { color: #FFFFFF; }

.faq-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.faq-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.faq-links a svg { flex: none; color: var(--red); transition: transform 0.2s; }
.faq-links a:hover { color: var(--red); }
.faq-links a:hover svg { transform: translateX(4px); }

/* ===== 主欄＋側欄 ===== */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 8px 40px; }
.content-main { min-width: 0; }
.sidebar { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.side-box .sec-head h2 { font-size: 17px; }
.side-about { padding: 22px; background: var(--red); color: #FFFFFF; }
.side-about p { margin: 0 0 12px; font-size: 14px; line-height: 1.8; }
.side-about .side-brand { font-size: 26px; font-weight: 900; letter-spacing: 3px; margin-bottom: 6px; }
.side-about .text-link { color: #FFFFFF; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.side-list a:hover { color: var(--red); }
.count { font-family: var(--font-num); color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: mini; }
.mini a { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: start; }
.mini-img { aspect-ratio: 1; overflow: hidden; background: var(--mist); position: relative; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-img::before { counter-increment: mini; content: counter(mini, decimal-leading-zero); position: absolute; left: 0; top: 0; z-index: 1; background: var(--red); color: #FFFFFF; font-family: var(--font-num); font-size: 12px; padding: 1px 6px; }
.mini-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini-text .kicker { font-size: 11px; }
.mini-title { font-weight: 700; font-size: 14px; line-height: 1.5; }
.mini a:hover .mini-title { color: var(--red); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.photo-grid a { aspect-ratio: 1; max-width: 100%; display: block; overflow: hidden; background: var(--mist); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.photo-grid a:hover img { transform: scale(1.08); }

/* ===== 紅色宣言帶 ===== */
.promise-band { background: var(--red); color: #FFFFFF; }
.promise-band .wrap { padding-block: 48px 52px; display: flex; flex-direction: column; gap: 28px; }
.promise-band h2 { margin: 0; font-size: clamp(26px, 6vw, 44px); line-height: 1.3; letter-spacing: 2px; }
.pb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.pb-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; border-top: 1px solid rgba(255, 255, 255, 0.45); padding-top: 16px; }
.pb-no { grid-row: span 2; font-family: var(--font-num); font-size: 36px; line-height: 1; font-weight: 600; }
.pb-list strong { font-size: 19px; font-weight: 900; }
.pb-list span:last-child { font-size: 14px; color: #FFE3E7; }
.promise-band .btn-outline-light { align-self: flex-start; }

/* ===== 城市／分區頁主視覺 ===== */
.page-hero { position: relative; background: var(--ink); color: #FFFFFF; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, 0.2), rgba(17, 17, 17, 0.75)); }
.page-hero-inner { position: relative; z-index: 1; padding-block: 28px 36px; display: flex; flex-direction: column; gap: 10px; }
.page-hero .crumbs ol { color: #D9D9D4; }
.page-hero h1 { margin: 8px 0 0; font-size: clamp(34px, 8vw, 60px); letter-spacing: 3px; line-height: 1.15; }
.page-hero-lead { margin: 0; max-width: 34em; color: #EDEDEA; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hero-chips a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1.5px solid rgba(255, 255, 255, 0.7); font-weight: 700; font-size: 14px; }
.hero-chips a span { font-family: var(--font-num); font-weight: 500; opacity: 0.8; }
.hero-chips a:hover { background: #FFFFFF; color: var(--ink); }

/* ===== 文章頁 ===== */
.article-hero { background: var(--ink); color: #FFFFFF; }
.article-cover { margin: 0; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-head { padding-block: 22px 30px; display: flex; flex-direction: column; gap: 12px; }
.article-head .crumbs ol { color: #CFCFC9; }
.article-head .kicker { color: #FF6B7D; }
.article-head .flag { background: #FFFFFF; color: var(--ink); }
.article-head h1 { margin: 0; font-size: clamp(26px, 6vw, 44px); line-height: 1.35; letter-spacing: 1px; max-width: 24em; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.byline .avatar { background: var(--red); width: 44px; height: 44px; font-size: 17px; }
.byline-name { font-weight: 700; }
.byline .meta { color: #CFCFC9; font-family: var(--font-num); letter-spacing: 0.5px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 28px 40px; }
.article-main { min-width: 0; max-width: 720px; }
.key-points { padding: 20px 22px; background: var(--mist); border-top: 4px solid var(--red); }
.key-points h2 { margin: 0; font-size: 15px; letter-spacing: 2px; color: var(--red); }
.key-points ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.key-points li { position: relative; padding-left: 20px; font-weight: 500; }
.key-points li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 8px; height: 8px; background: var(--red); }
.toc { margin-top: 20px; padding: 16px 0; border-block: 1px solid var(--line); }
.toc-title { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 3px; color: var(--muted); }
.toc ol { margin: 8px 0 0; padding-left: 22px; font-size: 15px; display: grid; gap: 4px; }
.toc a:hover { color: var(--red); }
.prose { font-size: 17px; line-height: 2; }
.prose h2 { font-size: 24px; margin: 44px 0 14px; letter-spacing: 1px; }
.prose h2::before { content: ""; display: block; width: 40px; height: 4px; background: var(--red); margin-bottom: 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 10px 0 28px; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--red); line-height: 1.6; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

.store { margin-top: 36px; padding: 24px; background: var(--ink); color: #FFFFFF; }
.store-label { margin: 0; font-size: 12px; letter-spacing: 3px; color: #FF6B7D; font-weight: 700; }
.store h2 { font-size: 24px; margin: 6px 0 14px; }
.store dl { margin: 0; display: grid; gap: 8px; font-size: 15px; }
.store dl div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 8px; border-top: 1px solid var(--ink-2); padding-top: 8px; }
.store dt { color: var(--on-ink-muted); }
.store dd { margin: 0; }
.store-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.btn { height: 48px; background: var(--red); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.btn:hover { background: var(--red-deep); }
.btn-ghost { background: transparent; border: 2px solid #FFFFFF; }
.btn-ghost:hover { background: #FFFFFF; color: var(--ink); }
.disclosure { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

.faq { margin-top: 40px; }
.faq > h2 { font-size: 22px; margin: 0 0 6px; border-top: 3px solid var(--ink); padding-top: 12px; }
.faq-item { padding-block: 16px; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 17px; margin: 0 0 6px; display: flex; gap: 10px; }
.faq-item h3::before { content: "Q"; font-family: var(--font-num); color: var(--red); }
.faq-item p { margin: 0; color: var(--ink-2); padding-left: 22px; }

.author-card a { margin-top: 36px; display: flex; gap: 16px; padding: 22px; border: 2px solid var(--ink); }
.author-card a > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.author-card strong { font-size: 19px; font-weight: 900; }
.author-bio { font-size: 14px; color: var(--muted); }
.author-card .avatar { background: var(--red); }

.related { background: var(--mist); padding-block: 36px 48px; }

/* ===== 其他頁 ===== */
.profile { text-align: center; padding-block: 32px 8px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.profile h1 { margin: 6px 0 0; font-size: 32px; letter-spacing: 2px; }
.profile p { margin: 0; max-width: 32em; }
.page-title { font-size: clamp(30px, 6vw, 44px); margin: 18px 0 10px; letter-spacing: 2px; }
.lead { color: var(--muted); font-size: 16px; margin: 0 0 18px; max-width: 36em; }
.author-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; padding-block: 16px 32px; }
.author-grid a { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 2px solid var(--ink); }
.author-grid a:hover { border-color: var(--red); }
.author-grid a span:last-child { font-size: 14px; color: var(--muted); }
.writers { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 4px; }
.writers a { flex: none; width: 80px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; text-align: center; line-height: 1.4; font-weight: 700; }
.writers a:hover .avatar { background: var(--red); }

.search-form { display: flex; max-width: 560px; border: 2px solid var(--ink); }
.search-form input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 0; font: inherit; background: var(--paper); color: var(--ink); }
.search-form button { height: 52px; padding: 0 22px; border: 0; background: var(--ink); color: #FFFFFF; font: inherit; font-weight: 700; cursor: pointer; }
.search-form button:hover { background: var(--red); }
.card-row { border-bottom: 1px solid var(--line); padding-block: 16px; }
.card-row h3 { margin: 8px 0 4px; font-size: 18px; }
.card-row a:hover h3 { color: var(--red); }

/* ===== 頁尾 ===== */
.site-footer { background: var(--ink); color: var(--on-ink); }
.footer-inner { padding-block: 44px 40px; display: grid; gap: 28px; }
.footer-brand { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: 3px; color: #FFFFFF; }
.footer-brand::after { content: ""; display: block; width: 40px; height: 4px; background: var(--red); margin-top: 10px; }
.footer-desc { margin: 14px 0 0; font-size: 14px; color: var(--on-ink-muted); max-width: 30em; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.footer-h { margin: 0 0 4px; font-size: 11px; letter-spacing: 3px; color: var(--on-ink-muted); }
.footer-cols a { font-size: 14px; }
.footer-cols a:hover { color: #FF6B7D; }
.footer-note { margin: 0; padding-top: 20px; border-top: 1px solid var(--ink-2); font-size: 12px; color: var(--on-ink-muted); }

/* ===== 斷點 ===== */
@media (min-width: 640px) {
  .bcard-list { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 22px; align-items: start; }
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-cover { aspect-ratio: 21 / 9; }
  .pb-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .br-m { display: none; }
}
@media (min-width: 1000px) {
  .main-nav { display: flex; }
  .header-search { margin-left: 0; }
  .menu { display: none; }
  .home-hero { min-height: 640px; }
  .home-hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 48px; padding-block: 72px 56px; }
  .hero-story { border-top: 0; border-left: 2px solid rgba(255, 255, 255, 0.5); padding: 0 0 0 28px; }
  .content-layout, .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
  .sidebar { position: sticky; top: 92px; align-self: start; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .footer-note { grid-column: 1 / -1; }
  .page-hero-inner { padding-block: 56px 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero > img { animation: none; }
  .bcard-img img, .photo-grid img, .menu summary span, .text-link { transition: none; }
}

/* 手機：文章列表改成小圖＋標題，方便快速瀏覽 */
@media (max-width: 639px) {
  .list .bcard-list { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; }
  .list .bcard-list .bcard-img { aspect-ratio: 1; }
  .list .bcard-list .bcard-title { font-size: 16px; }
  .list .bcard-list .bcard-excerpt { display: none; }
  .list .bcard-list .flag { font-size: 10px; padding: 2px 6px; }
  .list { gap: 20px; }
}
/* 首頁只有一篇副精選時：橫式大卡 */
.duo-one { grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 640px) {
  .bcard-wide { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
  .bcard-wide .bcard-title { font-size: 26px; }
}

/* ===================== 明亮出遊感配色（覆蓋上方深色版） =====================
   珊瑚橘為主色、天空藍與陽光黃點綴、深海軍藍文字；白底、圓角、輕陰影，年輕、明亮、有出遊的好心情 */
:root {
  --red: #FF5A3C; --red-deep: #E8432A; --ink: #1B2A3A; --ink-2: #3A4C5E; --mist: #F2F8FD; --line: #E2EAF1; --muted: #5A6A7A;
  --sky: #2E9BE6; --sky-deep: #1C7FC4; --sky-soft: #E7F4FD; --sun: #FFC93C; --sun-soft: #FFF5DA; --coral-soft: #FFEDE8;
  --on-ink: #1B2A3A; --on-ink-muted: #5A6A7A; --r: 16px;
  --shadow: 0 2px 6px rgba(27, 42, 58, 0.05), 0 10px 28px rgba(27, 42, 58, 0.08);
}
h1, h2, h3 { font-weight: 700; }
.preview-bar { background: var(--sun-soft); color: #7A5A00; }

/* 頁首 */
.topbar { background: var(--sky-soft); color: var(--ink); }
.topbar-label { color: var(--sky-deep); }
.topbar a { color: var(--ink); border-radius: 999px; line-height: 26px; padding: 0 12px; }
.topbar a:hover { background: #D3EBFB; }
.topbar a[aria-current="page"] { background: var(--sky); color: #FFFFFF; }
.site-header { border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(27, 42, 58, 0.04); }
.logo-name { color: var(--red); }
.logo-name::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-left: 4px; vertical-align: top; }
.main-nav a { border-radius: 999px; border-bottom: 0; margin-bottom: 0; }
.main-nav a:hover { background: var(--coral-soft); color: var(--red); }
.menu summary span { background: var(--ink); border-radius: 2px; }
.menu-panel { background: #FFFFFF; color: var(--ink); }
.menu-panel a { border-bottom-color: var(--line); font-weight: 700; }
.menu-label { color: var(--sky-deep); }

/* 按鈕與標籤 */
.btn-red, .btn, .search-form button { border-radius: 999px; }
.btn-red { box-shadow: 0 8px 20px rgba(255, 90, 60, 0.35); }
.btn-outline-light { border-radius: 999px; }
.kicker { color: var(--red); }
.flag { background: var(--sun); color: var(--ink); border-radius: 0 0 10px 0; }
.m-dot { border-radius: 50%; }
.avatar { background: var(--sky); }
.avatar-xl { background: linear-gradient(135deg, var(--red), var(--sun)); }
.tag { border-radius: 999px; background: var(--mist); border-color: transparent; }

/* 區塊標題：細線＋黃色小點 */
.sec-head { border-top: 0; padding-top: 0; }
.sec-head h2 { display: flex; align-items: center; gap: 10px; }
.sec-head h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 8px 0 0 var(--red); margin-right: 8px; }

/* 首頁主視覺：照片更亮、漸層更輕 */
.home-hero { background: var(--sky); }
.home-hero::after { background: linear-gradient(180deg, rgba(46, 155, 230, 0.10) 0%, rgba(27, 42, 58, 0) 35%, rgba(27, 42, 58, 0.62) 100%); }
.home-hero-inner { padding-bottom: 40px; }
.home-title { font-weight: 900; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.18); }
.hero-story { background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.35) !important; border-radius: 20px; padding: 20px !important; }

/* 文章卡 */
.bcard-img, .mini-img, .photo-grid, .article-cover, .cover { border-radius: var(--r); }
.bcard-img { box-shadow: var(--shadow); }
.photo-grid { overflow: hidden; }
.mini-img { border-radius: 12px; }
.mini-img::before { border-radius: 0 0 8px 0; }
.guide-feature { background: var(--sun-soft); color: var(--ink); border-radius: var(--r); }
.guide-feature .kicker { color: #B07800; }
.gf-text { color: var(--ink-2); }
.guide-feature .text-link { color: var(--red); }

/* 側欄 */
.side-about { background: linear-gradient(135deg, #2E9BE6 0%, #4CC3E8 100%); border-radius: var(--r); box-shadow: 0 12px 30px rgba(46, 155, 230, 0.3); }
.side-list a { border-bottom-color: var(--line); }
.side-list a:hover { color: var(--red); }

/* 宣言帶：日落暖色漸層 */
.promise-band { background: linear-gradient(120deg, #FF5A3C 0%, #FF8A3D 55%, #FFC23C 100%); }
.pb-list li { border-top-color: rgba(255, 255, 255, 0.6); }
.pb-list span:last-child { color: #FFF4E8; }

/* 城市／分區頁主視覺 */
.page-hero { background: linear-gradient(135deg, #2E9BE6, #5CC9EC); }
.page-hero > img { opacity: 1; }
.page-hero.has-photo::after { background: linear-gradient(180deg, rgba(27, 42, 58, 0.05), rgba(27, 42, 58, 0.6)); }
.hero-chips a { border-radius: 999px; background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(6px); }

/* 文章頁：白底、封面圓角 */
.article-hero { background: #FFFFFF; color: var(--ink); }

.article-head .crumbs ol { color: var(--muted); }
.article-head .kicker { color: var(--red); }
.article-head .flag { background: var(--sun); color: var(--ink); border-radius: 999px; padding: 3px 12px; }
.byline .meta { color: var(--muted); }
.byline .avatar { background: linear-gradient(135deg, var(--red), var(--sun)); }
.key-points { background: var(--sun-soft); border-top: 0; border-radius: var(--r); }
.key-points h2 { color: #B07800; }
.key-points li::before { background: var(--red); border-radius: 50%; }
.prose h2::before { border-radius: 999px; background: linear-gradient(90deg, var(--red), var(--sun)); }
.prose figure img { border-radius: var(--r); }
.prose figcaption { border-left-color: var(--sun); }
.store { background: var(--sky-soft); color: var(--ink); border-radius: var(--r); }
.store-label { color: var(--sky-deep); }
.store dl div { border-top-color: #CFE6F7; }
.store dt { color: var(--muted); }
.btn-ghost { border-color: var(--sky); color: var(--sky-deep); background: #FFFFFF; }
.btn-ghost:hover { background: var(--sky); color: #FFFFFF; }
.faq > h2 { border-top: 0; padding-top: 0; }
.faq-item { background: var(--mist); border: 0; border-radius: 12px; padding: 16px 18px; margin-top: 10px; }
.author-card a { border: 0; background: var(--mist); border-radius: var(--r); }
.author-card .avatar { background: linear-gradient(135deg, var(--red), var(--sun)); }
.related { background: var(--sky-soft); }
.author-grid a { border: 0; background: var(--mist); border-radius: var(--r); }
.search-form { border: 2px solid var(--line); border-radius: 999px; overflow: hidden; box-shadow: var(--shadow); }
.search-form button { background: var(--red); border-radius: 999px; margin: 4px; height: 44px; }

/* 頁尾：淺天空藍 */
.site-footer { background: var(--sky-soft); color: var(--ink); }
.footer-brand { color: var(--red); }
.footer-brand::after { background: var(--sun); border-radius: 999px; }
.footer-desc, .footer-note { color: var(--muted); }
.footer-h { color: var(--sky-deep); }
.footer-cols a:hover { color: var(--red); }
.footer-note { border-top-color: #CFE6F7; }

@media (min-width: 1000px) {
  .article-cover { margin: 24px auto 0; max-width: 1128px; aspect-ratio: 21 / 9; }
}
@media (max-width: 999px) {
  .article-cover { margin: 12px var(--gut-r) 0 var(--gut); }
}
.kicker.light { color: #FFFFFF; } .hero-story .kicker.light { color: #FFE27A; }
