/* ─────────────────────────────────────────────────────────
   線上展覽 v2 — 對齊 11402_誰能上場 設計成稿
   3 套視覺：① 海報 (紅) ② 人物卡 (紅+CARD tag) ③ 展區 (紅底+深藍帶)
   ───────────────────────────────────────────────────────── */

/* ---------- 字型 ---------- */
@font-face { font-family: 'JF Jinxuan'; src: url('fonts/jf-jinxuan-regular.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
:root {
  /* ── PDF 取色 ── */
  --red:       #D85939;   /* 海報 / 人物卡背景 */
  --red-deep:  #B0432B;
  --red-bright:#E94A28;   /* 左側橘帶 */

  --teal-deep:    #1B2F4E; /* 深藍面板 */
  --teal-deeper:  #122039;
  --jade:         #4ED1C7; /* 任務框 / 副標重點 */
  --jade-dark:    #278C86;

  --cream:        #F8E9C2; /* 主要 cream 文字 */
  --cream-pale:   #F5F1EB;
  --cream-soft:   #E9DBB3;

  --navy:         #1B2F4E; /* CARD tag / 學習單標題 */
  --navy-deep:    #122039;

  --yellow:       #F2B842; /* CARD 標籤底色 */
  --paper:        #FBF8F1;

  --ink:          #1A1714;
  --ink2:         #5C5650;
  --ink3:         #9B948D;
  --line:         rgba(26,23,20,0.15);
  --focus-ring:   #F2B842;
  --shadow-hand:  5px 6px 0 rgba(26,23,20,0.18);
  --shadow-lift:  0 14px 34px rgba(26,23,20,0.22);
  --rule-cream:   2px solid rgba(248,233,194,0.82);

  /* fonts */
  --f-display: 'JF Jinxuan', 'PingFang TC', 'Noto Sans TC', sans-serif;
  --f-heavy:   'JF Jinxuan', 'PingFang TC', sans-serif;
  --f-ui:      'JF Jinxuan', 'PingFang TC', 'Noto Sans TC', sans-serif;
  --f-serif:   'Noto Serif TC', 'Songti TC', serif;
  --f-en:      'JF Jinxuan', 'PingFang TC', 'Noto Sans TC', sans-serif;

  /* typography weights: CSS-only, no extra font files */
  --w-body: 560;
  --w-medium: 680;
  --w-strong: 820;
  --w-title: 900;

  /* reading rhythm: CSS-only, no layout assets */
  --lh-body: 1.96;
  --lh-reading: 2.12;
  --lh-card: 2.02;
  --lh-compact: 1.72;
  --lh-display: 1.02;
  --lh-title: 1.16;
  --lh-heading: 1.48;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: #2a2721;
  color: var(--ink);
  font-family: var(--f-ui);
  font-weight: var(--w-body);
  font-size: 16px;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  word-break: normal;
  line-break: strict;
}
strong, b {
  font-weight: var(--w-strong);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* ─────────────────────────────────────────────────────────
   Shell — 手機優先 480 寬殼
   ───────────────────────────────────────────────────────── */
.shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 96px;
  position: relative;
  overflow-x: clip;
}
.shell--poster   { background: var(--red); color: var(--cream); }
.shell--zone     { background: var(--red); color: var(--cream); }
.shell--paper    { background: var(--paper); color: var(--ink); }

/* 細格紋背景（展區用，模仿 PDF 的金黃顆粒紋）*/
.shell--zone::before {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 0; opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 30%, #F2B84244 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, #F2B84244 1px, transparent 2px),
    radial-gradient(circle at 50% 80%, #F2B84233 1px, transparent 2px),
    radial-gradient(circle at 30% 10%, #F2B84233 1px, transparent 2px);
  background-size: 50px 50px, 80px 80px, 60px 60px, 90px 90px;
  max-width: 480px; margin: 0 auto;
}
.shell > * { position: relative; z-index: 1; }

/* 海報紅底：跑道線 */
.shell--poster::after {
  content: ""; position: absolute; inset: 0; top: 0;
  pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(
    to right,
    rgba(216, 89, 57, 0) 0,
    rgba(216, 89, 57, 0) 76px,
    rgba(255,255,255,0.06) 76px,
    rgba(255,255,255,0.06) 78px
  );
}

/* ─────────────────────────────────────────────────────────
   Topbar
   ───────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 14px 20px 12px;
  background: rgba(18,32,57,0.94);
  color: var(--cream);
  border-bottom: 1px solid rgba(248,233,194,0.18);
}
.shell--poster .topbar {
  background: rgba(176,67,43,0.92);
  border-bottom-color: rgba(248,233,194,0.22);
}
.shell--paper .topbar {
  background: rgba(251,248,241,0.96);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.topbar__brand {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--f-heavy); font-weight: var(--w-title);
  font-size: 15px; letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.25;
}
.topbar__brand em { font-style: normal; color: var(--jade); }
.shell--poster .topbar__brand em { color: var(--jade); }
.topbar__progress {
  flex: 0 0 auto;
  font-family: var(--f-en); font-style: italic;
  font-size: 14px; opacity: 0.86;
  letter-spacing: 0.06em;
  line-height: 1.35;
}
.topbar__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 30px;
  font-size: 13px;
  font-weight: var(--w-strong);
  text-decoration: none;
  padding: 4px 9px;
  border-radius: 999px;
  line-height: 1;
  border: 1px solid currentColor;
}
.topbar__menu.is-current {
  background: var(--jade);
  border-color: var(--jade);
  color: var(--navy);
  pointer-events: none;
}
.poster-quicknav {
  position: sticky;
  top: 10px;
  z-index: 55;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px 14px 0;
  margin-bottom: -40px;
}
.poster-quicknav .topbar__menu {
  background: rgba(18,32,57,0.9);
  color: var(--cream);
  backdrop-filter: blur(8px);
}
.poster-quicknav .topbar__menu.is-current {
  background: var(--jade);
  color: var(--navy);
}

/* ─────────────────────────────────────────────────────────
   ① 海報式 hero（index）
   ───────────────────────────────────────────────────────── */
.poster {
  position: relative;
  padding: 36px 24px 24px;
}
.poster__topband {
  background: #C2DEC8;
  color: var(--navy);
  margin: -36px -24px 0;
  padding: 12px 20px;
  display: flex; justify-content: space-between;
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 12px; letter-spacing: 0.05em;
  line-height: 1.45;
}
@media (max-width: 600px) {
  .poster__topband {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    font-size: 11px;
    line-height: 1.45;
  }
}
.poster__title {
  font-family: var(--f-display); font-weight: var(--w-title);
  font-size: 102px; line-height: var(--lh-display);
  letter-spacing: -0.02em;
  color: var(--jade);
  margin-top: 30px;
}
.poster__en {
  font-family: var(--f-en); font-style: italic;
  font-size: 26px; letter-spacing: 0.04em;
  color: var(--cream);
  margin: 12px 0 6px;
}
.poster__title-2 {
  font-family: var(--f-display); font-weight: var(--w-title);
  font-size: 90px; line-height: var(--lh-display);
  letter-spacing: -0.02em;
  color: var(--jade);
  display: inline-block;
}
.poster__title-2 .q {
  color: var(--jade);
  font-family: var(--f-display);
}
.poster__sub {
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 17px; line-height: var(--lh-compact);
  color: var(--cream);
  margin: 18px 0 8px;
  padding-right: 175px;
  word-break: normal;
}
.poster__sub-rule {
  width: 56px; height: 3px;
  background: var(--cream);
  margin: 22px 0 16px;
}
.poster__bullets {
  font-family: var(--f-ui); font-weight: var(--w-medium);
  font-size: 16px; line-height: var(--lh-reading);
  color: var(--cream);
  list-style: none;
  padding-right: 155px;
  word-break: normal;
}
.poster__bullets li {
  padding-left: 20px; position: relative;
}
.poster__bullets li::before {
  content: ""; position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  background: var(--cream); border-radius: 50%;
}
.poster__char {
  position: absolute;
  right: -10px; top: 240px;
  width: 200px;
  height: auto;
  pointer-events: none;
}
.poster__numbers {
  font-family: var(--f-display); font-weight: var(--w-title);
  font-size: 88px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(248,233,194,0.36);
  letter-spacing: 0.08em;
  margin-top: 28px;
  user-select: none;
}
.poster__bottomband {
  background: #C2DEC8;
  color: var(--navy);
  margin: 24px -24px -24px;
  padding: 18px 22px;
  display: grid; gap: 6px;
  font-family: var(--f-heavy);
}
.poster__bottomband .label {
  font-size: 12.5px; font-weight: var(--w-strong);
  letter-spacing: 0.1em; opacity: 0.7;
}
.poster__bottomband .v {
  font-size: 15.5px; font-weight: var(--w-strong);
  line-height: 1.55;
}
.poster__bottomband .reward {
  background: var(--red);
  color: var(--cream);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
}

/* ─────────────────────────────────────────────────────────
   ② Zone hero — 紅底 + 左深藍帶 + 大數字
   ───────────────────────────────────────────────────────── */
.zonepage {
  display: flex;
  min-height: calc(100vh - 56px);
  padding: 0;
}
.zonepage__band {
  width: 56px;
  background: var(--navy);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 24px 0 28px;
  position: relative;
  flex-shrink: 0;
}
.zonepage__num {
  font-family: var(--f-display); font-weight: var(--w-title);
  font-size: 88px; line-height: 1;
  color: var(--cream);
  letter-spacing: -0.05em;
}
.zonepage__main {
  flex: 1;
  padding: 24px 22px 32px 24px;
  color: var(--cream);
}
.zonepage__tag {
  text-align: right;
  font-family: var(--f-en); font-style: italic;
  font-size: 14px; letter-spacing: 0.1em;
  color: var(--cream);
  margin-bottom: 8px;
  line-height: 1.45;
}
.zonepage__tag em { font-style: normal; color: var(--jade); margin: 0 6px; }
.zonepage__title {
  font-family: var(--f-display); font-weight: var(--w-title);
  font-size: 62px; line-height: 1.08;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.zonepage__q {
  position: relative;
  padding-left: 14px;
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 22px; line-height: 1.5;
  color: var(--cream);
  margin-bottom: 22px;
}
.zonepage__q::before {
  content: ""; position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px; background: var(--jade);
}
.zonepage__body {
  font-family: var(--f-ui); font-size: 16px;
  font-weight: var(--w-medium);
  line-height: var(--lh-reading); color: var(--cream-pale);
  margin-bottom: 24px;
}
.zonepage__body strong { color: var(--cream); font-weight: var(--w-title); }
.zonepage__body mark {
  background: var(--jade); color: var(--navy);
  padding: 0 4px; border-radius: 2px;
}

/* 線上學習單導引框 */
.task {
  background: var(--cream-pale);
  color: var(--navy);
  border: var(--rule-cream);
  border-radius: 14px 10px 16px 12px;
  padding: 18px 20px;
  margin: 18px 0;
  position: relative;
  box-shadow: var(--shadow-hand);
}
.task__label {
  display: inline-block;
  font-family: var(--f-heavy); font-weight: var(--w-title);
  font-size: 17px; margin-bottom: 10px;
  color: var(--red);
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(216,89,57,0.34);
}
.task__body {
  font-family: var(--f-ui); font-size: 15.5px;
  font-weight: var(--w-medium);
  line-height: var(--lh-card); color: var(--navy);
}
.task__body strong {
  color: var(--red); font-weight: var(--w-title);
}
.task .btn--cream {
  background: var(--navy);
  color: var(--cream);
}
.task > .btn,
.proposal-card > .btn {
  margin-top: 14px;
}

/* 角色插畫位置 */
.zonepage__char {
  display: block;
  margin: 12px auto 0;
  max-width: 180px;
  max-height: 190px;
  width: auto;
  object-fit: contain;
}
.zonepage__char--right {
  margin-left: auto;
}

/* ─────────────────────────────────────────────────────────
   ③ 人物卡 — 紅底 + CARD tag + jade 區段標籤
   ───────────────────────────────────────────────────────── */
.pcard {
  display: none;
  background: var(--red);
  color: var(--cream);
  border-radius: 16px;
  padding: 22px 20px 24px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.pcard.is-visible {
  display: block;
}
@keyframes cardReveal {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard.is-visible { animation: none; }
}
.pcard::before {
  content: ""; position: absolute;
  right: 12px; top: 30px; bottom: 80px;
  width: 60%;
  background-image:
    linear-gradient(to right,
      rgba(248,233,194,0.06) 0, rgba(248,233,194,0.06) 1px,
      transparent 1px, transparent 22px);
  pointer-events: none;
}
.pcard__tag {
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--f-heavy); font-weight: var(--w-title);
  font-size: 14px; letter-spacing: 0.12em;
  padding: 6px 18px 8px;
  border-radius: 0 0 6px 6px;
}
.pcard__photo {
  display: block;
  width: 110px; height: 160px;
  object-fit: cover; object-position: center top;
  border-radius: 8px;
  margin: 14px auto 14px;
  border: 2px solid rgba(248,233,194,0.5);
  background: #777;
}
.pcard__name {
  font-family: var(--f-display); font-weight: var(--w-title);
  font-size: 50px; line-height: var(--lh-title);
  color: var(--cream);
  letter-spacing: 0.02em;
}
.pcard__role {
  font-family: var(--f-en); font-style: italic;
  font-size: 14px; letter-spacing: 0.04em;
  color: var(--cream);
  margin-top: 4px; margin-bottom: 18px;
  opacity: 0.9;
}
.pcard__row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}
.pcard__rowlabel {
  background: var(--jade);
  color: var(--navy);
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 14px; letter-spacing: 0.02em;
  text-align: center;
  padding: 6px 4px;
  border-radius: 4px;
  white-space: nowrap;
}
.pcard__rowbody {
  font-size: 15px; line-height: var(--lh-card);
  font-weight: var(--w-medium);
  color: var(--cream);
}
.pcard__think {
  background: var(--jade);
  margin: 16px -20px -10px;
  padding: 14px 20px 12px;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: start;
}
.pcard__think .lbl {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 14px;
  text-align: center;
  padding: 6px 4px;
  border-radius: 4px;
}
.pcard__think .b {
  font-size: 15px; line-height: var(--lh-card);
  font-weight: var(--w-medium);
  color: var(--navy);
}
.pcard__brandmark {
  text-align: right;
  font-family: var(--f-en); font-style: italic;
  font-size: 14px; letter-spacing: 0.06em;
  color: var(--cream);
  margin-top: 10px;
}
.pcard__brandmark em { font-style: normal; color: #FFE082; margin: 0 4px; }

/* ─────────────────────────────────────────────────────────
   Newspaper comparison (zone 2 內部)
   ───────────────────────────────────────────────────────── */
.news {
  background: var(--cream-pale);
  color: var(--ink);
  margin: 16px 0;
  padding: 18px 16px;
  border-radius: 8px;
  position: relative;
}
.news__band {
  position: absolute; right: 14px; top: -8px;
  background: var(--navy); color: var(--cream);
  padding: 4px 10px; border-radius: 4px;
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 12px; letter-spacing: 0.1em;
}
.news__title {
  font-family: var(--f-serif); font-weight: var(--w-strong);
  font-size: 19px; line-height: var(--lh-heading);
  color: var(--ink); margin: 8px 0 12px;
}
.news__source {
  font-family: var(--f-en); font-style: italic;
  font-size: 12px; color: var(--ink2);
  text-align: right; margin-top: 6px;
}
.news__body {
  font-family: var(--f-serif);
  font-size: 14px; line-height: var(--lh-reading);
  color: var(--ink);
  column-count: 2; column-gap: 14px;
  text-align: justify;
}
.news__comments {
  background: #1A1714; color: var(--cream-pale);
  padding: 12px 14px;
  margin: 12px -16px -18px;
  border-radius: 0 0 8px 8px;
}
.news__count {
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 14px;
  border-bottom: 1px solid rgba(245,241,235,0.2);
  padding-bottom: 6px; margin-bottom: 10px;
  display: flex; justify-content: space-between;
}
.news__count .by {
  font-family: var(--f-en); font-style: italic;
  font-size: 12px; opacity: 0.72;
}
.news__c {
  display: flex; gap: 8px; align-items: center;
  padding: 6px 0;
  font-size: 14px;
}
.news__c::before {
  content: ""; flex-shrink: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: #4a4a4a;
  background-image: radial-gradient(circle at 50% 35%, #888 4px, transparent 5px);
}
.news__c .bubble {
  background: var(--cream-pale); color: var(--ink);
  padding: 5px 10px; border-radius: 10px;
  font-size: 13.5px; flex: 1;
  line-height: 1.65;
}
.news__c .ups { color: #FFB347; font-size: 13px; opacity: 0.8; }

/* ─────────────────────────────────────────────────────────
   CTA / nav
   ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-heavy); font-weight: var(--w-title);
  font-size: 16px; letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}
.btn:active { transform: scale(0.97); }
.btn:hover { box-shadow: 0 8px 18px rgba(0,0,0,0.18); }
.btn--primary {
  background: var(--jade); color: var(--cream);
}
.btn--cream {
  background: var(--cream); color: var(--navy);
}
.btn--ghost {
  background: transparent; color: var(--cream);
  border: 1.5px solid var(--cream);
}
.btn--full { display: flex; width: 100%; }

.cta-row { padding: 16px 20px 0; display: grid; gap: 10px; }

/* ─────────────────────────────────────────────────────────
   Stationnav — 底部固定切換列（6 站）
   ───────────────────────────────────────────────────────── */
.stationnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  max-width: 480px; margin: 0 auto;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--cream);
}
.stationnav__link {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 14px; letter-spacing: 0.04em;
  text-decoration: none; color: var(--cream);
  padding: 8px 12px; border-radius: 999px;
}
.stationnav__link.is-strong { background: var(--red-bright); color: var(--cream); }
.stationnav__link.is-disabled { opacity: 0.35; pointer-events: none; }
.stationnav__dots { display: flex; gap: 5px; align-items: center; }
.stationnav__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(248,233,194,0.3);
}
.stationnav__dot.is-on {
  background: var(--jade); width: 22px; border-radius: 3px;
}
.stationnav__dot.is-done { background: var(--cream); }

/* ─────────────────────────────────────────────────────────
   Index 動線 nav (5 站)
   ───────────────────────────────────────────────────────── */
.zonemap {
  padding: 20px 20px 0;
  display: grid; gap: 10px;
}
.zonemap__card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--teal-deep);
  color: var(--cream);
  border-radius: 4px;
  text-decoration: none;
  border: 1.5px solid var(--cream);
  position: relative;
  overflow: hidden;
  transition: background-color 120ms ease;
}
.zonemap__card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--jade);
}
.zonemap__card:hover {
  background: var(--teal-deeper);
  box-shadow: var(--shadow-lift);
}
.zonemap__card:active { transform: scale(0.98); }
.zonemap__num {
  font-family: var(--f-display); font-weight: var(--w-title);
  font-size: 38px; line-height: 1;
  color: var(--jade);
}
.zonemap__name {
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 18px; line-height: 1.42; margin-bottom: 4px;
}
.zonemap__sub { font-size: 14px; font-weight: var(--w-medium); opacity: 0.95; line-height: var(--lh-compact); }
.zonemap__arrow { font-size: 20px; color: var(--jade); }

