@charset "utf-8";
/* 扶轮马社 · 网站视觉系统 v5「扶轮红」
   参考 marxism.forum 的明快红白风格，完全重做：
   粉白底 / 正红主色 / 白色圆角卡片红描边 / 居中排版 / 无衬线 / 胶囊按钮
   布局类名沿用 v4，视觉全部替换。 */

/* ============ 1. 令牌 ============ */
:root {
  --paper: #fdf4f3;
  --paper-2: #f9e9e7;
  --paper-3: #f3dad7;
  --card: #ffffff;
  --red: #d6201e;
  --red-deep: #a5120f;
  --red-dark: #7c0d0b;
  --red-soft: rgba(214, 32, 30, .1);
  --line: rgba(214, 32, 30, .26);
  --line-soft: rgba(214, 32, 30, .12);
  --ink: #46201e;
  --ink-soft: #7a5250;
  --ink-faint: #a98785;
  --gold: #e8a33d;
  --shadow: 0 18px 44px -22px rgba(166, 18, 15, .28);
  --shadow-lg: 0 30px 70px -26px rgba(166, 18, 15, .38);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
  --r: 16px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

[data-theme="night"] {
  --paper: #1c1214;
  --paper-2: #241719;
  --paper-3: #2c1d20;
  --card: #2a1d1f;
  --ink: #f6ebe9;
  --ink-soft: #d3b6b3;
  --ink-faint: #a08280;
  --line: rgba(240, 128, 118, .3);
  --line-soft: rgba(240, 128, 118, .14);
  --red-soft: rgba(240, 128, 118, .12);
  --shadow: 0 18px 44px -22px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 70px -26px rgba(0, 0, 0, .75);
}

/* ============ 2. 基础 ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  background-image: linear-gradient(180deg, #fae5e2 0%, rgba(253, 244, 243, 0) 420px);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 999px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ============ 3. 顶栏 ============ */
.read-progress {
  position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%; z-index: 120;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
}
.site-head {
  position: sticky; top: 0; z-index: 110;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s;
}
.site-head.is-scrolled { box-shadow: 0 8px 30px -18px rgba(166,18,15,.35); }
.head-in { display: flex; align-items: center; gap: 22px; min-height: 74px; transition: min-height .3s; }
.site-head.is-scrolled .head-in { min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand .mark {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  background: url('img/mascot/avatar.png') center / cover no-repeat, var(--red);
  border: 1.5px solid var(--line);
  box-shadow: 0 0 0 2px rgba(255,255,255,.5);
}
.brand b { display: block; font-weight: 800; font-size: 19px; letter-spacing: .12em; color: var(--red); line-height: 1.25; }
.brand small { display: block; font-size: 10px; letter-spacing: .2em; color: var(--ink-faint); line-height: 1.5; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  position: relative; padding: 8px 12px; font-size: 13.5px; letter-spacing: .04em;
  color: var(--ink-soft); white-space: nowrap; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--red); background: var(--red-soft); }
.nav a[aria-current="page"] { color: #fff; background: var(--red); font-weight: 600; }
.head-tools { display: flex; gap: 6px; flex: none; }
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-soft); border-radius: 50%;
  font-size: 15px; line-height: 1; transition: background .2s, border-color .2s, transform .2s;
}
.icon-btn:hover { background: var(--red-soft); border-color: var(--line); transform: rotate(-8deg); }
.theme-btn .i-sun { display: none; }
[data-theme="night"] .theme-btn .i-moon { display: none; }
[data-theme="night"] .theme-btn .i-sun { display: inline; }
.nav-toggle { display: none; }

/* ============ 4. 按钮体系（胶囊） ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 30px; border: 1.5px solid var(--red); border-radius: 999px;
  font-size: 14px; letter-spacing: .08em; font-weight: 600;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn--solid { background: var(--red); color: #fff; box-shadow: 0 12px 26px -12px rgba(214,32,30,.6); }
.btn--solid:hover { background: var(--red-deep); box-shadow: 0 16px 32px -12px rgba(214,32,30,.7); }
.btn--ghost { background: transparent; color: var(--red); }
.btn--ghost:hover { background: var(--red-soft); }

/* ============ 5. 首页门户首屏（参考 marxism.forum：报头 + 分栏 + 入口网格） ============ */
.hero--portal {
  position: relative; padding: 26px 0 40px;
  background:
    radial-gradient(58% 80% at 88% 8%, rgba(214,32,30,.10), transparent 62%),
    linear-gradient(178deg, #fdf4f3 0%, #fae9e6 100%);
}
.hero--portal::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(214,32,30,.075) 1px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 72%);
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}
.hero--portal > .wrap { position: relative; z-index: 1; }

