/* ============================================================
   液态玻璃统一设计系统（Liquid Glass）
   覆盖范围：门户(index.html · body.lg-portal-theme) 与
             综合监管大屏(dashboard.html · body.lg-dash-theme)
   加载顺序：styles.css / dashboard.css 之后，作为最终材质层。
   ============================================================ */

/* ---------- 1. 设计变量（政务化收敛版） ---------- */
:root {
  --lg-blur: saturate(150%) blur(22px);
  --lg-blur-strong: saturate(150%) blur(28px);
  --lg-acc: #1a56a8;                 /* 政务蓝 */
  --lg-acc-deep: #0f3d7e;
  --lg-green: #1f7a4d;               /* 田野绿（收敛） */
  --lg-gold: #b7791f;                /* 秋粮金（收敛） */
  --lg-sky: #4a7db8;                 /* 青空蓝（收敛） */
  --lg-red: #c2372e;                 /* 庄重红（重要通知/监管） */
  --lg-ink: #14202e;
  --lg-sub: #56687a;
  --lg-glass: rgba(255, 255, 255, 0.68);
  --lg-glass-soft: rgba(255, 255, 255, 0.46);
  --lg-line: rgba(255, 255, 255, 0.6);
  --lg-r-sm: 12px;
  --lg-r-md: 18px;
  --lg-r-lg: 24px;
  --lg-shadow: 0 16px 44px rgba(23, 43, 77, 0.12);
  --lg-spec: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  --lg-spring: cubic-bezier(0.25, 0.8, 0.35, 1);
}
:root.dark {
  --lg-glass: rgba(16, 26, 38, 0.58);
  --lg-glass-soft: rgba(16, 26, 38, 0.4);
  --lg-line: rgba(150, 190, 235, 0.2);
  --lg-ink: #eef4fb;
  --lg-sub: #92a8bd;
  --lg-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --lg-spec: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

/* ---------- 2. 环境光背景（政务化：素净青灰底，微蓝光晕） ---------- */
body.lg-portal-theme::before {
  background:
    radial-gradient(64vw 46vw at 20% 0%, rgba(74, 125, 184, 0.12), transparent 62%),
    linear-gradient(180deg, #f3f5f8 0%, #eef1f5 58%, #f1f0ec 100%);
}
:root.dark body.lg-portal-theme::before {
  background:
    radial-gradient(64vw 46vw at 20% 0%, rgba(74, 125, 184, 0.14), transparent 62%),
    linear-gradient(180deg, #0a1220 0%, #0b1520 58%, #0c1016 100%);
}
body.lg-dash-theme::before {
  background:
    radial-gradient(70vw 40vw at 78% -8%, rgba(96, 150, 220, 0.12), transparent 60%),
    radial-gradient(50vw 34vw at 6% 108%, rgba(74, 125, 184, 0.1), transparent 55%),
    linear-gradient(180deg, #081525 0%, #050d1a 100%);
}

/* ---------- 3. 门户站：顶栏与全局组件（覆盖 styles.css） ---------- */
body.lg-portal-theme .sidebar {
  top: 10px;
  left: 14px;
  right: 14px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid var(--lg-line);
  background: var(--lg-glass);
  box-shadow: 0 14px 44px rgba(23, 43, 77, 0.12), var(--lg-spec);
  -webkit-backdrop-filter: var(--lg-blur-strong);
  backdrop-filter: var(--lg-blur-strong);
}
body.lg-portal-theme .brand-mark {
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lg-sky), var(--lg-acc) 55%, var(--lg-acc-deep));
  box-shadow: 0 6px 18px rgba(15, 61, 126, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
/* 导航按钮：液态玻璃胶囊（默认半透玻璃 / 悬停提亮 / 选中磨砂白玻璃）
   含「监管一张图」外链，导航区内所有控件同材质同配色 */
body.lg-portal-theme nav { gap: 8px; flex: none; }
body.lg-portal-theme nav button,
body.lg-portal-theme nav .lg-navlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: var(--lg-spec);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  color: var(--lg-sub);
  font-weight: 750;
  transition: all 0.18s var(--lg-spring);
}
body.lg-portal-theme nav button:hover,
body.lg-portal-theme nav .lg-navlink:hover {
  background: rgba(255, 255, 255, 0.62);
  color: var(--lg-ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(23, 43, 77, 0.12), var(--lg-spec);
}
body.lg-portal-theme nav button.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72));
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--lg-acc-deep);
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(23, 43, 77, 0.16), var(--lg-spec);
}
:root.dark body.lg-portal-theme nav button,
:root.dark body.lg-portal-theme nav .lg-navlink {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(150, 190, 235, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
:root.dark body.lg-portal-theme nav button:hover,
:root.dark body.lg-portal-theme nav .lg-navlink:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #eef4fb;
}
:root.dark body.lg-portal-theme nav button.active {
  background: rgba(124, 176, 238, 0.2);
  border-color: rgba(124, 176, 238, 0.38);
  color: #a7ceff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
/* 主题切换：玻璃胶囊组，选中位磨砂白 */
body.lg-portal-theme .sidebar-right .theme-switch {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: var(--lg-spec);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
}
body.lg-portal-theme .sidebar-right .theme-switch button {
  border-radius: 999px;
  color: var(--lg-sub);
  transition: all 0.18s var(--lg-spring);
}
body.lg-portal-theme .sidebar-right .theme-switch button:hover {
  color: var(--lg-ink);
  background: rgba(255, 255, 255, 0.55);
}
body.lg-portal-theme .sidebar-right .theme-switch button.active {
  background: rgba(255, 255, 255, 0.88);
  color: var(--lg-acc-deep);
  box-shadow: 0 4px 12px rgba(23, 43, 77, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
:root.dark body.lg-portal-theme .sidebar-right .theme-switch {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(150, 190, 235, 0.2);
}
:root.dark body.lg-portal-theme .sidebar-right .theme-switch button.active {
  background: rgba(124, 176, 238, 0.22);
  color: #a7ceff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* 登录按钮：草原绿染色玻璃 */
body.lg-portal-theme .login-box button {
  border-radius: 999px;
  border: 1px solid rgba(34, 160, 107, 0.35);
  background: rgba(34, 160, 107, 0.16);
  box-shadow: var(--lg-spec);
  color: #14784e;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s var(--lg-spring);
}
body.lg-portal-theme .login-box button:hover {
  background: rgba(34, 160, 107, 0.26);
  transform: translateY(-1px);
}
:root.dark body.lg-portal-theme .login-box button {
  background: rgba(34, 160, 107, 0.24);
  border-color: rgba(84, 200, 150, 0.4);
  color: #7fe0b6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
body.lg-portal-theme .topbar {
  border-radius: var(--lg-r-md);
  border-color: var(--lg-line);
  background: var(--lg-glass);
  box-shadow: var(--lg-shadow), var(--lg-spec);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
}
body.lg-portal-theme .panel {
  border-radius: var(--lg-r-md);
  border: 1px solid var(--lg-line);
  background: var(--lg-glass);
  box-shadow: var(--lg-shadow), var(--lg-spec);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
}
body.lg-portal-theme .btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: var(--lg-glass-soft);
  box-shadow: var(--lg-spec);
  transition: all 0.18s var(--lg-spring);
}
body.lg-portal-theme .btn:hover { transform: translateY(-1px); }
body.lg-portal-theme .btn.primary {
  background: linear-gradient(135deg, var(--lg-acc), var(--lg-acc-deep));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 132, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
body.lg-portal-theme .modal-content {
  border-radius: var(--lg-r-lg);
  border: 1px solid var(--lg-line);
  background: rgba(244, 248, 252, 0.86);
  box-shadow: var(--lg-shadow), var(--lg-spec);
  -webkit-backdrop-filter: var(--lg-blur-strong);
  backdrop-filter: var(--lg-blur-strong);
}
:root.dark body.lg-portal-theme .modal-content { background: rgba(14, 24, 36, 0.9); }

/* ---------- 4. 门户站：新门户组件（lg-） ---------- */
/* 4.1 Hero：玻璃巨岛（政务化：端正圆角，单一青蓝微光） */
.lg-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--lg-line);
  background: var(--lg-glass);
  box-shadow: 0 24px 70px rgba(23, 43, 77, 0.13), var(--lg-spec);
  -webkit-backdrop-filter: var(--lg-blur-strong);
  backdrop-filter: var(--lg-blur-strong);
  padding: 44px 48px 36px;
}
.lg-hero-aurora {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(34% 44% at 22% 30%, rgba(74, 125, 184, 0.22), transparent 64%),
    radial-gradient(30% 40% at 78% 70%, rgba(31, 122, 77, 0.1), transparent 62%);
  animation: lg-drift 36s ease-in-out infinite alternate;
}
@keyframes lg-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2.5%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 2.5%, 0) scale(1.03); }
}
.lg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--lg-acc-deep);
  margin-bottom: 18px;
}
.lg-eyebrow i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lg-red);
  box-shadow: 0 0 10px rgba(194, 55, 46, 0.55);
  animation: lg-pulse 2.4s infinite;
}
@keyframes lg-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
:root.dark .lg-eyebrow { color: #9ec3ee; }
.lg-hero h1 {
  font-size: 38px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--lg-ink);
  margin-bottom: 16px;
}
.lg-hero h1 em {
  font-style: normal;
  color: var(--lg-acc-deep);
}
.lg-lead {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--lg-sub);
  margin-bottom: 28px;
}
/* 搜索条 */
.lg-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 620px;
  padding: 7px 8px 7px 20px;
  border-radius: 999px;
  border: 1px solid var(--lg-line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--lg-spec), 0 10px 30px rgba(23, 43, 77, 0.1);
  margin-bottom: 22px;
}
:root.dark .lg-search { background: rgba(16, 26, 38, 0.72); }
.lg-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14.5px;
  color: var(--lg-ink);
  font-family: inherit;
}
.lg-search input::placeholder { color: #99a7b5; }
.lg-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--lg-acc), var(--lg-acc-deep));
  box-shadow: 0 8px 18px rgba(10, 132, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.18s var(--lg-spring);
}
.lg-search button:hover { filter: brightness(1.1); }

