/* ============================================================
   mekpoo 沉浸式科幻主题 — 叠加层（保留原有布局与内容）
   ============================================================ */
/* 使用系统字体，避免 Google Fonts 在国内超时阻塞 */
:root {
  --sci-bg: #060b14;
  --sci-bg2: #0c1424;
  --sci-panel: rgba(12, 22, 42, 0.82);
  --sci-glass: rgba(8, 18, 38, 0.65);
  --sci-cyan: #00e5ff;
  --sci-cyan-dim: rgba(0, 229, 255, 0.35);
  --sci-purple: #a855f7;
  --sci-magenta: #ff2d95;
  --sci-text: #c8d6e8;
  --sci-text-dim: #6b7f9a;
  --sci-border: rgba(0, 229, 255, 0.25);
  --sci-glow: 0 0 20px rgba(0, 229, 255, 0.35), 0 0 40px rgba(168, 85, 247, 0.15);
  --sci-radius: 12px;
}

body.sci-fi-theme {
  font-family: 'Segoe UI', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
  background: var(--sci-bg) !important;
  color: var(--sci-text) !important;
  min-height: 100vh;
}

/* 动态背景层 */
#sci-fi-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* 勿给所有顶层子元素统一 z-index:1，否则会挡住 fixed 搜索层/登录弹窗 */
body.sci-fi-theme #pc-header,
body.sci-fi-theme .layout,
body.sci-fi-theme footer {
  position: relative;
  z-index: 2;
}

/* 扫描线叠加 */
body.sci-fi-theme::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 229, 255, 0.015) 2px,
    rgba(0, 229, 255, 0.015) 4px
  );
  pointer-events: none;
  z-index: 9998;
}

/* 导航 */
body.sci-fi-theme #pc-header .navbar {
  background: rgba(6, 11, 20, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sci-border) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), var(--sci-glow) !important;
}

body.sci-fi-theme #pc-header .nav li a,
body.sci-fi-theme #pc-header a.search-ico i,
body.sci-fi-theme #pc-header a.shop-ico i {
  color: var(--sci-text) !important;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.05em;
}

body.sci-fi-theme #pc-header .nav li.active a,
body.sci-fi-theme #pc-header .nav li a:hover,
body.sci-fi-theme #pc-header .nav li:hover a.first-level {
  color: var(--sci-cyan) !important;
  text-shadow: 0 0 12px var(--sci-cyan-dim);
}

/* ========== 二级下拉菜单修复（消除间隙、可点击、完整显示） ========== */
body.sci-fi-theme #pc-header {
  position: relative;
  z-index: 10050;
}

body.sci-fi-theme #pc-header .navbar,
body.sci-fi-theme #pc-header .container-layout,
body.sci-fi-theme #pc-header .line {
  overflow: visible !important;
}

body.sci-fi-theme #pc-header .nav.nav-menu.nav-inline > li {
  position: relative;
}

/* 父级与下拉之间的“桥接”悬停区，防止鼠标下移时菜单消失 */
body.sci-fi-theme #pc-header .nav > li.nav-has-child::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  z-index: 10049;
}

body.sci-fi-theme #pc-header .nav li ul.drop-menu,
body.sci-fi-theme #pc-header .nav-inline.nav-menu > li > ul.drop-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  min-width: 200px !important;
  width: max-content !important;
  max-width: 280px;
  height: auto !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible;
  pointer-events: auto;
  z-index: 10051 !important;
  border-radius: 8px !important;
  background: rgba(10, 18, 36, 0.96) !important;
  border: 1px solid var(--sci-border) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), var(--sci-glow) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  list-style: none !important;
}

body.sci-fi-theme #pc-header .nav-menu > li:hover > ul.drop-menu,
body.sci-fi-theme #pc-header .nav-menu > li.nav-has-child:hover > ul.drop-menu,
body.sci-fi-theme #pc-header .nav-menu > li:focus-within > ul.drop-menu,
body.sci-fi-theme #pc-header .nav li ul.drop-menu:hover {
  display: block !important;
}

