/* ==========================================================================
   星河班 · STAR RIVER 2026
   设计系统 v2 —— 冰蓝纸面 / 钴蓝星轨 / 宋体编辑部
   --------------------------------------------------------------------------
   本文件在 styles.css 之后加载，覆写旧视觉并承载新版全站外壳与组件。
   原则：明亮、克制、有编辑感；信息密度与留白并重；动效只做锦上添花。
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  --bg: #f3f6fb;
  --bg-soft: #e9eff9;
  --card: rgba(255, 255, 255, 0.82);
  --card-solid: #ffffff;
  --line: rgba(7, 24, 46, 0.08);
  --line-2: rgba(7, 24, 46, 0.14);
  --ink: #07182e;
  --ink-2: #16345c;
  --text: #0d2036;
  --text-soft: #5a6f8d;
  --muted: #8b9bb4;

  --brand: #1a4bff;
  --brand-deep: #0a34d6;
  --brand-soft: #edf2ff;
  --brand-tint: rgba(26, 75, 255, 0.08);
  --gold: #dfa63e;
  --gold-soft: #fdf4e3;
  --green: #0f8a54;
  --red: #c23434;

  --font-black: "Noto Serif SC", "Songti SC", serif;
  --font-light: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-callig: "Ma Shan Zheng", "STKaiti", serif;
  --font-cursive: "Long Cang", cursive;
  --font-play: "ZCOOL KuaiLe", "PingFang SC", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 24px 70px -42px rgba(7, 24, 46, 0.35);
  --shadow-sm: 0 1px 2px rgba(7, 24, 46, 0.04), 0 16px 38px -30px rgba(7, 24, 46, 0.28);
  --maxw: 1240px;
  --gutter: 28px;
  --xh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --xh-dur: 0.7s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(900px 480px at 8% -8%, rgba(26, 75, 255, 0.07), transparent 60%),
    radial-gradient(760px 460px at 96% 4%, rgba(223, 166, 62, 0.08), transparent 58%),
    linear-gradient(180deg, #f8fafe 0%, #f3f6fb 40%, #f5f8fd 100%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 24, 46, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 24, 46, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
}
h1, h2, h3, h4 {
  font-family: var(--font-black);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid rgba(26, 75, 255, 0.35); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)) !important; padding-right: max(var(--gutter), env(safe-area-inset-right)) !important; }
.container > .panel, .info-card, .person-card { content-visibility: visible !important; contain-intrinsic-size: none !important; }

/* 文本工具 */
.xh-overline {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}

/* ---------- 2. 顶部导航（悬浮胶囊） ---------- */
.xh-header {
  position: sticky;
  top: calc(14px + env(safe-area-inset-top));
  z-index: 300;
  width: min(var(--maxw), calc(100% - 40px));
  margin: calc(14px + env(safe-area-inset-top)) auto 0;
  height: 68px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(7, 24, 46, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 18px 50px -34px rgba(7, 24, 46, 0.4);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  transition: box-shadow 0.3s var(--xh-ease), background 0.3s var(--xh-ease);
}
.xh-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 26px 64px -38px rgba(7, 24, 46, 0.55);
}
.xh-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 12px 0 14px;
}
.xh-brand { display: flex; align-items: center; gap: 11px; flex: none; min-width: 0; }
.xh-brand-mark {
  width: var(--s, 44px); height: var(--s, 44px);
  border-radius: calc(var(--s, 44px) * 0.3);
  overflow: hidden; flex: none;
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: 0 6px 18px -10px rgba(7, 24, 46, 0.42);
  display: grid; place-items: center;
}
.xh-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.xh-brand-text { display: flex; flex-direction: column; line-height: 1.08; min-width: 0; }
.xh-brand-text b { font-family: var(--font-callig); font-size: 23px; font-weight: 400; letter-spacing: 0.08em; color: var(--ink); white-space: nowrap; }
.xh-brand-text em { font-family: var(--font-mono); font-style: normal; font-size: 8.5px; letter-spacing: 0.16em; color: var(--muted); margin-top: 3px; white-space: nowrap; }

.xh-nav { display: flex; align-items: center; gap: 1px; margin-left: auto; }
.xh-nav-link, .xh-nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  height: 38px; padding: 0 13px;
  border: 0; background: transparent;
  border-radius: 999px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500;
  color: var(--text-soft); cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.xh-nav-link:hover, .xh-nav-trigger:hover,
.xh-nav-group.active > .xh-nav-trigger,
.xh-nav-group.open > .xh-nav-trigger,
.xh-nav-link.active { color: var(--ink); background: rgba(7, 24, 46, 0.05); }
.xh-nav-link.active { color: var(--brand); background: var(--brand-soft); }
.xh-nav-trigger svg { color: var(--muted); transition: transform 0.25s var(--xh-ease); }
.xh-nav-group.open > .xh-nav-trigger svg { transform: rotate(180deg); }
.xh-nav-group { position: relative; }

.xh-mega {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px; width: max-content; max-width: min(620px, calc(100vw - 32px));
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 34px 90px -40px rgba(7, 24, 46, 0.4);
  backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s var(--xh-ease), transform 0.22s var(--xh-ease), visibility 0.22s;
  z-index: 310;
}
.xh-nav-group.wide .xh-mega { min-width: 560px; }
.xh-nav-group.open .xh-mega,
.xh-nav-group:hover .xh-mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.xh-mega-grid { display: grid; grid-template-columns: 1fr; gap: 2px; }
.xh-nav-group.wide .xh-mega-grid { grid-template-columns: 1fr 1fr; }
.xh-mega-item { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 14px; transition: background 0.18s; }
.xh-mega-item:hover { background: var(--brand-soft); }
.xh-mega-label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.xh-mega-desc { font-size: 11.5px; color: var(--muted); line-height: 1.5; }

.xh-actions { display: flex; align-items: center; gap: 7px; flex: none; margin-left: 4px; }
.xh-cta {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 24px -14px rgba(26, 75, 255, 0.6);
  transition: transform 0.2s var(--xh-ease), box-shadow 0.2s var(--xh-ease), background 0.2s;
  white-space: nowrap;
}
.xh-cta:hover { transform: translateY(-1px); background: var(--brand-deep); box-shadow: 0 16px 30px -14px rgba(26, 75, 255, 0.5); }
.xh-cta svg { flex: none; }
.xh-link { font-size: 12.5px; color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; }
.xh-link:hover { color: var(--ink); }

.xh-user { position: relative; }
.xh-user-btn {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 12px 0 5px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-2);
  border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-size: 12.5px; color: var(--text-soft);
  transition: border-color 0.2s, background 0.2s;
}
.xh-user-btn:hover { border-color: var(--brand); color: var(--ink); }
.xh-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(145deg, #234dff, #7ea3ff); color: #fff;
  font-family: var(--font-black); font-size: 13px;
}
.xh-avatar img { width: 100%; height: 100%; object-fit: cover; }
.xh-user-name { max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xh-user-menu {
  position: absolute; right: 0; top: calc(100% + 12px);
  width: 220px; padding: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: 0 30px 70px -36px rgba(7, 24, 46, 0.5);
  z-index: 320;
}
.xh-user-menu[hidden] { display: none; }
.xh-user-head { padding: 9px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 5px; display: flex; flex-direction: column; gap: 1px; }
.xh-user-head b { font-size: 13.5px; color: var(--ink); }
.xh-user-head span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted); }
.xh-user-menu a, .xh-user-menu button {
  display: block; width: 100%; text-align: left;
  padding: 9px 12px; border: 0; background: none;
  border-radius: 10px; font-family: var(--font-body); font-size: 13px; color: var(--text-soft); cursor: pointer;
}
.xh-user-menu a:hover, .xh-user-menu button:hover { background: var(--brand-soft); color: var(--brand); }

.xh-menu-btn {
  display: none; width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.7);
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.xh-menu-btn span { display: block; width: 17px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 0.25s; }

/* ---------- 3. 消息中心 ---------- */
.xh-bell-wrap { position: relative; display: inline-flex; }
.xh-bell {
  position: relative; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.7);
  color: var(--text-soft); cursor: pointer; display: grid; place-items: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.xh-bell:hover, .xh-bell.open { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.xh-bell svg { width: 17px; height: 17px; }
.xh-bell-dot {
  position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff;
  font-family: var(--font-mono); font-size: 9.5px; line-height: 17px; text-align: center;
  border: 2px solid #fff; pointer-events: none;
}
.xh-notif {
  position: absolute; top: calc(100% + 14px); right: 0; width: 370px;
  max-width: calc(100vw - 24px);
  background: rgba(255, 255, 255, 0.97); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: 0 30px 80px -40px rgba(7, 24, 46, 0.5);
  overflow: hidden; z-index: 330; animation: xhPop 0.22s var(--xh-ease);
}
.xh-notif[hidden] { display: none; }
@keyframes xhPop { from { opacity: 0; transform: translateY(-7px) scale(0.98); } to { opacity: 1; transform: none; } }
.xh-notif-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px 9px; }
.xh-notif-head span { font-family: var(--font-black); font-size: 15px; color: var(--ink); }
.xh-notif-head button { border: 0; background: none; color: var(--brand); font-size: 12px; cursor: pointer; }
.xh-notif-head button:hover { text-decoration: underline; }
.xh-notif-tabs { display: flex; gap: 4px; padding: 0 12px 10px; border-bottom: 1px solid var(--line); }
.xh-notif-tabs button {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  height: 32px; border: 0; border-radius: 999px; background: none;
  font-family: var(--font-body); font-size: 12.5px; color: var(--text-soft); cursor: pointer;
}
.xh-notif-tabs button.on { background: var(--brand-soft); color: var(--brand); }
.xh-notif-tabs i { display: none; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font-style: normal; font-family: var(--font-mono); font-size: 9px; line-height: 15px; }
.xh-notif-body { max-height: 400px; overflow-y: auto; padding: 7px 0; }
.xh-notif-item { display: flex; align-items: center; gap: 10px; padding: 11px 17px; transition: background 0.15s; }
.xh-notif-item:hover { background: var(--brand-soft); }
.xh-notif-ic { width: 30px; height: 30px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-black); font-size: 12px; flex: none; }
.xh-notif-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.xh-notif-main b { font-size: 12.5px; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xh-notif-main small { font-size: 11.5px; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xh-notif-time { font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); flex: none; }
.xh-notif-empty { padding: 40px 16px; text-align: center; color: var(--muted); font-size: 12.5px; }
.xh-notif-empty svg { width: 28px; height: 28px; display: block; margin: 0 auto 10px; color: var(--line-2); }

/* ---------- 4. 移动端抽屉 ---------- */
.xh-drawer {
  position: fixed; inset: 0; z-index: 600;
  background: #f7fafe;
  overflow-y: auto;
  opacity: 0; transition: opacity 0.25s var(--xh-ease);
}
.xh-drawer[hidden] { display: none; }
.xh-drawer.open { opacity: 1; }
.xh-drawer-inner { min-height: 100%; padding: calc(18px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 24px; }
.xh-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.xh-drawer-close { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; }
.xh-drawer-nav { display: flex; flex-direction: column; gap: 22px; }
.xh-drawer-title { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--brand); margin-bottom: 6px; }
.xh-drawer-sec { border-top: 1px solid var(--line); padding-top: 14px; }
.xh-drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; font-family: var(--font-black); font-size: 17px; color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.xh-drawer-link span { font-family: var(--font-mono); color: var(--muted); font-size: 13px; }
.xh-drawer-link:active { color: var(--brand); }
.xh-drawer-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px; }
.xh-drawer-user { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.xh-drawer-user strong { display: block; font-size: 14px; color: var(--ink); }
.xh-drawer-user small { display: block; font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); letter-spacing: 0.12em; }
.xh-drawer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.xh-drawer-actions a, .xh-drawer-actions button {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: #fff; font-size: 12.5px; color: var(--text-soft); cursor: pointer; font-family: var(--font-body);
}
.xh-drawer-cta { width: 100%; justify-content: center; height: 48px; }
.xh-scrim { position: fixed; inset: 0; z-index: 500; background: rgba(7, 24, 46, 0.32); opacity: 0; transition: opacity 0.25s; }
.xh-scrim[hidden] { display: none; }
.xh-scrim.open { opacity: 1; }
body.xh-lock { overflow: hidden; }

