/* ============================================================
   剛剛好（Hi Dear）全站共用樣式
   - 這一份同時給「靜態頁」（index/about/services/portfolio）
     和「PHP 動態頁」（blog.php / post.php / contact.php / admin）使用
   - 色票與字體沿用 design-reference/homepage-mockup.html 的定案
   - 想改顏色，只要改下面 :root 裡的變數即可，全站會一起變
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@500;600;700&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ---------- 顏色 / 陰影變數 ---------- */
:root{
  --bg:#eef0e8;              /* 紙本米灰：頁面底色 */
  --surface:#ffffff;         /* 卡片、區塊底色 */
  --surface-2:#f7f6f0;       /* 次要底色（標籤、footer 區） */
  --ink:#202b2a;             /* 墨黑綠：主要文字 */
  --muted:#5b6663;           /* 次要文字（說明、日期） */
  --accent:#c78a1f;          /* 薑黃：美食主線強調色 */
  --accent-ink:#7a5610;      /* 薑黃深色（文字用，對比更夠） */
  --accent2:#2f5d62;         /* 護照藍綠：旅行主線強調色 */
  --accent2-ink:#1d3d40;     /* 護照藍綠深色（文字用） */
  --line:rgba(32,43,42,0.14);        /* 淡分隔線 */
  --line-strong:rgba(32,43,42,0.26); /* 明顯分隔線 / 邊框 */
  --shadow: 0 1px 2px rgba(32,43,42,0.07), 0 12px 32px rgba(32,43,42,0.09);
  --maxw:1120px;             /* 內容最大寬度 */
}

/* 深色模式：跟隨系統設定（使用者沒有手動指定時） */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#16211f; --surface:#1e2c29; --surface-2:#1a2624;
    --ink:#e9ede9; --muted:#9fada9;
    --accent:#e0a53f; --accent-ink:#f3d190;
    --accent2:#6fa8ac; --accent2-ink:#bfe0e2;
    --line:rgba(233,237,233,0.14); --line-strong:rgba(233,237,233,0.26);
    --shadow: 0 1px 2px rgba(0,0,0,0.35), 0 12px 32px rgba(0,0,0,0.4);
  }
}
/* 深色模式：使用者在右上角按鈕手動切到深色 */
:root[data-theme="dark"]{
  --bg:#16211f; --surface:#1e2c29; --surface-2:#1a2624;
  --ink:#e9ede9; --muted:#9fada9;
  --accent:#e0a53f; --accent-ink:#f3d190;
  --accent2:#6fa8ac; --accent2-ink:#bfe0e2;
  --line:rgba(233,237,233,0.14); --line-strong:rgba(233,237,233,0.26);
  --shadow: 0 1px 2px rgba(0,0,0,0.35), 0 12px 32px rgba(0,0,0,0.4);
}

/* ---------- 基本重置 ---------- */
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:'Public Sans',ui-sans-serif,system-ui,-apple-system,"PingFang TC","Noto Sans TC",sans-serif;
  line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:'Bitter',Georgia,"Noto Serif TC",serif; text-wrap:balance; letter-spacing:-0.01em; margin:0;}
p{margin:0 0 1em;}
.mono{font-family:'IBM Plex Mono',ui-monospace,monospace;}
a{color:inherit;}
img{display:block; max-width:100%;}
/* 圖片外層若指定了尺寸，圖片就填滿並裁切置中 */
.cover img,img.cover{width:100%; height:100%; object-fit:cover;}

/* 鍵盤操作時的聚焦外框（無障礙） */
:focus-visible{outline:2px solid var(--accent2); outline-offset:2px; border-radius:4px;}

/* 跳到主內容（螢幕閱讀器 / 鍵盤使用者用，平常看不到） */
.skip-link{
  position:absolute; left:-999px; top:0; z-index:100;
  background:var(--ink); color:var(--bg); padding:10px 16px; border-radius:0 0 8px 0;
}
.skip-link:focus{left:0;}

/* ---------- 版面容器 ---------- */
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px;}

/* 頁面頂端的提示條（例如「示意版、內容尚未串接」） */
.notice{
  background:var(--surface-2); border-bottom:1px dashed var(--line-strong);
  text-align:center; padding:8px 16px; font-family:'IBM Plex Mono',monospace;
  font-size:11.5px; letter-spacing:0.05em; color:var(--muted); text-transform:uppercase;
}

/* ============================================================
   導覽列（所有頁面共用，靜態頁與 PHP 頁的 HTML 要一致）
   ============================================================ */