/* Hero 快捷角色卡片 */
.lg-hero-role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 16px;
}
@media (max-width: 860px) {
  .lg-hero-role-cards {
    grid-template-columns: 1fr;
  }
}
.lg-hero-role-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-radius: 18px;
  border: 1px solid var(--lg-line);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--lg-spec);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
:root.dark .lg-hero-role-card {
  background: rgba(255, 255, 255, 0.08);
}
.lg-hero-role-card:hover {
  transform: translateY(-3px);
  border-color: var(--rc, var(--lg-acc));
  box-shadow: 0 12px 26px rgba(23, 43, 77, 0.14), 0 0 0 1px var(--rc, var(--lg-acc)), var(--lg-spec);
}
.lg-hero-role-card:active {
  transform: translateY(-1px) scale(0.99);
}
.lg-hero-role-card .lg-hero-role-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--rc, var(--lg-acc)), color-mix(in srgb, var(--rc, var(--lg-acc)) 55%, #000 10%));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 14px rgba(23, 43, 77, 0.18);
}
.lg-hero-role-card .lg-hero-role-text {
  flex: 1;
  min-width: 0;
}
.lg-hero-role-card .lg-hero-role-text b {
  display: block;
  font-size: 15px;
  color: var(--lg-ink);
  font-weight: 800;
  margin-bottom: 2px;
}
.lg-hero-role-card .lg-hero-role-text span {
  display: block;
  font-size: 12px;
  color: var(--lg-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lg-hero-role-card .lg-hero-role-arrow {
  margin-left: auto;
  font-style: normal;
  color: var(--rc, var(--lg-sub));
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.lg-hero-role-card:hover .lg-hero-role-arrow {
  transform: translateX(4px);
}

/* 快捷胶囊 */
.lg-quick-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.lg-quick-pills a {
  font-size: 13px;
  font-weight: 700;
  color: var(--lg-ink);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--lg-line);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.18s var(--lg-spring);
}
:root.dark .lg-quick-pills a { color: #d7e6f5; background: rgba(255, 255, 255, 0.08); }
.lg-quick-pills a:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(23, 43, 77, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.6); }

/* 4.2 通用面板与区块头 */
.lg-panel {
  border-radius: var(--lg-r-lg);
  border: 1px solid var(--lg-line);
  background: var(--lg-glass);
  box-shadow: var(--lg-shadow), var(--lg-spec);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  padding: 26px 28px;
}
.lg-grid-2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.lg-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 6px 4px 0;
}
.lg-section-head h3 { font-size: 21px; font-weight: 900; color: var(--lg-ink); letter-spacing: 0.5px; }
.lg-section-head span { font-size: 11px; font-weight: 800; letter-spacing: 2px; color: var(--lg-sub); text-transform: uppercase; }
.lg-section-head .lg-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(122, 148, 175, 0.4), transparent); }
.lg-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.lg-panel-head h3 { font-size: 19px; font-weight: 900; color: var(--lg-ink); }
.lg-chip {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--lg-sub);
  border: 1px solid rgba(122, 148, 175, 0.4);
  border-radius: 999px;
  padding: 3px 11px;
  background: rgba(255, 255, 255, 0.35);
}