/* ---------- 5. 页脚 ---------- */
.xh-footer {
  position: relative; overflow: hidden;
  margin-top: 96px;
  padding: 84px 0 calc(26px + env(safe-area-inset-bottom));
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(26, 75, 255, 0.28), transparent 62%),
    radial-gradient(600px 380px at 8% 100%, rgba(223, 166, 62, 0.12), transparent 60%),
    #061528;
  color: rgba(255, 255, 255, 0.66);
}
.xh-footer-glow {
  position: absolute; top: -160px; left: 50%; width: 820px; height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.14), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.xh-footer-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.xh-footer-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 54px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.xh-footer-cta-text .xh-overline { color: rgba(255, 255, 255, 0.48); }
.xh-footer-cta h2 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); font-weight: 600; line-height: 1.18; margin-top: 12px; letter-spacing: -0.02em; }
.xh-footer-cta-side { max-width: 360px; display: flex; flex-direction: column; gap: 18px; }
.xh-footer-cta-side p { font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.55); }
.xh-footer-cta-actions { display: flex; align-items: center; gap: 16px; }
.xh-footer-cta .xh-cta { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.xh-footer-cta .xh-cta:hover { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand); }
.xh-footer-cta .xh-link { color: rgba(255, 255, 255, 0.6); }
.xh-footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; padding: 48px 0 42px; }
.xh-footer-brand { display: flex; flex-direction: column; gap: 14px; }
.xh-footer-brand > div { display: flex; flex-direction: column; }
.xh-footer-brand b { color: #fff; font-family: var(--font-callig); font-size: 21px; font-weight: 400; letter-spacing: 0.1em; }
.xh-footer-brand span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.4); }
.xh-footer-brand p { font-size: 12.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.46); max-width: 330px; }
.xh-footer-status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.42); }
.xh-footer-status i { width: 7px; height: 7px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 10px rgba(110, 231, 168, 0.8); }
.xh-footer-col h4 { color: #fff; font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.12em; font-weight: 600; margin-bottom: 14px; }
.xh-footer-col a { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.48); padding: 5px 0; transition: color 0.2s; }
.xh-footer-col a:hover { color: #fff; }
.xh-footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 18px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.32);
}