body.sci-fi-theme #pc-header .nav li ul.drop-menu li {
  display: block !important;
  float: none !important;
  width: 100% !important;
  border: none !important;
}

body.sci-fi-theme #pc-header .nav li ul.drop-menu li a,
body.sci-fi-theme #pc-header .nav li ul li a {
  display: block !important;
  line-height: 42px !important;
  height: auto !important;
  padding: 0 22px !important;
  color: var(--sci-text) !important;
  background: transparent !important;
  font-size: 14px !important;
  white-space: nowrap;
  text-align: left !important;
}

body.sci-fi-theme #pc-header .nav li ul.drop-menu li a:hover,
body.sci-fi-theme #pc-header .nav li ul li a:hover {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.22), rgba(168, 85, 247, 0.12)) !important;
  color: var(--sci-cyan) !important;
}

body.sci-fi-theme .log-in a.user-ico {
  background: rgba(0, 229, 255, 0.12) !important;
  border: 1px solid var(--sci-border);
  box-shadow: var(--sci-glow);
}

/* 布局与区块 */
body.sci-fi-theme .layout.bg-gray,
body.sci-fi-theme .layout.bg-white {
  background: transparent !important;
}

body.sci-fi-theme .bg-white,
body.sci-fi-theme .media.bg-white {
  background: var(--sci-panel) !important;
  border: 1px solid var(--sci-border) !important;
  box-shadow: var(--sci-glow), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px);
  color: var(--sci-text) !important;
}

body.sci-fi-theme .bg-gray {
  background: rgba(8, 14, 28, 0.6) !important;
}