/* 报头条 */
.portal-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-bottom: 18px; border-bottom: 1.5px solid var(--red);
}
.portal-brand { display: flex; align-items: center; gap: 11px; }
.portal-issue {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--red); color: var(--red);
  font-size: 9.5px; font-weight: 800; letter-spacing: .06em; background: rgba(255,255,255,.7);
}
.portal-brand b { display: block; font-size: 18px; font-weight: 800; letter-spacing: .16em; color: var(--ink); line-height: 1.3; }
.portal-brand small { display: block; font-size: 9.5px; letter-spacing: .18em; color: var(--ink-faint); }
.portal-bar-note { margin: 0; font-size: 11.5px; letter-spacing: .12em; color: var(--ink-soft); }
.portal-bar-note i { font-style: normal; color: var(--red); margin: 0 8px; }

/* 主区分栏 */
.portal-main {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px;
  align-items: center; padding: 48px 0 46px;
}
.portal-kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .28em; color: var(--ink-soft);
}
.portal-kicker span {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 11px; letter-spacing: 0;
}
.portal-kicker i { width: 34px; height: 1px; background: var(--line); }
.portal-lead h1 {
  margin: 0 0 18px; font-family: var(--serif); font-weight: 700;
  font-size: clamp(42px, 5.4vw, 72px); line-height: 1.28; letter-spacing: .06em;
  color: var(--ink);
}
.portal-lead h1 em { font-style: normal; color: var(--red); }
.portal-motto {
  display: inline-block; margin: 0 0 18px; padding: 6px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--red);
  background: rgba(255,255,255,.7);
}
.portal-desc { max-width: 470px; margin: 0 0 26px; font-size: 14px; line-height: 2.05; color: var(--ink-soft); }
.portal-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* 右侧剧照：白卡红描边，斜角小，无白框相片/图钉 */
.portal-figure {
  position: relative; margin: 0; padding: 10px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 18px;
  box-shadow: 0 6px 18px -12px rgba(166,18,15,.35), 0 28px 60px -28px rgba(166,18,15,.5);
  transform: rotate(1.2deg);
}
.portal-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 11px; }
.portal-figure figcaption {
  padding: 10px 4px 2px; font-size: 11px; letter-spacing: .14em;
  color: var(--ink-faint); display: flex; align-items: center; gap: 9px;
}
.portal-figure figcaption::before { content: ""; width: 24px; height: 1.5px; background: var(--red); flex: none; }

/* 快速入口：4 张大卡片网格 */
.portal-entries { border-top: 1px solid var(--line-soft); padding-top: 26px; }
.portal-entries-label {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 11px; font-weight: 700; letter-spacing: .26em; color: var(--ink-faint);
}
.portal-entries-label i { width: 30px; height: 1px; background: var(--line); }
.portal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.portal-card {
  display: block; position: relative; padding: 20px 18px 18px;
  background: var(--card); border: 1.5px solid var(--line-soft); border-radius: 14px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.portal-card:hover {
  transform: translateY(-5px); border-color: var(--red);
  box-shadow: 0 18px 34px -20px rgba(166,18,15,.5);
}
.pc-no { font-size: 10px; font-weight: 800; letter-spacing: .2em; color: var(--red); }
.portal-card h3 { margin: 8px 0 8px; font-size: 17px; font-weight: 800; letter-spacing: .06em; color: var(--ink); }
.portal-card p { margin: 0 0 14px; font-size: 11.5px; line-height: 1.75; color: var(--ink-faint); min-height: 40px; }
.pc-go { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--red); }

