/* =========================================================
   全面建设文化强国 · 思政课件
   设计系统：墨蓝基底 × 鎏金强调 × 玻璃拟态 × 噪点质感
   ========================================================= */

:root {
  /* 色板 */
  --ink-900: #070b1c;
  --ink-800: #0a0f24;
  --ink-700: #0f152f;
  --ink-600: #161d3d;
  --line: rgba(213, 178, 110, .22);
  --line-soft: rgba(255, 255, 255, .08);

  --gold-200: #f3e0b0;
  --gold-400: #e6c478;
  --gold-500: #d5b26e;
  --gold-600: #b8924a;
  --red-500: #c4302b;
  --red-400: #e0524d;

  --text: #eef1fb;
  --text-dim: #aeb6d6;
  --text-mute: #7b85ad;

  /* 字阶 */
  --fs-display: clamp(2.6rem, 6vw, 5rem);
  --fs-h2: clamp(1.7rem, 3.4vw, 2.7rem);
  --fs-h3: clamp(1.05rem, 1.6vw, 1.35rem);
  --fs-lead: clamp(.95rem, 1.5vw, 1.2rem);
  --fs-body: clamp(.9rem, 1.2vw, 1.02rem);

  /* 间距 / 形状 */
  --pad: clamp(2.2rem, 5vw, 5.5rem);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .8);
  --glow-gold: 0 0 32px -6px rgba(214, 178, 110, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Helvetica Neue", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 78% -10%, rgba(196, 48, 43, .14), transparent 60%),
    radial-gradient(900px 700px at 12% 110%, rgba(214, 178, 110, .12), transparent 60%),
    linear-gradient(160deg, var(--ink-900), var(--ink-700) 55%, var(--ink-800));
  background-attachment: fixed;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 全局噪点质感 */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.grad-gold {
  background: linear-gradient(110deg, var(--gold-200), var(--gold-500) 40%, #fff7e3 60%, var(--gold-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ 顶部工具栏 ============ */
.toolbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 60px; display: flex; align-items: center; gap: 1.2rem;
  padding: 0 clamp(1rem, 3vw, 2.2rem);
  background: linear-gradient(180deg, rgba(7, 11, 28, .82), rgba(7, 11, 28, .35));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 9px; font-weight: 700; font-size: 1rem; color: #fff;
  background: linear-gradient(140deg, var(--red-400), var(--red-500));
  box-shadow: 0 4px 16px -4px rgba(196, 48, 43, .7);
}
.brand-text { font-size: .92rem; letter-spacing: .04em; color: var(--text-dim); white-space: nowrap; }
@media (max-width: 720px) { .brand-text { display: none; } }

.mode-switch {
  margin: 0 auto; display: flex; gap: 4px; padding: 4px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-soft);
  border-radius: 999px;
}
.mode-btn {
  border: 0; cursor: pointer; font-family: inherit;
  padding: .42rem 1.05rem; border-radius: 999px; font-size: .86rem;
  color: var(--text-dim); background: transparent; transition: all .28s var(--ease);
  letter-spacing: .06em;
}
.mode-btn:hover { color: var(--text); }
.mode-btn.is-active {
  color: var(--ink-900); font-weight: 600;
  background: linear-gradient(120deg, var(--gold-200), var(--gold-500));
  box-shadow: var(--glow-gold);
}

.toolbar-right { display: flex; align-items: center; gap: .8rem; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .04);
  color: var(--text-dim); font-size: 1rem; transition: all .25s var(--ease);
}
.icon-btn:hover { color: var(--gold-200); border-color: var(--line); background: rgba(214, 178, 110, .1); }
.page-indicator { font-family: var(--font-num); font-size: .95rem; color: var(--text-mute); letter-spacing: .05em; }
.page-indicator b { color: var(--gold-200); font-size: 1.15rem; }
.page-indicator i { margin: 0 .2rem; font-style: normal; }

/* ============ 进度条 ============ */
.progress-rail {
  position: fixed; top: 60px; left: 0; right: 0; height: 2px; z-index: 99;
  background: rgba(255, 255, 255, .06);
}
.progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--red-400), var(--gold-400));
  box-shadow: 0 0 12px rgba(214, 178, 110, .6);
  transition: width .5s var(--ease);
}

/* ============ 舞台与幻灯片 ============ */
.deck { position: absolute; inset: 60px 0 0 0; }