body.sci-fi-theme .bg-main,
body.sci-fi-theme footer.bg-main {
  background: linear-gradient(180deg, #080e1a 0%, #040810 100%) !important;
  border-top: 1px solid var(--sci-border);
  box-shadow: 0 -8px 40px rgba(0, 229, 255, 0.08);
}

body.sci-fi-theme footer a,
body.sci-fi-theme footer p,
body.sci-fi-theme footer h3 {
  color: var(--sci-text-dim) !important;
}

body.sci-fi-theme footer a:hover {
  color: var(--sci-cyan) !important;
}

body.sci-fi-theme footer .bg-yellow {
  background: linear-gradient(135deg, var(--sci-cyan), var(--sci-purple)) !important;
}

/* 标题 */
body.sci-fi-theme .title-c h3,
body.sci-fi-theme .title-l h2,
body.sci-fi-theme h1,
body.sci-fi-theme h2,
body.sci-fi-theme h3 {
  font-family: 'Orbitron', 'Rajdhani', sans-serif !important;
  color: #e8f4ff !important;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

body.sci-fi-theme .title-c h3::after,
body.sci-fi-theme .home-about h2:before {
  background: linear-gradient(90deg, var(--sci-cyan), var(--sci-purple)) !important;
  box-shadow: 0 0 10px var(--sci-cyan);
}

/* 链接与文字色 */
body.sci-fi-theme a {
  color: var(--sci-cyan-dim);
  transition: color 0.25s, text-shadow 0.25s;
}

body.sci-fi-theme a:hover {
  color: var(--sci-cyan) !important;
  text-shadow: 0 0 8px var(--sci-cyan-dim);
}

body.sci-fi-theme .text-main { color: var(--sci-cyan) !important; }
body.sci-fi-theme .text-gray,
body.sci-fi-theme .text-default { color: var(--sci-text-dim) !important; }
body.sci-fi-theme .text-white { color: #e8f4ff !important; }

/* 按钮 */
body.sci-fi-theme .button.bg-yellow,
body.sci-fi-theme .bg-yellow.button,
body.sci-fi-theme .btn.button.bg-yellow {
  background: linear-gradient(135deg, #00c8e0 0%, #7c3aed 50%, #ff2d95 100%) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35), 0 0 30px rgba(168, 85, 247, 0.2) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.3s !important;
}

body.sci-fi-theme .button.bg-yellow:hover,
body.sci-fi-theme .bg-yellow.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 229, 255, 0.5) !important;
}

body.sci-fi-theme .button.bg-gray {
  background: var(--sci-glass) !important;
  border: 1px solid var(--sci-border) !important;
  color: var(--sci-text) !important;
}

/* Tab */
body.sci-fi-theme .tab-normal .tab .tab-nav li a {
  background: var(--sci-glass) !important;
  color: var(--sci-text-dim) !important;
  border: 1px solid var(--sci-border) !important;
}

body.sci-fi-theme .tab-normal .tab .tab-nav .active a,
body.sci-fi-theme .tab-normal .tab .tab-nav li a:hover {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(168, 85, 247, 0.25)) !important;
  color: var(--sci-cyan) !important;
  border-color: var(--sci-cyan) !important;
  box-shadow: var(--sci-glow);
}

/* 列表页条目（白底条改为科幻面板） */
body.sci-fi-theme .normal-list li {
  background: var(--sci-panel) !important;
  border: 1px solid var(--sci-border) !important;
  border-radius: var(--sci-radius) !important;
  margin-bottom: 14px !important;
  box-shadow: var(--sci-glow);
  border-bottom: 1px solid var(--sci-border) !important;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

body.sci-fi-theme .normal-list li a {
  color: var(--sci-text) !important;
  background: transparent !important;
}

body.sci-fi-theme .normal-list li span {
  color: var(--sci-text-dim) !important;
}

body.sci-fi-theme .normal-list li.dot a:before {
  background: var(--sci-cyan) !important;
  box-shadow: 0 0 8px var(--sci-cyan-dim);
}

body.sci-fi-theme .normal-list li:hover {
  background: rgba(0, 229, 255, 0.12) !important;
  border-color: var(--sci-cyan) !important;
  transform: translateX(4px);
}

body.sci-fi-theme .normal-list li:hover a,
body.sci-fi-theme .normal-list li:hover span {
  color: var(--sci-cyan) !important;
}

body.sci-fi-theme .normal-list li:hover.dot a:before {
  background: #fff !important;
}

/* 标签 */
body.sci-fi-theme .tags {
  color: var(--sci-cyan) !important;
  border-color: var(--sci-cyan) !important;
  background: rgba(0, 229, 255, 0.08) !important;
}

/* 轮播与卡片悬停 */
body.sci-fi-theme .carousel-pro .media:hover,
body.sci-fi-theme .solution .media-img:hover .mask {
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.25);
}

body.sci-fi-theme .download-detail {
  border: 1px solid var(--sci-border);
  box-shadow: var(--sci-glow);
}

/* 面包屑 */
body.sci-fi-theme .nav-bread {
  color: var(--sci-text-dim);
}

/* 文章内容区（详情页正文与后台录入的白底块统一科幻风） */
body.sci-fi-theme .article .post,
body.sci-fi-theme .article h1 {
  color: #e8f4ff !important;
}

body.sci-fi-theme .article .post p,
body.sci-fi-theme .article .post li,
body.sci-fi-theme .article .post td,
body.sci-fi-theme .article .post th,
body.sci-fi-theme .article .post span,
body.sci-fi-theme .article .post div {
  color: var(--sci-text) !important;
}

body.sci-fi-theme .article .post h2,
body.sci-fi-theme .article .post h3,
body.sci-fi-theme .article .post h4,
body.sci-fi-theme .article .post h5,
body.sci-fi-theme .article .post strong {
  color: #e8f4ff !important;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

/* 覆盖正文里 inline 白底/灰底 */
body.sci-fi-theme .article .post div,
body.sci-fi-theme .article .post section,
body.sci-fi-theme .article .post article,
body.sci-fi-theme .article .post table,
body.sci-fi-theme .article .post tbody,
body.sci-fi-theme .article .post tr,
body.sci-fi-theme .article .post td,
body.sci-fi-theme .article .post th,
body.sci-fi-theme .article .post blockquote,
body.sci-fi-theme .article .post [style*="background-color"],
body.sci-fi-theme .article .post [style*="background:"] {
  background: rgba(12, 22, 42, 0.55) !important;
  background-color: rgba(12, 22, 42, 0.55) !important;
  border: 1px solid var(--sci-border) !important;
  border-radius: 8px;
}

body.sci-fi-theme .article .post > div,
body.sci-fi-theme .article .post > section {
  padding: 16px 20px !important;
  margin-bottom: 16px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.sci-fi-theme .article .post img {
  border-radius: 8px;
  border: 1px solid var(--sci-border);
}

body.sci-fi-theme .padding-large.radius-middle,
body.sci-fi-theme .sidebar-l .bg-white,
body.sci-fi-theme .download-detail.bg-white {
  background: var(--sci-panel) !important;
  border: 1px solid var(--sci-border) !important;
  color: var(--sci-text) !important;
}

body.sci-fi-theme .layout.bg-white .container,
body.sci-fi-theme .layout.bg-white .line {
  background: transparent !important;
}

body.sci-fi-theme .border-top {
  border-color: var(--sci-border) !important;
}

/* 登录弹窗（含 pintuer 弹出后的 .dialog-win） */
body.sci-fi-theme #log .dialog,
body.sci-fi-theme .dialog-win .sci-login-dialog,
body.sci-fi-theme .dialog-win .dialog.open {
  background: var(--sci-panel) !important;
  border: 1px solid var(--sci-border) !important;
  box-shadow: var(--sci-glow), 0 20px 60px rgba(0, 0, 0, 0.6) !important;
  border-radius: var(--sci-radius) !important;
}

body.sci-fi-theme .dialog-win .dialog-head,
body.sci-fi-theme #log .sci-login-head {
  background: rgba(0, 229, 255, 0.08) !important;
  border-bottom: 1px solid var(--sci-border) !important;
  padding: 14px 20px !important;
}

body.sci-fi-theme .sci-login-title {
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  font-size: 18px;
  color: var(--sci-cyan) !important;
  letter-spacing: 0.1em;
}

body.sci-fi-theme #log .dialog-body,
body.sci-fi-theme .dialog-win .sci-login-body {
  background: transparent !important;
  padding: 20px 32px 32px !important;
}

body.sci-fi-theme #log .input,
body.sci-fi-theme .dialog-win .dialog-body .input {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid var(--sci-border) !important;
  color: var(--sci-text) !important;
}

body.sci-fi-theme #log .input:focus,
body.sci-fi-theme .dialog-win .dialog-body .input:focus {
  border-color: var(--sci-cyan) !important;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.25) !important;
}

body.sci-fi-theme #log .input::-webkit-input-placeholder,
body.sci-fi-theme .dialog-win .dialog-body .input::-webkit-input-placeholder {
  color: var(--sci-text-dim) !important;
}

/* 登录密码：不用原生 placeholder，避免被写成 undefined */
body.sci-fi-theme .mekpoo-login-pwd-wrap {
  position: relative;
}

body.sci-fi-theme .mekpoo-login-fake-ph {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sci-text-dim);
  pointer-events: none;
  z-index: 2;
  font-size: 14px;
  line-height: 1;
}