.site-header{position:sticky; top:0; z-index:50; background:color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter:blur(8px); border-bottom:1px solid var(--line);}
nav.top{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0;}
.word{display:inline-flex; align-items:center; gap:9px; font-family:'Bitter',serif; font-weight:700; font-size:22px; text-decoration:none; white-space:nowrap;}
.word span{color:var(--accent-ink); font-size:13px; font-family:'IBM Plex Mono',monospace; font-weight:500; margin-left:0; letter-spacing:0.04em;}
/* 圓形圖記：用 CSS mask 帶入 SVG 外形，填色用 currentColor，深淺色自動適應
   小尺寸用簡化版 favicon.svg（少了弧形小字，縮小後比較清楚） */
.word-icon{
  width:32px; height:32px; flex:none;
  background:var(--ink);
  -webkit-mask:url(/assets/favicon.svg) center / contain no-repeat;
  mask:url(/assets/favicon.svg) center / contain no-repeat;
}
@media (max-width:820px){ .word-icon{width:28px; height:28px;} }

.navlinks{display:flex; gap:24px; font-size:13.5px; font-weight:500; align-items:center;}
.navlinks a{text-decoration:none; color:var(--muted); padding:4px 2px;}
.navlinks a:hover{color:var(--ink);}
/* 目前所在頁面的選單項目 */
.navlinks a[aria-current="page"]{color:var(--ink); border-bottom:2px solid var(--accent);}

.nav-actions{display:flex; align-items:center; gap:10px;}
.langtoggle{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; text-decoration:none;
  border:1px solid var(--line-strong); border-radius:100px; padding:5px 11px; color:var(--muted);
}
.langtoggle:hover{color:var(--ink);}

/* 深色 / 淺色切換按鈕 */
.themetoggle{
  background:var(--surface-2); border:1px solid var(--line-strong); color:var(--muted);
  width:34px; height:34px; border-radius:100px; cursor:pointer; font-size:15px;
  display:inline-flex; align-items:center; justify-content:center;
}
.themetoggle:hover{color:var(--ink);}

/* 手機版漢堡按鈕（桌機隱藏） */
.navtoggle{
  display:none; background:none; border:1px solid var(--line-strong); border-radius:8px;
  width:38px; height:34px; cursor:pointer; color:var(--ink); font-size:16px;
}

@media (max-width:820px){
  .navtoggle{display:inline-flex; align-items:center; justify-content:center;}
  .navlinks{
    position:absolute; left:0; right:0; top:100%;
    flex-direction:column; align-items:flex-start; gap:0;
    background:var(--surface); border-bottom:1px solid var(--line-strong);
    padding:8px 24px 16px; box-shadow:var(--shadow);
  }
  .navlinks a{display:block; width:100%; padding:12px 0; border-bottom:1px solid var(--line);}
  .navlinks a[aria-current="page"]{border-bottom:1px solid var(--line);}
  /* 預設收合，按漢堡才展開 */
  .site-header:not(.nav-open) .navlinks{display:none;}
}

/* ============================================================
   共用元件
   ============================================================ */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; font-family:'IBM Plex Mono',monospace;
  font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:var(--accent2-ink);
  background:var(--surface-2); border:1px solid var(--line); padding:5px 11px; border-radius:100px;
}

.btn{
  font-family:'Public Sans',sans-serif; font-weight:600; font-size:14.5px;
  padding:12px 22px; border-radius:8px; text-decoration:none; display:inline-block;
  border:1px solid transparent; cursor:pointer; transition:transform .12s ease, opacity .12s ease;
}
.btn:hover{transform:translateY(-1px);}
.btn:active{transform:translateY(0);}
.btn.primary{background:var(--ink); color:var(--bg);}
.btn.ghost{border-color:var(--line-strong); color:var(--ink); background:transparent;}

/* 區塊標題列（左標題、右小標籤） */
.sec-head{
  padding-top:56px; border-top:1px dashed var(--line-strong);
  display:flex; align-items:baseline; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:22px;
}
.sec-head h2{font-size:24px;}
.sec-head .tag{font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--muted); letter-spacing:0.05em;}

.badges{display:flex; gap:10px; flex-wrap:wrap;}
.badge{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:0.03em;
  background:var(--surface-2); border:1px solid var(--line-strong); color:var(--accent2-ink);
  padding:6px 12px; border-radius:100px;
}

/* ============================================================
   首頁 Hero
   ============================================================ */