.slide {
  position: absolute; inset: 0;
  padding: clamp(4.5rem, 9vh, 6.5rem) var(--pad) clamp(4rem, 8vh, 5.5rem);
  display: flex; flex-direction: column; gap: clamp(1rem, 2.4vh, 1.8rem);
  overflow: auto;
}

/* 幻灯标题区 */
.slide-head { display: flex; align-items: flex-start; gap: 1.3rem; }
.sec-no {
  font-family: var(--font-num); font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: .9; font-weight: 700; letter-spacing: -.02em;
  background: linear-gradient(160deg, var(--gold-200), var(--gold-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9; flex-shrink: 0;
}
.slide-title { font-size: var(--fs-h2); font-weight: 700; letter-spacing: .01em; line-height: 1.15; }
.slide-lead { margin-top: .5rem; font-size: var(--fs-lead); color: var(--text-dim); font-weight: 400; }
.slide-head::after { content: none; }
.slide-head + * { position: relative; }

.mini-title {
  font-size: var(--fs-h3); color: var(--gold-200); letter-spacing: .04em;
  margin-top: .4rem; padding-left: .9rem; position: relative;
}
.mini-title::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 1.1em; border-radius: 2px; background: linear-gradient(var(--gold-400), var(--red-500)); }

.para { font-size: var(--fs-body); color: var(--text-dim); line-height: 1.85; max-width: 60ch; }
.para.center { text-align: center; max-width: 70ch; margin: 0 auto; }
.para b, .slide-lead b { color: var(--gold-200); font-weight: 600; }

/* ============ 卡片 ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative; padding: 1.6rem 1.5rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  overflow: hidden; transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  opacity: .5;
}
.card:hover { transform: translateY(-6px); border-color: var(--line); }
.card.tall { padding: 2rem 1.8rem; }
.card-ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.4rem; color: var(--gold-200); margin-bottom: 1rem;
  background: radial-gradient(circle at 30% 25%, rgba(214, 178, 110, .25), rgba(196, 48, 43, .12));
  border: 1px solid var(--line);
}
.card h3 { font-size: var(--fs-h3); margin-bottom: .55rem; }
.card p { font-size: var(--fs-body); color: var(--text-dim); line-height: 1.7; }

/* 引言 */
.quote {
  position: relative; margin-top: auto; padding: 1.4rem 1.8rem 1.4rem 3.2rem;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem); line-height: 1.6; color: var(--gold-200);
  border-left: 2px solid var(--gold-500);
  background: linear-gradient(100deg, rgba(214, 178, 110, .08), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0; font-weight: 500;
}
.quote::before { content: "“"; position: absolute; left: 1rem; top: .2rem; font-size: 3rem; color: var(--gold-600); opacity: .6; font-family: Georgia, serif; }
.quote cite { display: block; margin-top: .6rem; font-size: .9rem; color: var(--text-mute); font-style: normal; }

/* ============ 导论 · 使命任务五句话 ============ */
.mission { text-align: center; margin-top: auto; }
.mission-cap { display: block; font-size: .85rem; letter-spacing: .14em; color: var(--text-mute); margin-bottom: 1rem; }
.mission-words { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.mission-words span {
  font-size: clamp(1rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: .14em;
  padding: .7rem 1.4rem; border-radius: 12px; color: var(--gold-200);
  background: linear-gradient(150deg, rgba(214, 178, 110, .12), rgba(196, 48, 43, .08));
  border: 1px solid var(--line); transition: transform .3s var(--ease);
}
.mission-words span:hover { transform: translateY(-4px); box-shadow: var(--glow-gold); }

/* ============ 03 核心要义 · 体用框架 ============ */
.framework { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem, 2.5vw, 2rem); align-items: stretch; }
@media (max-width: 820px) { .framework { grid-template-columns: 1fr; } }
.fw-col {
  padding: 1.6rem 1.7rem; border-radius: var(--radius); border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
}
.fw-col.fw-ti { background: linear-gradient(160deg, rgba(214, 178, 110, .12), rgba(255, 255, 255, .02)); border-color: var(--line); }
.fw-col.fw-yong { background: linear-gradient(160deg, rgba(196, 48, 43, .12), rgba(255, 255, 255, .02)); border-color: rgba(224, 82, 77, .3); }
.fw-badge { display: inline-block; font-size: .8rem; letter-spacing: .12em; color: var(--gold-200); padding: .3rem .9rem; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 1rem; }
.fw-yong .fw-badge { color: var(--red-400); border-color: rgba(224, 82, 77, .35); }
.fw-col > p { font-size: var(--fs-body); color: var(--text-dim); line-height: 1.7; margin-bottom: 1rem; }
.fw-col > p b { color: var(--text); }
.fw-col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.fw-col li { position: relative; padding-left: 1.4rem; font-size: var(--fs-body); color: var(--text-dim); }
.fw-col li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); }
.fw-yong li::before { background: var(--red-400); }
.fw-bridge { display: grid; place-items: center; }
.fw-bridge span {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  font-size: .9rem; font-weight: 700; line-height: 1.2; color: var(--ink-900);
  background: linear-gradient(140deg, var(--gold-200), var(--gold-500)); box-shadow: var(--glow-gold);
}
@media (max-width: 820px) { .fw-bridge span { transform: rotate(90deg); } }