@media (max-width: 430px) {
  .poster {
    padding-top: 30px;
  }
  .poster__topband {
    margin-top: -30px;
  }
  .poster__title {
    font-size: 88px;
    margin-top: 24px;
  }
  .poster__en {
    font-size: 22px;
    margin-top: 8px;
  }
  .poster__title-2 {
    font-size: 78px;
  }
  .poster__sub {
    font-size: 16px;
    padding-right: 132px;
    margin-top: 14px;
  }
  .poster__sub-rule {
    margin: 16px 0 12px;
  }
  .poster__bullets {
    font-size: 15.5px;
    line-height: var(--lh-card);
    padding-right: 118px;
  }
  .poster__char {
    width: 162px;
    top: 218px;
  }
  .poster__numbers {
    font-size: 64px;
    margin-top: 18px;
  }
  .poster__bottomband {
    margin-top: 18px;
    padding: 14px 20px;
  }
  .zonemap {
    padding-top: 16px;
  }
  .zonemap__card {
    padding: 12px 16px;
    gap: 12px;
  }
}

/* ─────────────────────────────────────────────────────────
   Worksheet (學習單)
   ───────────────────────────────────────────────────────── */
.ws-hd {
  padding: 24px 20px 16px;
  background: var(--cream-pale);
  border-bottom: 2px solid var(--navy);
}
.ws-hd__title {
  font-family: var(--f-display); font-weight: var(--w-title);
  font-size: 28px; color: var(--navy); line-height: var(--lh-title);
}
.ws-hd__title em { color: var(--red-bright); font-style: normal; }
.ws-hd__sub {
  font-size: 14px; color: var(--ink2); margin-top: 6px;
  line-height: var(--lh-compact);
}
.ws-hd__form {
  display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink);
}
.ws-hd__field {
  display: inline-flex; align-items: baseline; gap: 6px;
}
.ws-hd__field input {
  border: 0; border-bottom: 1.5px solid var(--navy);
  background: transparent;
  font-family: inherit; font-size: 15px;
  padding: 2px 4px; width: 70px;
}
.ws-section {
  padding: 16px 20px;
  border-bottom: 1px dashed var(--line);
}
.ws-section__title {
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 18px; color: var(--navy);
  margin-bottom: 12px;
  line-height: var(--lh-heading);
  border-left: 4px solid var(--red-bright);
  padding-left: 10px;
}
.ws-section__title em { color: var(--red-bright); font-style: normal; }