body.sci-fi-theme .mekpoo-login-pwd-wrap.mekpoo-has-value .mekpoo-login-fake-ph,
body.sci-fi-theme .mekpoo-login-pwd-wrap input:focus + .mekpoo-login-fake-ph {
  visibility: hidden;
  opacity: 0;
}

body.sci-fi-theme .register .tab li.cur,
body.sci-fi-theme .sci-login-tabs li.cur {
  color: var(--sci-cyan) !important;
  border-bottom: 2px solid var(--sci-cyan);
}

body.sci-fi-theme .sci-login-links a {
  color: var(--sci-cyan) !important;
}

body.sci-fi-theme .sci-login-links a:hover {
  color: #fff !important;
}

body.sci-fi-theme #ey_third_party_login .line span {
  background: var(--sci-panel) !important;
  color: var(--sci-text-dim) !important;
}

body.sci-fi-theme #ey_third_party_login hr {
  border-color: var(--sci-border) !important;
}

body.sci-fi-theme .dialog-mask {
  background: rgba(6, 11, 20, 0.75) !important;
  z-index: 10000 !important;
}

body.sci-fi-theme .dialog-win {
  z-index: 100001 !important;
  pointer-events: auto !important;
}

body.sci-fi-theme .dialog-mask {
  pointer-events: auto !important;
}