/* 内页页眉（居中） */
.page-hero {
  text-align: center; padding: 58px 0 44px;
  background: linear-gradient(180deg, #f9e2df 0%, rgba(253,244,243,0) 100%);
  border-bottom: 2px solid var(--red);
}
.page-hero .ph-no {
  font-weight: 900; font-size: clamp(58px, 9vw, 96px); line-height: 1;
  color: var(--red-soft); letter-spacing: -.02em; margin: 0 0 -10px;
}
.page-hero .ph-kicker { color: var(--ink-faint); font-size: 11px; letter-spacing: .32em; margin: 0 0 12px; }
.page-hero h1 {
  font-weight: 900; color: var(--red); letter-spacing: .12em;
  font-size: clamp(34px, 5.4vw, 58px); margin: 0 0 14px; line-height: 1.25;
}
.page-hero h1::after {
  content: ""; display: block; width: 64px; height: 3px; margin: 18px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.page-hero p { max-width: 660px; margin: 0 auto; color: var(--ink-soft); font-size: 14px; line-height: 2; }
.page-hero .ph-side { margin-top: 10px; font-size: 11px; letter-spacing: .3em; color: var(--ink-faint); }

/* ============ 6. 内容区：全站卡片化 ============ */
main { padding: 26px 0 36px; }
main section {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 42px 46px; margin: 22px 0;
  box-shadow: 0 4px 14px -10px rgba(166,18,15,.18), 0 18px 40px -28px rgba(166,18,15,.28), 0 34px 70px -46px rgba(166,18,15,.22);
}
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 30px; }
.sec-no {
  font-weight: 800; font-size: 12px; letter-spacing: .18em; color: var(--red);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 16px;
}
.sec-head h2 { font-weight: 900; font-size: clamp(24px, 3.4vw, 36px); letter-spacing: .1em; margin: 0 0 4px; color: var(--red); line-height: 1.4; }

.sec-note { margin: 0; color: var(--ink-faint); font-size: 12.5px; letter-spacing: .1em; }
.lead { font-size: 15.5px; line-height: 2.1; color: var(--ink-soft); max-width: 840px; margin: 0 auto; text-align: center; }
p { margin: 0 0 16px; }
h3, h4 { font-weight: 800; }
.eyebrow { font-size: 11px; letter-spacing: .28em; color: var(--red); text-transform: uppercase; font-weight: 700; }
blockquote {
  margin: 26px 0; padding: 18px 26px; border-left: 3px solid var(--red);
  background: var(--red-soft); border-radius: 0 12px 12px 0;
  font-size: 15.5px; color: var(--ink-soft); font-weight: 500;
}
.tag {
  display: inline-block; font-size: 11px; letter-spacing: .16em; font-weight: 700;
  color: var(--red); background: var(--red-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}

/* ============ 7. 卡片 / 网格 ============ */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 26px 24px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line); }
.card h4 { font-size: 18px; letter-spacing: .06em; margin: 0 0 10px; color: var(--ink); }
.card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.95; }
.card .num { font-weight: 900; font-size: 30px; color: var(--red); line-height: 1; margin-bottom: 6px; }