/* 4.3 通知与动态（tab + 列表） */
.lg-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(122, 148, 175, 0.12); }
.lg-tab {
  border: 0;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--lg-sub);
  background: transparent;
  cursor: pointer;
  transition: all 0.18s var(--lg-spring);
}
.lg-tab.active {
  color: var(--lg-ink);
  background: var(--lg-glass);
  box-shadow: 0 4px 14px rgba(23, 43, 77, 0.12), var(--lg-spec);
}
.lg-news-list { list-style: none; display: flex; flex-direction: column; }
.lg-news-list li { border-bottom: 1px dashed rgba(122, 148, 175, 0.28); }
.lg-news-list li:last-child { border-bottom: 0; }
.lg-news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 13px 6px;
  border-radius: 12px;
  transition: background 0.15s;
}
.lg-news-item:hover { background: rgba(255, 255, 255, 0.45); }
:root.dark .lg-news-item:hover { background: rgba(255, 255, 255, 0.06); }
.lg-news-item b {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--lg-ink);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lg-news-item b::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lg-acc);
  flex: none;
}
.lg-news-item time { font-size: 12px; color: var(--lg-sub); font-variant-numeric: tabular-nums; flex: none; }
/* 政务要素：重要通知红标 */
.lg-tag-hot {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  background: var(--lg-red);
  border-radius: 4px;
  padding: 2px 7px;
  margin-right: 8px;
  flex: none;
}
.lg-empty { padding: 26px; text-align: center; color: var(--lg-sub); font-size: 13px; }
.lg-more {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--lg-acc);
  text-decoration: none;
}