/* ---------- 6. 页面 Hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: transparent;
  color: var(--ink);
  padding: 98px 0 66px;
  text-align: left;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(760px 360px at 78% 0%, rgba(26, 75, 255, 0.1), transparent 65%),
    radial-gradient(520px 300px at 98% 80%, rgba(223, 166, 62, 0.1), transparent 65%);
  -webkit-mask-image: none; mask-image: none;
  opacity: 1;
}
.page-hero::after {
  content: ""; position: absolute; right: max(6vw, 40px); top: 32px;
  width: 280px; height: 280px; border-radius: 50%;
  border: 1px solid rgba(26, 75, 255, 0.16);
  box-shadow: 0 0 0 28px rgba(26, 75, 255, 0.035), 0 0 0 62px rgba(26, 75, 255, 0.025);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; max-width: var(--maxw); }
.page-hero .eyebrow { color: var(--brand); margin-bottom: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.page-hero .eyebrow::before { background: var(--brand); width: 28px; }
.page-hero h1 { color: var(--ink); font-family: var(--font-black); font-size: clamp(38px, 5.4vw, 64px); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 18px; }
.page-hero .sub { color: var(--text-soft); font-size: 15.5px; line-height: 1.8; max-width: 620px; margin: 0; }
.crumbs { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 26px; text-transform: uppercase; }
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { margin: 0 9px; color: var(--line-2); }

/* ---------- 7. 区块与标题 ---------- */
.section { padding: 84px 0; position: relative; }
.section.alt { background: rgba(255, 255, 255, 0.45); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.align-center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em;
  color: var(--brand); text-transform: uppercase; font-weight: 600;
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brand); }
.align-center .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--brand); }
.section-title { font-family: var(--font-black); font-size: clamp(30px, 3.9vw, 46px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.2; }
.section-sub { color: var(--text-soft); font-size: 15px; line-height: 1.8; }
.rule { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.rule .bar { width: 40px; height: 2px; background: var(--brand); border-radius: 2px; }

/* ---------- 8. 按钮 / 表单 / 标签 ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: transform 0.2s var(--xh-ease), box-shadow 0.2s var(--xh-ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap; background: var(--brand); color: #fff;
}
.btn:hover { transform: translateY(-1px); background: var(--brand-deep); box-shadow: 0 16px 30px -18px rgba(26, 75, 255, 0.65); }
.btn:active { transform: scale(0.985); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: linear-gradient(135deg, #2a5bff, #0a34d6); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.btn-block { width: 100%; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 38px; padding: 0 16px;
  background: #fff; color: var(--brand); border: 1px solid var(--line-2);
  border-radius: 999px; font-family: var(--font-body); font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 12px; }
.btn-approve { background: #e8f7ee; color: var(--green); border-color: #bfe8ce; }
.btn-reject { background: #fff0f0; color: var(--red); border-color: #f3cfcf; }
.btn-buy { background: var(--brand); color: #fff; }
.btn-delete-prod { background: #fff0f0; color: var(--red); border-color: #f3cfcf; }
.btn-co-ok { background: #e8f7ee; color: var(--green); border-color: #bfe8ce; }
.btn-co-no { background: #fff0f0; color: var(--red); border-color: #f3cfcf; }
.btn-pub-approve { background: #e8f7ee; color: var(--green); border-color: #bfe8ce; }
.btn-pub-reject { background: #fff0f0; color: var(--red); border-color: #f3cfcf; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

.field { margin-bottom: 17px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--text-soft); margin-bottom: 7px; letter-spacing: 0.02em; }
.field input, .field select, .field textarea,
input.mini, select.mini, textarea.mini {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: 13px;
  background: #fbfcff; color: var(--text);
  font-family: var(--font-body); font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field select, select.mini {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a6f8d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px;
}
.field input:focus, .field select:focus, .field textarea:focus,
input.mini:focus, select.mini:focus, textarea.mini:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 75, 255, 0.1);
}
.field .hint, .hint { font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.field input[type="checkbox"], .field input[type="radio"] { width: auto; accent-color: var(--brand); }
textarea { resize: vertical; min-height: 96px; }

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; border-radius: 9px; }
.pw-eye:hover { color: var(--brand); background: var(--brand-soft); }

.filter-chip, .seg-btn, .batch-chip, .tp-method {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.8); color: var(--text-soft);
  font-family: var(--font-body); font-size: 12.5px; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.filter-chip:hover, .seg-btn:hover, .batch-chip:hover, .tp-method:hover { border-color: var(--brand); color: var(--brand); }
.filter-chip.active, .seg-btn.active, .batch-chip.selected, .tp-method.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; }
.admin-tabs button {
  min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px;
  background: transparent; color: var(--text-soft); font-family: var(--font-body); font-size: 12.5px; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.admin-tabs button:hover { color: var(--ink); }
.admin-tabs button.active { background: var(--ink); color: #fff; }

.chip, .pc-role, .badge-chip, .duty-pill, .album-tag, .gb-up {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  border-radius: 999px; padding: 4px 10px;
}
.pc-role { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.badge-chip { background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); margin: 0 8px 8px 0; }
.duty-pill { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }
.muted-note { font-size: 12.5px; color: var(--muted); }
.chip-status { font-size: 10.5px; padding: 3px 10px; border-radius: 999px; font-weight: 600; font-family: var(--font-mono); }
.chip-status.pending { background: #fff4e0; color: #a96b00; }
.chip-status.approved, .chip-status.paid { background: #e8f7ee; color: var(--green); }
.chip-status.rejected { background: #fff0f0; color: var(--red); }
.pwd-tag { font-family: var(--font-mono); font-size: 10px; background: var(--bg-soft); color: var(--muted); padding: 3px 8px; border-radius: 6px; }

/* ---------- 9. 卡片 / 表格 / 面板 ---------- */
.panel {
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}
.panel h3 { font-family: var(--font-black); font-size: 20px; font-weight: 600; margin-bottom: 16px; color: var(--ink); letter-spacing: -0.01em; }
.panel > h3:first-child { margin-top: -2px; }
.stat-card {
  background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 24px 24px 20px; text-align: left; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.stat-card::before { content: ""; position: absolute; left: 0; top: 0; width: 42px; height: 2px; background: var(--brand); }
.stat-num { font-family: var(--font-black); font-weight: 700; font-size: 42px; line-height: 1.15; color: var(--ink); letter-spacing: -0.03em; }
.stat-num .unit { font-family: var(--font-callig); font-size: 16px; color: var(--text-soft); margin-left: 4px; letter-spacing: 0; }
.stat-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted); margin-top: 7px; text-transform: uppercase; }
.info-card { background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.info-card .ic-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--brand-soft); }
.info-card .ic-icon svg { width: 22px; height: 22px; stroke: var(--brand); }
.info-card h3 { font-family: var(--font-black); font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.info-card p { font-size: 13.5px; color: var(--text-soft); }
.info-card .ic-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.info-card .ic-row:last-child { border-bottom: 0; }
.info-card .ic-row span:first-child { color: var(--text-soft); }
.info-card .ic-row b { color: var(--ink); font-weight: 600; }

.person-card { background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: transform 0.3s var(--xh-ease), box-shadow 0.3s var(--xh-ease), border-color 0.3s; text-align: center; }
.person-card:hover { transform: translateY(-4px); border-color: rgba(26, 75, 255, 0.25); box-shadow: var(--shadow); }
.person-card .avatar { aspect-ratio: 1; overflow: hidden; position: relative; background: var(--bg-soft); }
.person-card .avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--xh-ease); }
.person-card:hover .avatar img { transform: scale(1.04); }
.avatar-init { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-black); font-size: 44px; color: #fff; }
.avatar-init i { position: absolute; inset: 0; background: linear-gradient(145deg, #3d68ff, #0a2f9e); z-index: -1; }
.avatar-init .av-fallback { position: absolute; z-index: -1; font-size: 44px; }
.person-card .pc-body { padding: 16px 16px 20px; }
.person-card .pc-role { margin-bottom: 8px; }
.person-card h3 { font-family: var(--font-black); font-weight: 600; font-size: 19px; margin-bottom: 3px; letter-spacing: -0.01em; }
.person-card .pc-meta { font-size: 11.5px; color: var(--muted); line-height: 1.6; }

.card-news { background: var(--card-solid); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform 0.3s var(--xh-ease), box-shadow 0.3s var(--xh-ease); box-shadow: var(--shadow-sm); }
.card-news:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-news .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.card-news .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--xh-ease); }
.card-news:hover .thumb img { transform: scale(1.04); }
.card-news .body { padding: 20px 22px 24px; }
.news-date { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.card-news h3 { font-family: var(--font-black); font-weight: 600; font-size: 18px; margin-bottom: 8px; line-height: 1.4; }
.card-news p { font-size: 13px; color: var(--text-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-news .more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--brand); transition: gap 0.2s; }
.card-news .more-link:hover { gap: 10px; }

.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick-link {
  position: relative; overflow: hidden; min-height: 220px;
  display: flex; align-items: flex-end; padding: 24px; color: #fff;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(150deg, #0c2f6e, #1a4bff);
  transition: transform 0.3s var(--xh-ease), box-shadow 0.3s var(--xh-ease);
}
.quick-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(4, 16, 40, 0.8)); }
.quick-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quick-link.has-img::before { background-image: none; }
.quick-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quick-link .ql-text { position: relative; z-index: 2; }
.quick-link h3 { color: #fff; font-family: var(--font-black); font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.quick-link p { font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.quick-link .ql-arrow { position: relative; z-index: 2; margin-left: auto; font-size: 22px; color: #fff; transition: transform 0.25s; }
.quick-link:hover .ql-arrow { transform: translateX(6px); }

.rank-table-wrap { background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.rank-table, .admin-table, .data-table, .tbl table { width: 100%; border-collapse: collapse; }
.rank-table th, .rank-table td,
.admin-table th, .admin-table td { padding: 14px 18px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rank-table thead th, .admin-table thead th { background: rgba(243, 246, 251, 0.7); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.rank-table tbody tr:last-child td, .admin-table tbody tr:last-child td { border-bottom: 0; }
.rank-table tbody tr, .admin-table tbody tr { transition: background 0.15s; }
.rank-table tbody tr:hover, .admin-table tbody tr:hover { background: var(--brand-soft); }
.rank-badge { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-family: var(--font-black); font-weight: 700; font-size: 13px; color: var(--text-soft); background: var(--bg-soft); }
.rank-badge.top1 { background: var(--ink); color: #fff; }
.rank-badge.top2 { background: var(--brand); color: #fff; }
.rank-badge.top3 { background: var(--gold); color: #fff; }
.rank-name { font-weight: 600; color: var(--ink); }
.rank-score { font-family: var(--font-black); font-weight: 700; font-size: 16px; color: var(--ink); }
.rank-score.neg { color: var(--red); }
.admin-table { font-size: 13px; }
.admin-table td button { margin: 1px 2px; }
.admin-section { background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.admin-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); }

.duty-strip { display: flex; align-items: center; gap: 12px; padding: 15px 20px; margin: 24px 0 0; background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.duty-strip b { font-family: var(--font-black); font-size: 14px; color: var(--ink); }

.motto { background: linear-gradient(135deg, #0a2250, #123e9e); color: #fff; border-radius: var(--radius-xl); padding: 56px 40px; text-align: center; position: relative; overflow: hidden; }
.motto::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.4px); background-size: 24px 24px; opacity: 0.4; }
.motto::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -80px; top: -100px; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.04); }
.motto .motto-label { position: relative; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.26em; color: rgba(255, 255, 255, 0.6); margin-bottom: 18px; }
.motto h2 { position: relative; color: #fff; font-family: var(--font-callig); font-weight: 400; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.5; letter-spacing: 0.08em; }
.motto .motto-sub { position: relative; color: rgba(255, 255, 255, 0.6); margin-top: 8px; letter-spacing: 0.1em; }

.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--brand), var(--line-2)); }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item::before { content: ""; position: absolute; left: -25px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.timeline-item .tl-date { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.12em; }
.timeline-item h3 { font-family: var(--font-black); font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.timeline-item p { font-size: 13.5px; color: var(--text-soft); }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.podium-item { background: var(--card-solid); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 28px; text-align: center; box-shadow: var(--shadow-sm); }
.podium-item b { display: block; font-family: var(--font-black); font-weight: 600; font-size: 21px; color: var(--ink); }

.star-card { display: flex; flex-direction: column; gap: 3px; padding: 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md); }
.star-card .sc-rank { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--muted); }
.star-card .sc-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.star-card .sc-score { font-size: 12px; color: var(--text-soft); }
.star-card.gold { background: var(--gold-soft); border-color: rgba(223, 166, 62, 0.45); }
.star-card.silver { background: #f7f8fa; border-color: #d6dbe5; }
.star-card.bronze { background: #fbf5ed; border-color: #e6cdb4; }

.chart-card { background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px; }
.chart-card h3 { font-family: var(--font-black); font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.chart-canvas { width: 100%; height: 300px; }
.redeem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.redeem-item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.redeem-item:last-child { border-bottom: 0; }
.redeem-item .ri-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; font-size: 20px; flex: none; }
.redeem-item .ri-body { flex: 1; min-width: 0; }
.redeem-item .ri-body b { font-size: 14px; color: var(--ink); }
.redeem-item .ri-body .ri-cost { font-size: 11.5px; color: var(--text-soft); }

/* ---------- 10. 相册 / 灯箱 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { position: relative; border-radius: 18px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; border: 1px solid var(--line); background: var(--bg-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--xh-ease), filter 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(transparent, rgba(4, 16, 40, 0.85)); color: #fff; font-size: 12.5px; opacity: 0; transform: translateY(6px); transition: all 0.25s; z-index: 2; }
.gallery-item:hover .cap { opacity: 1; transform: none; }
.gallery-item .album-tag { position: absolute; top: 10px; left: 10px; background: rgba(4, 16, 40, 0.66); color: #fff; z-index: 2; backdrop-filter: blur(8px); }
.gallery-item.gb-item img { position: absolute; inset: 0; }
.gb-up { position: absolute; top: 10px; left: 10px; z-index: 3; background: rgba(4, 16, 40, 0.62); color: #fff; backdrop-filter: blur(8px); max-width: 78%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 9.5px; }
.gb-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px 12px 10px; background: linear-gradient(transparent, rgba(4, 16, 40, 0.85)); color: #fff; font-size: 12px; font-family: var(--font-black); }
.gb-ops { position: absolute; top: 8px; right: 8px; z-index: 4; display: flex; gap: 5px; }
.gb-op { background: rgba(255, 255, 255, 0.92); color: var(--brand-deep); border: 0; font-family: var(--font-mono); font-size: 9.5px; padding: 5px 9px; border-radius: 999px; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.gb-op:hover { background: #fff; }
.gb-op.gb-del { background: rgba(194, 52, 52, 0.92); color: #fff; }

.lightbox { position: fixed; inset: 0; background: rgba(3, 10, 24, 0.94); display: none; align-items: center; justify-content: center; z-index: 700; padding: 24px; backdrop-filter: blur(16px); }
.lightbox.open { display: flex; animation: xhFade 0.24s; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox .lb-cap { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: #fff; font-size: 13px; }
.lightbox .lb-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font-size: 26px; cursor: pointer; line-height: 1; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 20px; cursor: pointer; transition: background 0.2s; }
.lightbox .lb-prev { left: 22px; } .lightbox .lb-next { right: 22px; }
.lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- 11. 弹窗 / 表单页 ---------- */
/* 登录 / 注册 / 身份：分屏叙事布局 */
.auth-page { background: var(--bg); }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 0.95fr; }
.auth-story {
  position: relative; overflow: hidden;
  background: #061528; color: #fff;
  padding: 28px clamp(28px, 4vw, 64px) 34px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 100vh;
}
.auth-story-bg { position: absolute; inset: 0; }
.auth-story-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.26; filter: saturate(0.8); }
.auth-story-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(6, 21, 40, 0.9), rgba(6, 21, 40, 0.55) 45%, rgba(6, 21, 40, 0.92)); }
.auth-story-top, .auth-story-main, .auth-story-foot { position: relative; z-index: 2; }
.auth-story-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-story-top .xh-brand-text b { color: #fff; }
.auth-story-top .xh-brand-text em { color: rgba(255, 255, 255, 0.42); }
.auth-story-top .xh-brand-mark { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); }
.auth-story-link { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.52); border: 1px solid rgba(255, 255, 255, 0.16); padding: 8px 12px; border-radius: 999px; }
.auth-story-link:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.auth-story-main { display: flex; flex-direction: column; gap: 18px; padding: 40px 0; }
.auth-story-main .xh-overline { color: rgba(255, 255, 255, 0.45); }
.auth-story-main h1 { color: #fff; font-family: var(--font-black); font-size: clamp(44px, 5.4vw, 76px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.02; }
.auth-story-main h1 em { font-family: var(--font-callig); font-style: normal; font-weight: 400; color: #ffd977; display: block; font-size: 0.54em; letter-spacing: 0.1em; margin-top: 8px; }
.auth-story-main p { max-width: 460px; font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, 0.55); }
.auth-story-orbit { position: absolute; right: -110px; bottom: -140px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.035), 0 0 0 76px rgba(255, 255, 255, 0.02); }
.auth-story-orbit img { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; transform: translate(-50%, -50%); border-radius: 50%; object-fit: contain; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); padding: 8px; }
.auth-story-facts { display: flex; gap: 28px; flex-wrap: wrap; }
.auth-story-facts div { display: flex; flex-direction: column; }
.auth-story-facts b { font-family: var(--font-black); font-size: 26px; color: #fff; line-height: 1.2; }
.auth-story-facts span { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.4); }
.auth-story-foot { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.32); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 44px var(--gutter); background: radial-gradient(700px 400px at 100% 0%, rgba(26, 75, 255, 0.07), transparent 60%); }
.auth-panel-inner { width: 100%; max-width: 460px; }
.auth-panel-inner > .xh-overline { margin-bottom: 10px; }
.auth-panel-inner > h2 { font-family: var(--font-black); font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
.auth-panel-inner > p { font-size: 13px; color: var(--text-soft); line-height: 1.8; margin-bottom: 24px; }
.id-stack { display: flex; flex-direction: column; gap: 11px; }
.id-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; }
.id-card .id-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.id-card .id-ic svg { width: 21px; height: 21px; }
.id-card .id-main { flex: 1; min-width: 0; }
.id-card .id-badge { margin-bottom: 4px; }
.id-card .id-name { font-size: 17px; margin-bottom: 2px; }
.id-card .id-desc { font-size: 11.5px; line-height: 1.6; }
.id-card .id-arrow { color: var(--muted); font-size: 18px; flex: none; transition: transform 0.2s, color 0.2s; }
.id-card:hover .id-arrow { transform: translateX(4px); color: var(--brand); }
.id-card.primary { background: var(--ink); border-color: var(--ink); }
.id-card.primary .id-name { color: #fff; }
.id-card.primary .id-desc { color: rgba(255, 255, 255, 0.58); }
.id-card.primary .id-badge { background: rgba(255, 255, 255, 0.12); color: #fff; }
.id-card.primary .id-ic { background: rgba(255, 255, 255, 0.1); color: #fff; }
.id-card.primary .id-arrow { color: rgba(255, 255, 255, 0.6); }
.id-card.primary:hover .id-arrow { color: #fff; }
.auth-panel .auth-link-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; font-size: 12px; color: var(--text-soft); flex-wrap: wrap; }
.auth-panel .auth-link-row a { color: var(--brand); font-weight: 600; }
.auth-legal { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.1em; color: var(--muted); margin-top: 30px; line-height: 1.8; }
.auth-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.auth-topbar .xh-brand-mark { --s: 38px !important; }
.auth-topbar .xh-brand-text b { font-size: 20px; }
.auth-topbar .xh-brand-text em { display: none; }
.auth-back { font-size: 12px; color: var(--text-soft); display: inline-flex; align-items: center; gap: 6px; }
.auth-back:hover { color: var(--brand); }

.modal-mask { position: fixed; inset: 0; background: rgba(7, 24, 46, 0.4); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; z-index: 650; padding: 20px; }
.modal-mask.open { display: flex; animation: xhFade 0.22s; }
.modal, .xh-modal { width: 100%; max-width: 460px; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.55); padding: 32px 30px; border: 1px solid var(--line); }
.modal .m-title, .xh-modal h3 { font-family: var(--font-black); font-weight: 600; font-size: 22px; margin-bottom: 6px; color: var(--ink); }
.modal .m-sub, .xh-modal-sub { font-size: 12.5px; color: var(--text-soft); margin-bottom: 20px; }
.xh-modal-kicker { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em; color: var(--brand); }
.xh-deptnotice-list { max-height: 340px; overflow: auto; margin-bottom: 20px; }
.xh-deptnotice-item { padding: 13px 0; border-bottom: 1px dashed var(--line); }
.xh-deptnotice-item b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.xh-deptnotice-item p { font-size: 12.5px; color: var(--text-soft); line-height: 1.7; }
.xh-deptnotice-item small { display: block; font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); margin-top: 6px; }
@keyframes xhFade { from { opacity: 0; } to { opacity: 1; } }

/* 登录 / 注册 / 身份 */
.auth-wrap {
  min-height: 100vh; display: grid; place-items: center;
  padding: calc(48px + env(safe-area-inset-top)) var(--gutter) calc(48px + env(safe-area-inset-bottom));
  position: relative;
  background:
    radial-gradient(700px 380px at 12% 10%, rgba(26, 75, 255, 0.1), transparent 60%),
    radial-gradient(500px 300px at 92% 85%, rgba(223, 166, 62, 0.1), transparent 60%);
}
.auth-card {
  width: 100%; max-width: 460px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 40px 38px 34px;
  backdrop-filter: blur(20px);
}
.auth-card .win-tl { display: none; }
.auth-logo { width: 64px; height: 64px; border-radius: 18px; overflow: hidden; margin: 0 auto 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.auth-logo img { width: 100%; height: 100%; object-fit: contain; }
.auth-title { font-family: var(--font-black); font-weight: 700; font-size: 30px; text-align: center; margin-bottom: 5px; letter-spacing: -0.02em; }
.auth-sub { text-align: center; font-size: 12.5px; color: var(--text-soft); margin-bottom: 26px; }
.auth-note { text-align: center; font-size: 12px; line-height: 1.8; color: var(--text-soft); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 18px; }
.auth-error { background: #fff0f0; color: var(--red); border: 1px solid #f3cfcf; border-radius: 12px; padding: 10px 14px; font-size: 12.5px; margin-bottom: 16px; display: none; }
.auth-error.show { display: block; }
.auth-switch { text-align: center; font-size: 12.5px; color: var(--text-soft); margin-top: 18px; line-height: 1.8; }
.auth-switch a { color: var(--brand); font-weight: 600; }
.auth-switch b { color: var(--ink); }

.id-card { display: block; position: relative; border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 18px 20px; transition: transform 0.22s var(--xh-ease), box-shadow 0.22s, border-color 0.22s; }
.id-card:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow-sm); }
.id-badge { display: inline-block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--brand); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.id-name { display: block; font-family: var(--font-black); font-weight: 600; font-size: 20px; color: var(--ink); margin-bottom: 5px; }
.id-desc { display: block; font-size: 12.5px; color: var(--text-soft); line-height: 1.65; }
.id-back { display: block; text-align: center; font-size: 12.5px; color: var(--text-soft); margin-top: 18px; }
.id-back a { color: var(--brand); font-weight: 600; }

/* 人机验证 */
.textpick { margin: 4px 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px; background: #fff; }
.tp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.tp-title { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink); white-space: nowrap; }
.tp-tip { font-size: 12px; color: var(--text-soft); text-align: right; line-height: 1.5; }
.tp-tip b { color: var(--brand); font-weight: 700; margin: 0 1px; }
.tp-stage { border-radius: 12px; overflow: hidden; }
.tp-canvas { width: 100%; height: auto; display: block; cursor: pointer; background: #f4f6fa; }
.tp-state { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.tp-refresh { font-size: 11.5px; color: var(--text-soft); cursor: pointer; border: 1px solid var(--line-2); background: #fff; padding: 5px 12px; border-radius: 999px; font-family: var(--font-body); }
.tp-refresh:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.tp-msg { font-size: 11.5px; min-height: 16px; }
.tp-msg.ok { color: var(--green); }
.tp-msg.err { color: var(--red); }
.tp-host { min-height: 120px; }
.tp-host.tp-shake { animation: tpshake 0.4s; }
.textpick.tp-shake { animation: tpshake 0.4s; }
@keyframes tpshake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.tp-methods { display: flex; gap: 6px; margin-bottom: 10px; }
.tp-method { min-height: 30px; padding: 0 12px; font-size: 11.5px; }
.tp-slider { user-select: none; -webkit-user-select: none; }
.tp-slider .tp-st { position: relative; height: 46px; border-radius: 999px; overflow: hidden; touch-action: none; }
.tp-slider .tp-slider-track { position: absolute; inset: 0; background: #f1f4fa; border: 1px solid var(--line-2); border-radius: 999px; }
.tp-slider .tp-slider-fill { position: absolute; top: 0; left: 0; bottom: 0; background: rgba(15, 138, 84, 0.14); border-radius: 999px; }
.tp-slider .tp-slider-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12.5px; color: var(--text-soft); pointer-events: none; text-align: center; padding: 0 12px; }
.tp-slider .tp-slider-ok { position: absolute; right: 0; top: 0; bottom: 0; width: 46px; display: grid; place-items: center; color: #fff; font-size: 18px; opacity: 0; transform: translateX(100%); transition: opacity 0.2s, transform 0.2s; }
.tp-slider .tp-slider-knob { position: absolute; top: 0; left: 0; width: 46px; height: 46px; display: grid; place-items: center; background: var(--brand); color: #fff; border-radius: 999px; cursor: grab; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); touch-action: none; z-index: 2; }
.tp-slider.done .tp-slider-knob { background: var(--green); cursor: default; }
.tp-slider.done .tp-slider-text { opacity: 0; }
.tp-slider.done .tp-slider-ok { opacity: 1; transform: translateX(0); }
.tp-slider.done .tp-slider-track { background: rgba(15, 138, 84, 0.12); border-color: rgba(15, 138, 84, 0.3); }
.tp-slider.nudge { animation: tpnudge 0.36s; }
@keyframes tpnudge { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-6px); } 70% { transform: translateX(6px); } }
.tp-slider .tp-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.tp-input-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.tp-input { flex: 1; min-width: 0; padding: 10px 12px; font-size: 14px; letter-spacing: 0.12em; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--text); font-family: var(--font-body); }
.tp-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26, 75, 255, 0.1); }
.tp-btn { flex: none; font-size: 12px; color: #fff; cursor: pointer; border: 1px solid var(--brand); background: var(--brand); padding: 10px 15px; border-radius: 10px; font-family: var(--font-body); }
.tp-btn:hover { background: var(--brand-deep); }

/* ---------- 12. 通用工具 ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.toolbar .meta { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--muted); }
.toolbar .meta b { color: var(--text-soft); font-weight: 600; }
.userbar { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-soft); flex-wrap: wrap; }
.userbar .u-name { color: var(--ink); font-weight: 600; }
.userbar .u-role { font-size: 10px; padding: 2px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-family: var(--font-mono); }
.userbar button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 12px; cursor: pointer; }
.userbar button:hover { background: var(--bg); }
.page-title { font-family: var(--font-black); font-weight: 600; letter-spacing: -0.02em; }
.empty-state { text-align: center; padding: 64px 20px; }
.empty-state h3 { font-family: var(--font-black); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.empty-state p { font-size: 13.5px; color: var(--text-soft); max-width: 520px; margin: 0 auto; line-height: 1.8; }
.empty-state svg { stroke: var(--brand); }
.grid { display: grid; }
.win-tl { display: none; }

/* 页头 / 页脚旧类降级（若页面仍残留） */
.site-header, .site-footer { display: block; }
.main-nav, .header-inner, .nav-toggle, .footer-grid, .footer-bottom, .footer-col, .footer-brand, .footer-desc { display: none; }

/* ---------- 13. 列表 / 表单页的通透化 ---------- */
.panel + .panel { margin-top: 18px; }
.panel .field:last-child { margin-bottom: 0; }
.panel .toolbar { margin-bottom: 12px; }
.honor-grid { display: grid; gap: 16px; }
.honor-card { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.honor-medal { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); border: 1px solid var(--line); }
.honor-medal svg { stroke: var(--brand); }
.honor-body h3 { font-family: var(--font-black); font-size: 18px; font-weight: 600; margin-bottom: 3px; }
.honor-body .honor-meta { font-size: 12px; color: var(--text-soft); }

.card, .shop-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; }
.shop-item { transition: transform 0.2s, box-shadow 0.2s; }
.shop-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* 涟漪 / Toast 兼容 */
.xh-rip { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, 0.5); transform: scale(0); animation: xhRip 0.52s ease-out forwards; }
.xh-rip-dark { background: rgba(7, 24, 46, 0.1); }
@keyframes xhRip { to { transform: scale(2.6); opacity: 0; } }
.toast-wrap { position: fixed; top: max(20px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 900; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; max-width: 92vw; }
.toast { background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 13px; line-height: 1.4; box-shadow: 0 16px 40px rgba(7, 24, 46, 0.3); animation: toastIn 0.28s ease; transition: opacity 0.3s, transform 0.3s; }
.toast.success { background: #0b3a25; }
.toast.error { background: #3c1212; }
.toast.hide { opacity: 0; transform: translateY(-8px); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- 14. 动效 ---------- */
.xh-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--brand), #7ea3ff, var(--gold));
  transform: scaleX(0); transform-origin: left; z-index: 999; pointer-events: none;
}
.reveal, .xh-reveal { opacity: 1; transform: none; }
body.xh-motion .reveal:not(.visible):not(.in),
body.xh-motion .xh-reveal:not(.visible):not(.in) {
  opacity: 0; transform: translateY(20px);
  will-change: opacity, transform;
}
body.xh-motion .reveal.visible,
body.xh-motion .xh-reveal.visible,
body.xh-motion .reveal.in,
body.xh-motion .xh-reveal.in {
  opacity: 1; transform: none;
  transition: opacity var(--xh-dur) var(--xh-ease) var(--xh-delay, 0s), transform var(--xh-dur) var(--xh-ease) var(--xh-delay, 0s);
}
[data-xh-parallax] { transform: translate3d(0, var(--xh-py, 0px), 0); will-change: transform; }
.xh-tilt, [data-xh-tilt] { transform-style: preserve-3d; transition: transform 0.2s ease-out; will-change: transform; }
@supports (view-transition-name: root) {
  ::view-transition-old(root) { animation: 0.28s var(--xh-ease) both xhFadeOut; }
  ::view-transition-new(root) { animation: 0.38s var(--xh-ease) both xhFadeUp; }
}
@keyframes xhFadeOut { to { opacity: 0; transform: scale(0.995); } }
@keyframes xhFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 尊重减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .xh-reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1180px) {
  .xh-nav-link, .xh-nav-trigger { padding: 0 10px; font-size: 13px; }
  .xh-user-name { display: none; }
}
@media (max-width: 980px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-story { min-height: 0; padding: 20px 22px 26px; }
  .auth-story-main { padding: 28px 0 10px; gap: 12px; }
  .auth-story-main h1 { font-size: clamp(34px, 9vw, 52px); }
  .auth-story-main p { display: none; }
  .auth-story-orbit { display: none; }
  .auth-story-foot { display: none; }
  .auth-story-facts { margin-top: 6px; gap: 20px; }
  .auth-story-facts b { font-size: 20px; }
  .auth-panel { padding: 30px var(--gutter) 50px; }
  .auth-panel-inner { max-width: 560px; }
}
@media (max-width: 600px) {
  .auth-story { padding-top: calc(16px + env(safe-area-inset-top)); }
  .auth-story-top { align-items: center; }
  .auth-story-link { font-size: 8px; }
  .auth-story-main h1 { font-size: 34px; }
  .auth-story-main h1 em { font-size: 0.5em; }
  .auth-story-facts { display: none; }
  .auth-panel { padding: 26px 18px calc(40px + env(safe-area-inset-bottom)); }
  .auth-panel-inner > h2 { font-size: 28px; }
  .id-card { padding: 14px 14px; gap: 12px; }
  .id-card .id-ic { width: 38px; height: 38px; }
  .id-card .id-name { font-size: 16px; }
}
@media (max-width: 980px) {
  .xh-header { height: 62px; top: 10px; width: calc(100% - 24px); }
  .xh-header-inner { padding: 0 8px 0 10px; gap: 10px; }
  .xh-nav { display: none; }
  .xh-menu-btn { display: flex; }
  .xh-user-btn { height: 38px; }
  .xh-brand-text em { display: none; }
  .xh-brand-text b { font-size: 21px; }
  .xh-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .xh-footer-cta { flex-direction: column; align-items: flex-start; gap: 26px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { display: none; }
  .news-grid, .work-grid, .quick-links, .info-cards { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .redeem-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .xh-header { height: 58px; border-radius: 20px; }
  .xh-brand-mark { --s: 36px !important; }
  .xh-brand-text b { font-size: 19px; }
  .xh-header .xh-cta { height: 36px; padding: 0 14px; font-size: 12px; }
  .xh-user, .xh-bell-wrap { display: none; }
  .page-hero { padding: 62px 0 40px; }
  .page-hero::after { display: none; }
  .page-hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .crumbs { margin-bottom: 20px; }
  .section { padding: 54px 0; }
  .section-title { font-size: clamp(27px, 7vw, 36px); }
  .panel { padding: 20px 18px; border-radius: 18px; }
  .stat-num { font-size: 34px; }
  .people-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .work-grid, .quick-links, .info-cards { grid-template-columns: 1fr; }
  .podium { grid-template-columns: 1fr; }
  .gallery-grid { gap: 8px; }
  .gallery-item { border-radius: 12px; }
  .gallery-item .gb-cap, .gallery-item .gb-up { font-size: 10px; }
  .xh-footer { margin-top: 60px; padding-top: 58px; }
  .xh-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .xh-footer-cta h2 { font-size: 32px; }
  .xh-footer-bottom { flex-direction: column; gap: 5px; }
  .auth-card { padding: 30px 22px 26px; border-radius: 24px; }
  .xh-modal, .modal { padding: 24px 20px; border-radius: 20px; }
  .admin-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; border-radius: 16px; }
  .admin-tabs button { flex: none; }
  .rank-table-wrap, .admin-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .rank-table { min-width: 560px; }
  .admin-table { min-width: 620px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar .btn, .toolbar button { width: 100%; }
  .xh-drawer .xh-drawer-link { font-size: 16px; }
}
@media (max-width: 460px) {
  .xh-header .xh-cta { display: none; }
  .people-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .person-card .pc-body { padding: 12px 10px 16px; }
  .person-card h3 { font-size: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 16px 14px; }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 9px; }
}

/* 后台页面自带内联样式，这里用更高优先级统一为新设计系统 */
body .admin-tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 4px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; margin-bottom: 22px; }
body .admin-tabs button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--text-soft); font-family: var(--font-body); font-size: 12.5px; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
body .admin-tabs button:hover { color: var(--ink); }
body .admin-tabs button.active { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }
body .admin-table { width: 100%; border-collapse: collapse; background: var(--card-solid); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); }
body .admin-table th, body .admin-table td { padding: 13px 16px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--line); }
body .admin-table thead th { background: rgba(243, 246, 251, 0.7); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; text-transform: uppercase; }
body .admin-section { display: none; }
body .admin-section.show { display: block; }
body .admin-section .panel { margin-bottom: 16px; }
@media (max-width: 760px) {
  body .admin-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; border-radius: 16px; }
  body .admin-tabs button { flex: none; }
}