/* 图文跨页 */
.spread { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.spread--flip .spread__fig { order: 2; }
.spread__fig { position: relative; }
.spread__fig img { width: 100%; border-radius: 14px; border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.spread__fig figcaption {
  margin-top: 10px; font-size: 11.5px; letter-spacing: .14em; color: var(--ink-faint);
  display: flex; align-items: center; gap: 10px;
}
.spread__fig figcaption::before { content: ""; width: 20px; height: 1px; background: var(--red); }
.spread__body h3 { font-size: 24px; letter-spacing: .06em; margin: 0 0 16px; color: var(--red); }

/* ============ 8. 剧目 / 标签 ============ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.play-card {
  position: relative; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px; overflow: hidden; color: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg); isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.play-card:hover { transform: translateY(-7px); }
.play-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; border-radius: 16px; transition: transform .8s var(--ease); }
.play-card:hover img { transform: scale(1.05); }
.play-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px;
  background: linear-gradient(180deg, rgba(124,13,11,.12) 0%, rgba(124,13,11,.52) 46%, rgba(124,13,11,.94) 100%);
}
.play-card .yr {
  position: absolute; top: 20px; left: 22px; font-weight: 800;
  font-size: 13px; letter-spacing: .26em; color: #fff;
  background: var(--red); padding: 5px 15px; border-radius: 999px;
}
.play-card h3 { font-weight: 900; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: .08em; margin: 0 0 8px; }
.play-card .sub { font-size: 13px; letter-spacing: .12em; color: rgba(255,255,255,.82); margin: 0 0 14px; }
.play-card .go { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .1em; color: #ffd9d8; font-weight: 700; }
.play-card .go::after { content: "→"; transition: transform .3s; }
.play-card:hover .go::after { transform: translateX(6px); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; border-bottom: 1px solid var(--line-soft); }
.tab {
  background: none; border: 0; border-bottom: 2.5px solid transparent; padding: 12px 22px;
  font-weight: 700; font-size: 16px; letter-spacing: .08em; color: var(--ink-faint);
  transition: color .25s, border-color .25s;
}
.tab:hover { color: var(--red); }
.tab[aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.tab-panel[hidden] { display: none; }

/* ============ 9. 画廊 / 灯箱 ============ */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.g-item {
  position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3;
  background: var(--paper-2); cursor: zoom-in; border: 1px solid var(--line-soft);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.g-item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.g-item::after {
  content: "＋"; position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px;
  display: grid; place-items: center; background: var(--red); color: #fff;
  font-size: 17px; border-radius: 50%; opacity: 0; transform: translateY(6px); transition: .3s var(--ease);
}
.g-item:hover::after { opacity: 1; transform: translateY(0); }
.gallery--large { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery--large .g-item { aspect-ratio: 16 / 10; }
.gallery--trio { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery--trio .g-item { aspect-ratio: 4 / 3; }
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(30, 8, 8, .95); color: #fff; padding: 24px;
  grid-template-rows: 1fr auto;
}
.lightbox.is-open { display: grid; }
.lb-stage { display: grid; place-items: center; min-height: 0; position: relative; }
.lb-stage img { max-width: 100%; max-height: 76vh; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-close { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); background: none; border-radius: 50%; font-size: 22px; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.35); border-radius: 50%;
  font-size: 22px; display: grid; place-items: center;
}
.lb-prev { left: 4px; } .lb-next { right: 4px; }
.lb-nav:hover, .lb-close:hover { border-color: var(--gold); color: var(--gold); }
.lb-foot { display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 14px; font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.75); }
.lb-cap { color: rgba(255,255,255,.9); max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-count { color: var(--gold); font-weight: 700; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; max-width: 70vw; padding: 4px; }
.lb-thumbs img { width: 46px; height: 34px; object-fit: cover; border-radius: 4px; opacity: .45; border: 1px solid transparent; cursor: pointer; transition: .2s; }
.lb-thumbs img.is-active { opacity: 1; border-color: var(--gold); }

/* ============ 10. 视频 ============ */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.video-card {
  position: relative; border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden;
  background: var(--red-dark); cursor: pointer; aspect-ratio: 16 / 9;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .6s var(--ease), opacity .3s; }
.video-card:hover img { transform: scale(1.05); opacity: .95; }
.video-card .play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center;
  font-size: 22px; padding-left: 5px; box-shadow: 0 12px 30px rgba(0,0,0,.4); transition: transform .3s;
}
.video-card:hover .play { transform: scale(1.12); }
.video-card .label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 14px;
  background: linear-gradient(transparent, rgba(124,13,11,.9)); color: #fff;
  font-size: 13px; letter-spacing: .1em;
}
.video-modal {
  position: fixed; inset: 0; z-index: 310; display: none; place-items: center;
  background: rgba(20, 5, 5, .94); padding: 24px;
}
.video-modal.is-open { display: grid; }
.video-modal video { width: min(1000px, 92vw); max-height: 80vh; background: #000; border-radius: 10px; }
.video-modal .vm-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; border-radius: 50%; font-size: 22px; }
.vm-host { width: min(1000px, 92vw); display: grid; place-items: center; }
.vm-cap { text-align: center; color: #ffd9d8; font-size: 12px; letter-spacing: .14em; margin: 14px 0 0; }

/* ============ 11. 时间轴 / 数字 / FAQ ============ */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: linear-gradient(var(--red), var(--line-soft)); }
.tl-item { position: relative; padding: 0 0 28px; }
.tl-item::before {
  content: "★"; position: absolute; left: -33px; top: 5px;
  color: var(--red); font-size: 15px; line-height: 1;
}
.tl-item b { font-weight: 800; font-size: 19px; color: var(--red); margin-right: 14px; }
.tl-item span { font-size: 14px; color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; }
.stat { padding: 22px 12px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--paper); }
.stat .n { font-weight: 900; font-size: clamp(34px, 5vw, 52px); color: var(--red); line-height: 1.15; }
.stat .l { font-size: 12px; letter-spacing: .18em; color: var(--ink-faint); margin-top: 6px; }
.faq { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 16px 44px 16px 40px;
  font-weight: 700; font-size: 16px; letter-spacing: .04em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "？"; position: absolute; left: 0; top: 16px; width: 26px; height: 26px;
  background: var(--red-soft); color: var(--red); border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 14px; font-size: 22px; color: var(--red);
  transition: transform .3s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq > p, .faq > div { padding: 0 0 18px 40px; font-size: 14px; color: var(--ink-soft); line-height: 2; }

/* ============ 12. 章程文档 ============ */
.doc-layout { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: start; }
.doc-toc { position: sticky; top: 96px; border-left: 2px solid var(--line); padding-left: 16px; }
.doc-toc h4 { font-size: 12px; letter-spacing: .24em; color: var(--ink-faint); margin: 0 0 12px; }
.doc-toc a { display: block; font-size: 13px; padding: 5px 0; color: var(--ink-soft); transition: color .2s, transform .2s; }
.doc-toc a:hover { color: var(--red); transform: translateX(3px); }
.doc-toc a[aria-current="true"] { color: var(--red); font-weight: 700; }
.doc-toc a[aria-current="true"]::before { content: "◆ "; color: var(--gold); font-size: 9px; }
.doc-body { max-width: 740px; }
.doc-body h2 { font-weight: 900; font-size: 23px; letter-spacing: .1em; color: var(--red); margin: 48px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.doc-body h2:first-child { margin-top: 0; }
.doc-body .art { margin: 0 0 18px; line-height: 2.1; }
.doc-body .art b { color: var(--red); }
.doc-body .note { font-size: 12.5px; color: var(--ink-faint); border-top: 1px solid var(--line-soft); padding-top: 16px; margin-top: 36px; }
.doc-body .sec-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 16px; }
.doc-body ol { padding-left: 22px; margin: 0 0 20px; }
.doc-body ol li { margin-bottom: 10px; line-height: 2; color: var(--ink-soft); }
.doc-body p { line-height: 2.1; color: var(--ink-soft); }
.doc-note { font-size: 12.5px; color: var(--ink-faint); border-top: 1px solid var(--line-soft); padding-top: 16px; margin-top: 36px; }

/* ============ 13. 页脚 / 浮动件 ============ */
.wave-wrap { position: relative; line-height: 0; overflow: hidden; margin-top: -1px; height: 116px; }
.wave--footer { margin-bottom: -1px; background: linear-gradient(180deg, var(--paper) 0%, #fbe0dc 100%); }
.wave-layer {
  position: absolute; left: 0; top: 0; width: 200%; height: 100%;
  will-change: transform;
}
.wave-layer--3 { animation: waveDrift 26s linear infinite; }
.wave-layer--2 { animation: waveDrift 19s linear infinite reverse; }
.wave-layer--1 { animation: waveDrift 14s linear infinite; }
@keyframes waveDrift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wave--footer .w3 { fill: #f6ccc7; opacity: .8; }
.wave--footer .w2 { fill: #e8786f; opacity: .72; }
.wave--footer .w1 { fill: var(--red); }
.wave--hero { height: 78px; background: linear-gradient(180deg, #fae9e6 0%, var(--paper) 100%); }
.wave--hero .w3 { fill: rgba(214,32,30,.045); }
.wave--hero .w2 { fill: rgba(214,32,30,.065); }
.wave--hero .w1 { fill: var(--paper); }
.wave--soft { height: 72px; }
.wave--soft .w3 { fill: rgba(214,32,30,.04); }
.wave--soft .w2 { fill: rgba(214,32,30,.06); }
.wave--soft .w1 { fill: var(--paper); }
.site-foot {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 55%, var(--red-dark) 100%);
  color: rgba(255, 245, 244, .82); padding: 52px 0 26px; margin-top: 0;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-foot h4 { color: #fff; font-size: 15px; letter-spacing: .14em; margin: 0 0 14px; }
.site-foot p { font-size: 13px; line-height: 2; }
.site-foot a { font-size: 13px; display: block; padding: 4px 0; transition: color .2s, transform .2s; }
.site-foot a:hover { color: #fff; transform: translateX(4px); }
.foot-bot {
  border-top: 1px solid rgba(255,255,255,.22); margin-top: 32px; padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 11.5px; letter-spacing: .1em; color: rgba(255,245,244,.6);
}
.icp { text-align: center; margin: 16px 0 0; font-size: 11.5px; letter-spacing: .12em; }
.icp a { color: rgba(255,245,244,.55); display: inline; padding: 0; }
.icp a:hover { color: #fff; }
.to-top {
  position: fixed; right: 26px; bottom: 216px; z-index: 100;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--card); color: var(--red); font-size: 18px;
  display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: .3s var(--ease); box-shadow: var(--shadow);
}
.to-top.is-shown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ============ 14. 看板娘（右下角） ============ */
.kanban { position: fixed; right: 14px; bottom: 12px; z-index: 106; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 8px; }
.kanban-figure {
  position: relative; border: 0; background: none; padding: 0; display: block;
  transition: transform .35s var(--ease);
}
.kanban-figure img { height: 152px; width: auto; filter: drop-shadow(0 8px 14px rgba(62,20,18,.22)); }
.kanban-figure:hover { transform: translateY(-6px) rotate(-2.5deg); }
.kanban-say {
  background: var(--card); border: 1.5px solid var(--red); color: var(--red);
  border-radius: 14px 14px 3px 14px; padding: 8px 13px;
  font-size: 12px; font-weight: 600; line-height: 1.7; max-width: 166px;
  box-shadow: 0 12px 26px -12px rgba(166,18,15,.35); margin: 0;
}
.kanban-say.pop { animation: kpop .35s var(--ease); }
@keyframes kpop { 0% { transform: scale(.86); } 60% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* ============ 15. 章节快速导航 ============ */
.dot-nav {
  position: fixed; right: 28px; top: 50%; transform: translateY(-50%); z-index: 95;
  display: flex; flex-direction: column; gap: 13px;
}
.dot-nav a {
  position: relative; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--line); background: transparent; transition: background .3s, transform .3s, box-shadow .3s;
}
.dot-nav a:hover { border-color: var(--red); }
.dot-nav a.is-active {
  background: var(--red); border-color: var(--red); transform: scale(1.25);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.dot-nav a span {
  position: absolute; right: 20px; top: 50%; transform: translate(6px, -50%);
  white-space: nowrap; font-size: 11px; letter-spacing: .1em; font-weight: 600;
  color: var(--red); background: var(--card); border: 1px solid var(--line-soft);
  padding: 4px 11px; border-radius: 999px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.dot-nav a:hover span, .dot-nav a:focus-visible span { opacity: 1; transform: translate(0, -50%); }

/* ============ 16. 形象设定集 ============ */
.sheet-layout { display: grid; grid-template-columns: 1.42fr 1fr; gap: 44px; align-items: center; }
.sheet-plate { margin: 0; }
.sheet-frame {
  position: relative; background: var(--paper); padding: 14px;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.sheet-frame > img { width: 100%; display: block; border-radius: 8px; background: #fff; transition: opacity .22s var(--ease); }
.sheet-frame > img.is-swapping { opacity: .25; }
.sheet-corner { position: absolute; width: 22px; height: 22px; opacity: .9; }
.sheet-corner--tl { left: 6px; top: 6px; border-left: 2px solid var(--red); border-top: 2px solid var(--red); border-top-left-radius: 8px; }
.sheet-corner--br { right: 6px; bottom: 6px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); border-bottom-right-radius: 8px; }
.sheet-plate figcaption {
  margin-top: 11px; font-size: 11.5px; letter-spacing: .14em; color: var(--ink-faint);
  display: flex; align-items: center; gap: 8px;
}
.sheet-plate figcaption::before { content: ""; width: 20px; height: 1px; background: var(--red); }
.sheet-notes h3 { font-weight: 900; font-size: 26px; letter-spacing: .08em; margin: 6px 0 6px; color: var(--red); }
.sheet-notes h3::after { content: ""; display: block; width: 52px; height: 3px; margin-top: 12px; border-radius: 2px; background: linear-gradient(90deg, var(--red), transparent); }
.sheet-notes > p { color: var(--ink-soft); font-size: 14px; line-height: 2; }
.ctrl-label { font-size: 11px !important; letter-spacing: .24em; color: var(--ink-faint) !important; margin: 20px 0 9px !important; font-weight: 700; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line); background: transparent; padding: 7px 18px;
  font-size: 13px; font-weight: 600; border-radius: 999px;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.chip:hover { border-color: var(--red); transform: translateY(-2px); }
.chip.is-active { background: var(--red); color: #fff; border-color: var(--red); }
.trait-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.trait-list li {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-soft); border-radius: 12px; padding: 9px 12px; background: var(--paper);
  transition: border-color .25s, transform .25s;
}
.trait-list li:hover { border-color: var(--line); transform: translateY(-2px); }
.trait-list b { display: block; font-size: 13px; letter-spacing: .02em; }
.trait-list small { display: block; font-size: 11px; color: var(--ink-faint); }
.swatch {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  border: 1px solid var(--line-soft); display: grid; place-items: center; font-size: 14px;
}
.swatch--gold { background: #f2cf87; color: var(--red); }
.swatch--red { background: var(--red); }
.swatch--silver { background: linear-gradient(140deg, #fff, #e3e5ec); }
.swatch--ink { background: #3a2a28; }
.sheet-note { font-size: 11.5px !important; color: var(--ink-faint) !important; border-top: 1px solid var(--line-soft); padding-top: 12px; margin-top: 20px !important; }

/* ============ 17. 国际歌区块 ============ */
.anthem-sec { text-align: center; }
.anthem-copy .eyebrow { color: var(--red); opacity: .85; }
.anthem-copy h2 { font-weight: 900; font-size: clamp(32px, 4.4vw, 50px); letter-spacing: .12em; margin: 8px 0 18px; color: var(--red); }

.anthem-lyric {
  font-family: var(--serif); font-size: 19px; line-height: 1.95; font-weight: 700;
  color: var(--red); margin: 0 0 16px;
}
.anthem-desc { font-size: 12.5px; line-height: 2; color: var(--ink-soft); max-width: 560px; margin: 0 auto; }
.anthem-player { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; text-align: center; }
#anthem-btn {
  height: 54px; padding: 0 34px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--red); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .1em;
  box-shadow: 0 12px 30px -10px rgba(214,32,30,.6);
  transition: transform .25s var(--ease), background .25s;
}
#anthem-btn:hover { transform: translateY(-3px); background: var(--red-deep); }
.ap-viz { justify-content: center; }
#anthem-btn .ap-stop { display: none; }
.anthem-sec.is-playing #anthem-btn .ap-play { display: none; }
.anthem-sec.is-playing #anthem-btn .ap-stop { display: inline; }
.ap-viz { display: flex; gap: 5px; align-items: flex-end; height: 40px; }
.ap-viz i { width: 5px; height: 8px; border-radius: 3px; background: var(--red); opacity: .45; }
.anthem-sec.is-playing .ap-viz i { opacity: 1; animation: apbar 1.05s infinite ease-in-out; }
.anthem-sec.is-playing .ap-viz i:nth-child(2) { animation-delay: .18s; }
.anthem-sec.is-playing .ap-viz i:nth-child(3) { animation-delay: .36s; }
.anthem-sec.is-playing .ap-viz i:nth-child(4) { animation-delay: .09s; }
.anthem-sec.is-playing .ap-viz i:nth-child(5) { animation-delay: .27s; }
@keyframes apbar { 0%, 100% { height: 8px; } 50% { height: 36px; } }
.ap-state { font-size: 11px; letter-spacing: .18em; color: var(--ink-faint); margin: 0; }

/* ============ 18. 滚动显现（渐进增强） ============ */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .09s; }
.js .reveal[data-delay="2"] { transition-delay: .18s; }
.js .reveal[data-delay="3"] { transition-delay: .27s; }

/* ============ 19. 响应式 ============ */
@media (max-width: 1020px) {
  .doc-layout { grid-template-columns: 1fr; gap: 22px; }
  .doc-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 14px; border-left: 0; border-bottom: 1px solid var(--line-soft); padding: 0 0 14px; }
  .doc-toc h4 { width: 100%; margin-bottom: 4px; }
  .doc-toc a { padding: 3px 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .spread { gap: 28px; }
  main section { padding: 34px 30px; }
}
@media (max-width: 840px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: var(--card); border-bottom: 1px solid var(--line-soft);
    display: none; flex-direction: column; align-items: stretch; padding: 10px 22px 16px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a[aria-current="page"] { background: none; color: var(--red); }
  .head-in { min-height: 62px; flex-wrap: wrap; }
  .grid--3, .grid--2, .duo, .video-grid, .foot-grid { grid-template-columns: 1fr; }
  .spread, .spread--flip .spread__fig { grid-template-columns: 1fr; order: 0; }
  .sheet-layout { grid-template-columns: 1fr; gap: 26px; }
  .stats { grid-template-columns: 1fr; }
  .play-card { min-height: 320px; }
  .dot-nav { display: none; }
  .portal-main { grid-template-columns: 1fr; gap: 30px; padding: 34px 0 32px; }
  .portal-figure { max-width: 560px; width: 100%; margin: 0 auto; transform: rotate(.6deg); }
  .portal-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-bar-note { display: none; }
  main section { padding: 28px 20px; border-radius: 14px; }
  .kanban-figure img { height: 126px; }
  .kanban-say { max-width: 148px; font-size: 12px; }
  .to-top { bottom: 168px; right: 22px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 30px); }
  .gallery, .gallery--large, .gallery--trio { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid--4 { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .hero--portal { padding: 18px 0 30px; }
  .portal-lead h1 { font-size: clamp(38px, 11vw, 52px); }
  .portal-grid { grid-template-columns: 1fr; gap: 10px; }
  .portal-card { padding: 16px; }
  .portal-card p { min-height: 0; margin-bottom: 10px; }
  .portal-desc { font-size: 13px; }
  .card { padding: 20px 18px; }
  .page-hero { padding: 44px 0 34px; }
  .trait-list { grid-template-columns: 1fr; }
  .sheet-notes h3 { font-size: 22px; }
  .lb-nav { width: 38px; height: 38px; }
  .kanban { right: 6px; bottom: 8px; gap: 5px; }
  .kanban-figure img { height: 76px; }
  .kanban-say { max-width: 96px; font-size: 10px; padding: 6px 8px; border-radius: 11px 11px 3px 11px; }
  .to-top { bottom: 122px; right: 12px; }
}

/* ============ 20. 动效偏好 / 打印 ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  .wave-layer { animation: none !important; }
}
@media print {
  .site-head, .to-top, .read-progress, .dot-nav, .video-card, .nav-toggle, .kanban, #anthem-btn, .ap-viz { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  .wave-layer { animation: none !important; }
  main section { border: 1px solid #999; box-shadow: none; padding: 16px; }
}

/* ============ 21. 首屏标签 / 歌词 / 历代班子 ============ */
/* 首屏胶囊标签已移除，改由门户入口卡片承载 */
.anthem-lyrics {
  margin: 22px auto 8px; max-width: 520px; color: var(--red);
  font-size: 15px; line-height: 2.35; font-weight: 600; letter-spacing: .04em;
}
.anthem-lyrics p { margin: 0; }
.anthem-credit { font-size: 11px !important; letter-spacing: .16em; color: var(--ink-faint) !important; margin-top: 14px !important; }
.leader-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.leader-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.leader-photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.leader-body { padding: 20px 18px 22px; }
.leader-gen { font-size: 10.5px; letter-spacing: .18em; font-weight: 800; color: #fff; background: var(--red); padding: 3px 11px; border-radius: 999px; }
.leader-body h3 { font-size: 20px; font-weight: 900; letter-spacing: .08em; margin: 12px 0 4px; color: var(--ink); }
.leader-role { font-size: 12.5px; font-weight: 700; color: var(--red); margin: 0 0 12px; letter-spacing: .06em; }
.leader-facts { margin: 0; padding-left: 16px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.95; }
.leader-facts li { margin-bottom: 6px; }
.leader-pending { font-size: 12px; color: var(--ink-faint); margin: 0 0 10px; line-height: 1.8; }
.leader-duties { margin: 0; padding-left: 16px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.95; }
.leader-duties li { margin-bottom: 6px; }
.leader-note { text-align: center; font-size: 12px; color: var(--ink-faint); margin: 26px 0 0; }
.leader-entry { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13px; font-weight: 700; color: var(--red); border-bottom: 1.5px solid var(--red); padding-bottom: 3px; }
.leader-entry:hover { opacity: .75; }
@media (max-width: 1020px) { .leader-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .leader-grid { grid-template-columns: 1fr; } .anthem-lyrics { font-size: 14px; } }
@media print { .wave-wrap { display: none !important; } }

/* 三列剧目卡 */
.grid--3 .play-card { min-height: 330px; padding: 22px; }
.grid--3 .play-card h3 { font-size: clamp(21px, 2.1vw, 28px); }
.grid--3 .play-card .sub { font-size: 12px; }
@media (max-width: 840px) { .grid--3 .play-card { min-height: 320px; } }

/* ============ 21. 夜间模式：门户首屏 / 内页页眉 ============ */
[data-theme="night"] .hero--portal {
  background:
    radial-gradient(58% 80% at 88% 8%, rgba(214,32,30,.22), transparent 62%),
    linear-gradient(178deg, #241719 0%, #1c1214 100%);
}
[data-theme="night"] .hero--portal::before { background-image: radial-gradient(rgba(246,235,233,.06) 1px, transparent 1.2px); }
[data-theme="night"] .portal-issue { background: rgba(255,255,255,.06); color: #f4736c; }
[data-theme="night"] .portal-lead h1 { color: #f6ebe9; }
[data-theme="night"] .portal-lead h1 em { color: #f4736c; }
[data-theme="night"] .portal-motto { background: rgba(255,255,255,.06); color: #f4736c; }
[data-theme="night"] .portal-desc { color: #d3b6b3; }
[data-theme="night"] .portal-bar-note { color: #d3b6b3; }
[data-theme="night"] .portal-figure { background: #2a1d1f; border-color: rgba(240,128,118,.3); }
[data-theme="night"] .portal-card { background: var(--card); }
[data-theme="night"] .portal-card h3 { color: #f6ebe9; }
[data-theme="night"] .wave--footer { background: linear-gradient(180deg, #1c1214 0%, #3a1c20 100%); }
[data-theme="night"] .wave--hero { background: linear-gradient(180deg, #1c1214 0%, #241719 100%); }
[data-theme="night"] .wave--hero .w1 { fill: #1c1214; }
[data-theme="night"] .page-hero { background: linear-gradient(180deg, #2e1b20 0%, #1c1214 100%); }