.hero{display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; padding:40px 0 64px;}
@media (max-width:860px){.hero{grid-template-columns:1fr; gap:36px; padding:28px 0 48px;}}
.hero h1{font-size:clamp(32px,4.4vw,50px); margin:18px 0; font-weight:700;}
.hero p.lead{font-size:16.5px; color:var(--muted); max-width:46ch; margin:0 0 26px;}
.cta-row{display:flex; gap:12px; flex-wrap:wrap;}

/* 護照照片框 + 圓形印章 */
.passphoto{position:relative;}
.passphoto .frame{aspect-ratio:3/4; border-radius:14px; overflow:hidden; border:1px solid var(--line-strong); box-shadow:var(--shadow);}
.passphoto .frame img{width:100%; height:100%; object-fit:cover;}
.stamp{
  position:absolute; top:-14px; right:-14px; width:92px; height:92px; border-radius:50%;
  background:var(--surface); border:2px dashed var(--accent); box-shadow:var(--shadow);
  display:flex; align-items:center; justify-content:center; text-align:center; transform:rotate(9deg);
}
.stamp span{font-family:'IBM Plex Mono',monospace; font-size:10px; font-weight:600; color:var(--accent-ink); line-height:1.35; letter-spacing:0.02em;}
.photocap{margin-top:10px; font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--muted); display:flex; justify-content:space-between;}

/* ============================================================
   關於我區塊（首頁精簡版 + about.html 完整版共用）
   ============================================================ */
.about{display:grid; grid-template-columns:220px 1fr; gap:36px; align-items:start; padding:56px 0; border-top:1px dashed var(--line-strong);}
@media (max-width:700px){.about{grid-template-columns:1fr;}}
.about .portrait{border-radius:12px; overflow:hidden; aspect-ratio:4/3; border:1px solid var(--line-strong); box-shadow:var(--shadow);}
.about .portrait img{width:100%; height:100%; object-fit:cover;}
.about h2{font-size:24px; margin-bottom:4px;}
.about .nickname{color:var(--muted); font-size:14px; margin-bottom:14px;}
.about p{max-width:64ch; font-size:15px;}

/* ============================================================
   旅行足跡（行李吊牌卡片）
   ============================================================ */
.gallery{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; padding-bottom:60px;}
@media (max-width:860px){.gallery{grid-template-columns:repeat(2,1fr);}}
@media (max-width:460px){.gallery{grid-template-columns:1fr;}}
.tagcard{border-radius:12px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); background:var(--surface);}
.tagcard .ph{aspect-ratio:3/4; position:relative;}
.tagcard .ph img{width:100%; height:100%; object-fit:cover;}
.tagcard .ph::after{content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,0.62), rgba(0,0,0,0) 55%);}
.tagcard .ph .lbl{position:absolute; left:12px; bottom:10px; color:#fff; z-index:1;}
.tagcard .ph .lbl .code{font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.08em; opacity:0.85;}
.tagcard .ph .lbl .place{font-family:'Bitter',serif; font-weight:600; font-size:15.5px;}
.tagcard .cap{padding:10px 12px; font-size:12.5px; color:var(--muted);}

/* ============================================================
   服務項目卡片
   ============================================================ */
.services{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; padding-bottom:64px;}
@media (max-width:760px){.services{grid-template-columns:1fr;}}
.svc{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:22px; box-shadow:var(--shadow);}
.svc .tag{font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.06em; text-transform:uppercase; color:var(--accent2-ink); display:block; margin-bottom:8px;}
/* 線條圖示：用 CSS mask 帶入 icons/ 裡的 SVG 外形，填色隨主題 */
.svc-icon{
  display:block; width:30px; height:30px; margin-bottom:12px;
  background:var(--accent2-ink);
  -webkit-mask:var(--i) center / contain no-repeat;
  mask:var(--i) center / contain no-repeat;
}
.svc-icon.food{background:var(--accent-ink);}

/* 通用小圖示：跟著周圍文字大小（em）與顏色。用法：
   <i class="ico ico--travel" style="--i:url(/assets/icons/route.svg)"></i> */
.ico{
  display:inline-block; width:1.15em; height:1.15em; vertical-align:-0.2em; margin-right:0.4em;
  background:currentColor;
  -webkit-mask:var(--i) center / contain no-repeat;
  mask:var(--i) center / contain no-repeat;
}
.ico--travel{color:var(--accent2-ink);}
.ico--food{color:var(--accent-ink);}
.ico--muted{color:var(--muted);}

/* 區塊分隔裝飾：一條虛線，中間停一個小圖示 */
.divider-mark{
  display:flex; align-items:center; gap:16px; color:var(--muted);
  margin:8px 0 40px;
}
.divider-mark::before, .divider-mark::after{content:""; flex:1; border-top:1px dashed var(--line-strong);}
.divider-mark .ico{width:22px; height:22px; margin:0; opacity:0.8;}
.svc h3{font-size:17px; margin-bottom:8px;}
.svc p{font-size:14px; color:var(--muted); margin:0;}
.svc ul{font-size:13.5px; color:var(--muted); margin:10px 0 0; padding-left:18px;}
.svc ul li{margin-bottom:4px;}

/* ============================================================
   一般內文頁（about / services / portfolio 內文段落用）
   ============================================================ */
.page-head{padding:48px 0 8px;}
.page-head h1{font-size:clamp(28px,3.6vw,40px); margin:12px 0;}
.page-head p.lead{font-size:16px; color:var(--muted); max-width:52ch;}
.prose{padding:24px 0 56px; max-width:68ch;}
.prose h2{font-size:22px; margin:36px 0 12px;}
.prose h3{font-size:17px; margin:24px 0 8px;}
.prose ul{padding-left:20px;}
.prose li{margin-bottom:6px;}
.prose .small{font-size:13px;}
.prose .muted{color:var(--muted);}
.small{font-size:13px;}
.muted{color:var(--muted);}

/* 簡易時間軸（帶團經歷 / 里程碑） */
.timeline{list-style:none; padding:0; margin:16px 0 0; border-left:2px solid var(--line-strong);}
.timeline li{position:relative; padding:0 0 20px 22px;}
.timeline li::before{content:""; position:absolute; left:-7px; top:4px; width:12px; height:12px; border-radius:50%; background:var(--accent2);}
.timeline .when{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--muted);}
.timeline .what{font-weight:600;}