/* ─────────────────────────────────────────────────────────
   Misc
   ───────────────────────────────────────────────────────── */
.footer {
  padding: 28px 24px 24px;
  font-size: 13px;
  text-align: center;
  line-height: 1.85;
  opacity: 0.7;
}

.embed {
  margin: 16px 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(248,233,194,0.3);
}
.embed__head {
  background: var(--navy);
  color: var(--cream);
  padding: 8px 14px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 13.5px; letter-spacing: 0.05em;
}
.embed__head a {
  color: var(--yellow); text-decoration: none;
  font-family: var(--f-en); font-style: italic;
  font-size: 12.5px;
}
.embed iframe {
  width: 100%; height: 540px; border: 0; display: block;
}

/* ─────────────────────────────────────────────────────────
   Pullquote / caption / prompt-strip 共用排版元件
   ───────────────────────────────────────────────────────── */
.pullquote {
  position: relative;
  margin: 22px 0;
  padding: 18px 18px 18px 56px;
  background: rgba(0,0,0,0.18);
  border-left: 4px solid var(--jade);
  border-radius: 0 12px 12px 0;
}
.pullquote__mark {
  position: absolute;
  left: 16px; top: 6px;
  font-family: var(--f-en); font-style: italic;
  font-size: 64px; line-height: 1;
  color: var(--jade);
  opacity: 0.85;
}
.pullquote__text {
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 21px; line-height: 1.78;
  color: var(--cream);
  margin: 0;
}
.pullquote__text mark {
  background: var(--jade); color: var(--navy);
  padding: 0 6px; border-radius: 2px;
}
.shell--paper .pullquote {
  background: var(--cream-pale);
  border-left-color: var(--red-bright);
}
.shell--paper .pullquote__text { color: var(--ink); }