/* ---------- 24. 新闻正文 ---------- */
.article { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); padding: 42px 48px; }
.article-content p { font-size: 15px; line-height: 1.95; color: var(--text); margin-bottom: 16px; }
.article-lead { font-family: var(--font-black); font-size: 19px; line-height: 1.8; color: var(--ink); border-left: 2px solid var(--brand); padding-left: 18px; margin-bottom: 24px; }
.article-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-empty { text-align: center; padding: 40px 0; }
.article-empty b { display: block; font-family: var(--font-black); font-size: 24px; color: var(--ink); margin-bottom: 6px; }
.article-empty p { font-size: 13px; color: var(--text-soft); line-height: 1.8; margin-bottom: 16px; }
.article-empty a { color: var(--brand); font-size: 12.5px; font-weight: 600; }
@media (max-width: 600px) { .article { padding: 26px 20px; } }

/* ---------- 25. 旧页面内联深色底统一为新品牌色 */
[style*="background:#000"], [style*="background: #000"], [style*="background:#0a0a0a"], [style*="background: #0a0a0a"] { background: var(--brand) !important; }
[style*="color:#d33"], [style*="color: #d33"] { color: var(--red) !important; }
[style*="color:#0a0a0a"] { color: var(--ink) !important; }
[style*="border-color:#000"], [style*="background:#1d1d1f"] { background: var(--brand-deep) !important; border-color: var(--brand-deep) !important; }