/* ============ 02 思想坐标 ============ */
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-main { display: flex; flex-direction: column; gap: 1.3rem; }
.milestone {
  display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.milestone-year {
  font-family: var(--font-num); font-size: 1.5rem; font-weight: 700; color: var(--gold-200);
  padding-right: 1.2rem; border-right: 1px solid var(--line); flex-shrink: 0;
}
.milestone p { font-size: var(--fs-body); color: var(--text-dim); line-height: 1.6; }
.milestone b, .duty b { color: var(--text); }
.tag-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag {
  font-size: .82rem; padding: .4rem .9rem; border-radius: 999px; color: var(--gold-200);
  background: rgba(214, 178, 110, .08); border: 1px solid var(--line);
}
.emblem-card {
  position: relative; aspect-ratio: 1; max-width: 280px; margin: 0 auto; width: 100%;
  display: grid; place-items: center; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 40%, rgba(214, 178, 110, .14), rgba(7, 11, 28, .2));
  border: 1px solid var(--line); box-shadow: var(--glow-gold);
}
.emblem-big { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; color: rgba(214, 178, 110, .18); }
.emblem-cross { position: absolute; font-size: clamp(2.4rem, 7vw, 4rem); font-weight: 800; color: var(--gold-200); }
.emblem-cap { position: absolute; bottom: 1.4rem; font-size: .92rem; color: var(--text-dim); text-align: center; letter-spacing: .12em; line-height: 1.5; }

/* ============ 03 两个结合 + 特性 ============ */
.combine { display: flex; align-items: stretch; gap: 1rem; flex-wrap: wrap; }
.combine-item {
  flex: 1; min-width: 240px; padding: 1.4rem 1.6rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-soft);
}
.combine-item.is-hi {
  background: linear-gradient(150deg, rgba(214, 178, 110, .14), rgba(196, 48, 43, .08));
  border-color: var(--line); box-shadow: var(--glow-gold);
}
.combine-tag { display: inline-block; font-size: .8rem; color: var(--gold-200); letter-spacing: .1em; margin-bottom: .6rem; }
.combine-item p { font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--text); }
.combine-item b { color: var(--gold-200); }
.combine-plus { align-self: center; font-size: 2rem; color: var(--gold-500); font-weight: 300; }
@media (max-width: 720px) { .combine-plus { display: none; } }