.caption {
  font-family: var(--f-en); font-style: italic;
  font-size: 13.5px; letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--cream); opacity: 0.82;
  text-align: center;
}
.shell--paper .caption { color: var(--ink2); opacity: 0.8; }

.prompt-strip {
  background: var(--jade);
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 10px;
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 16.5px; line-height: 1.78;
  margin: 18px 0 14px;
  text-align: center;
}
.prompt-strip strong { color: var(--navy-deep); }

/* ─────────────────────────────────────────────────────────
   展區0 ・ 球場優先標語 signrow
   ───────────────────────────────────────────────────────── */
.signrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 6px;
}
.signrow__item { text-align: center; }
.signrow__chip {
  background: var(--cream-pale);
  color: var(--navy);
  font-family: var(--f-heavy); font-weight: var(--w-title);
  font-size: 15.5px; line-height: 1.5;
  padding: 14px 8px;
  border: 2px solid var(--cream);
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.signrow__cap {
  font-family: var(--f-en); font-style: italic;
  font-size: 12.5px; color: var(--cream); opacity: 0.78;
  margin-top: 4px;
}

/* ─────────────────────────────────────────────────────────
   展區1 ・ 歷史時間軸 timeline
   ───────────────────────────────────────────────────────── */
.timeline {
  margin: 18px 0 6px;
  border-left: 2px dashed rgba(248,233,194,0.4);
  padding-left: 4px;
}
.timeline__row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 4px 12px 14px;
  position: relative;
}
.timeline__row::before {
  content: "";
  position: absolute;
  left: -7px; top: 18px;
  width: 12px; height: 12px;
  background: var(--jade);
  border: 2px solid var(--cream);
  border-radius: 50%;
}
.timeline__year {
  font-family: var(--f-display); font-weight: var(--w-title);
  font-size: 22px; line-height: 1.1;
  color: var(--cream);
}
.timeline__year small {
  display: block;
  font-family: var(--f-ui); font-weight: var(--w-medium);
  font-size: 12px; opacity: 0.76;
}
.timeline__text {
  font-size: 15.5px; line-height: var(--lh-card);
  font-weight: var(--w-medium);
  color: var(--cream-pale);
}
.timeline__text strong { color: #FFE082; font-weight: var(--w-title); }

/* ─────────────────────────────────────────────────────────
   Task 任務框 ・ 編號列表
   ───────────────────────────────────────────────────────── */
.task__list {
  list-style: none;
  display: grid; gap: 10px;
}
.task__list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 15.5px; line-height: var(--lh-card);
  font-weight: var(--w-medium);
  color: var(--navy);
}
.task__n {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: var(--cream);
  font-family: var(--f-heavy); font-weight: var(--w-title);
  font-size: 14px;
}
.task__text {
  min-width: 0;
  color: var(--navy);
}
.task__text strong {
  color: var(--red);
  white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────
   展區3 ・ 人物卡列表（已在 .pcard 之外的容器）
   ───────────────────────────────────────────────────────── */
.pcardlist {
  padding: 0 20px;
  display: grid; gap: 22px;
  margin-bottom: 8px;
}

/* ─────────────────────────────────────────────────────────
   展區4 ・ 提案卡 proposal-card
   ───────────────────────────────────────────────────────── */
.proposal-card {
  background: var(--cream-pale);
  color: var(--ink);
  border: 2px dashed var(--line);
  border-radius: 14px 10px 16px 12px;
  padding: 18px 18px 20px;
  margin: 14px 0;
  box-shadow: var(--shadow-hand);
}
.proposal-card__icon {
  font-size: 26px;
  margin-bottom: 6px;
}
.proposal-card__title {
  font-family: var(--f-heavy); font-weight: var(--w-title);
  font-size: 19px; line-height: 1.56;
  color: var(--navy);
  margin-bottom: 10px;
}
.proposal-card__body {
  font-size: 15.5px; line-height: var(--lh-card);
  font-weight: var(--w-medium);
  color: var(--ink);
}
.proposal-card__body ul {
  list-style: none;
  margin-top: 8px;
  display: grid; gap: 6px;
}
.proposal-card__body li {
  padding-left: 18px;
  position: relative;
  font-size: 15px;
  line-height: 1.8;
}
.proposal-card__body li::before {
  content: "▸";
  position: absolute; left: 0; top: 0;
  color: var(--red-bright);
}
.proposal-card--paper {
  background: #FFFDF6;
  border: 2px solid var(--navy);
}
.proposal-card__prompts {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 14px;
  line-height: var(--lh-card);
  color: var(--ink2);
}
.proposal-card__prompts li {
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────────
   Worksheet ・ 抬頭細項
   ───────────────────────────────────────────────────────── */
.ws-hd__subtitle {
  font-size: 18px;
  font-weight: var(--w-strong);
  color: var(--ink);
}
.ws-hd__meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink2);
}
.ws-hd__field--short input { width: 50px; }
.ws-hd__field--long  input { width: 110px; }

/* ─────────────────────────────────────────────────────────
   Worksheet ・ 進度指示器
   ───────────────────────────────────────────────────────── */
.ws-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 14px 24px 10px;
  background: var(--cream-pale);
  border-bottom: 1px dashed var(--line);
}
.ws-progress__step {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-heavy); font-weight: var(--w-title);
  font-size: 14px;
  border: 2px solid var(--line);
  color: var(--ink3);
  background: #fff;
  transition: border-color 200ms, color 200ms, background-color 200ms;
  flex-shrink: 0;
}
.ws-progress__step.is-done {
  background: var(--jade);
  border-color: var(--jade);
  color: var(--cream);
}
.ws-progress__connector {
  flex: 1;
  height: 2px;
  background: var(--line);
  max-width: 48px;
}

/* ─────────────────────────────────────────────────────────
   Worksheet ・ select 下拉（取代填空格）
   ───────────────────────────────────────────────────────── */
.ws-select {
  font-family: inherit;
  font-size: 15px;
  padding: 2px 6px;
  border: 0;
  border-bottom: 1.5px solid var(--navy);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235C5650'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 20px;
}
.ws-select:focus {
  outline: 2px solid var(--jade);
  outline-offset: 2px;
  border-bottom-color: var(--jade);
}

/* ─────────────────────────────────────────────────────────
   Worksheet ・ 雜項
   ───────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────
   Worksheet ・ 展區連結 chip
   ───────────────────────────────────────────────────────── */
.ws-zone-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-en);
  font-style: italic;
  font-size: 12px;
  font-weight: var(--w-medium);
  color: var(--red-bright);
  text-decoration: none;
  border: 1px solid var(--red-bright);
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 8px;
  vertical-align: middle;
  white-space: nowrap;
  opacity: 0.82;
  transition: opacity 120ms, background-color 120ms;
}
.ws-zone-link:hover {
  opacity: 1;
  background: rgba(233,74,40,0.07);
}

/* ─────────────────────────────────────────────────────────
   Worksheet ・ B 區留言回顧
   ───────────────────────────────────────────────────────── */