/* ---------- 23. 操行银行 ---------- */
.bank-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.bank-sum-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; display: flex; flex-direction: column; gap: 3px; }
.bank-sum-item b { font-family: var(--font-black); font-size: 24px; color: var(--ink); line-height: 1.2; }
.bank-meta-line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar-meta { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; color: var(--muted); }
.toolbar-meta b { color: var(--text-soft); }
.bank-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.bank-control-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.seg-group { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.seg-group .seg-btn { border: 0; background: transparent; min-height: 32px; }
.seg-group .seg-btn.active { background: var(--brand); color: #fff; }
.bank-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.bank-podium-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 18px; text-align: center; box-shadow: var(--shadow-sm); }
.bank-podium-item.first { background: linear-gradient(160deg, #07182e, #0b2b66); border-color: #07182e; }
.bank-podium-item.first b, .bank-podium-item.first em { color: #fff; }
.bank-podium-item.first small { color: rgba(255, 255, 255, 0.5); }
.bank-podium-item.first .bank-podium-rank { color: rgba(255, 255, 255, 0.4); }
.bank-podium-rank { position: absolute; left: 16px; top: 14px; font-family: var(--font-mono); font-size: 9px; color: var(--muted); letter-spacing: 0.1em; }
.bank-podium-avatar { width: 58px; height: 58px; border-radius: 50%; margin: 4px auto 12px; display: grid; place-items: center; background: linear-gradient(145deg, #2a5bff, #0a34d6); color: #fff; font-family: var(--font-black); font-size: 22px; }
.bank-podium-item.first .bank-podium-avatar { background: linear-gradient(145deg, #ffd977, #dfa63e); color: #07182e; }
.bank-podium-item b { display: block; font-family: var(--font-black); font-size: 18px; color: var(--ink); }
.bank-podium-item small { display: block; font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); margin-top: 2px; }
.bank-podium-item em { display: block; font-style: normal; font-family: var(--font-black); font-size: 24px; font-weight: 700; color: var(--brand); margin-top: 8px; }
.bank-podium-item em i { font-style: normal; font-family: var(--font-mono); font-size: 9px; color: var(--muted); margin-left: 2px; }
.bank-podium-empty { grid-column: 1 / -1; background: #fff; border: 1px dashed var(--line-2); border-radius: 22px; padding: 30px; text-align: center; }
.bank-podium-empty b { display: block; font-family: var(--font-black); font-size: 20px; color: var(--ink); margin: 6px 0 4px; }
.bank-podium-empty p { font-size: 12px; color: var(--text-soft); }
.bank-tools { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; margin-bottom: 22px; }
.bank-tool-head h3 { margin: 4px 0 3px; }
.bank-tool-head p { font-size: 11.5px; color: var(--text-soft); margin-bottom: 16px; }
.bank-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.batch-targets { display: flex; flex-wrap: wrap; gap: 6px; max-height: 150px; overflow-y: auto; padding: 4px; border: 1px solid var(--line); border-radius: 12px; }
.batch-targets .batch-chip { font-size: 11px; padding: 4px 10px; min-height: 30px; }
.bank-star-show { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--text-soft); line-height: 1.8; }
.modal-head { margin-bottom: 18px; }
.modal-head .m-title { margin-top: 4px; }
@media (max-width: 760px) {
  .bank-summary { grid-template-columns: 1fr 1fr; }
  .bank-podium { grid-template-columns: 1fr; }
  .bank-tools { grid-template-columns: 1fr; }
  .bank-form-grid { grid-template-columns: 1fr; }
  .bank-controls { flex-direction: column; align-items: stretch; }
}
.gallery-toolbar { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 10px; align-items: stretch; margin-bottom: 22px; }
.gallery-stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 13px 16px; display: flex; flex-direction: column; gap: 2px; }
.gallery-stat b { font-family: var(--font-black); font-size: 22px; color: var(--ink); line-height: 1.2; }
.gallery-stat span { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.1em; color: var(--muted); }
.gallery-toolbar-actions { display: flex; align-items: center; justify-content: flex-end; }
.gallery-toolbar-actions .btn-outline { height: 46px; padding: 0 18px; }
.gallery-upload { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.gallery-upload-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.gallery-upload-head h3 { font-family: var(--font-black); font-size: 24px; font-weight: 600; margin: 5px 0 3px; }
.gallery-upload-head p { font-size: 12px; color: var(--text-soft); }
.gallery-upload-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font-size: 20px; line-height: 1; color: var(--text-soft); cursor: pointer; }
.gallery-upload-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; }
.gallery-upload-col { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--muted); }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form .mini { flex: 1; min-width: 0; }
.gallery-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 150px; border: 1.5px dashed var(--line-2); border-radius: 18px; background: var(--bg); cursor: pointer; text-align: center; padding: 18px; transition: border-color 0.2s, background 0.2s; }
.gallery-drop:hover, .gallery-drop.dragover { border-color: var(--brand); background: var(--brand-soft); }
.gallery-drop.has-file { border-style: solid; border-color: var(--brand); background: var(--brand-soft); }
.gallery-drop-icon { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--brand); box-shadow: var(--shadow-sm); }
.gallery-drop b { font-size: 12.5px; color: var(--ink); }
.gallery-drop small { font-size: 10px; color: var(--muted); }
.gallery-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .gallery-toolbar { grid-template-columns: 1fr 1fr; }
  .gallery-toolbar-actions { grid-column: 1 / -1; }
  .gallery-toolbar-actions .btn-outline { width: 100%; }
  .gallery-upload-grid { grid-template-columns: 1fr; }
  .gallery-upload { padding: 18px; }
}
.notice-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 4px; }
.notice-list { display: flex; flex-direction: column; }
.notice-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.notice-date { display: flex; flex-direction: column; gap: 2px; }
.notice-date b { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--brand); }
.notice-date span { font-family: var(--font-mono); font-size: 8px; color: var(--muted); }
.notice-body h3 { font-family: var(--font-black); font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.notice-body p { font-size: 13px; color: var(--text-soft); line-height: 1.8; white-space: pre-wrap; }
.notice-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); }
.notice-actions { display: flex; gap: 6px; }
.notice-actions .btn-outline { min-height: 30px; padding: 0 11px; font-size: 10.5px; }
.notice-compose { margin-bottom: 26px; }
.notice-compose-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.notice-compose-head h3 { margin: 3px 0 0; }
.notice-compose-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
@media (max-width: 600px) {
  .notice-item { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
}
.honor-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.honor-stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 5px; box-shadow: var(--shadow-sm); }
.honor-stat b { font-family: var(--font-black); font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; color: var(--ink); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.honor-stat small { font-size: 10.5px; color: var(--muted); }
.podium-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.podium-item.top1 { background: linear-gradient(160deg, #07182e, #0c2c66); border-color: #07182e; color: #fff; }
.podium-item.top1 b, .podium-item.top1 .podium-score { color: #fff; }
.podium-item.top1 .podium-group { color: rgba(255, 255, 255, 0.5); }
.podium-rank { position: absolute; top: 16px; left: 18px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; color: var(--muted); }
.podium-item.top1 .podium-rank { color: rgba(255, 255, 255, 0.45); }
.podium-avatar { width: 72px; height: 72px; border-radius: 50%; margin: 8px auto 14px; background: linear-gradient(145deg, #2a5bff, #0a34d6); color: #fff; display: grid; place-items: center; font-family: var(--font-black); font-size: 28px; border: 3px solid rgba(255, 255, 255, 0.8); }
.podium-item.top1 .podium-avatar { background: linear-gradient(145deg, #ffd977, #dfa63e); color: #07182e; border-color: rgba(255, 255, 255, 0.3); }
.podium-item b { display: block; font-family: var(--font-black); font-weight: 600; font-size: 19px; color: var(--ink); }
.podium-group { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.08em; color: var(--muted); margin-top: 3px; }
.podium-score { display: block; font-family: var(--font-black); font-size: 26px; font-weight: 700; color: var(--brand); margin-top: 12px; }
.podium-score i { font-family: var(--font-mono); font-style: normal; font-size: 9px; color: var(--muted); margin-left: 3px; }
.honor-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.honor-badge { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 13px 15px; }
.honor-badge-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex: none; font-size: 15px; }
.honor-badge b { display: block; font-size: 13px; color: var(--ink); }
.honor-badge span { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.honor-wall-empty { grid-column: 1 / -1; background: #fff; border: 1px dashed var(--line-2); border-radius: 20px; padding: 34px; text-align: center; }
.honor-wall-empty b { font-family: var(--font-black); font-size: 18px; color: var(--ink); }
.honor-wall-empty p { font-size: 12px; color: var(--text-soft); margin-top: 4px; }
.honor-stars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.honor-star-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.honor-star-card b { display: block; font-family: var(--font-black); font-size: 22px; font-weight: 600; color: var(--ink); margin: 8px 0 4px; }
.honor-star-card p { font-size: 12px; color: var(--text-soft); }
.honor-star-card small { display: block; font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); margin-top: 10px; }
.group-honor { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.group-honor-row { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.group-honor-main { flex: 1; min-width: 0; }
.group-honor-main b { font-size: 14px; color: var(--ink); }
.group-honor-main small { display: block; font-size: 10.5px; color: var(--muted); }
.group-honor-bar { height: 5px; background: var(--bg-soft); border-radius: 999px; margin-top: 7px; overflow: hidden; max-width: 420px; }
.group-honor-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #7ea3ff); border-radius: 999px; }
.group-honor-row em { font-style: normal; font-family: var(--font-black); font-size: 18px; color: var(--ink); }
.class-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.class-tl { position: relative; border-top: 1px solid var(--line); padding-top: 22px; }
.class-tl::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.class-tl span { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--muted); }
.class-tl h3 { font-family: var(--font-black); font-size: 17px; font-weight: 600; margin: 6px 0 5px; }
.class-tl p { font-size: 12px; color: var(--text-soft); line-height: 1.7; }
@media (max-width: 980px) {
  .honor-stats { grid-template-columns: 1fr 1fr; }
  .honor-wall { grid-template-columns: 1fr 1fr; }
  .class-timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .honor-wall, .honor-stars, .class-timeline { grid-template-columns: 1fr; }
  .podium { grid-template-columns: 1fr; }
}
.paper-grid { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 16px; align-items: stretch; }
.paper-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s var(--xh-ease), box-shadow 0.3s; }
.paper-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.paper-cover { position: relative; aspect-ratio: 4/3; padding: 22px; background: #07182e; color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.paper-cover::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.04); }
.paper-cover.alt { background: linear-gradient(145deg, #0a34d6, #1a4bff); }
.paper-issue { font-family: var(--font-black); font-size: 64px; font-weight: 900; line-height: 0.9; letter-spacing: -0.04em; opacity: 0.9; }
.paper-name { font-family: var(--font-callig); font-size: 22px; letter-spacing: 0.18em; }
.paper-line { width: 36px; height: 1px; background: rgba(255, 255, 255, 0.4); }
.paper-date { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.5); }
.paper-badge { position: absolute; right: 18px; top: 18px; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.1em; border: 1px solid rgba(255, 255, 255, 0.24); padding: 4px 8px; border-radius: 999px; color: rgba(255, 255, 255, 0.7); }
.paper-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.paper-body h3 { font-family: var(--font-black); font-size: 20px; font-weight: 600; margin-bottom: 5px; }
.paper-body p { font-size: 12px; color: var(--text-soft); line-height: 1.7; flex: 1; }
.paper-link { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.08em; color: var(--brand); margin-top: 12px; }
.paper-note { background: linear-gradient(150deg, #f5f8ff, #eef3ff); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.paper-note h3 { font-family: var(--font-black); font-size: 22px; font-weight: 600; margin: 8px 0 6px; }
.paper-note p { font-size: 11.5px; color: var(--text-soft); line-height: 1.8; }
.paper-note a { font-size: 11.5px; color: var(--brand); font-weight: 600; margin-top: 14px; }

.news-list { border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding 0.2s; }
.news-row:hover { padding-left: 8px; }
.news-row-date { display: flex; flex-direction: column; gap: 3px; }
.news-row-date b { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--brand); font-weight: 600; }
.news-row-date span { font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); }
.news-row-main h3 { font-family: var(--font-black); font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.news-row-main p { font-size: 13px; color: var(--text-soft); line-height: 1.8; max-width: 780px; }
.news-row-meta { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); }
.news-row-meta a { color: var(--brand); font-weight: 600; }
.news-empty { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 50px 30px; text-align: center; }
.news-empty-mark { width: 52px; height: 52px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 16px; font-family: var(--font-black); font-size: 24px; }
.news-empty h3 { font-family: var(--font-black); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.news-empty p { font-size: 13px; color: var(--text-soft); max-width: 460px; margin: 0 auto 20px; line-height: 1.8; }
@media (max-width: 980px) {
  .paper-grid { grid-template-columns: 1fr 1fr; }
  .paper-note { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .paper-grid { grid-template-columns: 1fr; }
  .paper-cover { aspect-ratio: 16/9; }
  .news-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .news-row-main h3 { font-size: 19px; }
}
.class-motto {
  display: grid; grid-template-columns: 210px 1fr; gap: 34px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.class-motto-mark { position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: #07182e; display: grid; place-items: center; }
.class-motto-mark::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(90, 140, 255, 0.35), transparent 65%); }
.class-motto-mark img { position: relative; z-index: 2; width: 64%; height: 64%; object-fit: contain; }
.class-motto h2 { font-family: var(--font-black); font-size: clamp(30px, 4vw, 46px); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; margin: 10px 0 8px; }
.class-motto p { max-width: 520px; font-size: 13px; color: var(--text-soft); line-height: 1.8; }
.class-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, 0.7); overflow: hidden; }
.class-fact { padding: 20px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.class-fact:last-child { border-right: 0; }
.class-fact b { font-family: var(--font-black); font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.class-fact span { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.12em; color: var(--muted); }
.committee-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 30px; }
.committee-nav-item {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line-2); background: #fff; color: var(--text-soft);
  border-radius: 999px; padding: 7px 13px; font-size: 12px; transition: all 0.2s;
}
.committee-nav-item span { font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); }
.committee-nav-item:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.committee-block { margin-bottom: 44px; scroll-margin-top: 100px; }
.committee-block:last-child { margin-bottom: 0; }
.committee-block-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.committee-block-head h3 { font-family: var(--font-black); font-size: 24px; font-weight: 600; margin-bottom: 3px; }
.committee-block-head p { font-size: 12px; color: var(--text-soft); }
.committee-count { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; color: var(--muted); flex: none; padding-top: 6px; }
.committee-card .pc-meta { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; }
.member-group-tag { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); margin-top: 5px; }
.member-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.member-count { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--muted); }
.member-notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.member-note { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 12px; color: var(--text-soft); }
.member-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.member-filters input[type="search"] { width: 220px; max-width: 100%; }
.member-filters select { width: 150px; }
.member-quote { margin-top: 40px; background: linear-gradient(140deg, #0a2250, #1647c9); border-radius: 24px; padding: 46px 40px; color: #fff; text-align: center; }
.member-quote h2 { color: #fff; font-family: var(--font-callig); font-size: clamp(28px, 4vw, 42px); font-weight: 400; letter-spacing: 0.08em; }
.member-quote p { color: rgba(255, 255, 255, 0.55); font-size: 12px; margin-top: 8px; font-family: var(--font-mono); letter-spacing: 0.1em; }
@media (max-width: 760px) {
  .class-motto { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .class-motto-mark { width: 120px; }
  .class-facts { grid-template-columns: 1fr 1fr; }
  .class-fact { border-bottom: 1px solid var(--line); }
  .class-fact:nth-child(2) { border-right: 0; }
  .class-fact:nth-child(3), .class-fact:nth-child(4) { border-bottom: 0; }
  .class-fact b { font-size: 28px; }
  .committee-block-head h3 { font-size: 20px; }
}
.home-hero { position: relative; padding: 96px 0 76px; overflow: hidden; }
.home-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 24, 46, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 24, 46, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 72%);
}
.home-hero::after { content: ""; position: absolute; right: 8%; top: 12%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 75, 255, 0.09), transparent 68%); filter: blur(2px); pointer-events: none; }
.home-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 60px; align-items: center; }
.home-kicker { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 26px; text-transform: uppercase; }
.home-kicker-sep { color: var(--line-2); }
.home-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.home-title { font-family: var(--font-black); font-size: clamp(48px, 7vw, 88px); font-weight: 900; line-height: 1.06; letter-spacing: -0.055em; color: var(--ink); margin-bottom: 20px; }
.home-title em { font-family: var(--font-callig); font-style: normal; font-weight: 400; color: var(--brand); letter-spacing: 0.02em; font-size: 0.92em; }
.home-slogan { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--text-soft); margin-bottom: 24px; }
.home-desc { max-width: 540px; font-size: 15px; line-height: 1.95; color: var(--text-soft); margin-bottom: 32px; }
.home-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.home-meta { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.home-meta div { display: flex; align-items: baseline; gap: 6px; }
.home-meta span { font-family: var(--font-black); font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.home-meta small { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.12em; color: var(--muted); }

.home-visual { position: relative; min-height: 520px; display: flex; align-items: center; }
.home-card {
  position: relative; width: 100%; max-width: 460px; margin-left: auto;
  border-radius: 30px; padding: 20px;
  background:
    radial-gradient(500px 300px at 10% 0%, rgba(60, 110, 255, 0.35), transparent 60%),
    radial-gradient(360px 240px at 95% 100%, rgba(223, 166, 62, 0.18), transparent 60%),
    #07182e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 100px -50px rgba(7, 24, 46, 0.65), 0 0 0 1px rgba(7, 24, 46, 0.04);
  overflow: hidden;
}
.home-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.3px); background-size: 26px 26px; opacity: 0.5; pointer-events: none; }
.home-card-head { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 6px 16px; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.45); }
.home-dots { display: flex; gap: 5px; }
.home-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.26); }
.home-dots i:first-child { background: #ff5f57; }
.home-dots i:nth-child(2) { background: #febc2e; }
.home-dots i:nth-child(3) { background: #28c840; }
.home-live { display: inline-flex; align-items: center; gap: 5px; color: #6ee7a8; }
.home-live i { width: 5px; height: 5px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 10px #6ee7a8; }
.home-orbit { position: relative; z-index: 2; width: 300px; height: 300px; margin: 10px auto 18px; }
.home-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); }
.home-ring.r2 { inset: 12%; border-style: dashed; border-color: rgba(255, 255, 255, 0.22); animation: scSpin 46s linear infinite; }
.home-ring.r3 { inset: 28%; border-color: rgba(255, 255, 255, 0.1); }
.home-core { position: absolute; inset: 34%; border-radius: 50%; overflow: hidden; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.18); display: grid; place-items: center; box-shadow: 0 0 40px rgba(90, 140, 255, 0.28); }
.home-core img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.home-sat { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 18px rgba(255, 255, 255, 0.9); }
.home-sat.s1 { top: 10%; left: 48%; }
.home-sat.s2 { top: 56%; right: 2%; background: #ffd977; }
.home-sat.s3 { bottom: 4%; left: 22%; background: #8fb3ff; }
.home-card-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 10px; padding: 14px 8px 4px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.home-card-foot div { display: flex; flex-direction: column; }
.home-card-foot b { font-family: var(--font-black); font-size: 22px; color: #fff; line-height: 1.2; }
.home-card-foot small { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.4); }
.home-float {
  position: relative; margin-top: 14px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line);
  border-radius: 18px; padding: 15px 17px; box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
@media (min-width: 981px) {
  .home-float { position: absolute; left: -26px; bottom: 34px; max-width: 260px; margin-top: 0; }
}
.home-float-label { display: block; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 6px; }
.home-float-body { display: flex; flex-wrap: wrap; gap: 5px; }
.home-float-body b { font-size: 13px; color: var(--ink); }
.home-float-body small { display: block; width: 100%; font-size: 11.5px; color: var(--text-soft); }

.home-overview-wrap { position: relative; z-index: 3; margin-top: -24px; }
.home-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: var(--shadow-sm); }
.home-ov-card { padding: 18px 18px 16px; border-radius: 18px; display: flex; flex-direction: column; gap: 7px; min-height: 128px; transition: background 0.2s; }
.home-ov-card:hover { background: var(--bg); }
.home-ov-card.accent { background: var(--brand); }
.home-ov-card.accent .home-ov-label, .home-ov-card.accent .home-ov-link, .home-ov-card.accent .home-ov-main { color: #fff; }
.home-ov-card.accent .home-ov-link { border-color: rgba(255, 255, 255, 0.3); }
.home-ov-label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.12em; color: var(--muted); }
.home-ov-main { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--ink); }
.home-ov-main b { font-family: var(--font-black); font-size: 18px; font-weight: 700; }
.home-ov-main small { display: block; width: 100%; font-family: var(--font-body); font-size: 11.5px; color: var(--text-soft); }
.home-ov-link { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.06em; color: var(--text-soft); border-top: 1px solid var(--line); padding-top: 8px; }
.home-ov-link:hover { color: var(--brand); }
.home-pill { display: inline-flex; align-items: center; border: 1px solid var(--line-2); background: var(--bg-soft); border-radius: 999px; padding: 3px 9px; font-size: 11px; color: var(--ink-2); }
.home-empty-inline { font-size: 12px; color: var(--muted); }
.home-score { font-family: var(--font-black); font-size: 34px !important; line-height: 1.1; letter-spacing: -0.02em; }
.home-ov-card.accent .home-score { color: #fff; }
.home-ov-card.accent .home-ov-main small { color: rgba(255, 255, 255, 0.7); }

.home-links-section { padding-top: 74px; }
.home-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-link { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: transform 0.3s var(--xh-ease), box-shadow 0.3s; }
.home-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.home-link-media { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.home-link-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--xh-ease); }
.home-link:hover .home-link-media img { transform: scale(1.05); }
.home-link-body { position: relative; padding: 18px 20px 20px; }
.home-link-index { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.14em; color: var(--muted); }
.home-link-body h3 { font-family: var(--font-black); font-size: 20px; font-weight: 600; margin: 6px 0 4px; }
.home-link-body p { font-size: 12px; color: var(--text-soft); }
.home-link-arrow { position: absolute; right: 20px; bottom: 20px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-soft); transition: all 0.2s; }
.home-link:hover .home-link-arrow { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(-45deg); }

.home-dynamic { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 34px; align-items: start; }
.home-feed { display: flex; flex-direction: column; }
.home-feed-item { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.home-feed-item:last-child { border-bottom: 0; }
.home-feed-type { flex: none; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.08em; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 4px 9px; }
.home-feed-item div { flex: 1; min-width: 0; }
.home-feed-item b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.home-feed-item small { display: block; font-size: 11.5px; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-feed-time { font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); flex: none; }
.home-feed-empty { padding: 36px 0; display: flex; flex-direction: column; gap: 8px; }
.home-feed-empty b { font-family: var(--font-black); font-size: 18px; color: var(--ink); }
.home-feed-empty span { font-size: 12.5px; color: var(--text-soft); }
.home-feed-empty a { font-size: 12.5px; color: var(--brand); font-weight: 600; }
.home-dynamic-side { display: flex; flex-direction: column; gap: 14px; }
.home-side-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-sm); }
.home-side-card h3 { font-family: var(--font-black); font-size: 20px; font-weight: 600; margin: 8px 0 6px; }
.home-side-card p { font-size: 12px; color: var(--text-soft); line-height: 1.7; }
.home-issues { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.home-issue { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--line); }
.home-issue > span { font-family: var(--font-mono); font-size: 10px; color: var(--brand); width: 22px; }
.home-issue div { flex: 1; }
.home-issue b { display: block; font-size: 13px; color: var(--ink); }
.home-issue small { display: block; font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); }
.home-issue em { font-style: normal; color: var(--muted); }
.home-issue:hover b { color: var(--brand); }
.home-side-card.dark { background: #07182e; color: #fff; border-color: #07182e; }
.home-side-card.dark .home-ov-label { color: rgba(255, 255, 255, 0.45); }
.home-side-card.dark .home-ov-link { color: rgba(255, 255, 255, 0.5); border-color: rgba(255, 255, 255, 0.12); }
.home-side-card.dark .home-ov-link:hover { color: #fff; }
.home-group-rank { display: flex; flex-direction: column; gap: 2px; margin: 12px 0 8px; }
.home-gr-row { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.home-gr-row:last-child { border-bottom: 0; }
.home-gr-rank { font-family: var(--font-mono); font-size: 9px; color: rgba(255, 255, 255, 0.4); }
.home-gr-row b { font-size: 13px; color: #fff; font-weight: 600; }
.home-gr-row small { flex: 1; font-size: 10.5px; color: rgba(255, 255, 255, 0.45); }
.home-gr-row em { font-style: normal; font-family: var(--font-black); font-size: 14px; color: #ffd977; }

.home-photo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.home-photos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 18px; }
.home-photos a { position: relative; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; background: var(--bg-soft); }
.home-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--xh-ease); }
.home-photos a:hover img { transform: scale(1.06); }
.home-photos span { position: absolute; left: 10px; bottom: 9px; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.08em; color: #fff; background: rgba(4, 16, 40, 0.5); padding: 4px 8px; border-radius: 999px; backdrop-filter: blur(6px); }

.home-quote { position: relative; overflow: hidden; background: linear-gradient(140deg, #0a2250, #1647c9 70%, #2a5bff); color: #fff; border-radius: var(--radius-xl); padding: 56px clamp(26px, 5vw, 70px); }
.home-quote::after { content: ""; position: absolute; right: -80px; top: -120px; width: 460px; height: 460px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.03), 0 0 0 110px rgba(255, 255, 255, 0.02); }
.home-quote .xh-overline { color: rgba(255, 255, 255, 0.45); }
.home-quote h2 { color: #fff; font-family: var(--font-black); font-size: clamp(34px, 5vw, 60px); font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; margin: 12px 0 16px; }
.home-quote p { max-width: 520px; font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, 0.6); }
.home-quote-meta { display: flex; gap: 22px; margin-top: 30px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.38); flex-wrap: wrap; }

@media (max-width: 1180px) {
  .home-title { font-size: clamp(44px, 6.4vw, 72px); }
  .home-visual { min-height: 460px; }
  .home-card { max-width: 400px; }
  .home-orbit { width: 260px; height: 260px; }
}
@media (max-width: 980px) {
  .home-hero { padding: 66px 0 40px; }
  .home-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .home-visual { min-height: auto; }
  .home-card { max-width: 100%; }
  .home-float { position: relative; left: auto; bottom: auto; margin-top: 14px; max-width: 100%; }
  .home-overview { grid-template-columns: 1fr 1fr; }
  .home-links { grid-template-columns: 1fr 1fr; }
  .home-dynamic { grid-template-columns: 1fr; }
  .home-photos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .home-title { font-size: clamp(38px, 10.6vw, 52px); }
  .home-desc { font-size: 14px; }
  .home-meta { gap: 18px; margin-top: 30px; }
  .home-meta span { font-size: 22px; }
  .home-overview { grid-template-columns: 1fr; padding: 8px; }
  .home-ov-card { min-height: 108px; }
  .home-links { grid-template-columns: 1fr; }
  .home-link-media { aspect-ratio: 16/8; }
  .home-photos { grid-template-columns: repeat(2, 1fr); }
  .home-feed-time { display: none; }
  .home-quote { padding: 38px 22px; }
  .home-quote h2 { font-size: 32px; }
}
.xh-skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; transition: top 0.2s;
}
.xh-skip-link:focus { top: 16px; }
.sc-page { overflow: hidden; }
.sc-orbit { transition: transform 0.3s ease-out; will-change: transform; }
.sc-rail { cursor: grab; }
.sc-rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.sc-rail-item { outline-offset: 3px; }
.xh-lightbox {
  position: fixed; inset: 0; z-index: 800;
  display: grid; place-items: center;
  padding: 30px;
  background: rgba(3, 10, 24, 0.94);
  backdrop-filter: blur(18px);
}
.xh-lightbox[hidden] { display: none; }
.xh-lightbox img { max-width: min(92vw, 1200px); max-height: 80vh; border-radius: 18px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); }
.xh-lightbox-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.8); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; }
.xh-lightbox-close { position: absolute; top: 20px; right: 22px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.xh-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.xh-lightbox-nav.prev { left: 20px; }
.xh-lightbox-nav.next { right: 20px; }
.xh-lightbox-nav:hover, .xh-lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }
.sc-hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 80px;
  display: flex; align-items: center;
  background:
    radial-gradient(1000px 600px at 15% 0%, rgba(26, 75, 255, 0.12), transparent 60%),
    radial-gradient(700px 500px at 90% 20%, rgba(223, 166, 62, 0.12), transparent 60%);
  overflow: hidden;
}
.sc-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(7, 24, 46, 0.18) 1px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: 0.22;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 70%);
  pointer-events: none;
}
.sc-hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 60px; align-items: center; }
.sc-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--brand); margin-bottom: 26px; }
.sc-kicker::before { content: ""; width: 30px; height: 1px; background: var(--brand); }
.sc-title { font-family: var(--font-black); font-size: clamp(52px, 8.4vw, 112px); font-weight: 900; line-height: 0.98; letter-spacing: -0.055em; color: var(--ink); margin-bottom: 24px; }
.sc-title em { font-family: var(--font-callig); font-style: normal; font-weight: 400; color: var(--brand); letter-spacing: 0.02em; font-size: 0.62em; display: inline-block; transform: translateY(-0.06em); }
.sc-title .sc-line { display: block; overflow: hidden; }
.sc-title .sc-line span { display: inline-block; animation: scRise 1s var(--xh-ease) both; }
.sc-title .sc-line:nth-child(2) span { animation-delay: 0.1s; }
.sc-title .sc-line:nth-child(3) span { animation-delay: 0.2s; }
@keyframes scRise { from { opacity: 0; transform: translateY(110%) rotate(2deg); } to { opacity: 1; transform: none; } }
.sc-lead { max-width: 500px; font-size: 15px; line-height: 1.9; color: var(--text-soft); margin-bottom: 32px; }
.sc-lead b { color: var(--ink); font-weight: 600; }
.sc-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sc-actions .btn { height: 48px; padding: 0 24px; }
.sc-meta { display: flex; gap: 26px; margin-top: 44px; flex-wrap: wrap; }
.sc-meta div { display: flex; flex-direction: column; }
.sc-meta b { font-family: var(--font-black); font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.sc-meta span { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--muted); margin-top: 3px; }
.sc-hero-visual { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; }
.sc-orbit { position: relative; width: min(100%, 480px); aspect-ratio: 1; border-radius: 50%; }
.sc-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(26, 75, 255, 0.18); }
.sc-ring.r2 { inset: 10%; border-color: rgba(7, 24, 46, 0.1); }
.sc-ring.r3 { inset: 21%; border-style: dashed; border-color: rgba(26, 75, 255, 0.25); animation: scSpin 44s linear infinite; }
.sc-ring.r4 { inset: 34%; border-color: rgba(223, 166, 62, 0.28); }
@keyframes scSpin { to { transform: rotate(360deg); } }
.sc-core { position: absolute; inset: 34%; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #fff; box-shadow: 0 30px 80px -40px rgba(7, 24, 46, 0.5), 0 0 0 12px rgba(255, 255, 255, 0.5); }
.sc-core img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.sc-sat { position: absolute; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 10px 26px -12px rgba(7, 24, 46, 0.5); }
.sc-sat img { width: 100%; height: 100%; object-fit: cover; }
.sc-sat.s1 { top: 6%; left: 46%; }
.sc-sat.s2 { top: 38%; right: -1%; }
.sc-sat.s3 { bottom: 8%; left: 20%; }
.sc-sat.s4 { bottom: 22%; right: 12%; }
.sc-tag { position: absolute; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; color: var(--text-soft); background: rgba(255, 255, 255, 0.72); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(8px); }
.sc-tag.t1 { top: 12%; left: 0; }
.sc-tag.t2 { top: 48%; right: -3%; }
.sc-tag.t3 { bottom: 2%; left: 8%; }
.sc-photo-card { position: absolute; right: -4%; bottom: 2%; width: 168px; aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 30px 60px -30px rgba(7, 24, 46, 0.6); transform: rotate(5deg); }
.sc-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.sc-photo-card span { position: absolute; left: 10px; bottom: 10px; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.1em; color: #fff; background: rgba(0, 0, 0, 0.4); padding: 4px 8px; border-radius: 999px; }
.sc-scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; color: var(--muted); }
.sc-scroll i { width: 1px; height: 42px; background: linear-gradient(var(--brand), transparent); display: block; }

.sc-section { padding: 110px 0; position: relative; }
.sc-section.dark { background: #061528; color: rgba(255, 255, 255, 0.66); }
.sc-section.dark .sc-h2, .sc-section.dark .sc-overline { color: #fff; }
.sc-section.dark .sc-p { color: rgba(255, 255, 255, 0.55); }
.sc-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sc-overline { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--brand); margin-bottom: 16px; }
.sc-overline::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.sc-h2 { font-family: var(--font-black); font-size: clamp(32px, 4.6vw, 58px); font-weight: 600; line-height: 1.16; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 18px; }
.sc-p { max-width: 580px; font-size: 14.5px; line-height: 1.9; color: var(--text-soft); }
.sc-story { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.sc-story-visual { position: relative; min-height: 380px; }
.sc-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sc-photo-grid figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--bg-soft); aspect-ratio: 4/3; }
.sc-photo-grid figure:nth-child(2) { transform: translateY(26px); }
.sc-photo-grid figure:nth-child(3) { transform: translateY(-26px); }
.sc-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.sc-quote { font-family: var(--font-callig); font-size: 26px; line-height: 1.7; color: var(--ink); border-left: 2px solid var(--brand); padding-left: 20px; margin-top: 26px; }

.sc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-top: 50px; }
.sc-stat { background: rgba(255, 255, 255, 0.85); padding: 30px 26px; }
.sc-section.dark .sc-stat { background: rgba(255, 255, 255, 0.04); }
.sc-stat b { display: block; font-family: var(--font-black); font-size: 38px; font-weight: 700; color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; }
.sc-section.dark .sc-stat b { color: #fff; }
.sc-stat span { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--muted); display: block; margin-top: 6px; }

