/* ==========================================================================
   智校云 · 智慧校园管理平台
   ========================================================================== */

:root {
  --bg: #05080f;
  --bg-2: #070c16;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: #0b1220;
  --line: rgba(148, 170, 220, 0.14);
  --line-soft: rgba(148, 170, 220, 0.08);
  --text: #e9eefb;
  --muted: #93a3c0;
  --mint: #3fe0c5;
  --mint-deep: #1fb8a4;
  --blue: #5b8cff;
  --amber: #ffb86b;
  --radius: 18px;
  --container: 1200px;
  --font: "Manrope", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
li { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: rgba(63, 224, 197, 0.25); color: #fff; }

/* 背景层 ------------------------------------------------------------------ */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(45, 110, 255, 0.16), transparent 65%),
    radial-gradient(700px 500px at 8% 12%, rgba(63, 224, 197, 0.09), transparent 60%),
    var(--bg);
}

.backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 170, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 170, 220, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 0%, #000 20%, transparent 78%);
}

/* 布局 -------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  --accent: var(--mint);
  --accent-2: #24c6d6;
  --accent-rgb: 63, 224, 197;
  --accent-ink: #04110f;
  position: relative;
  padding: 118px 0;
  scroll-margin-top: 28px;
}

#apartment { --accent: #3fe0c5; --accent-2: #24c6d6; --accent-rgb: 63, 224, 197; --accent-ink: #04110f; --accent-light: #a9f8e9; }
#office { --accent: #6ea8ff; --accent-2: #5b8cff; --accent-rgb: 110, 168, 255; --accent-ink: #04102a; --accent-light: #c0dbff; }
#student-union { --accent: #ffbe7a; --accent-2: #ff9f5a; --accent-rgb: 255, 184, 107; --accent-ink: #241203; --accent-light: #ffe3c2; }
#youth-league { --accent: #b99bff; --accent-2: #8b6cff; --accent-rgb: 185, 155, 255; --accent-ink: #140826; --accent-light: #e2d4ff; }

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(820px 380px at 88% -8%, rgba(var(--accent-rgb), 0.1), transparent 70%),
    radial-gradient(640px 320px at 4% 102%, rgba(var(--accent-rgb), 0.05), transparent 70%);
}

.section > .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.eyebrow-no {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 6px;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.24);
}

.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.75rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-head h2 {
  display: inline-block;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.section-head p {
  color: #93a3c0;
  font-size: 14.5px;
  line-height: 1.8;
  max-width: 560px;
}
.section-head.center p { margin: 0 auto; }

.grad-text {
  background: linear-gradient(100deg, var(--mint) 0%, #7ef0d8 40%, #7ea6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 按钮 -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease;
}

.btn svg { width: 17px; height: 17px; flex: none; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.btn-primary {
  color: #04110f;
  background: linear-gradient(110deg, #4cebd0 0%, #2fd3b6 55%, #24c6d6 100%);
  box-shadow: 0 12px 34px -10px rgba(46, 217, 190, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -10px rgba(46, 217, 190, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.section .btn-primary {
  color: var(--accent-ink);
  background: linear-gradient(110deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 12px 34px -12px rgba(var(--accent-rgb), 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.section .btn-primary:hover {
  box-shadow: 0 18px 46px -12px rgba(var(--accent-rgb), 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(63, 224, 197, 0.45);
  background: rgba(63, 224, 197, 0.08);
}

.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }

/* 顶部导航 ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(5, 8, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  flex: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.2), rgba(63, 224, 197, 0.1));
  border: 1px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 0 28px -8px rgba(59, 130, 246, 0.55);
}

.logo-mark svg { width: 26px; height: 26px; }
.logo-mark img { width: 28px; height: 28px; object-fit: contain; display: block; }

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.15;
}

.logo-cn {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #f2f6ff;
  white-space: nowrap;
}

.logo-en {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: #8297b8;
  white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }

.nav-links a {
  font-size: 14.5px;
  color: #b7c3dc;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--mint);
  transition: width 0.25s ease;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: #fff; }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-actions .login { font-size: 14.5px; color: #b7c3dc; transition: color 0.2s ease; }
.nav-actions .login:hover { color: #fff; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  place-items: center;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #cfd9ee;
  position: relative;
  transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: #cfd9ee;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* 返回上一页 */
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #9fb0cc;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  flex: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-back svg { width: 14px; height: 14px; }

.nav-back:hover {
  color: #fff;
  border-color: rgba(63, 224, 197, 0.4);
  background: rgba(63, 224, 197, 0.08);
}

.nav-back:active { transform: scale(0.96); }

.nav-back:focus-visible {
  outline: 2px solid rgba(63, 224, 197, 0.7);
  outline-offset: 2px;
}

/* 主界面导航右侧控件 */
.nav-end { margin-left: auto; }

/* 手机 / 电脑视图切换 */
.view-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  flex: none;
}

.view-btn {
  width: 34px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #8b9bb8;
  transition: color 0.2s ease, background 0.2s ease;
}