.ws-ref-comments {
  margin: 10px 0 16px;
  padding: 12px 14px;
  background: var(--cream-pale);
  border: 1px dashed var(--line);
  border-radius: 10px;
}
.ws-ref-comments__label {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 12px;
  color: var(--ink3);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.ws-ref-comments__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.ws-ref-comment {
  font-size: 13.5px;
  line-height: var(--lh-compact);
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--ink);
}
.ws-ref-comment--bad {
  background: rgba(216,89,57,0.09);
  border-left: 3px solid var(--red-bright);
}
.ws-ref-comment--ok {
  background: rgba(78,209,199,0.10);
  border-left: 3px solid var(--jade);
}

/* ─────────────────────────────────────────────────────────
   Worksheet ・ C 區運動員「想一想」提示
   ───────────────────────────────────────────────────────── */
.ws-athlete-hint {
  margin: 10px 0 12px;
  padding: 12px 16px;
  background: rgba(78,209,199,0.12);
  border-left: 3px solid var(--jade);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  line-height: var(--lh-card);
  color: var(--ink);
  animation: fadeInHint 200ms ease both;
}
@keyframes fadeInHint {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* D 部分提問清單 — 與 ws-hint 同層，拆掉 proposal-card 外殼後使用 */
.ws-prompt-list {
  list-style: none;
  margin: 6px 0 12px;
  padding: 0;
  display: grid;
  gap: 4px;
}
.ws-prompt-list li {
  padding-left: 16px;
  position: relative;
  font-size: 15px;
  line-height: var(--lh-card);
  color: var(--ink2);
}
.ws-prompt-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--red-bright);
}

.ws-hint-inline {
  font-size: 13px;
  color: var(--ink2);
  margin-left: 4px;
}
.ws-finish-hint {
  text-align: center;
  margin-top: 16px;
}
.ws-finish-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

/* ─────────────────────────────────────────────────────────
   Worksheet ・ 學習單表格與填空
   ───────────────────────────────────────────────────────── */
.ws-table {
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}
.ws-table__head {
  background: var(--navy);
  color: var(--cream);
  display: grid;
  grid-template-columns: 60px 1.4fr 1fr;
  gap: 6px;
  padding: 8px 10px;
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 13.5px;
  text-align: center;
}
.ws-table__row {
  display: grid;
  grid-template-columns: 60px 1.4fr 1fr;
  gap: 6px;
  padding: 10px;
  border-top: 1px dashed var(--line);
  font-size: 14.5px;
  font-weight: var(--w-medium);
  align-items: start;
  background: #FFFDF6;
}
.ws-table__row:nth-child(odd) { background: var(--cream-pale); }
.ws-table__year {
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  color: var(--navy);
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
}
.ws-table__case {
  color: var(--ink);
  line-height: var(--lh-compact);
}
.ws-table__opt {
  display: grid; gap: 4px;
  font-size: 14px;
  color: var(--ink);
}
.ws-table__opt label {
  display: flex; align-items: center; gap: 4px;
  cursor: pointer;
}

.ws-num {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--jade);
  color: var(--cream);
  font-family: var(--f-heavy); font-weight: var(--w-title);
  font-size: 13px;
  flex-shrink: 0;
}

.ws-q {
  margin: 12px 0;
  font-size: 15.5px; line-height: var(--lh-card);
  font-weight: var(--w-medium);
  color: var(--ink);
}
.ws-area {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 15.5px; line-height: var(--lh-card);
  border: 1.5px solid var(--navy);
  border-radius: 6px;
  background: #FFFDF6;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ws-area:focus {
  outline: none;
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(0, 160, 110, 0.15);
  background: #fff;
}
.ws-inline {
  border: 0;
  border-bottom: 1.5px solid var(--navy);
  background: transparent;
  font-family: inherit; font-size: 15.5px;
  padding: 0 4px;
}
.ws-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin-top: 8px;
  font-size: 15px;
}
.ws-options label {
  display: flex; align-items: center; gap: 6px;
  cursor: pointer; color: var(--ink);
}
.ws-hint {
  font-size: 15px; color: var(--ink2);
  line-height: var(--lh-compact);
  margin-bottom: 8px;
}

.ws-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 12px 0 14px;
}
.ws-cards__item {
  display: grid; gap: 4px;
  justify-items: center;
  padding: 8px 4px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #FFFDF6;
  cursor: pointer;
  text-align: center;
}
.ws-cards__item input { accent-color: var(--red-bright); }
.ws-cards__item:has(input:checked) {
  border-color: var(--jade);
  background: rgba(0, 160, 110, 0.09);
  box-shadow: 0 0 0 2px var(--jade);
}
.ws-cards__item img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: center top;
  border-radius: 4px;
  background: #ddd;
}
.ws-cards__name {
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 12.5px; color: var(--navy);
  line-height: 1.35;
}

.ws-finish {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--cream-pale);
  border: 2px dashed var(--jade);
  border-radius: 10px;
}
.ws-finish__check {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--jade); color: var(--cream);
  font-size: 22px; font-weight: var(--w-title);
  flex-shrink: 0;
}
.ws-finish__text {
  font-size: 14.5px; line-height: var(--lh-card);
  color: var(--ink);
}

/* ─────────────────────────────────────────────────────────
   Exit ・ 線上學習單導引 + share + infocard
   ───────────────────────────────────────────────────────── */
.echo-card {
  background: var(--cream-pale);
  color: var(--ink);
  border: 2px solid rgba(26,23,20,0.78);
  border-radius: 14px 11px 17px 12px;
  padding: 22px 20px;
  margin: 16px 0;
  position: relative;
  box-shadow: var(--shadow-hand);
}
.echo-card__chip {
  position: absolute; top: -10px; left: 18px;
  background: var(--red-bright); color: var(--cream);
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 12px; letter-spacing: 0.12em;
  padding: 4px 10px; border-radius: 999px;
}
.echo-card__title {
  font-family: var(--f-display); font-weight: var(--w-title);
  font-size: 24px; line-height: 1.45;
  color: var(--navy);
  margin: 8px 0 12px;
}
.echo-card__title em {
  font-style: normal;
  color: var(--red-bright);
}
.echo-card__body {
  font-size: 15.5px; line-height: var(--lh-reading);
  color: var(--ink);
  margin: 8px 0;
}
.echo-card__body strong { color: var(--red-bright); }
.echo-card__list {
  list-style: none;
  margin: 8px 0 12px;
  display: grid; gap: 6px;
}
.echo-card__list li {
  padding-left: 22px;
  position: relative;
  font-size: 15px; line-height: var(--lh-card);
  color: var(--ink);
}
.echo-card__list li::before {
  content: "▸";
  position: absolute; left: 4px; top: 0;
  color: var(--jade-dark);
}
.echo-card__meta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-family: var(--f-en); font-style: italic;
  font-size: 12.5px; color: var(--ink2);
  letter-spacing: 0.04em;
}

.notes {
  display: grid; gap: 10px;
  padding: 6px 0 4px;
}
.note {
  background: #FFFEFA;
  border: 1.5px solid var(--ink);
  border-radius: 8px 5px 9px 6px;
  padding: 12px 14px;
  box-shadow: 0 4px 0 rgba(0,0,0,0.18);
}
.note--yellow { background: var(--yellow); }
.note--tilt-l { transform: rotate(-1.5deg); }
.note--tilt-r { transform: rotate(1.5deg); }
.note__meta {
  font-family: var(--f-en); font-style: italic;
  font-size: 12px; color: var(--ink2);
  margin-bottom: 4px;
}
.note__text {
  font-family: var(--f-serif), serif;
  font-size: 15.5px; line-height: var(--lh-card);
  color: var(--ink);
}

