/* 回憶蛋網站（隱私權政策、支援、404；首頁是 home.css）：繪本色系、手機好讀。字型是自己放的霞鶩文楷子集（fonts/，design/site/gen_a.py prod 產生），沒有外部字型、沒有追蹤碼。 */
@font-face { font-family: "LXGW WenKai TC"; src: url(/fonts/wenkai-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "LXGW WenKai TC"; src: url(/fonts/wenkai-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --bg: #F3EBDC;
  --paper: #FFFBF3;
  --rule: #E7D9C2;
  --ink: #5B4636;
  --soft: #7A6453;
  --accent: #C25A3F;
  --accent-bg: #F7E3D6;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "LXGW WenKai TC", -apple-system, BlinkMacSystemFont, "PingFang TC", "Hiragino Sans CNS", "Noto Sans CJK TC", "Microsoft JhengHei", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
a { color: var(--accent); text-underline-offset: 0.18em; }
.wrap { max-width: 40rem; margin: 0 auto; padding: 0 1.15rem; }
.bar {
  position: sticky; top: 0; z-index: 2;
  background: rgba(246, 238, 221, 0.95);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
  padding-top: env(safe-area-inset-top, 0);
}
.bar .wrap { display: flex; gap: 0.9rem; align-items: center; font-size: 0.95rem; }
.bar a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; text-decoration: none; }
.bar a:hover, .bar a:focus-visible { text-decoration: underline; }
.bar .brand { color: var(--ink); margin-right: auto; gap: 0.5rem; font-weight: 600; }
.bar .brand img { width: 26px; height: 26px; border-radius: 24%; }
main { padding-bottom: 3.5rem; }
section { padding-top: 1.6rem; }
section + section { border-top: 1px dashed var(--rule); margin-top: 2rem; }
h1, h2, h3 { line-height: 1.4; font-weight: 700; }
h1 { font-size: 1.6rem; margin: 0.6rem 0 0.4rem; }
h2 { font-size: 1.15rem; margin: 1.8rem 0 0.4rem; }
h3 { font-size: 1.02rem; margin: 1.3rem 0 0.2rem; }
p, ul { margin: 0.5rem 0; }
ul { padding-left: 1.3rem; }
li { margin: 0.25rem 0; }
.meta { color: var(--soft); font-size: 0.92rem; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 0.9rem 1.1rem; margin: 1rem 0; }
.lead { font-size: 1.12rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.45rem 0.5rem; border-bottom: 1px solid var(--rule); }
th { color: var(--soft); font-weight: 600; }
.hero { text-align: center; padding: 2.4rem 0 0.6rem; }
.hero img { width: 112px; height: 112px; border-radius: 24%; box-shadow: 0 10px 24px -14px rgba(91, 70, 54, 0.7); }
.hero h1 { font-size: 1.9rem; margin-top: 1rem; }
.hero .tag { font-size: 1.12rem; color: var(--soft); margin: 0.2rem 0 0; text-wrap: balance; }
.links { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: 1.2rem 0 0; }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; background: var(--accent-bg); text-decoration: none; font-weight: 600; }
footer { color: var(--soft); font-size: 0.88rem; text-align: center; padding: 2rem 1rem calc(2rem + env(safe-area-inset-bottom, 0)); }