/* 4.4 按身份办事 */
.lg-role-list { display: flex; flex-direction: column; gap: 11px; }
.lg-role-list a, .lg-role-list button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  text-decoration: none;
  border: 1px solid var(--lg-line);
  border-radius: 18px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: var(--lg-spec);
  cursor: pointer;
  font: inherit;
  transition: all 0.18s var(--lg-spring);
}
:root.dark .lg-role-list a, :root.dark .lg-role-list button { background: rgba(255, 255, 255, 0.06); }
.lg-role-list a:hover, .lg-role-list button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23, 43, 77, 0.13), var(--lg-spec); }
.lg-role-list i {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--rc, var(--lg-acc)), color-mix(in srgb, var(--rc, var(--lg-acc)) 55%, #000 10%));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 14px rgba(23, 43, 77, 0.18);
}
.lg-role-list b { display: block; font-size: 14.5px; color: var(--lg-ink); font-weight: 800; }
.lg-role-list span { display: block; font-size: 12px; color: var(--lg-sub); margin-top: 2px; }
.lg-role-list em { margin-left: auto; font-style: normal; color: var(--lg-sub); font-size: 16px; }

/* 4.5 业务办理入口 */
.lg-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lg-service {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 3px;
  align-items: center;
  text-align: left;
  text-decoration: none;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-md);
  padding: 20px 22px;
  background: var(--lg-glass-soft);
  box-shadow: var(--lg-spec);
  cursor: pointer;
  font: inherit;
  transition: all 0.22s var(--lg-spring);
  position: relative;
  overflow: hidden;
}
.lg-service:hover {
  transform: translateY(-3px);
  background: var(--lg-glass);
  box-shadow: 0 16px 40px rgba(23, 43, 77, 0.15), var(--lg-spec);
}
.lg-service::after {
  content: "→";
  position: absolute;
  right: 18px; top: 18px;
  color: var(--lg-sub);
  font-size: 15px;
  transition: transform 0.22s var(--lg-spring);
}
.lg-service:hover::after { transform: translateX(4px); color: var(--lg-acc); }
.lg-service i {
  grid-row: 1 / 3;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--sc, var(--lg-acc)), color-mix(in srgb, var(--sc, var(--lg-acc)) 60%, #12314f 40%));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 18px rgba(23, 43, 77, 0.2);
}
.lg-service b { font-size: 15.5px; font-weight: 800; color: var(--lg-ink); }
.lg-service span { font-size: 12px; color: var(--lg-sub); line-height: 1.6; }

/* 4.6 运行数据 */
.lg-data { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.lg-tile {
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-md);
  background: var(--lg-glass-soft);
  box-shadow: var(--lg-spec);
  padding: 18px 20px;
  position: relative;
}
.lg-tile b {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--lg-ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}
.lg-tile b em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--lg-sub); margin-left: 2px; }
.lg-tile span { font-size: 12px; color: var(--lg-sub); }
.lg-tile.live::before {
  content: "";
  position: absolute;
  top: 16px; right: 16px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lg-green);
  box-shadow: 0 0 10px rgba(31, 122, 77, 0.7);
  animation: lg-pulse 2.4s infinite;
}
.lg-data-note { font-size: 11.5px; color: var(--lg-sub); text-align: right; margin-top: 10px; }