.trait-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 760px) { .trait-row { grid-template-columns: repeat(2, 1fr); } }
.trait {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  padding: 1.4rem .6rem; border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-soft);
  opacity: 0; transform: translateY(18px);
}
.trait b { font-size: var(--fs-body); letter-spacing: .04em; }
.trait-i {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 700; color: var(--gold-200);
  background: radial-gradient(circle at 35% 30%, rgba(214, 178, 110, .3), rgba(196, 48, 43, .14));
  border: 1px solid var(--line);
}
.is-animated .trait { animation: rise .6s var(--ease) forwards; }
.is-animated .trait:nth-child(1) { animation-delay: .05s; }
.is-animated .trait:nth-child(2) { animation-delay: .15s; }
.is-animated .trait:nth-child(3) { animation-delay: .25s; }
.is-animated .trait:nth-child(4) { animation-delay: .35s; }
.is-animated .trait:nth-child(5) { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ============ 04 核心价值观 ============ */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }
.values-col {
  padding: 1.6rem 1.4rem; border-radius: var(--radius); text-align: center;
  background: linear-gradient(170deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-soft);
}
.values-lv { display: inline-block; font-size: .82rem; letter-spacing: .14em; color: var(--gold-200); margin-bottom: 1.1rem; padding: .25rem .9rem; border: 1px solid var(--line); border-radius: 999px; }
.values-words { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.values-words span {
  font-size: clamp(1.05rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: .18em;
  padding: .7rem 0; border-radius: 12px; color: var(--text);
  background: rgba(214, 178, 110, .06); border: 1px solid var(--line-soft);
  transition: all .3s var(--ease);
}
.values-words span:hover { color: var(--gold-200); background: rgba(214, 178, 110, .14); transform: scale(1.04); }

/* ============ 05 数据可视化 ============ */
.slide-data { gap: clamp(.8rem, 2vh, 1.4rem); }
.data-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(1rem, 2.5vw, 2rem); }
@media (max-width: 860px) { .data-grid { grid-template-columns: 1fr; } }
.chart-card {
  padding: 1.6rem; border-radius: var(--radius); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-soft); box-shadow: var(--shadow); position: relative;
}
.chart-card.wide { align-items: stretch; }
.ring { width: clamp(140px, 16vw, 190px); transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 10; }
.ring-fg {
  fill: none; stroke: url(#g); stroke-width: 10; stroke-linecap: round;
  stroke: var(--gold-400);
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
  filter: drop-shadow(0 0 6px rgba(214, 178, 110, .6));
  transition: stroke-dashoffset 1.6s var(--ease);
}
.ring-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, calc(-50% - 18px)); text-align: center; }
.chart-card .ring-label { top: auto; }
.chart-card { }
.ring-label b { display: block; font-family: var(--font-num); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--gold-200); line-height: 1; }
.ring-label span { font-size: .82rem; color: var(--text-mute); }
.chart-cap { font-size: .85rem; color: var(--text-mute); text-align: center; }

/* 柱状图 */
.bars { display: flex; align-items: flex-end; justify-content: space-around; gap: 1rem; height: clamp(150px, 22vh, 220px); flex: 1; padding-top: 1rem; }
.bar {
  position: relative; width: 100%; max-width: 64px; align-self: flex-end; border-radius: 8px 8px 0 0;
  height: 0; background: linear-gradient(180deg, rgba(214, 178, 110, .85), rgba(214, 178, 110, .25));
  border: 1px solid var(--line); border-bottom: 0;
  transition: height 1.1s var(--ease);
}
.bar.is-hi { background: linear-gradient(180deg, var(--gold-200), rgba(196, 48, 43, .5)); box-shadow: var(--glow-gold); }
.bar i { position: absolute; bottom: -1.8rem; left: 50%; transform: translateX(-50%); font-style: normal; font-family: var(--font-num); font-size: .82rem; color: var(--text-mute); }
.is-animated .bar { height: var(--v); }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 760px) { .kpi-row { grid-template-columns: 1fr; } }
.kpi {
  text-align: center; padding: 1.2rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line-soft);
}
.kpi b { display: block; font-family: var(--font-num); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--gold-200); }
.kpi span { font-size: .82rem; color: var(--text-mute); }
.data-note { font-size: .76rem; color: var(--text-mute); opacity: .7; text-align: center; }

/* ============ 07 时间轴 + 七个着力 ============ */
.timeline { position: relative; display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 1rem 1rem; }
.timeline::before {
  content: ""; position: absolute; top: 1.9rem; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400), var(--red-500));
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease);
}
.is-animated .timeline::before { transform: scaleX(1); }
.tl-node { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; position: relative; opacity: 0; transform: translateY(14px); }
.is-animated .tl-node { animation: rise .6s var(--ease) forwards; }
.is-animated .tl-node:nth-child(1) { animation-delay: .3s; }
.is-animated .tl-node:nth-child(2) { animation-delay: .6s; }
.is-animated .tl-node:nth-child(3) { animation-delay: .9s; }
.tl-dot {
  width: 18px; height: 18px; border-radius: 50%; background: var(--gold-400);
  box-shadow: 0 0 0 5px rgba(214, 178, 110, .15), var(--glow-gold); margin-bottom: .3rem;
}
.tl-node.is-goal .tl-dot { width: 24px; height: 24px; background: var(--red-400); box-shadow: 0 0 0 6px rgba(196, 48, 43, .2), 0 0 24px rgba(196, 48, 43, .7); }
.tl-node b { font-family: var(--font-num); font-size: 1.15rem; color: var(--text); }
.tl-node.is-goal b { color: var(--red-400); font-size: 1.4rem; }
.tl-node i { font-style: normal; font-size: .82rem; color: var(--text-mute); }