/* ============================================================
   表單（聯絡我 contact.php 用）
   ============================================================ */
.form-card{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:28px; box-shadow:var(--shadow); max-width:560px;}
.form-row{margin-bottom:18px;}
.form-row label{display:block; font-size:13.5px; font-weight:600; margin-bottom:6px;}
.form-row input, .form-row textarea{
  width:100%; font:inherit; padding:10px 12px; border:1px solid var(--line-strong);
  border-radius:8px; background:var(--bg); color:var(--ink);
}
.form-row textarea{min-height:140px; resize:vertical;}
/* 蜜罐欄位：給機器人填的，真人看不到 */
.hp-field{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
.form-msg{padding:12px 14px; border-radius:8px; font-size:14px; margin-bottom:18px;}
.form-msg.ok{background:color-mix(in srgb, var(--accent2) 18%, var(--surface)); color:var(--accent2-ink);}
.form-msg.err{background:color-mix(in srgb, #c0392b 15%, var(--surface)); color:#a83227;}

/* ============================================================
   部落格列表 / 單篇（blog.php / post.php 用）
   ============================================================ */
.post-list{display:grid; grid-template-columns:repeat(2,1fr); gap:22px; padding:24px 0 56px;}
@media (max-width:720px){.post-list{grid-template-columns:1fr;}}
.post-card{background:var(--surface); border:1px solid var(--line); border-radius:12px; overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column;}
.post-card .ph{aspect-ratio:16/9;}
.post-card .ph img{width:100%; height:100%; object-fit:cover;}
.post-card .body{padding:18px 20px 22px;}
.post-card .when{font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--muted);}
.post-card h2{font-size:18px; margin:6px 0 8px;}
.post-card p{font-size:14px; color:var(--muted); margin:0;}
.post-card a.more{display:inline-block; margin-top:12px; font-size:13.5px; font-weight:600; color:var(--accent2-ink); text-decoration:none;}

.article{max-width:70ch; padding:24px 0 64px;}
.article .cover{aspect-ratio:16/9; border-radius:12px; overflow:hidden; border:1px solid var(--line-strong); margin:16px 0 24px; box-shadow:var(--shadow);}
.article h1{font-size:clamp(26px,3.4vw,38px); margin:12px 0;}
.article .meta{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--muted); margin-bottom:8px;}
.article p{font-size:15.5px;}
.article img{border-radius:10px; margin:20px 0;}
.backlink{display:inline-block; margin:8px 0 0; font-size:13.5px; color:var(--accent2-ink); text-decoration:none;}

/* 文章頁：關聯的出團紀錄連結卡 */
.tour-ref{
  display:flex; flex-direction:column; gap:2px; text-decoration:none;
  background:var(--surface-2); border:1px solid var(--line-strong); border-left:3px solid var(--accent2);
  border-radius:8px; padding:12px 16px; margin:20px 0 8px;
}
.tour-ref:hover{background:var(--surface);}
.tour-ref-tag{font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.05em; color:var(--muted); text-transform:uppercase;}
.tour-ref-title{font-family:'Bitter',serif; font-weight:600; font-size:15px; color:var(--accent2-ink);}

/* 部落格列表：小小的關聯團標籤 */
.post-tour-tag{
  display:inline-block; align-self:flex-start; margin:2px 0 6px;
  font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--accent2-ink);
  background:var(--surface-2); border:1px solid var(--line); border-radius:100px; padding:2px 9px; text-decoration:none;
}
.post-tour-tag:hover{border-color:var(--line-strong);}