body.sci-fi-theme .dialog-win .dialog,
body.sci-fi-theme .dialog-win .dialog.open,
body.sci-fi-theme .dialog-win form,
body.sci-fi-theme .dialog-win input,
body.sci-fi-theme .dialog-win button {
  pointer-events: auto !important;
}

body.sci-fi-theme .dialog-win .dialog-close.close {
  filter: invert(1) brightness(1.2);
}

/* 搜索弹层 */
body.sci-fi-theme .searchBar-m,
body.mekpoo-search-open .searchBar-m {
  display: none;
  z-index: 100003 !important;
  pointer-events: auto !important;
}

body.mekpoo-search-open .searchBar-m {
  display: block !important;
}

body.sci-fi-theme #pc-header .searchBar,
body.sci-fi-theme #pc-header .searchBar a {
  position: relative;
  z-index: 100004 !important;
  pointer-events: auto !important;
}

body.sci-fi-theme .searchBar-m .mask,
body.sci-fi-theme .searchBar-m .mask-ico,
body.sci-fi-theme .searchBar-m .form-group,
body.sci-fi-theme .searchBar-m .input,
body.sci-fi-theme .searchBar-m .button {
  pointer-events: auto !important;
}

body.sci-fi-theme .searchBar-m .input {
  border-bottom-color: var(--sci-cyan) !important;
  color: #fff !important;
}

body.sci-fi-theme .searchBar-m .button {
  filter: brightness(1.5);
}

/* 科幻组件 */
.sci-panel {
  margin-top: 24px;
  padding: 24px;
  background: var(--sci-panel);
  border: 1px solid var(--sci-border);
  border-radius: var(--sci-radius);
  box-shadow: var(--sci-glow);
  position: relative;
  overflow: hidden;
}

.sci-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sci-cyan), var(--sci-purple), transparent);
  animation: sci-scan 3s linear infinite;
}

@keyframes sci-scan {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.sci-section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  color: var(--sci-cyan);
  margin: 0 0 16px;
  letter-spacing: 0.08em;
}

.sci-section-title .mekpoo-comment-count {
  display: inline-block;
  min-width: 24px;
  padding: 2px 8px;
  margin-left: 8px;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid var(--sci-border);
  border-radius: 20px;
  font-size: 13px;
  text-align: center;
}

.sci-glass {
  background: var(--sci-glass);
  border: 1px solid var(--sci-border);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.sci-btn-primary {
  background: linear-gradient(135deg, var(--sci-cyan), var(--sci-purple)) !important;
  border: none !important;
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 6px !important;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.3);
}

.sci-btn-outline {
  background: transparent !important;
  border: 1px solid var(--sci-cyan) !important;
  color: var(--sci-cyan) !important;
  padding: 8px 20px !important;
  border-radius: 6px !important;
}

.sci-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--sci-border);
  border-radius: 8px;
  color: var(--sci-text);
  font-size: 15px;
  resize: vertical;
  box-sizing: border-box;
}

.sci-input:focus {
  outline: none;
  border-color: var(--sci-cyan);
  box-shadow: 0 0 12px var(--sci-cyan-dim);
}

/* 评论模块 */
.mekpoo-comment-login-tip {
  text-align: center;
  padding: 28px 16px;
  color: var(--sci-text-dim);
}

.mekpoo-comment-form {
  padding: 16px;
  margin-bottom: 20px;
}

.mekpoo-comment-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mekpoo-comment-avatar,
.mekpoo-comment-item-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--sci-cyan-dim);
  object-fit: cover;
}

.mekpoo-comment-nickname,
.mekpoo-comment-item-name {
  font-weight: 600;
  color: var(--sci-cyan);
}

.mekpoo-comment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.mekpoo-comment-char-count {
  color: var(--sci-text-dim);
  font-size: 13px;
}

.mekpoo-comment-item {
  padding: 16px;
  margin-bottom: 12px;
  animation: sci-fade-in 0.4s ease;
}

@keyframes sci-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mekpoo-comment-item-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mekpoo-comment-item-time {
  font-size: 12px;
  color: var(--sci-text-dim);
}

