/* =========================================================
   Stand with 楊舜博 — 樣式
   配色與排版仿照 standwithjensen.com（深色底＋螢光綠）
   ========================================================= */

:root {
  --bg: #0e0f0d;
  --bg-2: #121311;
  --fg: #dee0e3;
  --fg-warm: #efebe3;
  --muted: #9a9ea3;
  --muted-2: #6f7378;
  --border: #333430;
  --border-soft: rgba(222, 224, 227, 0.12);
  --card: #161714;
  --card-border: #2f302c;
  --input: #494a46;
  --accent: #77b800;
  --accent-hi: #8fd20f;
  --accent-fg: #0b0d07;
  --accent-soft: rgba(119, 184, 0, 0.14);
  --accent-line: rgba(119, 184, 0, 0.55);
  --danger: #e8604f;

  /* 字型照原站（standwithjensen.com 繁中版實測）：內文與標題用蘋方／微軟正黑體，
     主視覺問句用 Saira、綠底大字用 Impact、公開信內文用 Archivo、標籤用 JetBrains Mono、簽名人姓名用 Georgia */
  --font-cjk: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC";
  --font-sans: var(--font-cjk), sans-serif;
  --font-display: var(--font-cjk), sans-serif;
  --font-h1: var(--font-cjk), sans-serif;
  --font-ask: Saira, var(--font-cjk), sans-serif;
  --font-impact: Impact, Haettenschweiler, "Arial Narrow Bold", Saira, var(--font-cjk), sans-serif;
  --font-sub: Archivo, var(--font-cjk), sans-serif;
  --font-letter: Archivo, system-ui, sans-serif;
  --font-num: var(--font-cjk), sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-serif: Georgia, "Times New Roman", "Noto Serif CJK TC", "Songti TC", SimSun, PMingLiU, serif;
  --display-lh: 1.45;
  --h1-ls: normal;

  --container: 72rem;
  --gutter: 24px;
  --radius: 4px;
}

/* ---------- 各語言字型 ---------- */
/* 簡中、日文、韓文：同一個漢字在中日韓的字形不同，換成各自的系統字型 */
:root:lang(zh-Hans) { --font-cjk: "PingFang SC", "Microsoft YaHei", "Noto Sans SC"; }
:root:lang(ja) { --font-cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Sans JP"; }
:root:lang(ko) { --font-cjk: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR"; }
/* 非中日韓語言照原站英文版：內文 Archivo、標題 Saira、主標 Archivo，標題行距收緊；楊舜博三個字由系統字型補 */
:root:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) {
  --font-sans: Archivo, system-ui, sans-serif;
  --font-display: Saira, system-ui, sans-serif;
  --font-h1: Archivo, system-ui, sans-serif;
  --font-ask: Saira, system-ui, sans-serif;
  --font-impact: Impact, Haettenschweiler, "Arial Narrow Bold", Saira, system-ui, sans-serif;
  --font-sub: Archivo, system-ui, sans-serif;
  --font-num: Archivo, system-ui, sans-serif;
  --display-lh: 0.95;
  --h1-ls: -0.012em;
}
/* 天城文、孟加拉文、泰米爾文的上下附加符號比較高，標題行距不能太緊 */
:root:lang(hi), :root:lang(bn), :root:lang(ta) { --display-lh: 1.25; }

/* 翻譯檔載入前先藏起頁面，避免閃一下中文（head 裡的程式最多藏 3 秒） */
.i18n-pending body { opacity: 0; }
body { transition: opacity .15s ease; }

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-fg); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.accent { color: var(--accent); }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 18px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, filter .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn-primary:hover { filter: brightness(1.12); }
.btn-outline { background: rgba(14, 15, 13, 0.4); border-color: rgba(222, 224, 227, 0.35); color: var(--fg); }
.btn-outline:hover { border-color: var(--fg); }
.btn-ghost-accent { background: transparent; border-color: var(--accent-line); color: var(--fg); }
.btn-ghost-accent:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-sm { min-height: 30px; padding: 5px 12px; font-size: 11px; }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 15px; }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; filter: none; }

/* ---------- 頂部分享列 ---------- */
.topbar {
  background: var(--bg);
  border-bottom: 1px solid rgba(222, 224, 227, 0.15);
  padding: 4px 0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.topbar-left { display: flex; align-items: center; gap: 2px; min-width: 0; }
.topbar-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding-right: 6px;
  font-size: 15px; font-weight: 600; color: var(--accent);
  text-decoration: none; white-space: nowrap;
}
.topbar-tag svg { width: 16px; height: 16px; }
.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 36px; color: var(--muted);
  text-decoration: none; transition: color .15s;
}
.icon-link:hover { color: var(--fg); }
.icon-link svg { width: 16px; height: 16px; }
.topbar-right { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.copy-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 10px;
  background: transparent; border: 1px solid var(--border); border-radius: 2px;
  font-size: 12px; color: var(--fg); cursor: pointer;
}
.copy-link:hover { border-color: var(--muted); }
.copy-link svg { width: 13px; height: 13px; }