.infocard {
  background: var(--teal-deeper);
  color: var(--cream);
  border: 1.5px solid var(--cream);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 0;
}
.infocard__title {
  font-family: var(--f-heavy); font-weight: var(--w-title);
  font-size: 15px; letter-spacing: 0.08em;
  color: var(--cream);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(248,233,194,0.3);
}
.infocard__row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px; align-items: baseline;
  padding: 4px 0;
  font-size: 14.5px;
}
.infocard__row .k {
  font-family: var(--f-en); font-style: italic;
  font-size: 12px; letter-spacing: 0.12em;
  color: var(--yellow);
}
.infocard__row .v {
  color: var(--cream-pale);
  line-height: var(--lh-compact);
}

.share {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px; align-items: center;
  background: rgba(0,0,0,0.18);
  border-radius: 12px;
  padding: 14px 14px;
  margin: 14px 0 4px;
}
.share__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--jade); color: var(--cream);
  display: grid; place-items: center;
  font-size: 18px;
}
.share__text {
  font-size: 14px; line-height: var(--lh-compact);
  color: var(--cream);
}
.share__text strong {
  display: block;
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 15px;
  margin-bottom: 2px;
}
.share__btn {
  padding: 8px 14px;
  border: 0; border-radius: 999px;
  background: var(--cream); color: var(--navy);
  font-family: var(--f-heavy); font-weight: var(--w-title);
  font-size: 14px;
  cursor: pointer;
}

/* zone hero title em 樣式 */
.topbar__brand em { color: var(--jade); font-style: normal; }

/* exit 頁 → 數字略小，視覺上是符號不是大數字 */
.zonepage__num--exit {
  font-size: 64px;
  line-height: 1;
}

/* zone-footer 內若有多顆按鈕，直排 */
.zone-footer.cta-row {
  display: grid;
  gap: 10px;
  padding: 18px 22px 28px;
}

/* small screen worksheet 表格 */
@media (max-width: 380px) {
  .ws-table__head, .ws-table__row {
    grid-template-columns: 54px 1fr;
  }
  .ws-table__opt { grid-column: 1 / -1; }
  .ws-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ─────────────────────────────────────────────────────────
   展區3 ・ 卡片導航 cardnav — 黏性列 + prev/next 按鈕
   ───────────────────────────────────────────────────────── */
.cardnav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px 9px;
  position: sticky;
  top: 52px;
  z-index: 40;
  background: rgba(184,61,37,0.96);
  border-bottom: 1px solid rgba(248,233,194,0.18);
}
.cardnav__chips-strip {
  flex: 1;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cardnav__chips-strip::-webkit-scrollbar { display: none; }
.cardnav__chip {
  flex: 0 0 auto;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid var(--cream);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--f-heavy); font-weight: var(--w-strong);
  font-size: 13.5px;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.cardnav__chip:active,
.cardnav__chip.is-active {
  background: var(--jade);
  border-color: var(--jade);
  color: var(--navy);
}
.cardnav__prev,
.cardnav__next {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(248,233,194,0.6);
  color: var(--cream);
  font-size: 20px; line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
  padding: 0;
  font-family: var(--f-en);
  transition: background 120ms, border-color 120ms, color 120ms;
}
.cardnav__prev:hover, .cardnav__next:hover { background: rgba(255,255,255,0.2); }
.cardnav__prev:active, .cardnav__next:active {
  background: var(--jade); border-color: var(--jade); color: var(--navy);
}
.cardnav__prev:disabled, .cardnav__next:disabled {
  opacity: 0.28; pointer-events: none;
}

/* ─────────────────────────────────────────────────────────
   展區3 ・ 資料來源 sources
   ───────────────────────────────────────────────────────── */
.sources {
  margin: 14px 20px 4px;
  padding: 16px 18px;
  background: rgba(0,0,0,0.18);
  border-radius: 12px;
  border: 1px solid rgba(248,233,194,0.2);
}
.sources__title {
  font-family: var(--f-heavy); font-weight: var(--w-title);
  font-size: 14px; letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(248,233,194,0.25);
}
.sources__lead {
  color: rgba(248,233,194,0.86);
  font-size: 14px;
  line-height: var(--lh-card);
  margin: -2px 0 12px;
}
.sources__list {
  list-style: none;
  display: grid; gap: 6px;
  margin: 0 0 12px;
}
.sources__list li {
  font-size: 13.5px; line-height: var(--lh-card);
  color: var(--cream-pale);
  padding-left: 14px;
  position: relative;
}
.sources__list li::before {
  content: "・";
  position: absolute; left: 0; top: 0;
  color: var(--jade);
}
.sources__list strong { color: var(--cream); }
.sources__note {
  font-size: 12.5px; line-height: var(--lh-compact);
  color: rgba(248,233,194,0.6);
  font-style: italic;
}

/* ─────────────────────────────────────────────────────────
   展區頁底部 CTA 包裝 — 取代各頁 inline padding
   ───────────────────────────────────────────────────────── */
.zone-footer {
  padding: 18px 22px 28px;
}

/* 在深色頁面之外（paper）使用的 ghost 按鈕 */
.btn--ghost-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

/* paper shell 上的 footer 文字顏色 */
.footer--paper {
  color: var(--ink2);
}

/* 展區3 人物卡清單前的說明小字 */
.pcardlist-intro {
  margin: 18px 0 8px;
}

/* ─────────────────────────────────────────────────────────
   獎勵 badge — index 首頁展區地圖上方
   ───────────────────────────────────────────────────────── */
.reward-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--f-heavy);
  font-weight: var(--w-strong);
  font-size: 14.5px;
  line-height: 1.45;
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  margin-top: 14px;
  box-shadow: 3px 4px 0 rgba(26,23,20,0.2);
}
.reward-badge__star {
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-block;
}
@keyframes rewardPop {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}
@keyframes starSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ─────────────────────────────────────────────────────────
   展區卡片 — 已訪狀態
   ───────────────────────────────────────────────────────── */
.zonemap__card.is-visited {
  border-color: var(--jade);
  background: var(--teal-deeper);
}
.zonemap__card.is-visited .zonemap__num {
  color: var(--jade);
  opacity: 0.7;
}
.zonemap__card.is-visited .zonemap__arrow::after {
  content: " ✓";
  font-size: 15px;
  color: var(--jade);
}
.zonemap__card.is-visited .zonemap__arrow {
  font-size: 0;
  color: var(--jade);
}

/* index 進度小字 */
.zonemap__progress-label {
  text-align: right;
  padding: 6px 20px 0;
  font-family: var(--f-en);
  font-style: italic;
  font-size: 13px;
  color: var(--cream);
  opacity: 0.72;
  letter-spacing: 0.06em;
}

@keyframes gentleFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -8px, 0) rotate(-1deg); }
}

@keyframes trackDrift {
  from { background-position: 0 0; }
  to { background-position: 78px 0; }
}

@keyframes fieldDrift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 50px 50px, -80px 80px, 60px -60px, -90px -90px; }
}