/* 4.7 页脚 */
.lg-footer {
  border-radius: var(--lg-r-md);
  border: 1px solid var(--lg-line);
  background: var(--lg-glass-soft);
  box-shadow: var(--lg-spec);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 20px;
  font-size: 12.5px;
  color: var(--lg-sub);
  line-height: 2;
}
.lg-footer h5 { font-size: 13px; font-weight: 800; color: var(--lg-ink); margin-bottom: 6px; }
.lg-footer .lg-flinks { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.lg-footer .lg-govlinks { flex-direction: column; gap: 2px; align-items: flex-start; }
.lg-footer .lg-flinks a, .lg-footer .lg-flinks button {
  background: none; border: 0; padding: 0;
  font: inherit;
  color: var(--lg-acc);
  cursor: pointer;
  text-decoration: none;
}
.lg-footer .lg-flinks a:hover, .lg-footer .lg-flinks button:hover { text-decoration: underline; }
.lg-copyright { grid-column: 1 / -1; border-top: 1px solid rgba(122, 148, 175, 0.25); padding-top: 14px; font-size: 12px; }

/* ---------- 5. 大屏：与门户同一套玻璃材质（暗色） ---------- */
body.lg-dash-theme .db-header {
  border-bottom: 1px solid rgba(96, 150, 220, 0.18);
  background: rgba(10, 24, 44, 0.55);
  -webkit-backdrop-filter: var(--lg-blur-strong);
  backdrop-filter: var(--lg-blur-strong);
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
body.lg-dash-theme .db-panel {
  border-radius: 20px;
  border: 1px solid rgba(120, 178, 235, 0.16);
  background: rgba(13, 30, 54, 0.62);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}
body.lg-dash-theme .db-panel::before,
body.lg-dash-theme .db-panel::after { opacity: 0.45; border-radius: 14px; }
body.lg-dash-theme .db-map-wrap {
  border-radius: 22px;
  border-color: rgba(96, 150, 220, 0.24);
}
body.lg-dash-theme .db-tile,
body.lg-dash-theme .db-map-foot > div,
body.lg-dash-theme .db-alert-stats > div,
body.lg-dash-theme .db-app,
body.lg-dash-theme .db-chain {
  border-radius: 14px;
  background: rgba(120, 178, 235, 0.06);
  border-color: rgba(120, 178, 235, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
body.lg-dash-theme .db-back {
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
body.lg-dash-theme .db-brand .db-logo {
  border-radius: 11px;
  background: linear-gradient(135deg, #4a8fd6, #1a56a8 55%, #0f3d7e);
  box-shadow: 0 6px 20px rgba(26, 86, 168, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ---------- 6. 动效与无障碍 ---------- */
@media (prefers-reduced-motion: reduce) {
  .lg-hero-aurora { animation: none; }
  .lg-eyebrow i, .lg-tile.live::before { animation: none; }
}
* :focus-visible { outline: 2px solid var(--lg-acc); outline-offset: 2px; border-radius: 8px; }

/* ---------- 7. 响应式 ---------- */
@media (max-width: 1100px) {
  .lg-grid-2 { grid-template-columns: 1fr; }
  .lg-services { grid-template-columns: repeat(2, 1fr); }
  .lg-data { grid-template-columns: repeat(3, 1fr); }
  .lg-hero { padding: 40px 30px 34px; }
}
@media (max-width: 640px) {
  .lg-hero h1 { font-size: 30px; }
  .lg-services { grid-template-columns: 1fr; }
  .lg-data { grid-template-columns: repeat(2, 1fr); }
  .lg-footer { grid-template-columns: 1fr; }
}
/* 中窄屏：胶囊收紧、隐藏品牌副标题，防止顶栏溢出导致文字被竖排挤压 */
@media (max-width: 1320px) {
  body.lg-portal-theme nav button,
  body.lg-portal-theme nav .lg-navlink { padding: 6px 11px; font-size: 12.5px; }
  body.lg-portal-theme .brand-copy span { display: none; }
}
/* 窄屏：顶栏允许换行堆叠，玻璃胶囊收窄 */
@media (max-width: 1140px) {
  body.lg-portal-theme .sidebar { height: auto; flex-wrap: wrap; padding: 10px 16px; }
  body.lg-portal-theme nav { flex-wrap: wrap; row-gap: 6px; }
  body.lg-portal-theme .sidebar-right { flex-wrap: wrap; row-gap: 6px; }
}
@media (max-width: 760px) {
  body.lg-portal-theme nav button,
  body.lg-portal-theme nav .lg-navlink { padding: 6px 12px; font-size: 12px; }
}