/* 語言選單（照原站：放在頂部列右邊的下拉選單） */
.lang-select { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.lang-wrap { position: relative; display: block; min-width: 0; }
.lang-wrap select {
  appearance: none; -webkit-appearance: none;
  height: 30px; max-width: 140px; padding: 0 26px 0 9px;
  background: var(--bg); color: var(--fg);
  border: 1px solid rgba(222, 224, 227, 0.3); border-radius: 2px;
  font-size: 12px; cursor: pointer;
  text-overflow: ellipsis;
}
.lang-wrap select:hover { border-color: var(--muted); }
.lang-wrap select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.lang-wrap select option { background: var(--bg); color: var(--fg); }
.lang-wrap svg {
  position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
  transform: translateY(-50%); pointer-events: none; color: var(--muted);
}

/* ---------- 主導覽列 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 27, 25, 0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(222, 224, 227, 0.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--fg); }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 3px;
  background: var(--accent); color: var(--accent-fg);
  font-size: 15px; font-weight: 800;
}
.brand-name .accent { margin-left: .25em; }
.nav { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.nav a { text-decoration: none; color: var(--fg); opacity: .92; }
.nav a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); isolation: isolate; }
.hero-photos {
  position: absolute; inset: 0; z-index: -2;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
}
.hero-photo {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 30%, #2a2c27 0%, #151613 70%),
    #151613;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  filter: saturate(.85) brightness(.75);
}
/* 多張並排時，第一張轉黑白（跟原站一樣）；只有一張時保留彩色 */
.hero-photo:first-child:not(:only-child) img { filter: grayscale(1) contrast(1.05); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 15, 13, .78) 0%, rgba(14, 15, 13, .55) 40%, rgba(14, 15, 13, .38) 70%, rgba(14, 15, 13, .32) 100%),
    linear-gradient(180deg, rgba(14, 15, 13, .2) 0%, rgba(14, 15, 13, 0) 30%, rgba(14, 15, 13, .35) 75%, var(--bg) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 475px);
  align-items: end;
  gap: 40px;
  padding-top: 120px;
  padding-bottom: 96px;
}
.hero h1 {
  margin: 0 0 56px;
  font-size: clamp(54px, 7.4vw, 106px);
  line-height: 1.42;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero-ask { margin: 0 0 10px; font-size: 21px; font-weight: 700; }
.hero-highlight {
  display: inline-block;
  margin: 0 0 12px;
  padding: 2px 12px 4px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.04em;
}
.hero-sub { margin: 0 0 30px; font-size: 13.5px; font-weight: 500; color: var(--fg); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-links {
  border-left: 3px solid var(--accent);
  padding: 2px 0 2px 12px;
  margin-bottom: 26px;
  display: grid; gap: 8px;
}
.hero-links a { font-size: 19px; line-height: 1.35; text-underline-offset: 4px; }
.hero-links a.green { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }
.hero-links a.white { color: var(--fg); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; }

.tally {
  background: rgba(17, 18, 16, 0.86);
  border: 1px solid rgba(222, 224, 227, 0.1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 26px 26px 22px;
}
.tally-label { margin: 0; font-size: 13px; color: var(--muted); }
.tally-total {
  margin: 4px 0 18px;
  font-family: var(--font-num);
  font-size: clamp(64px, 7.2vw, 100px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.tally-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.tally-cell { border-top: 1px solid var(--border); padding: 18px 0 16px; min-width: 0; }
.tally-cell .n {
  font-family: var(--font-num);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 500; line-height: 1.05;
  color: var(--fg-warm);
  white-space: nowrap;
}
.tally-cell .l { margin-top: 8px; font-size: 12px; color: var(--muted); }
.tally-note { margin: 10px 0 0; font-size: 11px; color: var(--muted-2); }

/* ---------- 行動呼籲 ---------- */
.call { padding: 40px 0 40px; border-bottom: 1px solid var(--border-soft); }
.call-box {
  border: 1px solid var(--accent-line);
  border-left-width: 3px;
  background:
    linear-gradient(135deg, rgba(119, 184, 0, 0.09) 0%, rgba(119, 184, 0, 0.02) 55%, rgba(119, 184, 0, 0.0) 100%),
    #11130e;
  padding: 34px 30px 30px;
}
.call-box h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.4; }
.call-event { display: flex; gap: 10px; margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.call-event svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.call-event span { display: block; }
.call-box p { margin: 0 0 10px; max-width: 46em; font-size: 14px; color: var(--fg); opacity: .88; }
.call-box .btn { margin-top: 18px; }

/* ---------- 統計 ---------- */
.stats { padding: 56px 0 40px; }
.stats-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 300px);
  align-items: end;
  gap: 28px;
  margin-bottom: 36px;
}
.stats-big {
  font-family: var(--font-num);
  font-size: clamp(88px, 13vw, 168px);
  font-weight: 500;
  line-height: .95;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stats-title { font-size: 26px; font-weight: 700; line-height: 1.3; }
.stats-asof { margin-top: 4px; font-size: 12px; color: var(--muted); }
.stats-pct-row { display: flex; align-items: flex-start; gap: 10px; }
.stats-pct { font-family: var(--font-num); font-size: clamp(52px, 6vw, 72px); font-weight: 500; line-height: 1; color: var(--fg-warm); }
.stats-pct-cap { font-size: 11px; line-height: 1.5; color: var(--muted); white-space: nowrap; margin-top: 6px; }
.meter { position: relative; height: 12px; margin-top: 14px; background: #262724; overflow: hidden; }
.meter > i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); transition: width .8s ease; }

.bars { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; row-gap: 14px; }
.bar-row { font-size: 11.5px; }
.bar-row .top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.bar-row .top .c { font-family: var(--font-num); font-weight: 600; }
.bar-track { height: 4px; background: #262724; position: relative; overflow: hidden; }
.bar-track > i { position: absolute; inset: 0 auto 0 0; width: 0; transition: width .8s ease; }
.stats-note { margin: 14px 0 22px; font-size: 11px; color: var(--muted); }

/* ---------- 即時簽名 / 名單卡 ---------- */
.live { padding: 6px 0 64px; }
.live-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.live-head h2 { margin: 0; font-size: 24px; font-weight: 700; color: var(--accent); }
.live-time { font-family: var(--font-mono); font-size: 10px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.live-time::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(119, 184, 0, .6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(119, 184, 0, .55); }
  70% { box-shadow: 0 0 0 7px rgba(119, 184, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(119, 184, 0, 0); }
}

.sig-card {
  background:
    radial-gradient(120% 140% at 50% 0%, #1d1e1b 0%, #121311 60%, #0f100e 100%);
  border: 1px solid #1f201d;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.sig-list { list-style: none; margin: 0; padding: 0 14px; }
.sig {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  padding: 11px 0 10px;
  border-bottom: 1px solid rgba(222, 224, 227, 0.08);
}
.sig:last-child { border-bottom: 0; }
.sig-who { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 9px; row-gap: 2px; }
.sig-name { font-family: var(--font-serif); font-size: 19px; font-weight: 500; color: var(--fg-warm); letter-spacing: 0.01em; }
.sig-aff { font-size: 10.5px; color: var(--muted); }
.sig-meta { display: flex; align-items: center; gap: 10px; align-self: start; padding-top: 4px; }
.sig-date { font-family: var(--font-mono); font-size: 10px; color: var(--muted); white-space: nowrap; }
.sig-msg {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  font-size: 11.5px; line-height: 1.6;
  color: rgba(222, 224, 227, 0.82);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sig-msg.open { -webkit-line-clamp: unset; display: block; }
.sig-msg.clickable { cursor: pointer; }
.sig-empty { padding: 34px 14px; text-align: center; font-size: 13px; color: var(--muted); }

.badge {
  display: inline-flex; align-items: center;
  height: 18px; padding: 0 6px;
  font-size: 10px; font-weight: 600; white-space: nowrap;
  border: 1px solid; border-radius: 2px;
}
.badge-student   { color: #b6e35a; background: rgba(119, 184, 0, .16);  border-color: rgba(119, 184, 0, .55); }
.badge-alumni    { color: #f0c75e; background: rgba(212, 160, 23, .16); border-color: rgba(212, 160, 23, .55); }
.badge-faculty   { color: #c7adff; background: rgba(150, 110, 230, .18); border-color: rgba(150, 110, 230, .55); }
.badge-parent    { color: #86ded7; background: rgba(56, 178, 172, .16); border-color: rgba(56, 178, 172, .5); }
.badge-supporter { color: #c5cbd1; background: rgba(160, 170, 180, .12); border-color: rgba(160, 170, 180, .4); }

/* ---------- 公開信 ---------- */
.letter-sec { padding: 72px 0 80px; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.letter-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; }
.letter-aside { position: relative; }
.letter-aside-inner { position: sticky; top: 92px; }
.letter-aside h2 { margin: 0 0 40px; font-size: clamp(34px, 3.6vw, 48px); font-weight: 800; line-height: 1.45; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toc a { font-size: 11.5px; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--fg); }
.toc .n { font-family: var(--font-mono); color: var(--accent); margin-right: 6px; }

.letter-body { max-width: 44em; }
.fact { padding-bottom: 22px; }
.fact + .fact { padding-top: 6px; }
.fact .mono-label { margin-bottom: 8px; font-size: 9.5px; }
.fact p { margin: 0 0 10px; font-size: 16px; line-height: 1.9; color: var(--fg); }
.fact a.src { font-size: 11px; color: var(--fg); text-underline-offset: 3px; }
.fact a.src svg { width: 10px; height: 10px; vertical-align: -1px; margin-left: 2px; }
.letter-rule { border: 0; border-top: 1px solid var(--border); margin: 26px 0 30px; }

.letter p { margin: 0 0 24px; font-size: 15px; line-height: 2.05; color: rgba(222, 224, 227, 0.9); }
.letter .salute { font-size: 16px; color: var(--fg); margin-bottom: 26px; }
.dropcap::first-letter {
  float: left;
  font-size: 66px; line-height: 1; font-weight: 900;
  color: var(--accent);
  margin: 6px 14px 0 0;
}
.letter ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 18px; }
.letter li { position: relative; padding-left: 22px; font-size: 15px; line-height: 2; color: rgba(222, 224, 227, 0.9); }
.letter li::before { content: ""; position: absolute; left: 2px; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.letter li strong { color: var(--fg); }
.letter .thanks {
  margin: 38px 0 30px;
  font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.6;
  color: var(--accent);
}
.letter .signoff { border-top: 1px solid var(--border); padding-top: 14px; font-size: 11px; line-height: 1.8; color: var(--muted); }

/* ---------- 簽署者名單 ---------- */
.signers { padding: 72px 0 88px; background: rgba(23, 24, 22, 0.5); }
.signers-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 32px; align-items: start; margin-bottom: 26px; }
.signers-head h2 { margin: 0; font-size: clamp(44px, 5vw, 60px); font-weight: 800; line-height: 1.15; color: var(--accent); }
.signers-head p { margin: 18px 0 0; font-size: 11.5px; line-height: 1.75; color: var(--muted); }
.field-label { display: block; margin-bottom: 8px; font-size: 10.5px; color: var(--muted); }
.search {
  width: 100%; max-width: 360px; height: 40px; padding: 0 12px;
  background: #1a1b18; border: 1px solid #2a2b27; border-radius: 2px;
  font-size: 13px; color: var(--fg); outline: none;
}
.search::placeholder { color: var(--muted-2); }
.search:focus { border-color: var(--accent-line); }
.seg { display: inline-flex; border: 1px solid var(--border); margin-bottom: 18px; }
.seg button {
  height: 30px; padding: 0 14px;
  background: transparent; border: 0; border-right: 1px solid var(--border);
  font-size: 11.5px; color: var(--fg); cursor: pointer;
}
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-line); }
.signers-count { margin: 0 0 14px; font-size: 11.5px; color: var(--muted); }

.pager { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 22px; }
.pager-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.pager button {
  min-width: 32px; height: 32px; padding: 0 10px;
  background: #151613; border: 1px solid var(--border); border-radius: 2px;
  font-size: 11px; color: var(--fg); cursor: pointer;
}
.pager button[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); font-weight: 700; }
.pager button[disabled] { opacity: .45; cursor: default; }
.pager .gap { align-self: center; padding: 0 4px; color: var(--muted); font-size: 11px; }
.pager-jump { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.pager-jump input { width: 64px; height: 32px; padding: 0 8px; background: #151613; border: 1px solid var(--border); border-radius: 2px; font-size: 12px; }

/* ---------- 簽署表單 ---------- */
.sign { padding: 64px 0 88px; }
.sign-title { margin: 0; padding-bottom: 22px; border-bottom: 1px solid var(--border); font-size: 26px; font-weight: 700; color: var(--accent); }
.sign-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; padding-top: 40px; }
.sign-pitch h3 { margin: 0 0 40px; font-size: clamp(34px, 3.6vw, 44px); font-weight: 800; line-height: 1.55; }
.sign-pitch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 11.5px; color: var(--muted); }

.form-box { border: 1px solid var(--border); padding: 16px 16px 18px; margin-bottom: 18px; background: #121311; }
.form-box .mono-label { font-size: 9px; margin-bottom: 8px; }
.form-box p { margin: 0 0 10px; font-size: 11.5px; color: var(--muted); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin: 22px 0 0; }
.field > span { display: block; font-size: 10.5px; color: var(--muted); margin-bottom: 4px; }
.field input[type="text"],
.field input[type="email"] {
  width: 100%; height: 38px; padding: 0 2px;
  background: transparent; border: 0; border-bottom: 1px solid var(--input);
  outline: none; font-size: 15px; color: var(--fg); border-radius: 0;
}
.field input:focus { border-bottom-color: var(--accent); }
.field textarea {
  width: 100%; min-height: 128px; padding: 10px 12px; resize: vertical;
  background: transparent; border: 1px solid var(--input); border-radius: 0;
  outline: none; font-size: 14px; line-height: 1.7;
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(222,224,227,.05) 31px 32px);
}
.field textarea:focus { border-color: var(--accent-line); }
.field-help { margin: 6px 0 0; font-size: 10.5px; color: var(--muted-2); }
.counter { font-family: var(--font-mono); font-size: 10px; color: var(--muted-2); margin-top: 4px; }

.idgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.idopt { position: relative; }
.idopt input { position: absolute; opacity: 0; pointer-events: none; }
.idopt span {
  display: flex; align-items: center;
  height: 38px; padding: 0 12px;
  border: 1px solid var(--input);
  font-size: 12.5px; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.idopt span:hover { border-color: var(--muted); }
.idopt input:checked + span { background: rgba(119, 184, 0, .16); border-color: var(--accent-line); color: var(--fg-warm); }
.idopt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.checks { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.checks .lead { margin: 0 0 4px; font-size: 10.5px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.6; cursor: pointer; }
.check input { margin: 3px 0 0; width: 14px; height: 14px; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-msg { margin: 16px 0 0; font-size: 13px; min-height: 1em; }
.form-msg.err { color: var(--danger); }
.form-msg.ok { color: var(--accent); }

/* ---------- 聯絡組織者 ---------- */
.contact { padding: 72px 0 88px; border-top: 1px solid var(--border-soft); background: rgba(23, 24, 22, 0.5); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; }
.contact-intro h2 { margin: 0 0 18px; font-size: clamp(34px, 3.6vw, 44px); font-weight: 800; line-height: 1.4; }
.contact-lead { margin: 0 0 26px; font-size: 14px; color: var(--fg); max-width: 34em; }
.contact-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; border-top: 1px solid var(--border); padding-top: 18px; }
.contact-points li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; font-size: 12.5px; line-height: 1.7; color: rgba(222, 224, 227, .82); }
.contact-points .n { font-family: var(--font-mono); font-size: 11px; color: var(--accent); padding-top: 2px; }
.contact-points a { color: var(--accent); }
.contact-form .field:first-of-type { margin-top: 0; }
.field-tag { font-style: normal; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-line); padding: 0 5px; margin-left: 6px; }
.contact-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.contact-actions .field-help { margin: 0; max-width: 26em; }
.form-actions { margin-top: 22px; }

.success {
  border: 1px solid var(--accent-line);
  background: linear-gradient(135deg, rgba(119, 184, 0, .12), rgba(119, 184, 0, .02));
  padding: 26px 24px;
}
.success h4 { margin: 0 0 10px; font-size: 22px; color: var(--accent); }
.success p { margin: 0 0 10px; font-size: 13.5px; }
.success p.success-note { font-size: 12px; color: var(--muted); }
.code-box {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 14px 0 10px; padding: 12px 14px;
  background: #0b0c0a; border: 1px dashed var(--accent-line);
}
.code-box code { font-family: var(--font-mono); font-size: 22px; letter-spacing: .14em; color: var(--fg-warm); }

.withdraw { margin-top: 26px; border-top: 1px solid var(--border); padding-top: 14px; }
.withdraw summary { cursor: pointer; font-size: 12px; color: var(--muted); }
.withdraw summary:hover { color: var(--fg); }
.withdraw form { padding-top: 4px; }

/* ---------- 分享 ---------- */
.share { padding: 72px 0 96px; border-top: 1px solid var(--border-soft); }
.share-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.share-left h2 { margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border); font-size: clamp(34px, 3.6vw, 44px); font-weight: 800; line-height: 1.55; }
.share-left h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.share-tags { margin: 0; font-size: 13px; color: var(--accent); }
.share-note { margin: 10px 0 14px; font-size: 11px; color: var(--muted); }
.share-btns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.share-btns a, .share-btns button {
  display: flex; align-items: center; justify-content: center;
  height: 36px; background: transparent; border: 1px solid var(--border);
  font-size: 12px; color: var(--fg); text-decoration: none; cursor: pointer;
}
.share-btns a:hover, .share-btns button:hover { border-color: var(--muted); }
.share-msg { margin-top: 18px; }
.share-msg .mono-label { margin: 0 0 8px; }
.share-msg textarea {
  display: block; width: 100%; resize: none; margin: 0 0 8px; padding: 10px 12px;
  background: #0b0c0a; border: 1px solid var(--border); border-radius: 0;
  color: var(--fg); font: 12px/1.65 var(--font-mono);
}
.share-tips { margin: 16px 0 0; padding: 0 0 0 16px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.share-tips li + li { margin-top: 3px; }
.signed-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.signed-share svg { fill: currentColor; }

/* ---------- 即時更新的提示動畫 ---------- */
.sig.is-new { animation: sig-new 2.6s ease-out; }
@keyframes sig-new {
  0% { background: rgba(119, 184, 0, .22); }
  100% { background: rgba(119, 184, 0, 0); }
}
.bump { animation: bump 1.4s ease-out; }
@keyframes bump {
  0% { text-shadow: 0 0 22px rgba(119, 184, 0, .95); }
  100% { text-shadow: none; }
}
.facts { border-top: 1px solid var(--border); }
.facts div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.facts dt { font-size: 10.5px; color: var(--muted); }
.facts dd { margin: 0; font-size: 12.5px; }
.facts { margin: 0; }

/* ---------- 隱私權 ---------- */
.privacy { padding: 64px 0 72px; border-top: 1px solid var(--border-soft); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; }
.privacy h2 { margin: 0; font-size: 30px; font-weight: 800; }
.privacy dl { margin: 0; display: grid; gap: 16px; max-width: 44em; }
.privacy dt { font-size: 13px; font-weight: 700; color: var(--fg); margin-bottom: 2px; }
.privacy dd { margin: 0; font-size: 13px; line-height: 1.85; color: rgba(222, 224, 227, .82); }
.privacy dd a { color: var(--accent); }

/* ---------- 頁尾 ---------- */
.site-footer { padding: 52px 0 56px; background: #121311; border-top: 1px solid var(--border-soft); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 40px; }
.footer-brand { margin: 0 0 14px; font-size: 28px; font-weight: 500; }
.footer-grid p { margin: 0; max-width: 40em; font-size: 11.5px; line-height: 1.8; color: var(--muted); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 11.5px; }
.footer-links a { text-decoration: none; color: var(--fg); }
.footer-links a:hover { color: var(--accent); }
.footer-grid p.footer-credit { margin-top: 12px; }
.footer-credit a { color: var(--fg); text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--accent); }
.footer-small { margin-top: 10px !important; font-family: var(--font-mono); font-size: 10px !important; color: var(--muted-2) !important; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100;
  transform: translate(-50%, 20px); opacity: 0;
  padding: 10px 16px; background: var(--fg-warm); color: var(--accent-fg);
  font-size: 13px; font-weight: 600; border-radius: 2px;
  transition: opacity .2s, transform .2s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   響應式
   ========================================================= */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 72px; padding-bottom: 56px; }
  .tally { max-width: 520px; }
  .stats-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .stats-side { max-width: 420px; }
  .letter-grid, .privacy-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .letter-aside-inner { position: static; }
  .letter-aside h2 { margin-bottom: 18px; }
  .sign-grid, .share-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .signers-head { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 14px; }
  .nav { display: none; }
  .brand { font-size: 17px; gap: 10px; }
  .brand-mark { width: 26px; height: 26px; font-size: 13px; }
  .site-header .container { height: 54px; }
  .topbar-right .label, .lang-label { display: none; }
  .topbar-right { gap: 6px; }
  .lang-wrap select { max-width: 104px; padding-right: 22px; }
  .lang-wrap svg { right: 6px; }
  .copy-link { white-space: nowrap; }
  .icon-link { width: 28px; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(14, 15, 13, .55) 0%, rgba(14, 15, 13, .62) 50%, rgba(14, 15, 13, .85) 85%, var(--bg) 100%);
  }
  /* 手機上照片很窄：把臉往右移，避開左邊的大標題 */
  .hero-photo:only-child img { object-position: 42% 25%; }
  .hero h1 { margin-bottom: 36px; }
  .hero-ask { font-size: 17px; }
  .hero-links a { font-size: 16px; }
  .tally { padding: 20px 18px 18px; }
  .call-box { padding: 26px 18px 22px; }
  .bars { grid-template-columns: minmax(0, 1fr); }
  .sig-list { padding: 0 10px; }
  .sig { grid-template-columns: minmax(0, 1fr); }
  .sig-meta { padding-top: 6px; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .idgrid { grid-template-columns: repeat(2, 1fr); }
  .facts div { grid-template-columns: 80px minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .code-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .topbar-tag span { display: none; }
  .share-btns { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-time::before, .sig.is-new, .bump { animation: none; }
  .meter > i, .bar-track > i { transition: none; }
}

/* =========================================================
   字型與字級：對齊 standwithjensen.com（繁中版，1920px 視窗實測）
   原站是 Tailwind：手機先用基本字級，768px 以上（md）放大。
   這段放在檔案最後，覆蓋前面的字級設定。
   ========================================================= */
body { font-family: var(--font-sans); font-size: 16px; line-height: 1.45; }
input, textarea, select, button { font-family: inherit; }
.field input, .field textarea, .search { font-size: 16px; }

/* 標籤（eyebrow）：JetBrains Mono 0.7rem 大寫 */
.mono-label, .fact .mono-label, .field-label, .field > span, .facts dt, legend, .checks .lead {
  font-family: var(--font-mono); font-size: 11.2px; font-weight: 500;
  line-height: 1.6; letter-spacing: .025em; text-transform: uppercase;
}
.field > span .field-tag { font-size: 9.5px; }

/* 共用大標（display）：蘋方／正黑 800 */
.call-box h2, .letter-aside h2, .signers-head h2, .sign-title, .sign-pitch h3, .share-left h2,
.contact-intro h2, .privacy h2, .letter .thanks, .footer-brand, .stats-title, .share-left h3 {
  font-family: var(--font-display); font-weight: 800; line-height: var(--display-lh);
}

/* 頂部列與導覽列 */
.topbar-tag { font-size: 16px; font-weight: 600; }
.topbar-right, .copy-link, .lang-wrap select { font-size: 14px; }
.brand { font-size: 18px; font-weight: 800; }
.brand-mark { font-size: 16px; }
.nav { font-size: 14px; }
.nav a { font-weight: 400; }
.site-header .btn { font-size: 14px; font-weight: 500; }

/* 主視覺 */
.hero h1 { font-family: var(--font-h1); font-size: clamp(3.1rem, 8vw, 6.6rem); font-weight: 850; line-height: var(--display-lh); letter-spacing: var(--h1-ls); overflow-wrap: break-word; }
.hero-ask { font-family: var(--font-ask); font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.hero-highlight { font-family: var(--font-impact); font-size: clamp(40px, 5vw, 62px); font-weight: 900; line-height: 1.4; letter-spacing: normal; }
.hero-sub { font-family: var(--font-sub); font-size: 16px; font-weight: 700; line-height: 1.65; }
.hero-ctas .btn { font-size: 16px; }
.hero-ctas .btn-outline { font-weight: 400; }
.hero-links a.green { font-size: 22px; font-weight: 700; line-height: 1.5; }
.hero-links a.white { font-size: 26px; font-weight: 600; line-height: 1.5; }
.btn-sm { font-size: 14px; font-weight: 600; }
.tally-label, .tally-cell .l { font-family: var(--font-mono); font-size: 16px; font-weight: 500; line-height: 1.6; letter-spacing: .025em; text-transform: uppercase; }
.tally-total { font-family: var(--font-num); font-size: clamp(56px, 4.77vw, 92px); font-weight: 800; line-height: 1; }
.tally-cell .n { font-family: var(--font-num); font-size: clamp(40px, 3.64vw, 70px); font-weight: 800; line-height: 1.45; }
.tally-note { font-size: 12px; line-height: 1.33; }

/* 行動呼籲 */
.call-box h2 { font-size: 30px; }
.call-event { font-size: 18px; font-weight: 600; line-height: 1.56; }
.call-box p { font-size: 18px; line-height: 1.63; opacity: 1; }
.call-box .btn { font-size: 16px; font-weight: 600; }

/* 統計 */
.stats-big { font-family: var(--font-num); font-size: clamp(88px, 8.33vw, 160px); font-weight: 800; line-height: 1; }
.stats-title { font-size: 30.6px; font-weight: 600; line-height: 1.25; }
.stats-asof { font-size: 18px; font-weight: 500; line-height: 1.38; }
.stats-pct { font-family: var(--font-num); font-size: clamp(52px, 4.34vw, 84px); font-weight: 800; line-height: 1.45; }
.stats-pct-cap { font-size: 14.45px; line-height: 1.37; }
.bar-row { font-size: 14px; }
.bar-row .top .c { font-family: var(--font-mono); font-weight: 400; }
.stats-note { font-size: 14px; }

/* 即時簽名、簽署者名單 */
.live-head h2 { font-size: 24px; font-weight: 700; line-height: 1.15; }
.live-time { font-size: 11.52px; letter-spacing: .12em; text-transform: uppercase; }
.sig-name { font-size: 21.6px; font-weight: 400; letter-spacing: normal; }
.sig-aff { font-size: 12.8px; line-height: 1.35; }
.badge { font-size: 11.2px; font-weight: 500; }
.sig-date { font-size: 10.88px; letter-spacing: .1em; text-transform: uppercase; }
.sig-msg { font-size: 13.12px; }

/* 公開信 */
.letter-aside h2 { font-size: 36px; }
.toc a { font-size: 14px; }
.toc .n { font-size: 14px; }
.fact p { font-family: var(--font-letter); font-size: 18px; line-height: 1.63; }
.fact a.src { font-family: var(--font-letter); font-size: 14px; }
.letter p, .letter li, .letter .salute { font-family: var(--font-letter); font-size: 19.2px; line-height: 1.7; }
.letter li strong { font-weight: 700; }
.letter .thanks { font-size: 30px; }
.letter .signoff { font-family: var(--font-letter); font-size: 14px; line-height: 1.43; }

/* 簽署者名單 */
.signers-head h2 { font-size: 48px; }
.signers-head p { font-size: 14px; line-height: 1.43; }
.seg button { font-size: 14.4px; font-weight: 600; }
.signers-count { font-size: 14px; }
.pager { font-size: 14px; }

/* 簽署表單 */
.sign-title { font-size: 30px; }
.sign-pitch h3 { font-size: 48px; }
.sign-pitch ul { font-size: 14px; }
.idopt span { font-size: 14px; }
.field-help, .counter { font-size: 12px; line-height: 1.33; }
.check { font-size: 14px; line-height: 1.43; }
.btn-lg { font-size: 18px; font-weight: 500; }
.success p { font-size: 14px; }

/* 媒體與分享、聯絡組織者 */
.share-left h2, .contact-intro h2 { font-size: 48px; }
.share-left h3 { font-size: 24px; }
.share-tags { font-size: 16px; font-weight: 500; }
.share-note, .share-tips, .share-btns a, .share-btns button { font-size: 14px; }
.facts dd { font-size: 14px; line-height: 1.43; }
.contact-lead { font-size: 16px; }
.contact-points li { font-size: 14px; line-height: 1.6; }
.contact-points .n { font-size: 14px; }

/* 隱私權、頁尾 */
.privacy h2 { font-size: 30px; }
.privacy dt { font-size: 16px; }
.privacy dd { font-size: 14px; line-height: 1.63; }
.footer-brand { font-size: 36px; }
.footer-grid p { font-size: 14px; line-height: 1.63; }
.footer-links { font-size: 14px; }
.footer-small { font-size: 12px !important; }

/* md（768px 以上）放大，同原站 text-3xl→4xl、4xl→5xl、5xl→6xl */
@media (min-width: 768px) {
  .brand { font-size: 20px; letter-spacing: .025em; }
  .brand-mark { font-size: 18px; }
  .call-box h2, .sign-title, .letter .thanks, .privacy h2 { font-size: 36px; }
  .letter-aside h2 { font-size: 48px; }
  .signers-head h2, .sign-pitch h3, .share-left h2, .contact-intro h2 { font-size: 60px; }
}

/* 手機：主視覺幾個大字縮一點，避免擠出畫面 */
@media (max-width: 480px) {
  .hero-ask { font-size: 21px; }
  .hero-links a.green { font-size: 18px; }
  .hero-links a.white { font-size: 20px; }
  .tally-label, .tally-cell .l { font-size: 13px; }
}

/* 權重修正：區塊內「p」的字級規則不要蓋掉小標籤與頁尾大標 */
.call-box p.mono-label, .signers-head p.mono-label, .share-left p.mono-label, .contact-intro p.mono-label,
.sign-pitch p.mono-label, .letter-aside p.mono-label, .privacy p.mono-label, .fact p.mono-label {
  font-family: var(--font-mono); font-size: 11.2px; line-height: 1.6; opacity: 1; margin-top: 0;
}
.footer-grid p.footer-brand { font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: var(--display-lh); color: var(--fg); max-width: none; }
@media (min-width: 768px) { .contact-intro h2 { font-size: 48px; } }

/* 長語言（德文等）在手機上不要撐破版面：按鈕可換行、即時時間標籤可換到下一行 */
.live-head { flex-wrap: wrap; }
.live-time { white-space: normal; }
@media (max-width: 720px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
  .btn-lg { max-width: 100%; }
  .signed-share .btn, .hero-ctas .btn { max-width: 100%; }
}

/* 很長的單字（俄文、德文、泰米爾文、亞美尼亞文）在大標題裡要能斷行，不撐破手機版面 */
h1, h2, h3, h4, .footer-brand { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 480px) {
  :root:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) :is(.signers-head h2, .sign-pitch h3, .share-left h2, .contact-intro h2, .letter-aside h2) { font-size: 34px; }
  :root:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) :is(.call-box h2, .sign-title, .privacy h2, .letter .thanks, .footer-brand) { font-size: 26px; }
  :root:lang(ta) :is(.signers-head h2, .sign-pitch h3, .share-left h2, .contact-intro h2, .letter-aside h2) { font-size: 28px; }
}

/* ---------- 照原站補上的欄位 ---------- */
/* 主視覺：照片說明（原站 16px） */
.tally-desc { margin: 14px 0 0; font-size: 16px; line-height: 1.45; color: var(--muted); }

/* 人機驗證（Cloudflare Turnstile）區塊 */
.form-box p { font-size: 14px; line-height: 1.43; }
.form-box p.captcha-note { margin: 10px 0 0; font-size: 12px; line-height: 1.33; color: var(--muted-2); }
.captcha-note a { color: var(--muted); }
[data-turnstile] { min-height: 65px; }

/* 其他社群個人檔案（選填，不公開） */
.socials { margin-top: 22px; border-top: 1px solid var(--border); padding-top: 12px; }
.socials summary { cursor: pointer; font-size: 14px; color: var(--muted); }
.socials summary:hover { color: var(--fg); }
.socials .field-help { margin-top: 8px; }

/* 「留言一併發布」是公開姓名的子選項 */
.check-sub { padding-left: 24px; }
.check input:disabled + span { opacity: .5; }

/* 簽署者名單：版面配置（列／網格／全文） */
.signers-controls { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; }
.signers-controls .field-label { margin-bottom: 8px; }
.sig-list[data-layout="grid"] { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 28px; }
.sig-list[data-layout="grid"] .sig { grid-template-columns: minmax(0, 1fr); align-content: start; }
.sig-list[data-layout="grid"] .sig:last-child { border-bottom: 1px solid rgba(222, 224, 227, 0.08); }
.sig-list[data-layout="full"] .sig-msg { -webkit-line-clamp: unset; display: block; }
/* 百分比旁邊的說明：長語言要能換行 */
.stats-pct-cap { white-space: normal; min-width: 0; overflow-wrap: break-word; }
.stats-pct-row { min-width: 0; }
/* 百分比說明：保留合理寬度，放不下就換到數字下方（不要被擠成一字一行） */
.stats-pct-row { flex-wrap: wrap; align-items: flex-start; }
.stats-pct-cap { flex: 0 1 auto; min-width: 5.5em; max-width: 14em; }