/* ============================================================
   帶團紀錄（前台 tours.php / tour.php）
   ============================================================ */
.tour-list{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; padding:24px 0 56px;}
@media (max-width:900px){.tour-list{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.tour-list{grid-template-columns:1fr;}}
.tour-card{
  background:var(--surface); border:1px solid var(--line); border-radius:12px; overflow:hidden;
  box-shadow:var(--shadow); display:flex; flex-direction:column; text-decoration:none; color:inherit;
  transition:transform .12s ease;
}
.tour-card:hover{transform:translateY(-2px);}
.tour-card .ph{aspect-ratio:4/3; position:relative; background:var(--surface-2);}
.tour-card .ph img{width:100%; height:100%; object-fit:cover;}
.tour-card .body{padding:16px 18px 20px; display:flex; flex-direction:column; gap:6px; flex:1;}
.tour-card h2{font-size:17px;}
.tour-card .dest{font-size:13px; color:var(--muted);}
.tour-card .when{font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--muted); margin-top:auto;}

/* 狀態標籤 */
.tour-badge{
  display:inline-flex; align-items:center; gap:6px; align-self:flex-start;
  font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.04em;
  padding:3px 9px; border-radius:100px; border:1px solid var(--line-strong);
}
.tour-badge::before{content:""; width:6px; height:6px; border-radius:50%; background:currentColor;}
.tour-badge.upcoming{color:var(--accent2-ink); background:color-mix(in srgb, var(--accent2) 14%, var(--surface));}
.tour-badge.ongoing{color:var(--accent-ink); background:color-mix(in srgb, var(--accent) 16%, var(--surface));}
.tour-badge.done{color:var(--muted); background:var(--surface-2);}
.tour-badge.undated{color:var(--muted); background:var(--surface-2);}
/* 卡片上疊在圖片左上角 */
.tour-card .ph .tour-badge{position:absolute; left:10px; top:10px; background:var(--surface); box-shadow:var(--shadow);}

/* 單團頁 */
.tour-detail{max-width:820px; padding:24px 0 64px;}
.tour-detail .head-row{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:10px;}
.tour-detail h1{font-size:clamp(26px,3.4vw,38px); margin:8px 0;}
.tour-detail .meta{font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--muted); margin-bottom:20px;}
.tour-detail .summary{font-size:15.5px; white-space:pre-line; margin-bottom:28px;}
.tour-media{display:grid; grid-template-columns:repeat(2,1fr); gap:16px;}
@media (max-width:640px){.tour-media{grid-template-columns:1fr;}}
.tour-media figure{margin:0; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--surface); box-shadow:var(--shadow);}
.tour-media figure.wide{grid-column:1 / -1;}
.tour-media img{width:100%; height:100%; object-fit:cover; display:block;}
.tour-media .embed{position:relative; aspect-ratio:16/9;}
.tour-media .embed iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
.tour-media figcaption{padding:8px 12px; font-size:12.5px; color:var(--muted);}
.tour-media .linkcard{padding:16px; font-size:14px;}
.tour-media .linkcard a{color:var(--accent2-ink);}

/* ============================================================
   頁尾
   ============================================================ */
footer.site-footer{border-top:1px dashed var(--line-strong); margin-top:24px;}
footer.site-footer .footer-inner{
  padding:40px 24px 48px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
}
footer.site-footer .brand{font-family:'Bitter',serif; font-weight:700; font-size:20px;}
footer.site-footer .slogan{color:var(--muted); font-size:13.5px; margin-top:4px;}
footer.site-footer .mono{font-size:12px; color:var(--muted); text-align:right;}
/* 低調的後台登入入口：只有剛哥會用，訪客看到也無妨 */
footer.site-footer .admin-link{display:inline-block; margin-top:6px; font-size:11px; color:var(--muted); text-decoration:none; opacity:0.7;}
footer.site-footer .admin-link:hover{opacity:1; color:var(--ink);}

/* ---------- 動畫偏好：使用者若要求減少動態效果 ---------- */
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}
