/* 隱私權政策 / 服務條款:好讀的長文頁,手機直式與橫式都要能看 */
:root { --bg: #FFF6E0; --card: #FFFFFF; --ink: #1D2133; --muted: #5A5F70; --line: #E4DCC8; --accent: #8D6BE8; --link: #3F51C9; --th: #FFE680; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #1B1F3A; --card: #262B4D; --ink: #F3F0FF; --muted: #B7B9D0; --line: #3B4270; --accent: #C7B2FF; --link: #9FB2FF; --th: #3B4270; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; }
.top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); background: var(--bg); border-bottom: 2px solid var(--line); }
.brand { font-size: 17px; white-space: nowrap; } .brand span { color: var(--accent); margin-left: 4px; }
.seg { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; flex: none; }
.seg button { font: inherit; font-size: 14px; font-weight: 700; border: 0; padding: 4px 14px; background: var(--card); color: var(--ink); cursor: pointer; }
.seg button.on { background: #FFD84A; color: #1D2133; }
main { max-width: 780px; margin: 0 auto; padding: 8px max(16px, env(safe-area-inset-right)) 48px max(16px, env(safe-area-inset-left)); }
article { display: none; }
article.on { display: block; }
h1 { font-size: 26px; margin: 18px 0 2px; }
h2 { font-size: 18px; margin: 26px 0 6px; padding-left: 10px; border-left: 5px solid var(--accent); }
.date { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
ul { padding-left: 22px; margin: 6px 0; } li { margin: 3px 0; }
a { color: var(--link); text-underline-offset: 3px; }
table { width: 100%; border-collapse: collapse; background: var(--card); border: 2px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { background: var(--th); font-weight: 700; }
td:first-child { font-weight: 700; white-space: nowrap; }
.links { margin-top: 28px; font-weight: 700; }
/* 客服頁的聯絡方塊(/support) */
.contact { display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 10px 0 4px; }
.contact a { font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }
.contact small { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
/* 手機直式:表格改成一筆一張卡 */
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  h1 { font-size: 23px; }
  table, tbody, tr, td { display: block; width: 100%; }
  table { border: 0; background: none; }
  tr:first-child { display: none; }
  tr { background: var(--card); border: 2px solid var(--line); border-radius: 12px; margin: 8px 0; padding: 6px 10px; }
  td { border: 0; padding: 2px 0; white-space: normal !important; }
  td:nth-child(3) { color: var(--muted); font-size: 13.5px; }
}
