/* 宿寫 InnPen：作者網站四套版型共用（閱讀欄、側欄、店家資訊卡、地圖、目錄、延伸閱讀）
   每套版型的框架顏色與樣子在 travel.css／life.css／portfolio.css／clean.css */
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-400-700.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  --read: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --num: "Nunito", var(--read);
  --col: 36em;
  --paper: #fff; --ink: #1d1d1d; --muted: #5f5f5f; --link: #1d1d1d; --line: rgba(0,0,0,.14); --sel: #e8e8e8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* 程式切換顯示用；不讓 .cform 等自己的 display 蓋過去 */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--read); font-size: 17px; line-height: 1.85; background: var(--paper); color: var(--ink); font-variant-numeric: tabular-nums; }
a { color: var(--link); text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--sel); }
:focus-visible { outline: 3px solid #1780c3; outline-offset: 3px; }
/* 標題照一般方式換行、每行填滿（pretty 只避免最後一行孤字）。不用 balance：它會把中文標題每行切得一樣長，右邊留一大塊空白，手機上還會把「露營」這種詞拆成兩行 */
h1, h2, h3 { text-wrap: pretty; }
.wide { max-width: 72rem; margin: 0 auto; padding: 0 20px; }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { text-decoration: none; }
.sitename { text-decoration: none; font-weight: 700; letter-spacing: .04em; }
.nav { align-items: center; }

/* 已登入創作者的頭像選單（me.js 加上去，讀者看不到）；不跟版型配色，四套都用同一個中性樣子 */
.me { position: relative; display: inline-flex; }
.me-btn { width: 34px; height: 34px; padding: 0; border: 2px solid #fff; border-radius: 50%; overflow: hidden; background: #E9E5DF; color: #1d1d1d; cursor: pointer; box-shadow: 0 0 0 1px rgba(0,0,0,.18); display: grid; place-items: center; font: 700 14px var(--read); }
.me-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 跟寫作台的頭像選單同一個樣子：上方頭像＋名字＋Email，每一項有圖示，用虛線分組 */
.me-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 280px; background: #fff; color: #1d1d1d; border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.08); padding: 8px 0; font: 15px/1.4 "Nunito", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; text-align: left; letter-spacing: 0; }
.me-menu[hidden] { display: none; }
.me-head { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 10px 16px 14px; }
.me-head b { display: block; font-weight: 700; overflow-wrap: anywhere; }
.me-head small { display: block; color: #5f5f5f; font-size: 13px; overflow-wrap: anywhere; }
.me-av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #E9E5DF; font-weight: 700; font-size: 20px; }
.me-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.me-sep { height: 1px; margin: 6px 16px; background-image: repeating-linear-gradient(90deg, #d5ccc0 0 6px, transparent 6px 12px); }
.me-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 16px; color: #1d1d1d !important; text-decoration: none; opacity: 1 !important; font-weight: 700; }
.me-menu a svg { width: 18px; height: 18px; flex: none; color: #6b6b6b; }
.me-menu a:hover, .me-menu a:focus-visible { background: #F2EFEA; }
@media (max-width: 639px) { .me-menu { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; } }

/* 版面：電腦左文右側欄，手機側欄移到文章下面 */
.layout { max-width: 74rem; margin: 0 auto; padding: 0 20px; }
.layout .main { max-width: var(--col); margin: 0 auto; }
@media (min-width: 1100px) {
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
  .layout .main { margin: 0; justify-self: center; width: 100%; }
  .side { position: sticky; top: 20px; }
}
.layout.home .main { max-width: none; }

/* 內文 */
.body { padding-top: 1.6em; }
.body p { margin: 0 0 1.2em; }
/* 作者標的重點底色：三種顏色由各版型用 --m1／--m2／--m3 指定（跟版型配色一組），作者換版型顏色就跟著換 */
.body mark { color: inherit; padding: 0 .15em; border-radius: 3px; background: var(--m1, var(--sel)); }
.body mark.m2 { background: var(--m2, var(--sel)); }
.body mark.m3 { background: var(--m3, var(--sel)); }
.body h2 { font-size: 1.35rem; line-height: 1.45; margin: 2.4em 0 .7em; }
/* 小項：比大標小一級，用粗細與間距分層級，手機上也分得出來 */
.body h3 { font-size: 1.12rem; line-height: 1.5; margin: 1.8em 0 .5em; }
.body h4 { font-size: 1rem; line-height: 1.5; margin: 1.4em 0 .4em; }
.body h2[id], .body h3[id] { scroll-margin-top: 16px; }
.body figure { margin: 1.8em 0; }
.body figure img { margin: 0 auto; max-height: min(80vh, 900px); width: auto; }
.body figcaption { font-size: 14px; color: var(--muted); margin-top: .6em; line-height: 1.6; text-align: center; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); }
.meta .who { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: var(--line); }
.av-text { display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--ink); }
.av.md { width: 56px; height: 56px; font-size: 22px; }
.av.lg { width: 76px; height: 76px; font-size: 30px; }
.cat-tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 1px 10px; border-radius: 99px; text-decoration: none; }
.cat-tag + .cat-tag { margin-left: 6px; } /* 一篇可有多個分類標籤 */

/* 目錄 */
/* 文章目錄：有框、可收合（<details>，不用程式）、滑過有底線；各版型只改框的樣子 */
.toc { margin: 1.6em 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 6px; }
.toc summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc b { font-size: 14px; }
.toc .tg::after { content: "收合"; font: 13px/1 var(--read); color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 5px 10px; }
.toc details:not([open]) .tg::after { content: "展開"; }
.toc summary:hover .tg::after { color: var(--ink); border-color: var(--ink); }
.toc ol { margin: 8px 0 0; padding-left: 1.4em; font-size: 15px; line-height: 1.9; }
.toc a { color: var(--ink); text-decoration: none; }
.toc .sub { list-style: none; margin: 2px 0 6px; padding: 0 0 0 .2em; font-size: 14px; line-height: 1.75; }
.toc .sub li { position: relative; padding-left: 14px; }
.toc .sub li::before { content: ""; position: absolute; left: 0; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); opacity: .6; }
.toc .sub a { color: var(--muted); }
.toc .sub a:hover, .toc .sub a:focus-visible { color: var(--ink); }
.toc .sub .rest { color: var(--muted); }
.toc a:hover, .toc a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* 地圖 */
.map { margin: 1.2em 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.map iframe { display: block; width: 100%; height: 300px; border: 0; }
.map-link a { font-weight: 700; }

/* 店家資訊卡 */
.store { border: 1px solid var(--line); border-radius: 8px; margin: 2em 0 1.2em; overflow: hidden; }
.store .hd { padding: 12px 18px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.store .hd small { font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.store dl { margin: 0; padding: 4px 18px 6px; display: grid; grid-template-columns: 5.5em 1fr; font-size: 15px; }
.store dt, .store dd { padding: 8px 0; border-top: 1px dashed var(--line); margin: 0; }
.store dt { color: var(--muted); }
/* 下方的 .cta 是「關於我」等頁的膠囊按鈕樣式，這裡的 .cta 只是按鈕區塊的外框，要把那些樣式取消，不然整塊會變成一顆大膠囊 */
.store .cta { padding: 14px 18px 18px; display: grid; gap: 10px; margin: 0; border-radius: 0; background: none; color: inherit; font-weight: inherit; }
.store .code-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.store .code-line b { font: 700 1.2rem var(--num); letter-spacing: .12em; padding: 2px 12px; border: 2px dashed currentColor; border-radius: 4px; }
/* 代碼的折扣與條件：文字由人客多 PMS 提供，照原樣列出 */
.store .code-terms { font-size: 14px; line-height: 1.6; }
.store .code-terms b { display: block; }
.store .code-terms ul { margin: 2px 0 0; padding-left: 1.2em; color: var(--muted); }
.store .copy-code { font: inherit; font-size: 13px; color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; cursor: pointer; }
.store .book { display: block; text-align: center; text-decoration: none; font-weight: 700; padding: 13px 18px; border-radius: 99px; font-size: 16px; }
/* LINE 詢問：次要按鈕（主要動作是訂房），用框線不用滿版色塊 */
.store .line { display: block; text-align: center; text-decoration: none; font-weight: 700; padding: 11px 18px; border-radius: 99px; font-size: 15px; color: var(--ink); border: 1.5px solid var(--line); }
.store .line:hover { border-color: var(--ink); }
.store .note { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0; }

/* 分享、延伸閱讀 */
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 2em 0 1em; font-size: 14px; color: var(--muted); }
.share a, .share button { font: inherit; font-size: 14px; text-decoration: none; color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 99px; padding: 5px 14px; cursor: pointer; }
.related h2 { font-size: 1.15rem; margin: 2em 0 .8em; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { padding: 10px 0; border-top: 1px dashed var(--line); }
.related a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.6; }
.related small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }

/* 側欄 */
.side { font-size: 15px; padding: 32px 0 8px; }
.side section { margin: 0 0 30px; }
.side h3 { font-size: 13px; letter-spacing: .12em; margin: 0 0 12px; color: var(--muted); }
.side .about { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.side .about p { margin: 0; line-height: 1.6; font-size: 14px; color: var(--muted); }
.side .about b { color: var(--ink); display: block; font-size: 15px; }
.side .search { display: flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; background: var(--paper); }
.side .search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; padding: 9px 14px; color: var(--ink); }
.side .search button { border: 0; background: none; padding: 0 12px; color: var(--muted); cursor: pointer; }
.side .cats, .filters { display: flex; flex-wrap: wrap; gap: 8px; }
.side .cats a, .filters a { text-decoration: none; color: var(--ink); font-size: 14px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 99px; }
.side .cats a span, .filters a span { color: var(--muted); margin-left: 4px; }
.filters { margin: 24px 0 8px; }
.filters a[aria-current] { color: #fff; }
.filters a[aria-current] span { color: inherit; opacity: .85; }
.side .recent a { display: grid; grid-template-columns: 72px 1fr; gap: 10px; text-decoration: none; color: var(--ink); align-items: center; margin-bottom: 12px; line-height: 1.5; font-size: 14px; }
.side .recent img, .side .recent .ph { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; background: var(--line); }
.side .hot { list-style: none; margin: 0; padding: 0; counter-reset: hot; }
.side .hot li { counter-increment: hot; display: grid; grid-template-columns: 24px 1fr; gap: 8px; margin-bottom: 10px; line-height: 1.55; font-size: 14px; }
.side .hot li::before { content: counter(hot); font: 700 15px var(--num); color: var(--muted); }
.side .hot a { color: var(--ink); text-decoration: none; }
/* 我的推薦：跟近期文章同一種列；站外連結沒有圖，用「開新視窗」圖示與網域讓讀者知道會離開 */
.side .picks a { display: grid; grid-template-columns: 72px 1fr; gap: 10px; text-decoration: none; color: var(--ink); align-items: center; margin-bottom: 12px; line-height: 1.5; font-size: 14px; }
.side .picks img, .side .picks .ph { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; background: var(--line); display: grid; place-items: center; color: var(--muted); }
.side .picks .ph svg { width: 20px; height: 20px; }
/* 站外連結的平台色塊：顏色是各平台的代表色，記號用字母或簡單形狀 */
.side .picks .ph.ext b { font: 900 18px/1 var(--num); letter-spacing: 0; }
.side .picks .ph.ic-line b { font-size: 12px; }
.side .picks .ph.ic-facebook { background: #1877F2; color: #fff; }
.side .picks .ph.ic-instagram { background: linear-gradient(135deg, #F9CE34, #EE2A7B 55%, #6228D7); color: #fff; }
.side .picks .ph.ic-instagram svg { width: 24px; height: 24px; }
.side .picks .ph.ic-youtube { background: #FF0000; color: #fff; }
.side .picks .ph.ic-youtube svg { width: 30px; height: 30px; }
.side .picks .ph.ic-threads { background: #000; color: #fff; }
.side .picks .ph.ic-line { background: #06C755; color: #fff; }
.side .picks .ph.ic-tiktok { background: #000; color: #fff; }
.side .picks .ph.ic-x { background: #000; color: #fff; }
.side .picks .ph.ic-maps { background: #34A853; color: #fff; }
.side .picks .ph.ic-maps svg { width: 26px; height: 26px; }
.side .picks .ph.ic-pinterest { background: #E60023; color: #fff; }
.side .picks b { display: block; font-weight: 700; }
.side .picks small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.side .picks small svg { width: 12px; height: 12px; vertical-align: -2px; margin-right: 3px; }

/* 作者首頁 */
.intro { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 30px 0; }
.intro h1 { margin: 0 0 4px; font-size: clamp(1.7rem, 6vw, 2.6rem); line-height: 1.25; font-weight: 900; }
.intro p { margin: 0; color: var(--muted); }
.intro .since { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.side .more-about { display: inline-block; margin-top: 10px; font-size: 14px; text-decoration: none; color: var(--link); }
.side .more-about:hover { text-decoration: underline; }

/* 關於我頁、分類總覽頁（頁首沿用 .home-head，各版型的框自動套用） */
.about-page, .cats-page { padding: 8px 0 40px; }
.about-page .facts { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; }
.about-page .facts a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; text-decoration: none; color: var(--ink); }
.about-page .facts a:hover { border-color: var(--ink); }
.about-page .facts b { font: 700 16px var(--num); }
.about-page section { margin-top: 28px; padding-top: 26px; border-top: 1px dashed var(--line); }
.about-page h2 { font-size: 1.05rem; letter-spacing: .08em; margin: 0 0 14px; padding-left: 12px; border-left: 3px solid var(--link); line-height: 1.3; }
.about-page p { line-height: 1.85; margin: 0 0 1.1em; }
.about-page .latest + p { margin-top: 18px; }
.about-page .latest { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.about-page .latest a { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); line-height: 1.5; }
.about-page .latest img, .about-page .latest .ph { width: 88px; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; background: var(--line); display: block; }
.about-page .latest small { display: block; color: var(--muted); font-size: 13px; }
.cta { display: inline-block; margin-top: 10px; padding: 10px 22px; border-radius: 99px; font-weight: 700; text-decoration: none; background: var(--ink); color: var(--paper); }
.cats-intro { grid-template-columns: 1fr; }
.cats { display: grid; gap: 14px; margin-top: 16px; }
.cat { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); background: var(--paper); }
.cat:hover { border-color: var(--ink); }
.cat h2 { margin: 0; font-size: 1.1rem; }
.cat .n { color: var(--muted); font-size: 14px; }
.cat .thumbs { grid-column: 1 / -1; display: flex; gap: 6px; }
.cat .thumbs img { width: 72px; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; background: var(--line); }
.cat .latest { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.cats .none { margin: 4px 2px; color: var(--muted); font-size: 14px; }
.empty, .searching { color: var(--muted); }
.ph { display: block; background: var(--line); }
.pinned { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; }
.made { font-size: 13px; color: var(--muted); margin: 0; padding: 24px 0 40px; }
.made a { color: inherit; }
.tail { margin-top: 3em; }
.nf { max-width: 32rem; margin: 15vh auto; padding: 0 20px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ===== 6B：作者評分、按讚、留言、作者小鈴鐺 ===== */
/* 作者評分：放在店家資訊卡最上面 */
.rating { padding: 12px 18px 4px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; font-size: 15px; }
.rating .big { grid-row: span 5; display: grid; place-items: center; text-align: center; padding-right: 14px; border-right: 1px dashed var(--line); }
.rating .big b { font: 700 2.2rem/1 var(--num); }
.rating .big small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.rating .row { display: flex; justify-content: space-between; gap: 10px; }
.rating .row span:first-child { color: var(--muted); }
.store .rating .by { grid-column: 2; margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; vertical-align: -2px; }
.stars svg { width: 16px; height: 16px; }
/* 電腦與平板：星星放大一點、每一項不要拉得太開（以前 15px 在寬畫面上很小） */
@media (min-width: 600px) {
  .rating { font-size: 16px; gap: 8px 18px; }
  .rating .row { max-width: 360px; }
  .rating .row .stars svg { width: 21px; height: 21px; }
  .rating .big .stars svg { width: 19px; height: 19px; }
  .rating .big b { font-size: 2.6rem; }
}
.stars .on { fill: #D99A1E; }
.stars .off { fill: var(--line); }

/* 分享按鈕：打開分享面板（面板樣式在 /css/share-panel.css） */
.share .share-btn, .shares .share-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.share-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 按讚：跟分享同一排 */
.share .pop { margin-left: auto; font-variant-numeric: tabular-nums; } /* 人氣：文末這一排最右邊的灰色小字，不搶按鈕 */
.share .like { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-right: 6px; }
.like svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.share .like[aria-pressed="true"] { border-color: #D2475A; color: #B8283E; }
.like[aria-pressed="true"] svg { fill: #D2475A; stroke: #D2475A; }

/* 留言：名字與內容一律純文字，網址不會變成連結 */
.comments h2 { font-size: 1.15rem; margin: 2.2em 0 .4em; }
.comments .policy, .comments .c-empty { margin: 0 0 1em; font-size: 14px; color: var(--muted); }
.clist { list-style: none; margin: 0; padding: 0; }
.clist > li { padding: 16px 0; border-top: 1px dashed var(--line); }
.c-who { display: flex; align-items: center; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.c-who b { font-size: 15px; }
.c-who time { color: var(--muted); }
.c-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--sel); color: var(--ink); flex: none; object-fit: cover; }
.comments .c-text { margin: 8px 0 0 42px; font-size: 16px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.reply { margin: 12px 0 0 42px; padding: 12px 14px; border-radius: 8px; background: var(--sel); }
.reply .c-who b::after { content: "作者"; margin-left: 6px; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: var(--ink); color: var(--paper); vertical-align: 1px; }
.comments .reply .c-text { margin-left: 0; font-size: 15px; }
.cform { margin: 1.2em 0 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 12px; }
.cform h3 { margin: 0; font-size: 1rem; }
.cform label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cform input, .cform textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; }
.cform textarea { min-height: 110px; resize: vertical; }
.cform .count { font-size: 12px; color: var(--muted); text-align: right; margin-top: 2px; }
.cform .send { justify-self: start; font: inherit; font-weight: 700; font-size: 16px; padding: 11px 28px; border: 0; border-radius: 99px; background: var(--ink); color: var(--paper); cursor: pointer; }
.cform .send:disabled { opacity: .6; cursor: default; }
.cform .fine { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.c-error { margin: 0; color: #B3261E; font-size: 14px; font-weight: 700; }
.comments .sent { margin: 1.2em 0 0; padding: 14px 16px; border-radius: 8px; background: var(--sel); font-size: 15px; }
.comments .closed { margin: 1.2em 0 0; color: var(--muted); font-size: 15px; }

/* 作者在前台看自己的文章：待審核的留言與管理按鈕（me.js 加上，讀者看不到） */
.clist > li.is-pending { background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(217,58,58,.06) 10px 20px); padding-left: 10px; padding-right: 10px; }
.c-badge { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: #FBE3E3; color: #9B1C1C; }
.c-tools { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0 42px; }
.c-tools button, .c-mode select { font: inherit; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.c-tools .primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.c-replybox { margin: 10px 0 0 42px; display: grid; gap: 8px; }
.c-replybox .c-tools { margin: 0; }
.c-replybox textarea { width: 100%; min-height: 80px; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); }
.c-mode { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; font-size: 14px; padding: 10px 12px; border-radius: 8px; background: var(--sel); }

/* 作者的小鈴鐺（頭像左邊）；手機改放在頁首上方的細條，不擠壓各版型的頁首 */
.bell-wrap { position: relative; display: inline-flex; }
.bell { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); background: #fff; color: #1d1d1d; display: grid; place-items: center; cursor: pointer; padding: 0; }
.bell svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bell .dot { position: absolute; top: -3px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #D93A3A; color: #fff; font: 700 11px/18px var(--num); text-align: center; box-shadow: 0 0 0 2px #fff; }
.bell-panel { position: absolute; right: -44px; top: calc(100% + 8px); z-index: 50; width: min(340px, calc(100vw - 24px)); background: #fff; color: #1d1d1d; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.08); font-size: 14px; line-height: 1.5; text-align: left; overflow: hidden; }
.bell-panel[hidden] { display: none; }
.bell-panel .hd { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid rgba(0,0,0,.08); font-weight: 700; }
.bell-panel .hd small { font-weight: 400; color: #5f5f5f; }
.bell-panel a { display: block; padding: 12px 14px; color: #1d1d1d !important; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.06); opacity: 1 !important; white-space: normal; }
.bell-panel a:hover, .bell-panel a:focus-visible { background: #F7F4EF; }
.bell-panel a b { display: block; }
.bell-panel a q { display: block; quotes: none; color: #3a3a3a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bell-panel a small { color: #5f5f5f; }
.bell-panel .new { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #D93A3A; margin-right: 6px; vertical-align: 1px; }
.bell-panel .empty-note { margin: 0; padding: 14px; color: #5f5f5f; }
.bell-panel .ft { text-align: center; font-weight: 700; border: 0; color: #8A3D12 !important; }
.nav a { white-space: nowrap; }
.authorbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 16px; background: #1d1d1d; color: #fff; font-size: 13px; }
.authorbar .tools { display: inline-flex; gap: 10px; align-items: center; }
.authorbar .bell, .authorbar .me-btn { width: 30px; height: 30px; }
@media (min-width: 600px) { .authorbar { display: none; } }
/* 推薦這篇：選單項目右邊的小字說明；按過之後變橘色實心星 */
.me-menu .pick-item .tag { margin-left: auto; font-size: 12px; color: #6b6b6b; font-weight: 400; white-space: nowrap; }
.me-menu .pick-item.on-pick, .me-menu .pick-item.on-pick svg { color: #c2410c !important; }
.pick-note { position: fixed; left: 12px; right: 12px; bottom: 16px; z-index: 60; margin: 0 auto; max-width: 28rem; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 12px; background: #1d1d1d; color: #fff; font: 14px/1.5 "Nunito", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.pick-note a { color: #fdba74 !important; font-weight: 700; white-space: nowrap; }
@media (max-width: 599px) { .nav .bell-wrap, .nav .me { display: none; } }

/* 暫停顯示的網站（到期滿 60 天）：置中、不寫原因 */
.nf.paused { text-align: center; }
.nf.paused h1 { font-size: 1.5rem; }
.nf.paused p { color: var(--muted); line-height: 1.7; }
.nf.paused .made { padding: 24px 0 0; }
/* 作者自己的草稿預覽：最上面一條提示，捲動時一直在 */
.preview-bar { position: sticky; top: 0; z-index: 50; padding: 10px 16px; background: #1d1d1d; color: #fff; font-size: 14px; line-height: 1.5; text-align: center; }
.preview-bar b { display: inline-block; margin-right: 8px; padding: 1px 10px; border-radius: 99px; background: #f97316; color: #1d1d1d; }
.preview-bar a { display: inline-block; margin-left: 8px; color: #fff; font-weight: 700; text-underline-offset: 3px; }