.view-btn svg { width: 15px; height: 15px; }
.view-btn:hover { color: #fff; }
.view-btn.active { color: var(--mint); background: rgba(63, 224, 197, 0.13); }

.mobile-menu {
  display: none;
  padding: 8px 24px 26px;
  background: rgba(5, 8, 15, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu.open { display: block; }
.mobile-menu a:not(.btn) { display: block; padding: 13px 0; font-size: 15px; color: #c3cee4; border-bottom: 1px solid var(--line-soft); }
.mobile-menu a:not(.btn).active { color: var(--mint); }
.mobile-menu .btn { width: 100%; margin-top: 18px; }

/* 首屏 -------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 168px 0 118px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  background: url("campus-night.jpg") center 38% / cover no-repeat;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(760px 460px at 38% 26%, rgba(46, 217, 190, 0.14), transparent 70%),
    radial-gradient(620px 420px at 82% 62%, rgba(91, 140, 255, 0.1), transparent 70%),
    linear-gradient(90deg, rgba(5, 8, 15, 0.94) 0%, rgba(5, 8, 15, 0.55) 46%, rgba(5, 8, 15, 0.9) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 72px;
  align-items: center;
}

.hero-copy { text-align: left; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(63, 224, 197, 0.28);
  background: rgba(63, 224, 197, 0.07);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  color: #cfeee7;
  margin-bottom: 28px;
}

.badge .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(63, 224, 197, 0.16);
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 0 18px -6px rgba(63, 224, 197, 0.8);
}

.hero h1 {
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  line-height: 1.14;
  letter-spacing: -0.038em;
  font-weight: 800;
  margin-bottom: 24px;
  max-width: 640px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.85;
  color: #a7b5cf;
  max-width: 520px;
  margin: 0;
}

/* 首屏快捷入口面板 */
.hero-panel {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(148, 170, 220, 0.2);
  background: linear-gradient(160deg, rgba(15, 23, 40, 0.9), rgba(7, 12, 22, 0.94));
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -160px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 224, 197, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-panel-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 6px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.panel-kicker {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7e8fa9;
  margin-bottom: 6px;
}

.hero-panel-head strong { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }

.panel-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--mint);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(63, 224, 197, 0.08);
  border: 1px solid rgba(63, 224, 197, 0.22);
  flex: none;
}

.panel-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

.hero-links {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 14px 0;
}

.hero-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 13px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  --hl: var(--mint);
  --hl-rgb: 63, 224, 197;
}

.hero-link:nth-child(2) { --hl: #6ea8ff; --hl-rgb: 110, 168, 255; }
.hero-link:nth-child(3) { --hl: #ffbe7a; --hl-rgb: 255, 184, 107; }
.hero-link:nth-child(4) { --hl: #b99bff; --hl-rgb: 185, 155, 255; }

.hero-link:hover {
  transform: translateX(4px);
  background: rgba(var(--hl-rgb), 0.08);
  border-color: rgba(var(--hl-rgb), 0.26);
}

.hl-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(var(--hl-rgb), 0.1);
  border: 1px solid rgba(var(--hl-rgb), 0.22);
  transition: box-shadow 0.25s ease;
}

.hl-icon svg { width: 18px; height: 18px; stroke: var(--hl); }
.hero-link:hover .hl-icon { box-shadow: 0 0 22px -8px rgba(var(--hl-rgb), 0.9); }

.hl-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hl-text b { font-size: 13.5px; font-weight: 700; color: #eaf0fc; }
.hl-text small { font-size: 11px; color: #8191ad; }

.hl-arrow {
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex: none;
  stroke: #6f80a0;
  transition: transform 0.25s ease, stroke 0.25s ease;
}

.hero-link:hover .hl-arrow { transform: translateX(3px); stroke: var(--hl); }

.hero-panel-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 6px 2px;
  border-top: 1px solid var(--line-soft);
  font-size: 10.5px;
  color: #7c8ca8;
  letter-spacing: 0.02em;
}

.foot-code { font-size: 9.5px; letter-spacing: 0.16em; color: #6b7c99; }

/* 首屏统计 */
.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}

.stat .num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.stat .num i { font-style: normal; color: var(--mint); font-size: 20px; margin-left: 2px; }
.stat .label { font-size: 12.5px; color: #8595b1; margin-top: 6px; letter-spacing: 0.02em; }

/* 仪表盘预览 -------------------------------------------------------------- */
.hero-visual { position: relative; perspective: 1400px; }

.dash {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(148, 170, 220, 0.18);
  background: linear-gradient(165deg, rgba(19, 28, 46, 0.92), rgba(8, 13, 24, 0.94));
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  backdrop-filter: blur(8px);
  transform: rotateY(-7deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.dash::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 240px at 76% -10%, rgba(63, 224, 197, 0.18), transparent 70%);
  pointer-events: none;
}

.dash-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}

.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; background: #26324a; }
.win-dots i:first-child { background: #3fe0c5; opacity: 0.8; }

.dash-title { font-size: 12px; color: #93a3c0; letter-spacing: 0.04em; }
.dash-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--mint);
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(63, 224, 197, 0.08);
  border: 1px solid rgba(63, 224, 197, 0.2);
}
.dash-live::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

.dash-body { padding: 18px; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi {
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
}
.kpi .k-label { font-size: 10.5px; color: #8494b1; margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; }
.kpi .k-label b { color: var(--mint); font-weight: 600; font-size: 9.5px; }
.kpi .k-value { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: #f2f6ff; line-height: 1.2; }
.kpi .k-value small { font-size: 10px; color: #8fa0bb; font-weight: 500; margin-left: 2px; }

.chart-panel {
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 14px 10px;
}

.chart-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.chart-top strong { font-size: 12px; font-weight: 700; color: #dbe5f8; }
.chart-top span { font-size: 10.5px; color: var(--mint); }

.bars { display: flex; align-items: flex-end; gap: 9px; height: 116px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bar em { display: none; }
.bar i {
  display: block;
  width: 100%;
  height: calc(var(--h) - 18px);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(63, 224, 197, 0.85), rgba(63, 224, 197, 0.12));
  box-shadow: 0 0 18px -6px rgba(63, 224, 197, 0.55);
  transition: height 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bar:nth-child(4) i { background: linear-gradient(180deg, rgba(91, 140, 255, 0.9), rgba(91, 140, 255, 0.12)); }
.bar span { font-size: 9px; color: #7285a6; }
.bar em { font-style: normal; font-size: 8.5px; color: #a9b9d4; }

.dash-foot { display: flex; gap: 10px; margin-top: 14px; }
.mini-card {
  flex: 1;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-card .dot-i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(91, 140, 255, 0.12); }
.mini-card .dot-i svg { width: 13px; height: 13px; stroke: #8fb0ff; }
.mini-card p { font-size: 10px; color: #8fa0bb; line-height: 1.4; }
.mini-card p b { display: block; font-size: 11.5px; color: #e2eaf9; font-weight: 700; }

/* 浮动胶囊 */
.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 13px;
  background: rgba(12, 19, 33, 0.9);
  border: 1px solid rgba(63, 224, 197, 0.28);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  animation: floaty 7s ease-in-out infinite;
}

.float-chip .fi {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(63, 224, 197, 0.12);
}
.float-chip .fi svg { width: 15px; height: 15px; stroke: var(--mint); }
.float-chip p { font-size: 10px; color: #8d9db9; line-height: 1.35; }
.float-chip p b { display: block; color: #eaf2ff; font-size: 11.5px; }

.chip-a { top: -52px; right: -8px; }
.chip-b { bottom: -46px; left: -14px; animation-delay: -3.5s; border-color: rgba(91, 140, 255, 0.3); }
.chip-b .fi { background: rgba(91, 140, 255, 0.14); }
.chip-b .fi svg { stroke: #9db8ff; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* 客户 logo 走马灯 --------------------------------------------------------- */
.trusted { padding: 54px 0 0; }
.trusted p { text-align: center; font-size: 12.5px; letter-spacing: 0.12em; color: #75849f; margin-bottom: 26px; }

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track { display: flex; width: max-content; animation: scroll-x 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 34px;
  font-size: 15px;
  color: #6f7f9c;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.marquee-track span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(63, 224, 197, 0.4); }
.marquee-track span:hover { color: #c9d6ea; }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 模块网格 ---------------------------------------------------------------- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (min-width: 1081px) {
  .modules-grid--five > .module-card:nth-child(4) { grid-column: 2; }
  .modules-grid--five > .module-card:nth-child(5) { grid-column: 3; }
}

.module-card {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s ease,
    background 0.35s ease, box-shadow 0.35s ease;
}

.module-card > .card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}

.module-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.module-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -110px;
  top: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.module-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.34);
  background: linear-gradient(170deg, rgba(var(--accent-rgb), 0.09), rgba(255, 255, 255, 0.015));
  box-shadow: 0 26px 54px -30px rgba(0, 0, 0, 0.95);
}
.module-card:hover::after, .module-card:hover::before { opacity: 1; }

.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(var(--accent-rgb), 0.09);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  position: relative;
  z-index: 1;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.module-icon svg { width: 20px; height: 20px; stroke: var(--accent); }

.module-card:hover .module-icon {
  border-color: rgba(var(--accent-rgb), 0.42);
  box-shadow: 0 0 26px -8px rgba(var(--accent-rgb), 0.8);
}

.module-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; letter-spacing: 0.01em; }
.module-card p { font-size: 13px; color: #8c9bb7; line-height: 1.7; position: relative; z-index: 1; }

.module-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #7f90ad;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.module-card:hover .module-tag {
  color: #dbe5f6;
  border-color: rgba(var(--accent-rgb), 0.3);
}

/* 每个板块首个卡片作为主推模块 */
.module-card.featured {
  background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.14), rgba(255, 255, 255, 0.022) 55%, rgba(255, 255, 255, 0.012));
  border-color: rgba(var(--accent-rgb), 0.28);
}

.module-card.featured::after { opacity: 0.75; }

.module-card.featured .module-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.14);
  box-shadow: 0 10px 30px -16px rgba(var(--accent-rgb), 0.9);
  margin-bottom: 20px;
}

.module-card.featured .module-icon svg { width: 23px; height: 23px; }
.module-card.featured h3 { font-size: 19px; }
.module-card.featured p { font-size: 13.5px; max-width: 380px; }

.module-card.featured .module-tag {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.07);
}

.featured-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.24);
}

.featured-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

@media (min-width: 641px) {
  .module-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 22px;
    align-items: start;
    padding: 30px 28px;
  }
  .module-card.featured .module-icon { grid-column: 1; grid-row: 1 / span 3; align-self: center; margin-bottom: 0; }
  .module-card.featured h3 { grid-column: 2; grid-row: 1; margin-bottom: 6px; align-self: end; }
  .module-card.featured p { grid-column: 2; grid-row: 2; }
  .module-card.featured .module-tag { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 14px; }
}

@media (min-width: 641px) {
  .modules-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modules-grid--two > .module-card {
    grid-column: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 18px;
    align-items: start;
    padding: 28px 26px;
  }

  .modules-grid--two > .module-card .module-icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: center;
    margin-bottom: 0;
  }

  .modules-grid--two > .module-card h3 { grid-column: 2; grid-row: 1; margin-bottom: 6px; align-self: end; }
  .modules-grid--two > .module-card p { grid-column: 2; grid-row: 2; }
  .modules-grid--two > .module-card .module-tag { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 14px; }
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 56px;
}
.section-head-row .section-head { margin-bottom: 0; }

/* 平台预览 ---------------------------------------------------------------- */
.preview-section { padding-top: 40px; }

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 30px;
}

.tab {
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #8e9db8;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.tab[aria-selected="true"] {
  color: #05211c;
  background: linear-gradient(110deg, #4cebd0, #2fd3b6);
  box-shadow: 0 8px 22px -10px rgba(46, 217, 190, 0.7);
}

.preview-shell {
  border-radius: 22px;
  border: 1px solid rgba(148, 170, 220, 0.16);
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.7), rgba(7, 12, 21, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shell-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
}
.shell-bar .win-dots i { width: 8px; height: 8px; }
.shell-bar .url {
  flex: 1;
  max-width: 300px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  font-size: 10.5px;
  color: #7f90ad;
}
.shell-bar .url svg { width: 10px; height: 10px; stroke: #6f80a0; }
.shell-bar .shell-user { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: #8595b2; }
.shell-user .avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(140deg, #3fe0c5, #5b8cff);
  display: grid; place-items: center;
  font-size: 9px; font-weight: 800; color: #061018;
}

.preview-panels { position: relative; min-height: 430px; }

.panel { padding: 26px; display: none; animation: panel-in 0.4s ease; }
.panel.active { display: block; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.panel-head h3 { font-size: 17px; font-weight: 700; }
.panel-head p { font-size: 11.5px; color: #7d8daa; margin-top: 4px; }
.panel-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  font-size: 10.5px;
  color: #94a4c1;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
}
.pill.on { color: var(--mint); border-color: rgba(63, 224, 197, 0.35); background: rgba(63, 224, 197, 0.09); }

.preview-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.preview-kpis .kpi { padding: 15px 16px; background: rgba(255, 255, 255, 0.025); }
.preview-kpis .kpi .k-value { font-size: 24px; }
.preview-kpis .kpi .k-value small { font-size: 11px; }
.preview-kpis .kpi .spark { height: 24px; margin-top: 6px; opacity: 0.7; }

.preview-mid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }

.card-box {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
  padding: 17px;
}
.card-box h4 { font-size: 12px; font-weight: 700; color: #d5e0f4; margin-bottom: 2px; display: flex; justify-content: space-between; align-items: center; }
.card-box h4 .hint { font-size: 10px; font-weight: 500; color: #7f90ad; }

.bars-lg { display: flex; align-items: flex-end; gap: 14px; height: 146px; margin-top: 24px; }
.bars-lg .bar i { border-radius: 5px; }
.bars-lg .bar span { font-size: 9.5px; }

.donut-wrap { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.donut {
  width: 92px; height: 92px; border-radius: 50%;
  background: conic-gradient(var(--mint) 0 72%, var(--blue) 72% 89%, #24304a 89% 100%);
  position: relative; flex: none;
  box-shadow: 0 0 32px -12px rgba(63, 224, 197, 0.6);
}
.donut::after {
  content: "";
  position: absolute; inset: 9px;
  border-radius: 50%;
  background: #0b1322;
  border: 1px solid rgba(148, 170, 220, 0.1);
}
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; z-index: 1; }
.donut-center b { font-size: 15px; font-weight: 800; line-height: 1; }
.donut-center span { font-size: 8.5px; color: #8c9cb8; margin-top: 3px; display: block; }
.legend { font-size: 10px; color: #94a4c1; display: grid; gap: 7px; }
.legend i { width: 6px; height: 6px; border-radius: 2px; display: inline-block; margin-right: 6px; vertical-align: middle; }

.notice-list { margin-top: 16px; display: grid; gap: 9px; }
.notice-row { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 9px; background: rgba(255, 255, 255, 0.03); border: 1px solid transparent; }
.notice-row:hover { border-color: var(--line-soft); }
.notice-ico { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none; background: rgba(63, 224, 197, 0.1); }
.notice-ico svg { width: 11px; height: 11px; stroke: var(--mint); }
.notice-ico.blue { background: rgba(91, 140, 255, 0.12); }
.notice-ico.blue svg { stroke: #93b1ff; }
.notice-ico.amber { background: rgba(255, 184, 107, 0.1); }
.notice-ico.amber svg { stroke: var(--amber); }
.notice-row p { font-size: 10.5px; color: #c7d3e8; line-height: 1.45; flex: 1; }
.notice-row p small { display: block; font-size: 9px; color: #7484a2; margin-top: 1px; }
.notice-row time { font-size: 9px; color: #6c7c99; flex: none; }

/* 学生画像表格 */
.student-tools { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.search-mock {
  flex: 1; min-width: 200px; height: 30px; border-radius: 8px; border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  display: flex; align-items: center; gap: 7px; padding: 0 10px; font-size: 10.5px; color: #6f80a0;
}
.search-mock svg { width: 11px; height: 11px; stroke: #6f80a0; }

.table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.table th {
  text-align: left; font-weight: 600; color: #7f90ad; font-size: 10px; letter-spacing: 0.03em;
  padding: 0 10px 9px; border-bottom: 1px solid var(--line-soft);
}
.table th:last-child, .table td:last-child { text-align: right; }
.table td { padding: 12px 10px; border-bottom: 1px solid rgba(148, 170, 220, 0.06); color: #c3cfe4; }
.table tbody tr:hover td { background: rgba(63, 224, 197, 0.035); }
.stu { display: flex; align-items: center; gap: 9px; }
.stu .av {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #08131f;
  background: linear-gradient(140deg, #9be8d8, #7fa8ff);
}
.stu small { display: block; font-size: 9px; color: #7e8eab; }
.tag {
  font-size: 9.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(63, 224, 197, 0.28);
  color: #6fe6cf; background: rgba(63, 224, 197, 0.07); display: inline-block;
}
.tag.blue { color: #a5bdff; border-color: rgba(91, 140, 255, 0.3); background: rgba(91, 140, 255, 0.08); }
.tag.amber { color: #ffca92; border-color: rgba(255, 184, 107, 0.28); background: rgba(255, 184, 107, 0.08); }

.rate { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.rate-bar { width: 54px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.rate-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--mint), #6ad8ff); }

/* 课表 */
.timetable { display: grid; grid-template-columns: 56px repeat(5, 1fr); gap: 7px; font-size: 10.5px; }
.tt-head {
  padding: 8px 4px; text-align: center; border-radius: 7px; color: #8797b4;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-soft); font-size: 10px;
}
.tt-head.today { color: var(--mint); border-color: rgba(63, 224, 197, 0.3); background: rgba(63, 224, 197, 0.08); }
.tt-time {
  display: grid; place-content: center; text-align: center; border-radius: 7px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line-soft);
  color: #8b9bb8; font-size: 9px; line-height: 1.35;
}
.tt-time b { display: block; color: #c9d6ea; font-size: 10px; font-weight: 700; }
.tt-cell { padding: 7px 8px; border-radius: 7px; line-height: 1.35; border: 1px solid transparent; }
.tt-cell b { display: block; font-size: 10px; font-weight: 700; color: #eef5ff; }
.tt-cell small { font-size: 8.5px; color: rgba(238, 245, 255, 0.55); }
.t-c1 { background: rgba(63, 224, 197, 0.14); border-color: rgba(63, 224, 197, 0.3); }
.t-c2 { background: rgba(91, 140, 255, 0.15); border-color: rgba(91, 140, 255, 0.3); }
.t-c3 { background: rgba(255, 184, 107, 0.12); border-color: rgba(255, 184, 107, 0.26); }
.t-c4 { background: rgba(186, 132, 255, 0.13); border-color: rgba(186, 132, 255, 0.28); }
.t-c0 { background: rgba(255, 255, 255, 0.02); border-color: var(--line-soft); }

.tt-legend { display: flex; gap: 16px; margin-top: 16px; font-size: 9.5px; color: #8797b4; flex-wrap: wrap; }
.tt-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tt-legend i { width: 7px; height: 7px; border-radius: 2px; }

/* 客户评价 ---------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
  padding: 28px 26px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.quote:hover { transform: translateY(-4px); border-color: rgba(148, 170, 220, 0.26); }
.quote .qm { font-size: 26px; line-height: 1; color: rgba(63, 224, 197, 0.45); font-family: Georgia, serif; margin-bottom: 14px; }
.quote p { font-size: 14px; color: #c0cde3; line-height: 1.8; flex: 1; }
.quote .person { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.quote .person .av {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #08131f;
  background: linear-gradient(140deg, #8fe6d5, #7ba2ff);
}
.quote .person b { font-size: 12.5px; display: block; }
.quote .person small { font-size: 10.5px; color: #8191ae; }
.quote .stars { margin-left: auto; color: var(--amber); font-size: 10px; letter-spacing: 2px; }

/* CTA --------------------------------------------------------------------- */
.cta-section { padding: 40px 0 110px; }
.cta {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(63, 224, 197, 0.24);
  background:
    radial-gradient(640px 300px at 18% 0%, rgba(63, 224, 197, 0.16), transparent 70%),
    radial-gradient(560px 300px at 88% 100%, rgba(91, 140, 255, 0.15), transparent 70%),
    linear-gradient(160deg, #0c1626, #070d18);
  padding: 64px 56px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 170, 220, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 170, 220, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000, transparent 72%);
  pointer-events: none;
}

.cta h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; position: relative; }
.cta p { color: #9dabc7; font-size: 14.5px; max-width: 460px; position: relative; }
.cta small { display: block; margin-top: 18px; font-size: 11.5px; color: #7787a4; position: relative; }
.cta-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; position: relative; }

/* 页脚 -------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding: 34px 0;
  background: rgba(5, 8, 15, 0.6);
}

.footer-simple {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-logo { flex: none; }
.footer-logo .logo-cn { font-size: 15px; }
.footer-logo .logo-en { font-size: 7.5px; }
.footer-logo .logo-mark { width: 32px; height: 32px; border-radius: 9px; }
.footer-logo .logo-mark img { width: 24px; height: 24px; }

.footer-links {
  margin-left: auto;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a { font-size: 12.5px; color: #8b9bb7; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--mint); }

.footer-copy { font-size: 11.5px; color: #6c7c99; letter-spacing: 0.02em; }

/* 动效 -------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* 响应式 ------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .nav-inner { gap: 26px; }
  .nav-links { gap: 22px; }
  .hero-grid { gap: 36px; }
  .chip-b { left: -10px; }
  .chip-a { right: 0; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); row-gap: 34px; }
  .footer-grid .footer-col:nth-child(4) { grid-column: 1 / 2; }
}

@media (max-width: 920px) {
  .section { padding: 90px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: grid; }
  .hero { min-height: auto; padding: 142px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-sub { max-width: 620px; margin: 0 auto; }
  .hero-panel { width: 100%; max-width: 560px; margin: 0 auto; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .dash { transform: none; }
  .float-chip { display: none; }
  .trusted { padding-top: 30px; }
  .preview-mid { grid-template-columns: 1fr; }
  .preview-panels { min-height: 0; }
  .quotes { grid-template-columns: 1fr; }
  .quote { padding: 24px; }
  .cta { grid-template-columns: 1fr; padding: 44px 32px; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid .footer-col:nth-child(4) { grid-column: auto; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .nav-inner { gap: 12px; }
  .nav-back { width: 34px; height: 34px; padding: 0; justify-content: center; }
  .nav-back span { display: none; }
  .view-switch { padding: 2px; gap: 0; }
  .view-btn { width: 28px; height: 26px; }
  .view-btn svg { width: 13px; height: 13px; }
  .logo-cn { font-size: 15px; }
  .logo-en { font-size: 7px; letter-spacing: 0.08em; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-mark svg { width: 24px; height: 24px; }
  .logo-mark img { width: 26px; height: 26px; }
  .section { padding: 74px 0; }
  .hero { padding: 116px 0 56px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-sub { font-size: 15.5px; }
  .hero-panel { padding: 16px; }
  .hero-panel-head { padding-bottom: 14px; }
  .hero-links { padding: 10px 0; }
  .hero-link { padding: 10px; gap: 11px; }
  .hero-panel-foot { font-size: 10px; }
  .hero-stats { gap: 26px; margin-top: 38px; padding-top: 24px; }
  .stat .num { font-size: 24px; }
  .hero-visual { max-width: 100%; }
  .dash-body { padding: 13px; }
  .kpi-row { gap: 7px; }
  .kpi { padding: 9px 10px; }
  .kpi .k-value { font-size: 16px; }
  .kpi .k-value small { display: none; }
  .dash-foot { flex-direction: column; }
  .trusted p { margin-bottom: 18px; }
  .marquee-track span { padding: 0 22px; font-size: 13px; }
  .modules-grid { grid-template-columns: 1fr; gap: 12px; }
  .module-card { padding: 22px 20px; }
  .section-head { margin-bottom: 36px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 36px; }
  .tabs { width: 100%; flex-wrap: wrap; border-radius: 14px; }
  .tab { flex: 1; text-align: center; padding: 8px 10px; font-size: 12.5px; }
  .panel { padding: 16px; }
  .preview-kpis { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .preview-kpis .kpi .k-value { font-size: 19px; }
  .card-box { padding: 14px; }
  .bars-lg { gap: 8px; height: 118px; margin-top: 18px; }
  .bars-lg .bar em { display: none; }
  .table th:nth-child(2), .table td:nth-child(2) { display: none; }
  .shell-bar .url { max-width: none; }
  .shell-bar .shell-user span { display: none; }
  .timetable { grid-template-columns: 42px repeat(5, minmax(0, 1fr)); gap: 4px; font-size: 9px; }
  .tt-cell { padding: 5px; }
  .tt-cell b { font-size: 8.5px; }
  .tt-cell small { display: none; }
  .cta { padding: 34px 24px; border-radius: 18px; }
  .cta-actions .btn { width: 100%; }
  .site-footer { padding: 28px 0; }
  .footer-simple { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { margin-left: 0; gap: 18px; }
}

@media (max-width: 380px) {
  .logo-en { display: none; }
}

/* 手机视图预览 ------------------------------------------------------------- */
html.view-mobile body {
  width: 430px;
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}

html.view-mobile .site-header {
  left: 50%;
  right: auto;
  width: 430px;
  max-width: 100%;
  transform: translateX(-50%);
}

html.view-mobile .nav-links { display: none; }
html.view-mobile .nav-toggle { display: grid; }
html.view-mobile .nav-inner { gap: 12px; }
html.view-mobile .nav-back { width: 34px; height: 34px; padding: 0; justify-content: center; }
html.view-mobile .nav-back span { display: none; }
html.view-mobile .view-switch { padding: 2px; gap: 0; }
html.view-mobile .view-btn { width: 28px; height: 26px; }
html.view-mobile .view-btn svg { width: 13px; height: 13px; }

html.view-mobile .container { padding: 0 18px; }
html.view-mobile .logo-cn { font-size: 15px; }
html.view-mobile .logo-en { font-size: 7px; letter-spacing: 0.08em; }
html.view-mobile .logo-mark { width: 34px; height: 34px; }
html.view-mobile .logo-mark img { width: 26px; height: 26px; }

html.view-mobile .hero { padding: 118px 0 60px; min-height: auto; }
html.view-mobile .hero h1 { font-size: 2.25rem; }
html.view-mobile .hero-grid { grid-template-columns: 1fr; gap: 34px; }
html.view-mobile .hero-copy { text-align: left; }
html.view-mobile .hero-sub { margin: 0; max-width: none; font-size: 15.5px; }
html.view-mobile .hero-panel { max-width: none; padding: 16px; }
html.view-mobile .hero-links { padding: 10px 0; }
html.view-mobile .hero-link { padding: 10px; gap: 11px; }
html.view-mobile .section { padding: 74px 0; }
html.view-mobile .modules-grid { grid-template-columns: 1fr; gap: 12px; }
html.view-mobile .modules-grid--five > .module-card:nth-child(4),
html.view-mobile .modules-grid--five > .module-card:nth-child(5) { grid-column: auto; }
html.view-mobile .module-card { padding: 22px 20px; }
html.view-mobile .module-card.featured {
  grid-column: auto;
  display: block;
  padding: 22px 20px;
}
html.view-mobile .module-card.featured .module-icon { margin-bottom: 20px; }
html.view-mobile .section-head { margin-bottom: 36px; }
html.view-mobile .section-head-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 36px;
}
html.view-mobile .section-head-row .section-head { margin-bottom: 0; }
html.view-mobile .footer-simple { flex-direction: column; align-items: flex-start; gap: 16px; }
html.view-mobile .footer-links { margin-left: 0; gap: 18px; }

/* ===== 入场动画 ===== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(52% 44% at 50% 36%, rgba(63, 224, 197, 0.12) 0%, rgba(63, 224, 197, 0) 70%),
    radial-gradient(48% 42% at 52% 66%, rgba(91, 140, 255, 0.13) 0%, rgba(91, 140, 255, 0) 72%),
    #05080f;
  transform: translateY(0);
  animation:
    intro-curtain 0.62s cubic-bezier(0.7, 0, 0.84, 0) 1.55s forwards,
    intro-hide 0.01s linear 2.16s forwards;
  will-change: transform;
}

.intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(63, 224, 197, 0.55), rgba(91, 140, 255, 0.4), transparent);
  box-shadow: 0 0 30px rgba(63, 224, 197, 0.35);
}

.intro-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 170, 220, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 170, 220, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle at 50% 46%, #000 0%, transparent 68%);
  opacity: 0;
  animation: intro-grid-in 1.2s ease 0.1s forwards;
}

.intro-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56vmin;
  height: 56vmin;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 224, 197, 0.16) 0%, rgba(91, 140, 255, 0.08) 42%, transparent 68%);
  filter: blur(18px);
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  animation: intro-orb-in 1.6s ease 0.1s forwards;
}

.intro-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  text-align: center;
  animation: intro-content-out 0.3s cubic-bezier(0.7, 0, 0.84, 0) 1.4s forwards;
}

.intro-emblem-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  animation: intro-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.intro-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(63, 224, 197, 0), rgba(63, 224, 197, 0.8), rgba(91, 140, 255, 0.65), rgba(63, 224, 197, 0));
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 64%);
  mask: radial-gradient(circle, transparent 62%, #000 64%);
  animation: intro-spin 6s linear infinite;
}

.intro-emblem {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(18, 32, 48, 0.92), rgba(6, 12, 20, 0.92));
  border: 1px solid rgba(63, 224, 197, 0.28);
  box-shadow: 0 0 40px rgba(63, 224, 197, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.intro-emblem img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(63, 224, 197, 0.22)) brightness(1.08); }

.intro-title { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.intro-cn {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #eaf2ff;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  animation: intro-text 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) 0.28s forwards;
}

.intro-en {
  font-family: "Manrope", sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #7f8fac;
  opacity: 0;
  transform: translateY(10px);
  animation: intro-text 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.42s forwards;
}

.intro-bar {
  position: relative;
  width: 230px;
  height: 2px;
  margin-top: 30px;
  border-radius: 999px;
  background: rgba(148, 170, 220, 0.14);
  overflow: hidden;
}

.intro-bar span {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: inherit;
  background: linear-gradient(90deg, #3fe0c5, #7ea6ff);
  box-shadow: 0 0 12px rgba(63, 224, 197, 0.6);
  animation: intro-progress 0.65s cubic-bezier(0.65, 0, 0.35, 1) 0.48s forwards;
}

.intro-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #93a4c2;
  opacity: 0;
  animation: intro-fade 0.5s ease 0.6s forwards;
}

.intro-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: intro-pulse 1.2s ease-in-out infinite;
}

.intro-skip {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 3;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 170, 220, 0.26);
  background: rgba(255, 255, 255, 0.04);
  color: #a7b8d2;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  opacity: 0;
  animation:
    intro-fade 0.45s ease 0.55s forwards,
    intro-fade-out 0.28s ease 1.45s forwards;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.intro-skip:hover {
  color: #eaf2ff;
  border-color: rgba(63, 224, 197, 0.35);
  background: rgba(63, 224, 197, 0.06);
}

.intro-skip:focus-visible {
  outline: 2px solid rgba(63, 224, 197, 0.7);
  outline-offset: 3px;
  color: #eaf2ff;
}

.intro.is-skipped {
  animation: intro-skip 0.45s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.intro.is-skipped .intro-content,
.intro.is-skipped .intro-skip { opacity: 0; transition: opacity 0.25s ease; }

@keyframes intro-curtain {
  to { transform: translateY(-100%); }
}

@keyframes intro-hide {
  to { visibility: hidden; }
}

@keyframes intro-skip {
  to { opacity: 0; visibility: hidden; }
}

@keyframes intro-grid-in {
  to { opacity: 1; }
}

@keyframes intro-orb-in {
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes intro-rise {
  to { opacity: 1; transform: none; }
}

@keyframes intro-text {
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes intro-fade {
  to { opacity: 1; }
}

@keyframes intro-fade-out {
  to { opacity: 0; visibility: hidden; }
}

@keyframes intro-progress {
  to { transform: scaleX(1); }
}

@keyframes intro-spin {
  to { transform: rotate(360deg); }
}

@keyframes intro-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes intro-content-out {
  to { opacity: 0; transform: translateY(-14px); filter: blur(4px); }
}

@media (max-width: 640px) {
  .intro-skip { right: 16px; bottom: 18px; }
  .intro-cn { font-size: 23px; }
  .intro-en { font-size: 8px; letter-spacing: 0.22em; }
  .intro-bar { width: 190px; }
}

/* ===== 主界面（欢迎导航页） ===== */
.gateway {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 122px 0 68px;
  overflow: hidden;
}

.gateway::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 400px at 20% 14%, rgba(63, 224, 197, 0.11), transparent 70%),
    radial-gradient(700px 460px at 84% 82%, rgba(91, 140, 255, 0.13), transparent 72%);
}

.gateway-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.gateway-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 0;
  animation: gateway-rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 1.3s backwards;
}

.gateway-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid rgba(63, 224, 197, 0.24);
  background: rgba(63, 224, 197, 0.06);
  color: #86f2e0;
  font-family: "Manrope", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gateway-kicker::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: intro-pulse 1.6s ease-in-out infinite;
}

.gateway-title {
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(2.6rem, 4.4vw, 3.7rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: #eef4ff;
}

.gateway-title span {
  background: linear-gradient(92deg, #53f0d4 0%, #7ea6ff 62%, #b99bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gateway-sub {
  max-width: 560px;
  margin-top: 18px;
  font-size: 15.5px;
  color: var(--muted);
}

.gateway-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
  animation: gateway-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.9s backwards;
}

.intro.is-skipped ~ .gateway .gateway-head,
.intro.is-skipped ~ .gateway .gateway-actions {
  animation-delay: 0s;
}

.gateway.is-revealed .gateway-head,
.gateway.is-revealed .gateway-actions {
  animation: none;
}

@keyframes gateway-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 920px) {
  .gateway { padding: 112px 0 58px; }
  .gateway-title { font-size: clamp(2.2rem, 5.4vw, 2.9rem); }
}

@media (max-width: 640px) {
  .gateway { align-items: flex-start; padding: 98px 0 52px; }
  .gateway-kicker { padding: 6px 12px; font-size: 9.5px; letter-spacing: 0.16em; margin-bottom: 18px; }
  .gateway-title { font-size: 2rem; }
  .gateway-sub { margin-top: 13px; font-size: 14px; }
  .gateway-actions { margin-top: 28px; }
}

html.view-mobile .gateway { align-items: flex-start; padding: 104px 0 48px; }
html.view-mobile .gateway-kicker { padding: 6px 12px; font-size: 9.5px; letter-spacing: 0.16em; margin-bottom: 18px; }
html.view-mobile .gateway-title { font-size: 2rem; }
html.view-mobile .gateway-sub { margin-top: 13px; font-size: 14px; }
html.view-mobile .gateway-actions { margin-top: 26px; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .gateway-head,
  .gateway-actions { animation: none; }
  .gateway-kicker::before { animation: none; }
}

/* =========================================================
   团务信息及其工作内容
   ========================================================= */
.tuanwu-section {
  --tw-red: #e66a5e;
  --tw-red-soft: rgba(230, 106, 94, 0.12);
  --tw-gold: #e8c48a;
  --tw-ink: #edf2ff;
  position: relative;
  padding: 90px 0 110px;
  border-top: 1px solid rgba(148, 170, 220, 0.1);
  background:
    radial-gradient(720px 420px at 12% 0%, rgba(63, 224, 197, 0.07), transparent 70%),
    radial-gradient(760px 500px at 92% 24%, rgba(230, 106, 94, 0.08), transparent 72%),
    linear-gradient(180deg, #05080f 0%, #070c16 46%, #05080f 100%);
}

.tuanwu-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.tuanwu-head-main { max-width: 720px; }

.tuanwu-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--tw-gold);
  font-family: "Manrope", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.tuanwu-kicker::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tw-red);
  box-shadow: 0 0 10px rgba(230, 106, 94, 0.8);
}

.tuanwu-title {
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--tw-ink);
  letter-spacing: 0.01em;
}

.tuanwu-sub {
  margin-top: 12px;
  max-width: 660px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.tuanwu-enter {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(230, 106, 94, 0.35);
  border-radius: 999px;
  background: rgba(230, 106, 94, 0.08);
  color: #ffc4ba;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tuanwu-enter svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.tuanwu-enter:hover { background: rgba(230, 106, 94, 0.16); border-color: rgba(230, 106, 94, 0.55); }
.tuanwu-enter:hover svg { transform: translateX(3px); }

.tuanwu-dashboard { margin-bottom: 22px; }

.tuanwu-loading {
  padding: 26px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}

.tw-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 13px 16px;
  border: 1px solid rgba(232, 196, 138, 0.24);
  border-radius: 12px;
  background: rgba(232, 196, 138, 0.06);
  color: #e4d2af;
  font-size: 12.5px;
  line-height: 1.6;
}

.tw-callout svg { width: 16px; height: 16px; flex: none; color: var(--tw-gold); }
.tw-callout span { flex: 1; }
.tw-callout a { flex: none; color: var(--tw-gold); font-weight: 600; }
.tw-callout a svg { width: 13px; height: 13px; vertical-align: -2px; }

.tw-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.tw-stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 40px -32px rgba(0, 0, 0, 0.8);
}

.tw-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--tw-red-soft);
  color: var(--tw-red);
}

.tw-stat-icon svg { width: 17px; height: 17px; }
.tw-stat-body { min-width: 0; }
.tw-stat-label { display: block; color: var(--muted); font-size: 11.5px; letter-spacing: 0.04em; }

.tw-stat-value {
  display: block;
  margin: 5px 0 3px;
  font-family: var(--font);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--tw-ink);
  font-variant-numeric: tabular-nums;
}

.tw-stat-value small { margin-left: 3px; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.tw-stat-foot { display: block; color: rgba(147, 163, 192, 0.85); font-size: 10.5px; line-height: 1.5; }

.tw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.tw-col-main,
.tw-col-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.tw-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(11, 18, 32, 0.72);
  box-shadow: 0 24px 60px -46px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.tw-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 15px;
  border-bottom: 1px solid rgba(148, 170, 220, 0.08);
}

.tw-card-head h3 { color: var(--tw-ink); font-size: 15px; font-weight: 700; letter-spacing: 0.01em; }
.tw-card-head p { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: 0.02em; }

.tw-card-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  color: var(--tw-red);
  font-size: 11.5px;
  font-weight: 600;
}

.tw-card-head a svg { width: 13px; height: 13px; }
.tw-card-head a:hover { text-decoration: underline; text-underline-offset: 3px; }

.tw-org-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 15px 20px 0;
  color: var(--muted);
  font-size: 11.5px;
}

.tw-org-summary b { color: var(--tw-gold); font-family: var(--font); font-size: 16px; font-weight: 700; }

.tw-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  padding: 14px 20px 16px;
}

.tw-branch { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tw-branch-name { width: 74px; flex: none; overflow: hidden; color: #c3cde2; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.tw-branch-track { flex: 1; height: 6px; border-radius: 99px; background: rgba(148, 170, 220, 0.1); overflow: hidden; }
.tw-branch-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tw-red), var(--tw-gold)); }
.tw-branch b { width: 24px; flex: none; color: var(--muted); font-family: var(--font); font-size: 10.5px; font-weight: 600; text-align: right; }

.tw-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 20px;
  border-top: 1px solid rgba(148, 170, 220, 0.08);
  color: rgba(147, 163, 192, 0.8);
  font-size: 10.5px;
}

/* 值班安排周课表 */
.tw-duty-card { margin-top: 16px; }
.tw-duty-scroll { overflow-x: auto; }

.tw-duty-table {
  display: grid;
  grid-template-columns: 92px repeat(7, minmax(0, 1fr));
  min-width: 760px;
}

.tw-duty-corner,
.tw-duty-head,
.tw-duty-time,
.tw-duty-cell {
  border-right: 1px solid rgba(148, 170, 220, 0.08);
  border-bottom: 1px solid rgba(148, 170, 220, 0.08);
}

.tw-duty-table > *:nth-child(8n) { border-right: 0; }
.tw-duty-table > *:nth-child(n + 41) { border-bottom: 0; }

.tw-duty-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.015);
  color: rgba(147, 163, 192, 0.7);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-align: center;
}

.tw-duty-head {
  padding: 8px 6px 7px;
  background: rgba(255, 255, 255, 0.015);
  text-align: center;
}

.tw-duty-head span { display: block; color: var(--muted); font-size: 9.5px; letter-spacing: 0.04em; }
.tw-duty-head strong { display: block; margin-top: 2px; color: #d4dced; font-size: 11.5px; font-weight: 600; }
.tw-duty-head.is-today { background: rgba(255, 184, 107, 0.07); }
.tw-duty-head.is-today strong { color: var(--tw-gold); }

.tw-duty-time {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 8px 10px;
}

.tw-duty-time strong { color: #cfd8ea; font-size: 10px; font-weight: 600; white-space: nowrap; }
.tw-duty-time span { color: rgba(147, 163, 192, 0.65); font-size: 9px; }

.tw-duty-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 58px;
  padding: 6px;
}

.tw-duty-cell.is-today { background: rgba(255, 184, 107, 0.04); }

.tw-duty-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  padding: 2px 6px;
  border: 1px solid rgba(148, 170, 220, 0.14);
  border-radius: 5px;
  background: rgba(148, 170, 220, 0.08);
  color: #c4cfe4;
  font-size: 9.5px;
  line-height: 1.6;
}

.tw-duty-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-duty-chip i {
  flex: none;
  padding: 0 3px;
  border-radius: 3px;
  background: var(--mint);
  color: #04110f;
  font-size: 8px;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.tw-duty-chip.is-online {
  border-color: rgba(63, 224, 197, 0.32);
  background: rgba(63, 224, 197, 0.1);
  color: #8ff2de;
}
.tw-duty-chip.is-extra span { color: #a9f8e9; }
.tw-duty-empty { color: rgba(147, 163, 192, 0.35); font-size: 10px; text-align: center; }

.tw-tasks,
.tw-agendas,
.tw-todos,
.tw-notices {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}

.tw-task {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 20px;
  border-bottom: 1px solid rgba(148, 170, 220, 0.06);
}
.tw-task:last-child { border-bottom: 0; }
.tw-task-main { min-width: 0; }
.tw-task-main strong { display: block; color: #dde5f5; font-size: 12px; font-weight: 600; line-height: 1.5; }
.tw-task-main span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.tw-task-side { display: flex; align-items: center; gap: 8px; flex: none; }
.tw-task-due { color: rgba(147, 163, 192, 0.8); font-family: var(--font); font-size: 10.5px; }

.tw-task-submit {
  height: 24px;
  padding: 0 11px;
  border: 1px solid rgba(230, 106, 94, 0.42);
  border-radius: 999px;
  background: rgba(230, 106, 94, 0.12);
  color: #f5a79b;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.tw-task-submit:hover {
  background: rgba(230, 106, 94, 0.24);
  border-color: rgba(230, 106, 94, 0.7);
  color: #ffd2ca;
}
.tw-task-submit:focus-visible { outline: 2px solid rgba(230, 106, 94, 0.6); outline-offset: 2px; }
.tw-task-submit:active { transform: translateY(1px); }

.tw-chip {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(232, 196, 138, 0.12);
  color: var(--tw-gold);
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}

.tw-chip[data-status="待提交"] { background: var(--tw-red-soft); color: #f09a90; }
.tw-chip[data-status="进行中"] { background: rgba(110, 168, 255, 0.13); color: #9cc2ff; }
.tw-chip[data-status="已完成"] { background: rgba(63, 224, 197, 0.12); color: #7de9d5; }
.tw-chip-quiet { background: rgba(148, 170, 220, 0.1); color: var(--muted); }

.tw-agenda {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-bottom: 1px solid rgba(148, 170, 220, 0.06);
}
.tw-agenda:last-child { border-bottom: 0; }

.tw-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 46px;
  flex: none;
  border: 1px solid rgba(148, 170, 220, 0.14);
  border-radius: 10px;
  background: rgba(148, 170, 220, 0.07);
}

.tw-date span { color: var(--muted); font-size: 9px; }
.tw-date b { color: #dde5f5; font-family: var(--font); font-size: 16px; line-height: 1.1; }
.tw-date.is-today { border-color: rgba(230, 106, 94, 0.45); background: var(--tw-red-soft); }
.tw-date.is-today span, .tw-date.is-today b { color: #ffb3a9; }

.tw-agenda-main { flex: 1; min-width: 0; }
.tw-agenda-main strong { display: block; color: #dde5f5; font-size: 12px; font-weight: 600; line-height: 1.45; }
.tw-agenda-main span { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; margin-right: 10px; color: var(--muted); font-size: 10px; }
.tw-agenda-main svg { width: 11px; height: 11px; }

.tw-todo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 20px;
}

.tw-todo-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  border: 1px solid rgba(148, 170, 220, 0.28);
  border-radius: 4px;
  color: #7de9d5;
}

.tw-todo-check svg { width: 10px; height: 10px; }
.tw-todo div { min-width: 0; }
.tw-todo strong { display: block; color: #dde5f5; font-size: 11.5px; font-weight: 500; line-height: 1.5; }
.tw-todo span:not(.tw-todo-check) { display: block; margin-top: 1px; color: var(--muted); font-size: 9.5px; }
.tw-todo.is-done strong { color: rgba(147, 163, 192, 0.6); text-decoration: line-through; }
.tw-todo.is-done .tw-todo-check { border-color: rgba(63, 224, 197, 0.4); background: rgba(63, 224, 197, 0.1); }
.tw-todo-main { flex: 1; min-width: 0; }
.tw-todo .tw-todo-progress { color: rgba(201, 212, 234, 0.78); }
.tw-todo > .tw-task-submit { flex: none; margin-top: 1px; }
.tw-todo .tw-todo-done { flex: none; margin-top: 1px; color: #7de9d5; font-size: 10px; }

.tw-notice {
  padding: 11px 20px;
  border-bottom: 1px solid rgba(148, 170, 220, 0.06);
}
.tw-notice:last-child { border-bottom: 0; }
.tw-notice:first-child { padding-top: 8px; }
.tw-notice-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.tw-notice-top span { color: var(--tw-red); font-size: 9.5px; font-weight: 600; letter-spacing: 0.04em; }
.tw-notice-top time { color: rgba(147, 163, 192, 0.7); font-family: var(--font); font-size: 9.5px; }
.tw-notice strong { display: block; color: #dde5f5; font-size: 11.5px; font-weight: 600; line-height: 1.55; }
.tw-notice p { margin-top: 3px; color: var(--muted); font-size: 9.5px; }

.tw-notice-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 3px; }
.tw-notice-foot p { margin-top: 0; }

.tw-notice-view {
  flex: none;
  height: 24px;
  padding: 0 11px;
  border: 1px solid rgba(148, 170, 220, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #c9d4ea;
  font-family: inherit;
  font-size: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tw-notice-view:hover { border-color: rgba(230, 106, 94, 0.5); color: #ffb3a9; }

.tw-empty {
  padding: 24px 20px;
  color: rgba(147, 163, 192, 0.7);
  font-size: 11.5px;
  line-height: 1.7;
  text-align: center;
}

/* 文件提交 */
.tw-files { margin-top: 18px; }
.tw-live { display: inline-flex; align-items: center; gap: 6px; color: #7de9d5; font-size: 10.5px; font-weight: 600; }
.tw-live i { width: 6px; height: 6px; border-radius: 50%; background: #3fe0c5; box-shadow: 0 0 8px rgba(63, 224, 197, 0.9); animation: tw-live-pulse 1.8s ease-in-out infinite; }

@keyframes tw-live-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.tw-file-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 0;
}

.tw-file-pick {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  flex: none;
  border: 1px solid rgba(148, 170, 220, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.tw-file-pick:hover { border-color: rgba(230, 106, 94, 0.5); background: rgba(230, 106, 94, 0.08); }

.tw-file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tw-file-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  flex: none;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--tw-red), #c94a40);
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px -14px rgba(230, 106, 94, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tw-file-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(230, 106, 94, 0.8); }
.tw-file-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.tw-file-status { min-height: 18px; margin: 8px 20px 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.tw-file-status.is-success { color: #7de9d5; }
.tw-file-status.is-error { color: #ff9a90; }
.tw-file-status.is-warn { color: var(--tw-gold); }

.tw-file-hint { margin: 2px 20px 0; color: rgba(147, 163, 192, 0.75); font-size: 10.5px; line-height: 1.7; }

.tw-file-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 20px;
  border-top: 1px solid rgba(148, 170, 220, 0.08);
}

.tw-file-head h4 { color: var(--tw-ink); font-size: 12px; font-weight: 700; }
.tw-file-head span { color: var(--muted); font-size: 10.5px; }

.tw-file-list { display: flex; flex-direction: column; }

.tw-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid rgba(148, 170, 220, 0.06);
}

.tw-file-ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 9px;
  background: rgba(148, 170, 220, 0.1);
  color: #b9c8e6;
  font-family: "Manrope", sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tw-file-info { flex: 1; min-width: 0; }
.tw-file-info strong { display: block; overflow: hidden; color: #dde5f5; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.tw-file-info span { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.tw-file-download {
  flex: none;
  height: 30px;
  padding: 0 13px;
  border: 1px solid rgba(148, 170, 220, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #c9d4ea;
  font-family: inherit;
  font-size: 10.5px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tw-file-download:hover { border-color: rgba(230, 106, 94, 0.5); color: #ffb3a9; }
.tw-empty-file { padding: 26px 20px; }

/* 身份确认弹窗 */
.tw-modal[hidden] { display: none; }
.tw-modal { position: fixed; inset: 0; z-index: 9500; display: flex; align-items: center; justify-content: center; padding: 24px; }
.tw-modal-backdrop { position: absolute; inset: 0; background: rgba(3, 6, 12, 0.78); backdrop-filter: blur(8px); }
.tw-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  padding: 28px;
  border: 1px solid rgba(148, 170, 220, 0.2);
  border-radius: 20px;
  background: linear-gradient(165deg, #0c1422, #080d18);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.95);
}

.tw-modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.tw-modal-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.tw-modal-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--tw-gold); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; }
.tw-modal-kicker svg { width: 14px; height: 14px; }
.tw-modal-panel h3 { margin-top: 10px; color: var(--tw-ink); font-family: "Noto Sans SC", sans-serif; font-size: 20px; font-weight: 800; }
.tw-modal-panel > p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }

.tw-modal-panel form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.tw-modal-panel label { display: flex; flex-direction: column; gap: 6px; color: #c3cde2; font-size: 11.5px; font-weight: 600; }

.tw-modal-panel input {
  height: 42px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid rgba(148, 170, 220, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
}

.tw-modal-panel input:focus { border-color: rgba(230, 106, 94, 0.55); box-shadow: 0 0 0 3px rgba(230, 106, 94, 0.12); }
.tw-modal-error { min-height: 16px; color: #ff9a90; font-size: 11px; line-height: 1.5; }

.tw-modal-actions { display: flex; gap: 10px; margin-top: 2px; }
.tw-modal-actions button {
  flex: 1;
  height: 42px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.tw-btn-cancel { border: 1px solid rgba(148, 170, 220, 0.2); background: transparent; color: var(--muted); }
.tw-btn-confirm { border: 0; background: linear-gradient(120deg, var(--tw-red), #c94a40); color: #fff; }
.tw-btn-confirm:disabled { opacity: 0.6; cursor: not-allowed; }
.tw-modal-hint { display: block; margin-top: 12px; color: rgba(147, 163, 192, 0.6); font-size: 10px; line-height: 1.6; }
.tw-modal-open { overflow: hidden; }

/* 通知详情弹窗 */
.tw-notice-panel {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  max-height: 86vh;
  overflow: hidden;
}

.tw-notice-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 10.5px;
}

.tw-notice-detail-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tw-notice-detail-meta svg { flex: none; width: 13px; height: 13px; color: rgba(201, 212, 234, 0.7); }

.tw-notice-detail-body {
  min-height: 0;
  margin-top: 16px;
  padding-right: 6px;
  overflow-y: auto;
}

.tw-notice-detail-body p {
  margin: 0 0 10px;
  color: #c6d2e4;
  font-size: 12px;
  line-height: 1.85;
  white-space: pre-line;
}

.tw-notice-sign {
  margin-top: 14px;
  color: #dde5f5;
  font-size: 11.5px;
  line-height: 1.8;
  text-align: right;
  white-space: pre-line;
}

.tw-notice-attach {
  flex: none;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(148, 170, 220, 0.14);
}

.tw-notice-attach-label {
  color: rgba(147, 163, 192, 0.7);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.tw-notice-attach-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 170, 220, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
}

.tw-notice-attach-item svg { flex: none; width: 14px; height: 14px; color: var(--tw-gold); }

.tw-notice-attach-item strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #dde5f5;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tw-notice-attach-item small { flex: none; color: var(--muted); font-size: 10px; }

.tw-notice-panel .tw-modal-actions { margin-top: 18px; }

/* 任务提交弹窗 */
.tw-task-brief {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 170, 220, 0.12);
  border-left: 3px solid rgba(230, 106, 94, 0.6);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}
.tw-task-brief span { color: rgba(147, 163, 192, 0.85); font-size: 9.5px; letter-spacing: 0.08em; }
.tw-task-brief strong { color: #e6ecf8; font-size: 13px; font-weight: 600; line-height: 1.5; }
.tw-task-brief p { color: var(--muted); font-size: 10.5px; }
.tw-task-brief p b { color: #dde5f5; font-weight: 600; }
.tw-task-brief p i { margin: 0 5px; font-style: normal; opacity: 0.5; }

.tw-modal-panel input[type="file"] {
  height: auto;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.tw-modal-panel input[type="file"]::file-selector-button {
  margin-right: 10px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(148, 170, 220, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #c3cde2;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}
.tw-modal-panel input[type="file"]::file-selector-button:hover { background: rgba(255, 255, 255, 0.1); }
.tw-task-filename { margin: -4px 0 0; color: rgba(147, 163, 192, 0.8); font-size: 10.5px; line-height: 1.5; word-break: break-all; }

/* 轻提示 */
.tw-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 9700;
  max-width: min(520px, calc(100vw - 32px));
  padding: 11px 18px;
  border: 1px solid rgba(148, 170, 220, 0.22);
  border-radius: 999px;
  background: rgba(9, 15, 26, 0.94);
  color: #d7e0f0;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.9);
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.tw-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.tw-toast.is-success { border-color: rgba(63, 224, 197, 0.4); color: #9df0e0; }
.tw-toast.is-error { border-color: rgba(255, 138, 128, 0.45); color: #ffb1a7; }
.tw-toast.is-warn { border-color: rgba(232, 196, 138, 0.45); color: #f0d9a8; }

@media (max-width: 920px) {
  .tuanwu-section { padding: 70px 0 84px; }
  .tuanwu-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tw-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .tuanwu-section { padding: 58px 0 70px; }
  .tuanwu-title { font-size: 1.55rem; }
  .tuanwu-sub { font-size: 13px; }
  .tw-stats { gap: 9px; }
  .tw-stat { padding: 14px 13px; gap: 9px; }
  .tw-stat-icon { width: 28px; height: 28px; }
  .tw-stat-icon svg { width: 14px; height: 14px; }
  .tw-stat-value { font-size: 22px; }
  .tw-branches { grid-template-columns: minmax(0, 1fr); }
  .tw-card-head, .tw-card-foot, .tw-file-bar, .tw-file-head, .tw-file-row { padding-left: 15px; padding-right: 15px; }
  .tw-file-status, .tw-file-hint { margin-left: 15px; margin-right: 15px; }
  .tw-file-bar { flex-wrap: wrap; }
  .tw-file-name { order: 3; flex-basis: 100%; }
  .tw-task { flex-wrap: wrap; gap: 8px; }
  .tw-task-side { flex-wrap: wrap; justify-content: flex-end; width: 100%; }
  .tw-modal-panel { padding: 22px; }
}

html.view-mobile .tuanwu-section { padding: 54px 0 64px; }
html.view-mobile .tuanwu-head { flex-direction: column; align-items: flex-start; gap: 14px; }
html.view-mobile .tuanwu-title { font-size: 1.55rem; }
html.view-mobile .tw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.view-mobile .tw-grid { grid-template-columns: minmax(0, 1fr); }
html.view-mobile .tw-branches { grid-template-columns: minmax(0, 1fr); }
html.view-mobile .tw-file-bar { flex-wrap: wrap; }
html.view-mobile .tw-file-name { order: 3; flex-basis: 100%; }

/* =========================================================
   团务签到 · 定位 / 扫码
   ========================================================= */
.gateway-actions > .btn { font-family: inherit; cursor: pointer; }

.tw-ci-panel { max-width: 600px; }
.tw-ci-sub { margin: 6px 0 15px; color: var(--muted); font-size: 11px; line-height: 1.7; }

.tw-ci-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tw-ci-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 17px 16px 15px;
  border: 1px solid rgba(148, 170, 220, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.tw-ci-choice:hover {
  border-color: rgba(63, 224, 197, 0.42);
  background: rgba(63, 224, 197, 0.07);
  transform: translateY(-2px);
}
.tw-ci-choice:focus-visible { outline: 2px solid rgba(63, 224, 197, 0.6); outline-offset: 2px; }
.tw-ci-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: rgba(63, 224, 197, 0.1);
  color: var(--mint);
}
.tw-ci-choice-icon svg { width: 18px; height: 18px; }
.tw-ci-choice strong { color: var(--text); font-size: 13.5px; font-weight: 600; }
.tw-ci-choice p { color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.tw-ci-choice-tag { margin-top: 6px; color: rgba(147, 163, 192, 0.65); font-size: 9px; letter-spacing: 0.04em; }

.tw-ci-gps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px 24px;
  border: 1px solid rgba(148, 170, 220, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.tw-ci-gps-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(63, 224, 197, 0.1);
  color: var(--mint);
}

.tw-ci-gps-icon svg { width: 20px; height: 20px; }
.tw-ci-gps-icon.is-error { background: rgba(230, 106, 94, 0.12); color: #ffb3a9; }

.tw-ci-gps strong { color: var(--text); font-size: 13px; font-weight: 600; }

.tw-ci-gps .tw-ci-gps-coord { font-size: 18px; font-weight: 700; letter-spacing: 0.03em; }

.tw-ci-gps-meta { color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.tw-ci-gps-error { max-width: 360px; color: #ffb3a9; font-size: 11px; line-height: 1.75; }
.tw-ci-gps-tag { padding: 2px 8px; border-radius: 999px; background: rgba(63, 224, 197, 0.1); color: var(--mint); font-size: 9px; letter-spacing: 0.06em; }

.tw-ci-gps-links { display: flex; justify-content: center; gap: 18px; margin-top: 10px; }

.tw-ci-link {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(159, 176, 205, 0.9);
  font-family: inherit;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.tw-ci-link:hover { color: var(--mint); }

.tw-ci-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(63, 224, 197, 0.18);
  border-top-color: var(--mint);
  border-radius: 50%;
  animation: tw-ci-spin 0.9s linear infinite;
}

@keyframes tw-ci-spin { to { transform: rotate(360deg); } }

.tw-ci-map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tw-ci-map { position: relative; min-height: 286px; background: #0d1524; cursor: crosshair; overflow: hidden; }
.tw-ci-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tw-ci-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, transparent 30%, rgba(5, 10, 20, 0.5) 100%);
  pointer-events: none;
}
.tw-ci-spot {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: translate(-50%, -100%);
}
.tw-ci-spot i {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50% 50% 50% 0;
  background: #e66a5e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transform: rotate(-45deg);
  transition: background 0.18s ease, transform 0.18s ease;
}
.tw-ci-spot span {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(9, 15, 26, 0.85);
  color: #b9c6dc;
  font-size: 9px;
  white-space: nowrap;
  border: 1px solid rgba(148, 170, 220, 0.18);
}
.tw-ci-spot:hover i, .tw-ci-spot.is-active i { background: var(--mint); transform: rotate(-45deg) scale(1.18); }
.tw-ci-spot.is-active span { color: var(--mint); border-color: rgba(63, 224, 197, 0.45); }
.tw-ci-pin {
  position: absolute;
  z-index: 3;
  width: 14px;
  height: 14px;
  margin: -14px 0 0 -7px;
  border: 2px solid #eafffb;
  border-radius: 50% 50% 50% 0;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(63, 224, 197, 0.14), 0 4px 14px rgba(0, 0, 0, 0.45);
  transform: rotate(-45deg);
  pointer-events: none;
  animation: twCiDrop 0.28s ease;
}
.tw-ci-pin::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #04110f; }
@keyframes twCiDrop { from { transform: rotate(-45deg) translateY(-8px); opacity: 0; } }
.tw-ci-north {
  position: absolute;
  top: 9px;
  right: 10px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(148, 170, 220, 0.22);
  border-radius: 50%;
  background: rgba(9, 15, 26, 0.7);
  color: #9fb0cb;
  font-size: 9px;
  line-height: 22px;
  text-align: center;
}
.tw-ci-pick { display: flex; flex-direction: column; gap: 8px; padding: 15px 13px; border-left: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.tw-ci-pick > span { color: rgba(147, 163, 192, 0.7); font-size: 9px; letter-spacing: 0.08em; }
.tw-ci-pick strong { color: var(--text); font-size: 12.5px; line-height: 1.5; }
.tw-ci-pick p { color: var(--muted); font-size: 10px; line-height: 1.55; }
.tw-ci-quick { display: flex; flex-direction: column; gap: 5px; margin-top: auto; }
.tw-ci-quick button {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: #c3cde2;
  font-family: inherit;
  font-size: 9.5px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.tw-ci-quick button:hover { border-color: rgba(63, 224, 197, 0.4); }
.tw-ci-quick button.is-active { border-color: rgba(63, 224, 197, 0.5); background: rgba(63, 224, 197, 0.1); color: var(--mint); }

.tw-ci-scanner { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0 14px; }
.tw-ci-scan-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 188px;
  height: 188px;
  border: 1px solid rgba(63, 224, 197, 0.28);
  border-radius: 16px;
  background: radial-gradient(circle at 50% 50%, rgba(63, 224, 197, 0.08), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}
.tw-ci-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #04070d;
  display: none;
}
.tw-ci-scan-frame.is-live .tw-ci-video { display: block; }
.tw-ci-scan-frame.is-live .tw-ci-scan-qr { display: none; }
.tw-ci-canvas { display: none; }
.tw-ci-scan-qr { color: rgba(63, 224, 197, 0.5); }
.tw-ci-scan-qr svg { width: 74px; height: 74px; }
.tw-ci-scan-line {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  box-shadow: 0 0 12px rgba(63, 224, 197, 0.7);
  animation: twCiScan 2.1s ease-in-out infinite;
}
@keyframes twCiScan {
  0%, 100% { top: 14%; opacity: 0.5; }
  50% { top: 84%; opacity: 1; }
}
.tw-ci-scanner p { color: var(--muted); font-size: 10.5px; }
.tw-ci-scan-status { max-width: 330px; line-height: 1.6; text-align: center; }
.tw-ci-scan-status[data-scan-state="error"] { color: #ffa89f; }
.tw-ci-scan-status[data-scan-state="ok"] { color: var(--mint); }
.tw-ci-manual { display: flex; align-items: flex-end; gap: 10px; margin-top: 4px; }
.tw-ci-manual .tw-ci-code-label { flex: 1; min-width: 0; margin-bottom: 0; }
.tw-ci-manual .tw-ci-link { flex: none; padding-bottom: 10px; }
.tw-ci-code-label { display: flex; flex-direction: column; gap: 5px; margin-bottom: 8px; color: var(--muted); font-size: 10px; letter-spacing: 0.04em; }
.tw-ci-code-label input { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.04); color: var(--text); font-family: inherit; font-size: 12px; letter-spacing: 0.03em; }
.tw-ci-code-label input:focus { outline: none; border-color: rgba(63, 224, 197, 0.55); box-shadow: 0 0 0 3px rgba(63, 224, 197, 0.12); }
.tw-modal-error { min-height: 14px; margin: 8px 0 0; color: #ffa89f; font-size: 10.5px; line-height: 1.5; }

.tw-ci-summary {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 13px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.tw-ci-summary div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tw-ci-summary span { flex: none; color: var(--muted); font-size: 9.5px; letter-spacing: 0.05em; }
.tw-ci-summary strong { color: #dde5f5; font-size: 11px; font-weight: 600; text-align: right; line-height: 1.5; }

.tw-ci-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.tw-btn-cancel, .tw-btn-confirm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 35px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.tw-btn-cancel { border: 1px solid rgba(148, 170, 220, 0.2); background: rgba(255, 255, 255, 0.04); color: #c3cde2; }
.tw-btn-cancel:hover { background: rgba(255, 255, 255, 0.09); }
.tw-btn-cancel svg { width: 13px; height: 13px; }
.tw-btn-confirm { border: 1px solid rgba(63, 224, 197, 0.4); background: rgba(63, 224, 197, 0.14); color: var(--mint); }
.tw-btn-confirm:hover { background: rgba(63, 224, 197, 0.24); border-color: rgba(63, 224, 197, 0.65); }
.tw-btn-confirm:disabled { opacity: 0.4; cursor: not-allowed; }
.tw-btn-confirm:focus-visible, .tw-btn-cancel:focus-visible { outline: 2px solid rgba(63, 224, 197, 0.6); outline-offset: 2px; }
.tw-btn-confirm svg { width: 14px; height: 14px; }

.tw-ci-done { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 4px; text-align: center; }
.tw-ci-done-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  border: 1px solid rgba(63, 224, 197, 0.4);
  border-radius: 50%;
  background: rgba(63, 224, 197, 0.12);
  color: var(--mint);
  animation: twCiPop 0.35s ease;
}
.tw-ci-done-icon svg { width: 24px; height: 24px; }
@keyframes twCiPop { from { transform: scale(0.7); opacity: 0; } }
.tw-ci-done h4 { color: var(--text); font-size: 15px; font-weight: 600; }
.tw-ci-done p { color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.tw-ci-done-meta { color: rgba(63, 224, 197, 0.85) !important; }
.tw-ci-done .tw-btn-confirm { margin-top: 12px; }

@media (max-width: 640px) {
  .tw-ci-choices { grid-template-columns: minmax(0, 1fr); }
  .tw-ci-map-wrap { grid-template-columns: minmax(0, 1fr); }
  .tw-ci-map { min-height: 220px; }
  .tw-ci-pick { border-top: 1px solid var(--line); border-left: 0; }
  .tw-ci-quick { flex-direction: row; flex-wrap: wrap; margin-top: 4px; }
  .tw-ci-summary div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .tw-ci-summary strong { text-align: left; }
}

/* =========================================================
   处分信息与到期提醒
   ========================================================= */
.disc-kicker { color: #ffb1a7; }
.disc-kicker::before { background: var(--tw-red); }

.disc-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.disc-loading {
  padding: 26px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}

/* 统计 */
.disc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.disc-stat {
  position: relative;
  padding: 16px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 40px -32px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.disc-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(148, 170, 220, 0.22);
}

.disc-stat.is-soon::before { background: var(--tw-gold); }
.disc-stat.is-over::before { background: var(--tw-red); }

.disc-stat span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.disc-stat strong {
  display: block;
  margin: 4px 0 2px;
  color: var(--tw-ink);
  font-family: var(--font);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.disc-stat.is-soon strong { color: var(--tw-gold); }
.disc-stat.is-over strong { color: #ff9d92; }

.disc-stat em { display: block; color: rgba(147, 163, 192, 0.85); font-size: 10.5px; font-style: normal; line-height: 1.5; }

/* 主体 */
.disc-body {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.disc-ledger-head,
.disc-notify-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 15px;
  border-bottom: 1px solid rgba(148, 170, 220, 0.08);
}

.disc-ledger-head h3,
.disc-notify-head h3 { color: var(--tw-ink); font-size: 15px; font-weight: 700; letter-spacing: 0.01em; }
.disc-ledger-head p,
.disc-notify-head p { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: 0.02em; }

.disc-ledger-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  color: var(--tw-red);
  font-size: 11.5px;
  font-weight: 600;
}

.disc-ledger-head a svg { width: 13px; height: 13px; }
.disc-ledger-head a:hover { text-decoration: underline; text-underline-offset: 3px; }

.disc-scroll {
  max-height: 432px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 170, 220, 0.3) transparent;
}

.disc-scroll::-webkit-scrollbar { width: 8px; height: 8px; }
.disc-scroll::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(148, 170, 220, 0.28); }
.disc-scroll::-webkit-scrollbar-track { background: transparent; }

.disc-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 12px;
}

.disc-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(148, 170, 220, 0.12);
  background: #0c1422;
  color: rgba(147, 163, 192, 0.85);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: left;
  white-space: nowrap;
}

.disc-table thead th:first-child { padding-left: 20px; }
.disc-table thead th:last-child { padding-right: 20px; }

.disc-table tbody tr { transition: background 0.18s ease; }
.disc-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.disc-table tbody tr + tr { border-top: 1px solid rgba(148, 170, 220, 0.07); }

.disc-table td {
  padding: 11px 12px;
  color: #c3cde2;
  vertical-align: middle;
  white-space: nowrap;
}

.disc-table td:first-child { padding-left: 20px; }
.disc-table td:last-child { padding-right: 20px; }

.disc-student { display: flex; align-items: center; gap: 9px; min-width: 0; }

.disc-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  background: var(--tw-red-soft);
  border: 1px solid rgba(230, 106, 94, 0.28);
  color: #ffc4ba;
  font-size: 12px;
  font-weight: 700;
}

.disc-student strong { display: block; color: var(--tw-ink); font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.disc-student em { display: block; margin-top: 1px; color: rgba(147, 163, 192, 0.8); font-size: 9.5px; font-style: normal; font-variant-numeric: tabular-nums; }

.disc-level {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(232, 196, 138, 0.32);
  background: rgba(232, 196, 138, 0.1);
  color: #f0d9a8;
  font-size: 10.5px;
  font-weight: 600;
}

.disc-level[data-level="开除学籍"],
.disc-level[data-level="留校察看"] {
  border-color: rgba(230, 106, 94, 0.38);
  background: rgba(230, 106, 94, 0.12);
  color: #ffb1a7;
}

.disc-end strong { display: block; color: var(--tw-ink); font-size: 12.5px; font-weight: 700; line-height: 1.35; font-variant-numeric: tabular-nums; }

.disc-left {
  display: inline-flex;
  align-items: center;
  margin-top: 3px;
  padding: 1px 7px;
  border-radius: 99px;
  background: rgba(148, 170, 220, 0.1);
  color: rgba(147, 163, 192, 0.9);
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}

.disc-left.is-soon { background: rgba(232, 196, 138, 0.14); color: #f0d9a8; }
.disc-left.is-over { background: rgba(230, 106, 94, 0.16); color: #ffb1a7; }

.disc-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.disc-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
}

.disc-status[data-status="active"] { border: 1px solid rgba(63, 224, 197, 0.32); background: rgba(63, 224, 197, 0.1); color: #8ae9d8; }
.disc-status[data-status="expired"] { border: 1px solid rgba(230, 106, 94, 0.38); background: rgba(230, 106, 94, 0.12); color: #ffb1a7; }
.disc-status[data-status="released"] { border: 1px solid rgba(148, 170, 220, 0.24); background: rgba(148, 170, 220, 0.08); color: #b7c4dc; }
.disc-status[data-status="revoked"] { border: 1px solid rgba(148, 170, 220, 0.16); background: transparent; color: rgba(147, 163, 192, 0.75); }

.disc-ledger-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 20px;
  border-top: 1px solid rgba(148, 170, 220, 0.08);
  color: rgba(147, 163, 192, 0.8);
  font-size: 10.5px;
}

/* 到期通知 */
.disc-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(148, 170, 220, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(147, 163, 192, 0.85);
}

.disc-bell svg { width: 16px; height: 16px; }
.disc-bell.has-dot { border-color: rgba(230, 106, 94, 0.4); background: rgba(230, 106, 94, 0.1); color: #ffb1a7; }

.disc-bell i {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--tw-red);
  color: #1b0705;
  font-family: var(--font);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.disc-notify-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 16px 0;
  padding: 15px 16px 14px;
  border: 1px solid rgba(230, 106, 94, 0.22);
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(230, 106, 94, 0.09), rgba(230, 106, 94, 0.03));
}

.disc-notify-box strong { color: var(--tw-ink); font-size: 12.5px; font-weight: 700; }
.disc-notify-box p { color: var(--muted); font-size: 10.5px; line-height: 1.65; }

.disc-notify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: flex-start;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(230, 106, 94, 0.45);
  border-radius: 999px;
  background: rgba(230, 106, 94, 0.16);
  color: #ffc4ba;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.disc-notify-btn svg { width: 13px; height: 13px; }
.disc-notify-btn:hover { background: rgba(230, 106, 94, 0.26); border-color: rgba(230, 106, 94, 0.65); }
.disc-notify-btn:disabled { opacity: 0.55; cursor: not-allowed; background: rgba(148, 170, 220, 0.08); border-color: rgba(148, 170, 220, 0.24); color: var(--muted); }

.disc-notify-state { color: rgba(147, 163, 192, 0.78); font-size: 9.5px; line-height: 1.55; }
.disc-notify-state[data-permission="granted"] { color: rgba(63, 224, 197, 0.8); }
.disc-notify-state[data-permission="denied"] { color: rgba(255, 157, 146, 0.85); }

.disc-reminder-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 16px 0;
}

.disc-reminder {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(148, 170, 220, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.disc-reminder.is-soon { border-color: rgba(232, 196, 138, 0.28); background: rgba(232, 196, 138, 0.06); }
.disc-reminder.is-over { border-color: rgba(230, 106, 94, 0.3); background: rgba(230, 106, 94, 0.07); }

.disc-reminder-icon { display: inline-flex; flex: none; margin-top: 2px; color: var(--muted); }
.disc-reminder.is-soon .disc-reminder-icon { color: var(--tw-gold); }
.disc-reminder.is-over .disc-reminder-icon { color: #ff9d92; }
.disc-reminder-icon svg { width: 14px; height: 14px; }

.disc-reminder strong { display: block; color: #dde5f5; font-size: 11.5px; font-weight: 600; line-height: 1.4; }
.disc-reminder p { margin-top: 2px; color: var(--muted); font-size: 9.5px; line-height: 1.55; }

.disc-reminder-empty {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 12px;
  border: 1px dashed rgba(148, 170, 220, 0.16);
  border-radius: 10px;
  color: rgba(147, 163, 192, 0.8);
  font-size: 10.5px;
  line-height: 1.55;
}

.disc-reminder-empty svg { width: 14px; height: 14px; flex: none; color: var(--mint); }

.disc-more { padding: 8px 16px 0; color: rgba(147, 163, 192, 0.75); font-size: 9.5px; line-height: 1.55; }
.disc-note { padding: 12px 16px 16px; color: rgba(147, 163, 192, 0.6); font-size: 9px; line-height: 1.6; }

/* 空状态 */
.disc-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 24px;
  border: 1px dashed rgba(148, 170, 220, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.disc-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  border: 1px solid rgba(230, 106, 94, 0.28);
  background: var(--tw-red-soft);
  color: #ffb1a7;
}

.disc-empty-icon svg { width: 21px; height: 21px; }
.disc-empty h3 { color: var(--tw-ink); font-size: 14px; font-weight: 700; }
.disc-empty p { margin-top: 4px; max-width: 620px; color: var(--muted); font-size: 11.5px; line-height: 1.7; }

.disc-enter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  margin-left: auto;
  height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(230, 106, 94, 0.35);
  border-radius: 999px;
  background: rgba(230, 106, 94, 0.08);
  color: #ffc4ba;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.disc-enter svg { width: 14px; height: 14px; }
.disc-enter:hover { background: rgba(230, 106, 94, 0.16); border-color: rgba(230, 106, 94, 0.55); }

@media (max-width: 960px) {
  .disc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .disc-body { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .disc-stats { gap: 9px; }
  .disc-stat { padding: 14px 14px 12px; }
  .disc-stat strong { font-size: 22px; }
  .disc-table { min-width: 640px; }
  .disc-scroll { max-height: 380px; }
  .disc-ledger-head, .disc-notify-head, .disc-ledger-foot { padding-left: 15px; padding-right: 15px; }
  .disc-notify-box { margin-left: 13px; margin-right: 13px; }
  .disc-reminder-list { padding-left: 13px; padding-right: 13px; }
  .disc-empty { flex-wrap: wrap; gap: 12px; padding: 20px 16px; }
  .disc-enter { margin-left: 0; }
}

html.view-mobile .disc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.view-mobile .disc-body { grid-template-columns: minmax(0, 1fr); }
html.view-mobile .disc-empty { flex-wrap: wrap; gap: 12px; }
html.view-mobile .disc-enter { margin-left: 0; }

@media (prefers-reduced-motion: reduce) {
  .disc-table tbody tr,
  .disc-notify-btn,
  .disc-enter { transition: none; }
}