.sc-rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.sc-rail-nav { display: flex; gap: 8px; }
.sc-rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: all 0.2s; }
.sc-rail-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.sc-rail { display: flex; gap: 14px; overflow-x: auto; padding: 6px 0 22px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sc-rail::-webkit-scrollbar { display: none; }
.sc-rail-item { flex: 0 0 auto; width: min(360px, 76vw); aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; position: relative; scroll-snap-align: start; background: var(--bg-soft); }
.sc-rail-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--xh-ease); }
.sc-rail-item:hover img { transform: scale(1.05); }
.sc-rail-item span { position: absolute; left: 16px; bottom: 14px; color: #fff; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; background: rgba(4, 16, 40, 0.55); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }

.sc-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 46px; }
.sc-bento-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; position: relative; overflow: hidden; transition: transform 0.3s var(--xh-ease), box-shadow 0.3s; }
.sc-bento-card::after {
  font-family: var(--font-black); font-weight: 900; font-size: 64px; line-height: 1;
  color: rgba(7, 24, 46, 0.055); position: absolute; right: 18px; bottom: 8px; pointer-events: none;
  letter-spacing: -0.04em;
}
.sc-b2::after { content: "02"; }
.sc-b3::after { content: "03"; }
.sc-b4::after { content: "04"; }
.sc-b5::after { content: "05"; }
.sc-b6::after { content: "06"; }
.sc-b7::after { content: "07"; }
.sc-b1::after { content: "01"; color: rgba(255, 255, 255, 0.09); }
.sc-bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sc-bento-card .sc-b-kicker { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--brand); }
.sc-bento-card h3 { font-family: var(--font-black); font-size: 21px; font-weight: 600; margin: 10px 0 8px; }
.sc-bento-card p { font-size: 12.5px; line-height: 1.75; color: var(--text-soft); }
.sc-b1 { grid-column: span 7; min-height: 300px; background: linear-gradient(150deg, #0a2250, #1a4bff); color: #fff; border: 0; }
.sc-b1 h3 { color: #fff; font-size: 30px; }
.sc-b1 p { color: rgba(255, 255, 255, 0.65); }
.sc-b1 .sc-b-kicker { color: rgba(255, 255, 255, 0.55); }
.sc-b2 { grid-column: span 5; min-height: 300px; }
.sc-b3, .sc-b4, .sc-b5 { grid-column: span 4; min-height: 230px; }
.sc-b6 { grid-column: span 6; }
.sc-b7 { grid-column: span 6; }
.sc-mini { margin-top: 20px; border-radius: 14px; background: #f5f8fe; border: 1px solid var(--line); padding: 12px; }
.sc-mini-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.sc-mini-row i { width: 22px; height: 22px; border-radius: 6px; background: var(--brand-soft); display: block; flex: none; }
.sc-mini-row b { width: 46%; height: 7px; border-radius: 999px; background: #dfe7f5; display: block; }
.sc-mini-row em { width: 24%; height: 7px; border-radius: 999px; background: var(--brand); display: block; opacity: 0.55; }
.sc-b1 .sc-mini { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); }
.sc-b1 .sc-mini-row b { background: rgba(255, 255, 255, 0.22); }
.sc-b1 .sc-mini-row em { background: #fff; opacity: 0.7; }
.sc-b1 .sc-mini-row i { background: rgba(255, 255, 255, 0.16); }

.sc-system { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
.sc-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 26px; }
.sc-swatch { aspect-ratio: 1; border-radius: 14px; border: 1px solid rgba(0, 0, 0, 0.06); position: relative; }
.sc-swatch span { position: absolute; left: 10px; bottom: 9px; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.05em; }
.sc-type { border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 26px; }
.sc-type .sc-type-1 { font-family: var(--font-black); font-size: 46px; font-weight: 900; line-height: 1.1; letter-spacing: -0.04em; color: var(--ink); }
.sc-type .sc-type-2 { font-family: var(--font-callig); font-size: 28px; color: var(--brand); margin: 8px 0 16px; }
.sc-type .sc-type-3 { font-size: 13px; line-height: 1.9; color: var(--text-soft); }
.sc-type .sc-mono { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--muted); margin-top: 16px; display: block; }
.sc-rules { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.sc-rule { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px dashed var(--line); padding-bottom: 10px; font-size: 12px; color: var(--text-soft); }
.sc-rule b { color: var(--ink); font-weight: 600; }

.sc-arch { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 46px; }
.sc-arch-card { border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.045); border-radius: 22px; padding: 24px; }
.sc-arch-card h3 { color: #fff; font-family: var(--font-black); font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.sc-arch-card p { color: rgba(255, 255, 255, 0.5); font-size: 12px; line-height: 1.75; }
.sc-arch-card .sc-arch-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.sc-arch-card .sc-arch-tags span { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.65); border: 1px solid rgba(255, 255, 255, 0.16); padding: 4px 8px; border-radius: 999px; }
.sc-arch-line { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.4); flex-wrap: wrap; }
.sc-arch-line i { width: 24px; height: 1px; background: rgba(255, 255, 255, 0.25); }

.sc-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.sc-tl { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.sc-tl::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.sc-tl time { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; color: var(--muted); }
.sc-tl h3 { font-family: var(--font-black); font-size: 17px; font-weight: 600; margin: 6px 0 5px; }
.sc-tl p { font-size: 12px; line-height: 1.7; color: var(--text-soft); }

.sc-cta { padding: 110px 0 120px; text-align: center; position: relative; overflow: hidden; }
.sc-cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(26, 75, 255, 0.12); box-shadow: 0 0 0 60px rgba(26, 75, 255, 0.025), 0 0 0 120px rgba(26, 75, 255, 0.018); pointer-events: none; }
.sc-cta h2 { font-family: var(--font-black); font-size: clamp(38px, 6vw, 74px); font-weight: 700; line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 20px; }
.sc-cta p { font-size: 14px; color: var(--text-soft); margin-bottom: 30px; }
.sc-cta .sc-actions { justify-content: center; }

@media (max-width: 980px) {
  .sc-hero { min-height: auto; padding: 120px 0 70px; }
  .sc-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .sc-hero-visual { min-height: 420px; }
  .sc-orbit { width: min(80vw, 380px); }
  .sc-title { font-size: clamp(46px, 11vw, 78px); }
  .sc-story, .sc-system { grid-template-columns: 1fr; gap: 40px; }
  .sc-stats { grid-template-columns: 1fr 1fr; }
  .sc-b1, .sc-b2, .sc-b3, .sc-b4, .sc-b5, .sc-b6, .sc-b7 { grid-column: span 12; }
  .sc-arch { grid-template-columns: 1fr; }
  .sc-timeline { grid-template-columns: 1fr 1fr; }
  .sc-section { padding: 76px 0; }
  .sc-photo-card { display: none; }
}
@media (max-width: 600px) {
  .sc-hero { padding-top: 100px; }
  .sc-meta { gap: 18px; }
  .sc-meta b { font-size: 23px; }
  .sc-stats { grid-template-columns: 1fr 1fr; }
  .sc-stat { padding: 22px 18px; }
  .sc-stat b { font-size: 30px; }
  .sc-timeline { grid-template-columns: 1fr; }
  .sc-swatches { grid-template-columns: repeat(5, 1fr); }
  .sc-rail-item { width: 80vw; }
  .sc-title em { display: inline; }
}