.seven { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
@media (max-width: 860px) { .seven { grid-template-columns: repeat(2, 1fr); } }
.seven span {
  padding: .9rem 1rem; border-radius: 12px; font-size: .9rem; text-align: center;
  color: var(--text-dim); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease);
}
.seven span:hover { color: var(--gold-200); border-color: var(--line); background: rgba(214, 178, 110, .1); transform: translateY(-3px); }

/* ============ 08 青年担当 ============ */
.duty { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
@media (max-width: 760px) { .duty { grid-template-columns: 1fr; } }
.duty-item {
  display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 1.5rem;
  border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-soft); transition: transform .35s var(--ease);
}
.duty-item:hover { transform: translateX(5px); }
.duty-n {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 700; color: var(--ink-900);
  background: linear-gradient(140deg, var(--gold-200), var(--gold-500));
}
.duty-item b { display: block; font-size: var(--fs-h3); margin-bottom: .35rem; }
.duty-item p { font-size: var(--fs-body); color: var(--text-dim); line-height: 1.65; }

/* ============ 封面 ============ */
.slide-cover, .slide-end { align-items: center; justify-content: center; text-align: center; }
.cover-aura {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 600px at 50% 38%, rgba(214, 178, 110, .16), transparent 62%),
    conic-gradient(from 180deg at 50% 40%, transparent, rgba(196, 48, 43, .06), transparent 30%);
}
.cover-inner, .end-inner { position: relative; max-width: 980px; display: flex; flex-direction: column; align-items: center; gap: 1.3rem; }
.cover-kicker { font-size: .92rem; letter-spacing: .42em; color: var(--gold-200); text-transform: none; padding-left: .42em; }
.cover-title { font-size: var(--fs-display); font-weight: 800; line-height: 1.08; letter-spacing: .02em; }
.cover-sub { font-size: var(--fs-lead); color: var(--text-dim); }
.cover-rule { width: 120px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); }
.cover-meta { display: flex; gap: 1rem; align-items: center; color: var(--gold-200); letter-spacing: .14em; font-size: .95rem; }
.cover-meta i { color: var(--gold-600); font-style: normal; }

/* 入场动画 */
.cover-kicker { animation: fadeUp .8s var(--ease) both; }
.cover-title { animation: fadeUp .9s .12s var(--ease) both; }
.cover-sub { animation: fadeUp .9s .24s var(--ease) both; }
.cover-rule { animation: fadeUp .9s .34s var(--ease) both; }
.cover-meta { animation: fadeUp .9s .44s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ============ 结语 ============ */
.end-title { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
.end-sub { font-size: var(--fs-lead); color: var(--text-dim); max-width: 60ch; }
.discuss {
  margin-top: 1rem; text-align: left; padding: 1.8rem 2.2rem; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 640px;
}
.discuss h3 { color: var(--gold-200); font-size: var(--fs-h3); margin-bottom: 1rem; letter-spacing: .06em; }
.discuss ol { padding-left: 1.3rem; display: flex; flex-direction: column; gap: .9rem; }
.discuss li { font-size: var(--fs-body); color: var(--text-dim); line-height: 1.6; }
.discuss li::marker { color: var(--gold-500); font-weight: 700; }

/* ============ 底部导航 ============ */
.navbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2.2rem);
  background: linear-gradient(0deg, rgba(7, 11, 28, .82), rgba(7, 11, 28, .2));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-soft);
}
.nav-btn {
  font-family: inherit; cursor: pointer; font-size: .88rem; letter-spacing: .04em;
  padding: .5rem 1.2rem; border-radius: 999px; color: var(--text-dim);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-soft);
  transition: all .25s var(--ease);
}
.nav-btn:hover:not(:disabled) { color: var(--gold-200); border-color: var(--line); }
.nav-btn:disabled { opacity: .32; cursor: not-allowed; }
.dots { display: flex; gap: .5rem; }
.dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 0; background: rgba(255, 255, 255, .18); transition: all .3s var(--ease);
}
.dots button.is-active { background: linear-gradient(120deg, var(--gold-200), var(--gold-500)); width: 26px; border-radius: 6px; }