@keyframes cardRise {
  from {
    transform: translate3d(0, 14px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes currentStation {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43,170,160,0); }
  50% { box-shadow: 0 0 0 5px rgba(43,170,160,0.22); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─────────────────────────────────────────────────────────
   Desktop layout — 桌機 / 筆電版操作介面
   ───────────────────────────────────────────────────────── */
@media (min-width: 900px) {
  html, body {
    min-height: 100%;
    background:
      radial-gradient(circle at 12% 18%, rgba(43,170,160,0.20), transparent 28%),
      radial-gradient(circle at 86% 12%, rgba(216,89,57,0.18), transparent 30%),
      linear-gradient(135deg, #201d19 0%, #302a24 100%);
  }

  body {
    padding: 32px 28px 104px;
  }

  .shell {
    width: min(1120px, calc(100vw - 56px));
    max-width: none;
    min-height: calc(100vh - 136px);
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(0,0,0,0.36);
    overflow-x: clip;
    overflow-y: visible;
  }

  .shell::before,
  .shell--zone::before {
    max-width: none;
    border-radius: inherit;
  }

  .topbar {
    padding: 16px 28px 14px;
  }

  .topbar__brand {
    font-size: 16px;
  }

  .topbar__progress {
    font-size: 14px;
  }

  .topbar__menu,
  .btn,
  .zonemap__card,
  .cardnav__chip,
  .share__btn {
    min-height: 44px;
  }

  .topbar__menu:hover,
  .btn:hover,
  .zonemap__card:hover,
  .cardnav__chip:hover,
  .share__btn:hover {
    transform: translateY(-1px);
  }

  .topbar__menu:focus-visible,
  .btn:focus-visible,
  .zonemap__card:focus-visible,
  .cardnav__chip:focus-visible,
  .stationnav__link:focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  button:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
  }

  .stationnav {
    max-width: min(1120px, calc(100vw - 56px));
    left: 50%;
    right: auto;
    width: min(1120px, calc(100vw - 56px));
    transform: translateX(-50%);
    bottom: 24px;
    border-radius: 999px;
    padding: 12px 18px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.34);
  }

  .stationnav__link:hover {
    background: rgba(248,233,194,0.12);
  }

  .stationnav__link.is-strong:hover {
    background: var(--red);
  }

  .stationnav__dot {
    width: 8px;
    height: 8px;
  }

  .stationnav__dot.is-on {
    width: 32px;
  }

  /* 首頁：海報與展區導覽並排，讓桌機第一屏就能操作 */
  .shell--poster {
    display: grid;
    grid-template-columns: minmax(420px, 0.92fr) minmax(360px, 1fr);
    grid-template-rows: auto auto auto 1fr auto auto;
    column-gap: 34px;
    align-items: start;
    padding: 0 34px 34px 0;
  }

  .shell--poster::after {
    border-radius: inherit;
    background-image:
      linear-gradient(to right, rgba(248,233,194,0.12) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(248,233,194,0.09) 1px, transparent 1px),
      repeating-linear-gradient(
        to right,
        rgba(216, 89, 57, 0) 0,
        rgba(216, 89, 57, 0) 76px,
        rgba(255,255,255,0.06) 76px,
        rgba(255,255,255,0.06) 78px
      );
    background-size: 78px 100%, 100% 96px, auto;
  }

  .shell--poster .poster {
    grid-column: 1;
    grid-row: 1 / 7;
    min-height: calc(100vh - 136px);
    padding: 44px 34px 30px;
    overflow: hidden;
  }

  .poster__topband {
    margin: -44px -34px 0;
    padding: 14px 26px;
    font-size: 12px;
  }

  .poster__title {
    font-size: clamp(112px, 10vw, 154px);
    margin-top: 44px;
  }

  .poster__en {
    font-size: 31px;
  }

  .poster__title-2 {
    font-size: clamp(96px, 8.5vw, 132px);
  }

  .poster__sub {
    font-size: 20px;
  }

  .poster__sub-rule {
    width: 92px;
    height: 5px;
    box-shadow: 26px 0 0 var(--jade);
  }

  .poster__bullets {
    font-size: 17px;
    padding-right: 0;
  }

  .poster__sub {
    padding-right: 0;
  }

  .poster__char {
    width: min(270px, 24vw);
    right: -24px;
    top: 330px;
  }

  .poster__numbers {
    font-size: clamp(92px, 8vw, 126px);
    letter-spacing: 0.05em;
  }

  .poster__bottomband {
    margin: 30px -34px -30px;
    padding: 22px 28px;
  }

  .shell--poster > div:not(.poster) {
    grid-column: 2;
  }

  .shell--poster > div:nth-of-type(2) {
    padding: 42px 0 4px !important;
    text-align: left !important;
  }

  .shell--poster > div:nth-of-type(2) h2 {
    font-size: 46px !important;
    margin-top: 2px !important;
  }

  .shell--poster .zonemap {
    grid-column: 2;
    padding: 18px 0 0;
    gap: 12px;
  }

  .zonemap__card {
    grid-template-columns: 70px 1fr auto;
    padding: 18px 22px;
    border-radius: 4px;
    border-width: 2px;
  }

  .zonemap__num {
    font-size: 50px;
    -webkit-text-stroke: 1px rgba(248,233,194,0.25);
  }

  .zonemap__name {
    font-size: 19px;
  }

  .zonemap__sub {
    font-size: 13px;
  }

  .shell--poster .cta-row {
    grid-column: 2;
    grid-template-columns: 1fr 1fr;
    padding: 22px 0 0;
  }

  .shell--poster > div:nth-of-type(4) {
    grid-column: 2;
    justify-content: flex-start !important;
    margin: 28px 0 8px !important;
  }

  .shell--poster .footer {
    grid-column: 2;
    text-align: left;
    padding: 18px 0 0;
  }

  /* 展區頁：加寬閱讀面，保留左側站號作為桌機視覺導覽 */
  .shell--zone,
  .shell--paper {
    background-clip: padding-box;
  }

  .zonepage {
    min-height: auto;
  }

  .zonepage__band {
    width: 112px;
    padding-bottom: 42px;
    background:
      linear-gradient(to bottom, rgba(26,23,20,0.14), transparent 22%),
      var(--navy);
  }

  .zonepage__band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, rgba(248,233,194,0.24) 1px, transparent 1px);
    background-size: 100% 54px;
    opacity: 0.45;
    pointer-events: none;
  }

  .zonepage__num {
    font-size: 138px;
  }

  .zonepage__main {
    max-width: 900px;
    padding: 42px 48px 46px;
    position: relative;
  }

  .zonepage__main::before {
    content: "";
    position: absolute;
    right: 72px;
    top: 112px;
    width: 96px;
    height: 96px;
    border: 2px solid rgba(248,233,194,0.18);
    border-radius: 50%;
    opacity: 0.55;
    pointer-events: none;
  }

  .zonepage__tag {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .zonepage__title {
    font-size: clamp(72px, 7vw, 104px);
    max-width: 780px;
  }

  .zonepage__q {
    max-width: 720px;
    font-size: 28px;
    margin-bottom: 28px;
  }

  .zonepage__body {
    max-width: 760px;
    font-size: 17px;
  }

  .zonepage__char {
    max-width: 240px !important;
    margin: 10px 0 14px auto;
  }

  .task,
  .pullquote,
  .prompt-strip,
  .news,
  .proposal-card,
  .echo-card,
  .infocard,
  .share {
    max-width: 760px;
  }

  .task {
    border-radius: 12px 8px 15px 10px;
    padding: 22px 24px;
  }

  .task__label {
    font-size: 18px;
  }

  .task__body,
  .task__list li {
    font-size: 15.5px;
  }

  .timeline {
    max-width: 760px;
  }

  .timeline__row {
    grid-template-columns: 96px 1fr;
    padding: 14px 6px 14px 20px;
  }

  .timeline__year {
    font-size: 30px;
  }

  .timeline__text {
    font-size: 16px;
  }

  .news {
    padding: 24px 22px;
  }

  .news__title {
    font-size: 22px;
  }

  .news__body {
    font-size: 14px;
    column-gap: 24px;
  }

  .news__comments {
    margin: 16px -22px -24px;
    padding: 14px 18px;
  }

  .signrow {
    max-width: 560px;
  }

  .proposal-card__title,
  .echo-card__title {
    font-size: 24px;
  }

  .caption {
    max-width: 760px;
  }

  .shell--zone > div[style*="padding: 18px 22px 28px"] {
    max-width: 872px;
    padding: 8px 48px 34px 160px !important;
  }

  .shell--zone .footer {
    text-align: left;
    padding-left: 160px;
    padding-right: 48px;
  }

  /* 展區3 人物卡：桌機保留黏性導覽，一張一張切換 */
  .cardnav {
    position: sticky;
    top: 56px;
    max-width: none;
    padding: 8px 48px 10px 160px;
  }

  .pcardlist {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 48px 0 160px;
    max-width: 900px;
  }

  .pcard {
    margin-bottom: 0;
    border-radius: 4px;
    min-height: 100%;
    border: 2px solid rgba(248,233,194,0.38);
  }

  .pcard__photo {
    width: 130px;
    height: 188px;
  }

  .pcard__name {
    font-size: 58px;
  }

  .sources {
    max-width: 900px;
    margin: 28px 48px 8px 160px;
  }

  /* 學習單：桌機版接近可填寫工作表，不再侷限手機寬度 */
  .shell--paper {
    max-width: min(1020px, calc(100vw - 56px));
  }

  .ws-hd {
    padding: 34px 48px 24px;
  }

  .ws-hd__title {
    font-size: 40px;
  }

  .ws-hd__sub,
  .ws-hd__form {
    font-size: 14px;
  }

  .ws-section {
    padding: 24px 48px;
  }

  .ws-section__title {
    font-size: 20px;
  }

  .ws-table__head,
  .ws-table__row {
    grid-template-columns: 110px 1.6fr 1.1fr;
    gap: 14px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .ws-table__row,
  .ws-q,
  .ws-hint,
  .ws-options {
    font-size: 15px;
  }

  .ws-area {
    font-size: 15px;
    min-height: 92px;
  }

  .ws-cards {
    gap: 12px;
  }

  .ws-cards__item {
    padding: 10px 8px;
  }

  .ws-cards__name {
    font-size: 13px;
  }

  .ws-finish {
    max-width: 620px;
    margin: 0 auto;
  }

  .shell--paper .footer {
    padding-bottom: 34px;
  }
}

@media (min-width: 1200px) {
  .shell--poster {
    grid-template-columns: 520px 1fr;
  }

  .shell--poster .poster {
    min-height: calc(100vh - 136px);
  }

  .stationnav {
    left: auto;
    right: max(24px, calc((100vw - 1120px) / 2 - 118px));
    top: 50%;
    bottom: auto;
    width: 88px;
    max-width: 88px;
    transform: translateY(-50%);
    flex-direction: column;
    justify-content: center;
    padding: 12px 8px;
    border-radius: 999px;
  }

  .stationnav__dots {
    flex-direction: column;
    gap: 6px;
  }

  .stationnav__dot.is-on {
    width: 8px;
    height: 28px;
  }

  .stationnav__link {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 8px 6px;
    font-size: 13px;
    text-align: center;
  }
}

/* ─────────────────────────────────────────────────────────
   @media print ・ 學習單列印樣式
   空白時約一頁 A4；填寫後自然延伸，最多兩頁
   ───────────────────────────────────────────────────────── */
@media print {
  @page { size: A4 portrait; margin: 9mm 13mm; }
  html, body {
    background: #fff !important;
    color: #000 !important;
    font-size: 9pt;
    line-height: 1.4;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .shell {
    max-width: 100% !important;
    min-height: auto !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }
  .topbar, .stationnav, .ws-finish,
  button.btn, a.btn, .footer { display: none !important; }

  /* ── 抬頭 ── */
  .ws-hd { background: #fff !important; border-bottom: 1.5pt solid #000; padding: 3px 0 7px; }
  .ws-hd__title { color: #000 !important; font-size: 16pt; line-height: 1.1; }
  .ws-hd__title em { color: #c33 !important; }
  .ws-hd__title span { font-size: 9.5pt !important; }
  .ws-hd__sub { font-size: 8pt; margin-top: 3px; }
  .ws-hd__form { font-size: 8.5pt; margin-top: 5px; gap: 10px; flex-wrap: nowrap; }
  .ws-hd__field input {
    border: 0; border-bottom: 0.7pt solid #000;
    padding: 0 2px;
  }

  /* ── 區塊：各 section 不內部斷頁，但 section 之間可換頁 ── */
  .ws-section {
    padding: 5px 0 6px;
    border-bottom: 0.5pt solid #ccc;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .ws-section:last-of-type { border-bottom: 0; }
  .ws-section__title { color: #000 !important; font-size: 9.5pt; margin-bottom: 4px; line-height: 1.3; border-left: 2.5pt solid #c33; padding-left: 7px; }
  .ws-section__title em { color: #c33 !important; font-style: normal; }
  .ws-hint { font-size: 8pt; color: #555 !important; margin-bottom: 3px; line-height: 1.4; }
  .ws-q { font-size: 8.5pt; margin: 4px 0; line-height: 1.4; }

  /* ── A 部分表格 ── */
  .ws-table { border: 0.5pt solid #999; margin-bottom: 5px; }
  .ws-table__head {
    background: #222 !important; color: #fff !important;
    font-size: 8pt; padding: 3px 8px;
  }
  .ws-table__head, .ws-table__row {
    grid-template-columns: 58px 1.5fr 1fr;
    gap: 6px; padding: 3px 8px;
  }
  .ws-table__row { background: #fff !important; font-size: 8pt; padding: 3px 8px; }
  .ws-table__row:nth-child(odd) { background: #f5f5f5 !important; }
  .ws-table__year { font-size: 8pt; gap: 3px; }
  .ws-table__case { line-height: 1.35; }
  /* 選項橫排：最大的省空間優化 */
  .ws-table__opt { display: flex; flex-wrap: wrap; gap: 0 10px; align-items: center; }
  .ws-table__opt label { font-size: 8pt; gap: 3px; line-height: 1.5; }
  .ws-num {
    background: #2BAAA0 !important; color: #fff !important;
    width: 14px; height: 14px; font-size: 7pt;
  }

  /* ── 填寫欄位：min-height 給空白時的寫作空間，不鎖上限 ── */
  .ws-area {
    background: #fff !important; color: #000 !important;
    border: 0.5pt solid #aaa !important;
    min-height: 34px !important;   /* ≈ 2 行手寫 */
    height: auto !important;       /* 有內容時自然撐高 */
    padding: 3px 6px !important;
    font-size: 8.5pt;
    line-height: 1.5;
    resize: none !important;
    margin-top: 3px;
  }
  /* D 部分提案欄給更多預設空間 */
  .proposal-card .ws-area,
  .proposal-card--paper .ws-area {
    min-height: 56px !important;   /* ≈ 3–4 行 */
  }
  .ws-inline { color: #000 !important; font-size: 8.5pt; border-bottom: 0.5pt solid #000; }
  .ws-options { font-size: 8.5pt; gap: 3px 14px; margin-top: 3px; }
  .ws-options label { gap: 4px; color: #000 !important; }

  /* ── C 部分：人物卡隱藏圖片，只顯示選鈕 + 名字 ── */
  .ws-cards { gap: 4px; margin: 4px 0 5px; }
  .ws-cards__item { border: 0.5pt solid #999 !important; background: #fff !important; padding: 6px 4px; }
  .ws-cards__item:has(input:checked) { border: 0.5pt solid #999 !important; background: #fff !important; box-shadow: none !important; }
  .ws-cards__item img { display: none !important; }
  .ws-cards__name { color: #000 !important; font-size: 8.5pt; line-height: 1.3; }

  /* ── D 部分 ── */
  .proposal-card, .proposal-card--paper {
    background: #fff !important;
    border: 0.5pt solid #999 !important;
    color: #000 !important;
    padding: 6px 10px !important;
    margin: 4px 0 !important;
    box-shadow: none !important;
  }
  .proposal-card__title { color: #000 !important; font-size: 8.5pt; margin-bottom: 4px; line-height: 1.4; }
  .proposal-card__icon { display: none !important; }
  .proposal-card__prompts { font-size: 8pt; color: #444 !important; line-height: 1.7; margin: 0 0 5px; padding-left: 14px; }
}