.mekpoo-comment-item-head {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.mekpoo-comment-item-body {
  color: var(--sci-text);
  line-height: 1.7;
  padding-left: 52px;
  word-break: break-word;
}

.mekpoo-comment-loading,
.mekpoo-comment-empty {
  text-align: center;
  padding: 24px;
  color: var(--sci-text-dim);
}

.mekpoo-comment-more-wrap {
  text-align: center;
  margin-top: 16px;
}

/* 首页增强 */
body.sci-fi-theme .slides .item img {
  border-radius: var(--sci-radius);
  border: 1px solid var(--sci-border);
}

body.sci-fi-theme ::selection {
  background: var(--sci-purple);
  color: #fff;
}

/* 移动端基础 */
body.sci-fi-theme.mobi-header .header,
body.sci-fi-theme #mobi-header,
body.sci-fi-theme #pc-header {
  background: rgba(6, 11, 20, 0.92) !important;
  border-bottom: 1px solid var(--sci-border);
}

body.sci-fi-theme #m-b-bar {
  background: linear-gradient(180deg, rgba(6, 11, 20, 0.95), rgba(4, 8, 16, 0.98)) !important;
  border-top: 1px solid var(--sci-border) !important;
  box-shadow: 0 -4px 24px rgba(0, 229, 255, 0.12);
}

body.sci-fi-theme #m-b-bar a {
  color: var(--sci-text-dim) !important;
}

body.sci-fi-theme #m-b-bar a:hover,
body.sci-fi-theme #m-b-bar .x3:hover a {
  color: var(--sci-cyan) !important;
}

/* ========== 底部分页（上一页/页码/下一页）科幻风 ========== */
body.sci-fi-theme .pagination {
  margin-top: 8px;
}

body.sci-fi-theme .pagination li {
  margin: 0 6px !important;
  border: none !important;
  background: transparent !important;
}

body.sci-fi-theme .pagination li a,
body.sci-fi-theme .pagination li span {
  display: block !important;
  min-width: 44px;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  color: var(--sci-text) !important;
  background: var(--sci-glass) !important;
  border: 1px solid var(--sci-border) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 14px !important;
  line-height: 1.4 !important;
  transition: all 0.25s ease;
}

body.sci-fi-theme .pagination li a:hover {
  color: var(--sci-cyan) !important;
  background: rgba(0, 229, 255, 0.15) !important;
  border-color: var(--sci-cyan) !important;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
  transform: translateY(-1px);
}

body.sci-fi-theme .pagination li.active,
body.sci-fi-theme .pagination li.active a,
body.sci-fi-theme .pagination li.active span,
body.sci-fi-theme .pagination .active a {
  pointer-events: none;
}

body.sci-fi-theme .pagination li.active a,
body.sci-fi-theme .pagination li.active span,
body.sci-fi-theme .pagination .active a {
  color: #fff !important;
  background: linear-gradient(135deg, #00c8e0 0%, #7c3aed 55%, #a855f7 100%) !important;
  border: 1px solid rgba(0, 229, 255, 0.6) !important;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35), 0 0 24px rgba(168, 85, 247, 0.2) !important;
}

body.sci-fi-theme .pagination li.disabled a,
body.sci-fi-theme .pagination .disabled a {
  color: var(--sci-text-dim) !important;
  background: rgba(8, 14, 28, 0.4) !important;
  border-color: rgba(107, 127, 154, 0.25) !important;
  opacity: 0.55;
  cursor: not-allowed;
}

body.sci-fi-theme .pagination li.disabled a:hover {
  transform: none;
  box-shadow: none;
}

/* 分页外层容器 */
body.sci-fi-theme .text-center .pagination {
  background: transparent !important;
}

body.sci-fi-theme .pager li a {
  color: var(--sci-text) !important;
  background: var(--sci-glass) !important;
  border: 1px solid var(--sci-border) !important;
}

body.sci-fi-theme .pager li a:hover {
  background: rgba(0, 229, 255, 0.12) !important;
  color: var(--sci-cyan) !important;
}