/* =========================================================
   模式控制
   ========================================================= */

/* ---- 单页模式（演示 / 讲稿 / 自动）：仅显示当前页 ---- */
.mode-present .slide, .mode-notes .slide, .mode-auto .slide { display: none; }
.mode-present .slide.is-current,
.mode-notes .slide.is-current,
.mode-auto .slide.is-current { display: flex; animation: slideIn .6s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px) scale(.99); } to { opacity: 1; transform: translateX(0) scale(1); } }

.slide-notes { display: none; }
.outline-toc { display: none; }

/* ---- 讲稿模式：右侧备注面板，左侧缩小 ---- */
.notes-panel {
  position: fixed; top: 60px; right: 0; bottom: 56px; width: min(36vw, 460px); z-index: 80;
  background: linear-gradient(180deg, rgba(7, 11, 28, .96), rgba(10, 15, 36, .96));
  border-left: 1px solid var(--line); padding: 1.8rem 1.8rem; overflow: auto;
  transform: translateX(100%); transition: transform .5s var(--ease);
}
.mode-notes .notes-panel { transform: translateX(0); }
.mode-notes .deck { right: min(36vw, 460px); }
@media (max-width: 820px) {
  .mode-notes .notes-panel { width: 100%; bottom: 50%; top: auto; height: 50%; transform: translateY(100%); border-left: 0; border-top: 1px solid var(--line); }
  .mode-notes .notes-panel { transform: translateY(0); }
  .mode-notes .deck { right: 0; bottom: calc(56px + 50%); }
}
.notes-head { font-size: .82rem; letter-spacing: .2em; color: var(--gold-200); margin-bottom: 1.2rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line-soft); }
.notes-body { font-size: .95rem; line-height: 1.85; color: var(--text-dim); }
.notes-body strong { display: block; color: var(--gold-200); font-size: 1rem; margin-bottom: .7rem; letter-spacing: .04em; }
.notes-body p { margin-bottom: .9rem; }
.notes-body b { color: var(--text); }

/* ---- 大纲模式：长页滚动，缩略全部 ---- */
.mode-outline { overflow: auto; }
.mode-outline .deck { position: static; inset: auto; padding: 84px clamp(1rem, 4vw, 3rem) 4rem; max-width: 1180px; margin: 0 auto; }
.mode-outline .slide {
  position: relative; inset: auto; min-height: 78vh; margin-bottom: 2.4rem;
  border-radius: var(--radius-lg); border: 1px solid var(--line-soft);
  background: linear-gradient(165deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  box-shadow: var(--shadow); scroll-margin-top: 80px; overflow: hidden;
}
.mode-outline .navbar { display: none; }
.mode-outline .progress-rail { position: fixed; }
.mode-outline .slide-cover, .mode-outline .slide-end { min-height: 70vh; }

/* 大纲右侧浮动目录 */
.mode-outline .outline-toc {
  display: flex; flex-direction: column; gap: .2rem; position: fixed; top: 50%; right: 1.4rem;
  transform: translateY(-50%); z-index: 70;
}
.outline-toc a {
  display: flex; align-items: center; gap: .6rem; justify-content: flex-end;
  font-size: .76rem; color: var(--text-mute); text-decoration: none; padding: .25rem 0;
  transition: color .25s var(--ease);
}
.outline-toc a .toc-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .2); transition: all .25s var(--ease); flex-shrink: 0; }
.outline-toc a:hover { color: var(--gold-200); }
.outline-toc a:hover .toc-dot, .outline-toc a.is-active .toc-dot { background: var(--gold-400); box-shadow: var(--glow-gold); }
.outline-toc a .toc-txt { opacity: 0; transform: translateX(6px); transition: all .25s var(--ease); white-space: nowrap; }
.outline-toc a:hover .toc-txt { opacity: 1; transform: translateX(0); }
@media (max-width: 1100px) { .mode-outline .outline-toc { display: none; } }

/* 自动模式高亮播放按钮 */
.mode-auto #autoToggle { display: inline-block; color: var(--gold-200); border-color: var(--line); }
.is-playing #autoToggle { background: rgba(214, 178, 110, .16); }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

/* 全屏时隐藏光标提示等可保持简洁 */
:fullscreen .toolbar { opacity: 1; }

/* 降级：减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
