/* ===== TL弱电设计插件官网 · 前台样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif; color: #2b3543; background: #f5f7fa; line-height: 1.6; }
a { color: #2f6fed; text-decoration: none; }
a:hover { color: #1c54d1; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* 顶部导航 */
.site-header { background: #1f2d3d; color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 0 16px; height: 60px; }
.logo { font-size: 19px; font-weight: 700; color: #fff; }
.logo span { color: #58a6ff; }
.nav-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 10px 0; }
.nav-links a { color: #cfd8e3; font-size: 14px; }
.nav-links a:hover { color: #fff; }
.nav-links .btn-reg { background: #2f6fed; color: #fff; padding: 5px 14px; border-radius: 4px; }
.nav-links .btn-reg:hover { background: #1c54d1; color: #fff; }
.nav-user { color: #58a6ff; font-size: 14px; }

/* 导航下拉（文章列表） */
.nav-drop { position: relative; }
.nav-drop-btn { cursor: pointer; }
.drop-caret { font-size: 10px; margin-left: 3px; opacity: .8; }
.drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 168px;
  padding: 8px 0;
  border-radius: 10px;
  border: 1px solid rgba(0, 229, 255, .25);
  background: rgba(9, 18, 36, .96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transition: all .18s ease;
  z-index: 60;
}
.nav-drop:hover .drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 14px;
  white-space: nowrap;
}
.drop-menu a:hover { color: #00e5ff !important; background: rgba(0, 229, 255, .08); }

/* 内容区 */
.main { min-height: 480px; padding: 28px 0 40px; }
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 18px; font-size: 14px; }
.alert-ok { background: #e8f7ef; color: #16794c; border: 1px solid #bfe8d3; }
.alert-warn { background: #fff6e8; color: #9a6b1a; border: 1px solid #f5dfb8; }

/* 首页 Hero */
.hero { background: linear-gradient(135deg, #1f2d3d 0%, #2f6fed 100%); color: #fff; border-radius: 12px; padding: 48px 40px; margin-bottom: 24px; }
.hero h1 { font-size: 32px; margin-bottom: 10px; }
.hero .ver { display: inline-block; background: rgba(255,255,255,.18); padding: 2px 12px; border-radius: 20px; font-size: 13px; margin-bottom: 14px; }
.hero p { color: #dbe6ff; max-width: 640px; margin-bottom: 20px; }
.btn { display: inline-block; padding: 10px 26px; border-radius: 6px; font-size: 15px; }
.btn-primary { background: #fff; color: #2f6fed; font-weight: 600; }
.btn-primary:hover { background: #e8f0ff; color: #1c54d1; }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; margin-left: 10px; }
.btn-ghost:hover { background: rgba(255,255,255,.28); color: #fff; }
.btn-sm { padding: 4px 12px; font-size: 13px; border-radius: 4px; }
.btn-blue { background: #2f6fed; color: #fff; }
.btn-blue:hover { background: #1c54d1; color: #fff; }
.btn-green { background: #17b26a; color: #fff; }
.btn-green:hover { background: #128f54; color: #fff; }
.btn-gray { background: #e3e8ef; color: #5a6b80; }
.btn-gray:hover { background: #d4dbe5; color: #3d4a5c; }
.btn-danger { background: #e5484d; color: #fff; }
.btn-danger:hover { background: #c93a3f; color: #fff; }

/* 卡片区块 */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: #fff; border-radius: 10px; padding: 20px; border: 1px solid #e7ecf2; }
.card h2 { font-size: 18px; margin-bottom: 14px; }
.section-title { font-size: 22px; font-weight: 700; margin: 30px 0 16px; }

/* 文章列表 */
.article-item { padding: 14px 0; border-bottom: 1px solid #edf1f6; }
.article-item:last-child { border-bottom: 0; }
.article-item .title { font-size: 16px; font-weight: 600; }
.article-item .meta { font-size: 13px; color: #8492a6; margin-top: 4px; }
.article-item .summary { font-size: 14px; color: #5a6b80; margin-top: 6px; }
.tag-badge { display: inline-block; background: #eef4ff; color: #2f6fed; font-size: 12px; padding: 1px 8px; border-radius: 10px; margin-right: 6px; }
.status-top { display: inline-block; background: #fff0e8; color: #d35400; font-size: 12px; padding: 1px 8px; border-radius: 10px; margin-left: 6px; }

/* 反馈墙 */
.fb-item { background: #fff; border: 1px solid #e7ecf2; border-radius: 10px; padding: 18px 20px; margin-bottom: 14px; }
.fb-item .fb-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.fb-type { font-size: 12px; padding: 1px 10px; border-radius: 10px; }
.fb-type-suggest { background: #e8f7ef; color: #16794c; }
.fb-type-bug { background: #fff0e8; color: #d35400; }
.fb-item .fb-title { font-size: 16px; font-weight: 600; }
.fb-item .fb-meta { font-size: 13px; color: #8492a6; }
.fb-item .fb-content { font-size: 14px; color: #3d4a5c; margin-top: 8px; white-space: pre-wrap; }
.fb-reply { background: #f5f8fd; border-left: 3px solid #2f6fed; padding: 10px 14px; border-radius: 0 6px 6px 0; margin-top: 12px; font-size: 14px; color: #5a6b80; }

/* 反馈附件展示 */
.fb-attach { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.fb-attach a { display: inline-block; }
.fb-attach img { width: 130px; height: 98px; object-fit: cover; border-radius: 8px; border: 1px solid #e7ecf2; transition: transform .2s ease, box-shadow .2s ease; }
.fb-attach a:hover img { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(31, 45, 61, .18); }
.fb-attach video { max-width: 300px; max-height: 210px; border-radius: 8px; border: 1px solid #e7ecf2; background: #000; }

/* 详情页 */
.article-detail .detail-title { font-size: 26px; margin-bottom: 10px; }
.article-detail .detail-meta { font-size: 13px; color: #8492a6; margin-bottom: 18px; }
.article-detail .detail-body { background: #fff; border-radius: 10px; padding: 28px; font-size: 15px; }
.detail-body img { max-width: 100%; }
.detail-body pre { background: #1f2d3d; color: #dbe6ff; padding: 14px; border-radius: 6px; overflow-x: auto; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin: 20px 0; font-size: 14px; }
.comment-box { background: #fff; border-radius: 10px; padding: 20px; margin-top: 20px; }
.comment-item { border-bottom: 1px solid #edf1f6; padding: 12px 0; }
.comment-item:last-child { border-bottom: 0; }
.comment-item .c-meta { font-size: 13px; color: #8492a6; margin-bottom: 4px; }

/* 表单 */
.form-card { max-width: 460px; margin: 30px auto; background: #fff; border-radius: 10px; padding: 28px; border: 1px solid #e7ecf2; }
.form-card.wide { max-width: 680px; }
.form-card h2 { margin-bottom: 18px; font-size: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; margin-bottom: 6px; color: #3d4a5c; }
.form-group input[type=text], .form-group input[type=password], .form-group input[type=email],
.form-group textarea, .form-group select { width: 100%; padding: 9px 12px; border: 1px solid #d5dde7; border-radius: 6px; font-size: 14px; font-family: inherit; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #2f6fed; }
.form-tip { font-size: 13px; color: #8492a6; margin-top: 10px; }

/* 分页 */
.pagination { margin: 24px 0; text-align: center; }
.pagination a, .pagination span { display: inline-block; padding: 5px 12px; margin: 0 3px; border: 1px solid #d5dde7; border-radius: 4px; font-size: 13px; color: #3d4a5c; }
.pagination .current { background: #2f6fed; color: #fff; border-color: #2f6fed; }
.pagination a:hover { border-color: #2f6fed; color: #2f6fed; }

/* 侧边栏布局 */
.layout-2col { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }
.sidebar .card { margin-bottom: 16px; }
.sidebar .cat-list a { display: block; padding: 6px 0; font-size: 14px; border-bottom: 1px dashed #edf1f6; }
.sidebar .cat-list .active { color: #1c54d1; font-weight: 600; }

/* 页脚 */
.site-footer { background: #1f2d3d; color: #7d8ba1; padding: 22px 0; margin-top: 30px; font-size: 13px; }

@media (max-width: 800px) {
  .layout-2col { grid-template-columns: 1fr; }
  .hero { padding: 32px 22px; }
  .hero h1 { font-size: 24px; }
  .nav { height: auto; }
  /* 移动端导航下拉直接展开（hover 不可用） */
  .nav-drop { display: flex; flex-direction: column; }
  .drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 2px 0 6px 12px;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .drop-menu a { padding: 6px 12px; font-size: 13px; }
}

/* ============================================================
   首页 · 科技感主题（仅 .page-home 生效）
   ============================================================ */
.page-home {
  background: #04070f;
  color: #c7d5e6;
}
.page-home ::selection { background: rgba(0, 229, 255, .28); color: #fff; }

/* 顶栏 / 页脚：深色半透明 + 发光描边 */
.page-home .site-header {
  position: relative;
  z-index: 2;
  background: rgba(5, 10, 20, .82);
  border-bottom: 1px solid rgba(0, 229, 255, .16);
  box-shadow: 0 0 24px rgba(0, 150, 255, .10);
  backdrop-filter: blur(12px);
}
.page-home .logo { color: #eaf6ff; }
.page-home .nav-links a { color: #93a7c2; }
.page-home .nav-links a:hover { color: #00e5ff; text-shadow: 0 0 10px rgba(0, 229, 255, .8); }
.page-home .nav-links .btn-reg {
  background: linear-gradient(135deg, #00c8ff, #2f6fed);
  color: #fff;
  box-shadow: 0 0 14px rgba(0, 170, 255, .45);
}
.page-home .site-footer {
  position: relative;
  z-index: 2;
  background: rgba(5, 10, 20, .92);
  border-top: 1px solid rgba(0, 229, 255, .14);
  color: #5d7391;
}
.page-home .site-footer .container { position: relative; }
.page-home .site-footer .container::before {
  content: "▲ ▲ ▲";
  display: block;
  font-family: Consolas, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 10px;
  color: rgba(0, 229, 255, .30);
  margin-bottom: 6px;
}

/* 粒子背景画布 */
#tech-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.page-home .main { position: relative; z-index: 1; }

/* Hero */
.hero-tech {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 56px 44px;
  margin-bottom: 26px;
  background:
    radial-gradient(900px 380px at 18% -10%, rgba(0, 160, 255, .22), transparent 60%),
    radial-gradient(800px 360px at 88% 118%, rgba(0, 229, 255, .14), transparent 60%),
    linear-gradient(160deg, rgba(9, 20, 40, .92), rgba(4, 10, 22, .96));
  border: 1px solid rgba(0, 229, 255, .22);
  box-shadow: 0 0 42px rgba(0, 140, 255, .16), inset 0 0 80px rgba(0, 120, 255, .05);
}
/* 网格线底纹 */
.hero-tech::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
/* 扫描光带 */
.hero-tech::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  top: -90px;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, .12), transparent);
  animation: scanline 7s linear infinite;
  pointer-events: none;
}
@keyframes scanline {
  0% { top: -90px; }
  100% { top: 110%; }
}
.hero-inner { position: relative; z-index: 1; max-width: 960px; }

/* hero 左右布局：内容居左，二维码居右 */
.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}
.hero-left { flex: 1; min-width: 0; }

/* 首页二维码卡片 */
.hero-qrcode {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 229, 255, .25);
  background: linear-gradient(160deg, rgba(9, 20, 40, .55), rgba(4, 10, 22, .65));
  box-shadow: 0 0 24px rgba(0, 140, 255, .12);
}
.qrcode-frame {
  width: 172px;
  height: 172px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.qrcode-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* 显示层二次保险：即使上传图未触发边缘融合，边缘也随页面背景渐隐 */
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at center, #000 86%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 100% at center, #000 86%, transparent 100%);
}
.qrcode-tip {
  font-family: Consolas, "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 1px;
  color: #67d6ff;
  white-space: nowrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px;
  border-radius: 24px;
  border: 1px solid rgba(0, 229, 255, .35);
  background: rgba(0, 229, 255, .07);
  font-family: Consolas, "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: #7fe9ff;
  margin-bottom: 20px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 0 0 rgba(0, 229, 255, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, .55); }
  70% { box-shadow: 0 0 0 9px rgba(0, 229, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}
.badge-ver {
  margin-left: 4px;
  padding: 1px 8px;
  border-radius: 10px;
  background: rgba(0, 229, 255, .16);
  color: #00e5ff;
  letter-spacing: 1px;
}

.hero-title {
  margin: 0 0 8px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(92deg, #f2faff 10%, #6fd8ff 48%, #2f8dff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #eaf6ff;
  text-shadow: 0 0 36px rgba(0, 170, 255, .35);
}
.hero-slogan {
  font-family: Consolas, "SF Mono", Menlo, monospace;
  font-size: 16px;
  letter-spacing: 1px;
  color: #67d6ff;
  margin: 0 0 16px;
}
.cursor {
  display: inline-block;
  color: #00e5ff;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-intro {
  max-width: 660px;
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.85;
  color: #9db2cc;
}

/* 按钮 */
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.btn-tech {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all .22s ease;
}
.btn-download {
  color: #03101d;
  background: linear-gradient(135deg, #00e5ff, #2f8dff);
  /* 辉光再次下调50%：外发光透明度与模糊半径均减半 */
  box-shadow: 0 1px 4px rgba(0, 120, 255, .15), 0 3px 7px rgba(0, 120, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .15);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .32);
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 7px rgba(0, 140, 255, .19), 0 4px 10px rgba(0, 120, 255, .10), inset 0 1px 0 rgba(255, 255, 255, .16);
  color: #03101d;
}
.btn-icon { font-size: 12px; }
.btn-ghost-tech {
  color: #9fe8ff;
  border: 1px solid rgba(0, 229, 255, .45);
  background: rgba(0, 229, 255, .06);
}
.btn-ghost-tech:hover {
  color: #fff;
  border-color: #00e5ff;
  background: rgba(0, 229, 255, .14);
  box-shadow: 0 0 18px rgba(0, 229, 255, .35);
  transform: translateY(-2px);
}

/* 数据条 */
.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 229, 255, .14);
}
.stat { display: flex; flex-direction: column; gap: 3px; }
.stat-num {
  font-family: Consolas, "SF Mono", Menlo, monospace;
  font-size: 26px;
  font-weight: 700;
  color: #eaf6ff;
  text-shadow: 0 0 16px rgba(0, 190, 255, .55);
}
.stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #64809f;
}
.stat-online {
  font-size: 18px;
  line-height: 26px;
  color: #00e5ff;
  animation: pulse 2.2s infinite;
}

/* 模块导航磁贴 */
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.module-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 12px;
  background: rgba(12, 24, 46, .6);
  border: 1px solid rgba(0, 229, 255, .16);
  color: #c7d5e6;
  text-decoration: none;
  transition: all .22s ease;
  overflow: hidden;
}
.module-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(0, 229, 255, .10) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .5s ease;
}
.module-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, .55);
  box-shadow: 0 0 22px rgba(0, 160, 255, .28);
  color: #fff;
}
.module-tile:hover::before { transform: translateX(120%); }
.tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 10px;
  color: #00e5ff;
  background: rgba(0, 229, 255, .10);
  border: 1px solid rgba(0, 229, 255, .28);
  transition: all .22s ease;
}
.module-tile:hover .tile-icon { background: rgba(0, 229, 255, .18); box-shadow: 0 0 14px rgba(0, 229, 255, .4); }
.tile-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tile-title { font-size: 15px; font-weight: 700; color: #eaf6ff; }
.tile-desc { font-size: 12px; color: #64809f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-arrow {
  margin-left: auto;
  color: rgba(0, 229, 255, .45);
  font-size: 16px;
  transition: transform .22s ease, color .22s ease;
}
.module-tile:hover .tile-arrow { transform: translateX(4px); color: #00e5ff; }

/* 双栏玻璃卡片 */
.home-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 20px;
  align-items: start;
}
.glass-card {
  position: relative;
  background: rgba(11, 22, 42, .55);
  border: 1px solid rgba(0, 229, 255, .18);
  border-radius: 14px;
  padding: 22px 22px 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .35);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.glass-card:hover { border-color: rgba(0, 229, 255, .42); box-shadow: 0 12px 38px rgba(0, 120, 255, .16); }
.glass-card::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, .7), transparent);
  opacity: .5;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 229, 255, .12);
}
.card-head h2 {
  font-size: 17px;
  color: #eaf6ff;
  margin: 0;
  letter-spacing: 1px;
}
.head-mark { color: #00e5ff; text-shadow: 0 0 10px rgba(0, 229, 255, .8); margin-right: 4px; }
.card-more { font-size: 13px; color: #6fc6ff; }
.card-more:hover { color: #00e5ff; text-shadow: 0 0 8px rgba(0, 229, 255, .6); }

.page-home .article-item { border-bottom: 1px solid rgba(0, 229, 255, .10); }
.page-home .article-item:last-child { border-bottom: 0; }
.page-home .article-item .title { color: #dcebff; }
.page-home .article-item .title:hover { color: #00e5ff; text-shadow: 0 0 10px rgba(0, 229, 255, .5); }
.page-home .article-item .meta { color: #5f7a99; }
.page-home .article-item .meta a.cate-link { color: #6fc6ff; }
.page-home .article-item .summary { color: #8ba2bf; }
.page-home .status-top {
  background: rgba(255, 140, 0, .14);
  color: #ffb054;
  border: 1px solid rgba(255, 160, 60, .3);
}
.page-home .fb-type { border: 1px solid transparent; }
.page-home .fb-type-suggest {
  background: rgba(0, 229, 150, .12);
  color: #4ce3a8;
  border-color: rgba(0, 229, 150, .30);
}
.page-home .fb-type-bug {
  background: rgba(255, 90, 90, .12);
  color: #ff8b8b;
  border-color: rgba(255, 90, 90, .30);
}
.page-home .fb-date { margin-left: 6px; }
.page-home .form-tip { color: #5f7a99; }

/* 首页提醒（登录后消息等）深色适配 */
.page-home .alert-ok {
  background: rgba(0, 229, 150, .10);
  color: #6deebc;
  border: 1px solid rgba(0, 229, 150, .28);
}
.page-home .alert-warn {
  background: rgba(255, 170, 0, .10);
  color: #ffc65c;
  border: 1px solid rgba(255, 170, 0, .28);
}

/* 响应式 */
@media (max-width: 900px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-tech { padding: 40px 26px; }
  .hero-title { font-size: 34px; }
  .hero-flex { gap: 24px; }
  .qrcode-frame { width: 140px; height: 140px; }
}
@media (max-width: 560px) {
  .module-grid { grid-template-columns: 1fr; }
  .hero-tech { padding: 30px 20px; }
  .hero-title { font-size: 27px; }
  .hero-stats { gap: 22px; }
  .home-cols { grid-template-columns: 1fr; }
  .hero-flex { flex-direction: column; align-items: flex-start; }
  .hero-qrcode { align-self: center; }
}

/* ============================================================
   全站深色科技风（主页风格应用于所有前端页面，.page-home 为默认）
   ============================================================ */
/* 内容主体 */
.page-home .main { position: relative; z-index: 1; }
.page-home a { color: #6fc6ff; }
.page-home a:hover { color: #00e5ff; }

/* 普通卡片 / 玻璃卡片统一 */
.page-home .card,
.page-home .form-card,
.page-home .fb-item,
.page-home .article-detail .detail-body,
.page-home .comment-box {
  background: rgba(11, 22, 42, .55);
  border: 1px solid rgba(0, 229, 255, .18);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .30);
}
.page-home .card h2 { color: #eaf6ff; }
.page-home .section-title { color: #eaf6ff; text-shadow: 0 0 18px rgba(0, 170, 255, .25); }

/* 标题 / 正文颜色 */
.page-home .article-detail .detail-title { color: #eaf6ff; }
.page-home .article-detail .detail-meta { color: #5f7a99; }
.page-home .article-detail .detail-body { color: #c7d5e6; }
.page-home .article-detail .detail-body h1,
.page-home .article-detail .detail-body h2,
.page-home .article-detail .detail-body h3,
.page-home .article-detail .detail-body h4,
.page-home .article-detail .detail-body strong { color: #eaf6ff; }

/* 文章列表 / 评论 */
.page-home .comment-box h3 { color: #eaf6ff; }
.page-home .comment-item { border-bottom: 1px solid rgba(0, 229, 255, .10); }
.page-home .comment-item .c-meta { color: #5f7a99; }
.page-home .comment-item .c-body { color: #c7d5e6; }

/* 反馈墙 */
.page-home .fb-item .fb-title { color: #dcebff; }
.page-home .fb-item .fb-meta { color: #5f7a99; }
.page-home .fb-item .fb-content { color: #b6c7dd; }
.page-home .fb-reply {
  background: rgba(0, 229, 255, .06);
  border-left: 3px solid #00e5ff;
  color: #9db2cc;
}
.page-home .fb-attach img,
.page-home .fb-attach video { border-color: rgba(0, 229, 255, .18); }

/* 标签 / 徽章 */
.page-home .tag-badge {
  background: rgba(0, 229, 255, .10);
  color: #67d6ff;
  border: 1px solid rgba(0, 229, 255, .22);
}
.page-home .pager a { color: #6fc6ff; }
.page-home .pager a:hover { color: #00e5ff; }

/* 表单（深色） */
.page-home .form-card h2 { color: #eaf6ff; }
.page-home .form-group label { color: #b6c7dd; }
.page-home .form-group input[type=text],
.page-home .form-group input[type=password],
.page-home .form-group input[type=email],
.page-home .form-group input[type=file],
.page-home .form-group textarea,
.page-home .form-group select {
  background: rgba(6, 14, 28, .72);
  border: 1px solid rgba(0, 229, 255, .20);
  color: #dcebff;
}
.page-home .form-group input::placeholder,
.page-home .form-group textarea::placeholder { color: #4d6485; }
.page-home .form-group input:focus,
.page-home .form-group textarea:focus,
.page-home .form-group select:focus { border-color: #00e5ff; box-shadow: 0 0 0 3px rgba(0, 229, 255, .12); }

/* 分页 */
.page-home .pagination a,
.page-home .pagination span {
  background: rgba(11, 22, 42, .55);
  border: 1px solid rgba(0, 229, 255, .18);
  color: #9fb4cf;
}
.page-home .pagination .current {
  background: linear-gradient(135deg, #00c8ff, #2f6fed);
  color: #fff;
  border-color: rgba(0, 229, 255, .5);
  box-shadow: 0 0 12px rgba(0, 170, 255, .35);
}
.page-home .pagination a:hover { border-color: #00e5ff; color: #00e5ff; }

/* 侧边栏 */
.page-home .sidebar .cat-list a { border-bottom: 1px dashed rgba(0, 229, 255, .12); color: #b6c7dd; }
.page-home .sidebar .cat-list a:hover { color: #00e5ff; }
.page-home .sidebar .cat-list .active { color: #00e5ff; }

/* 按钮 */
.page-home .btn-gray {
  background: rgba(255, 255, 255, .06);
  color: #9fb4cf;
  border: 1px solid rgba(255, 255, 255, .12);
}
.page-home .btn-gray:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.page-home .btn-blue {
  background: linear-gradient(135deg, #00c8ff, #2f6fed);
  box-shadow: 0 0 12px rgba(0, 170, 255, .35);
}
.page-home .btn-blue:hover { box-shadow: 0 0 18px rgba(0, 200, 255, .55); }
.page-home .btn-green {
  background: linear-gradient(135deg, #12c98b, #0e9f6e);
  box-shadow: 0 0 12px rgba(0, 210, 150, .28);
}
.page-home .btn-danger {
  background: linear-gradient(135deg, #ff5b5f, #d9383e);
  box-shadow: 0 0 12px rgba(255, 80, 90, .25);
}
.page-home .btn-primary { background: #fff; color: #04121f; }
.page-home .btn-primary:hover { background: #e8f0ff; color: #04121f; }
.page-home .btn-ghost {
  background: rgba(0, 229, 255, .06);
  border: 1px solid rgba(0, 229, 255, .4);
  color: #9fe8ff;
}
.page-home .btn-ghost:hover { background: rgba(0, 229, 255, .14); color: #fff; }

/* 其它细节 */
.page-home .detail-body pre { border: 1px solid rgba(0, 229, 255, .14); }
.page-home .hero { border: 1px solid rgba(0, 229, 255, .22); }
.page-home hr { border-color: rgba(0, 229, 255, .12); }
/* ===== 抖音视频页 ===== */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { display: block; background: #0d1526; border: 1px solid #1e2a45; border-radius: 12px; overflow: hidden; color: #c7d5e6; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.video-card:hover { transform: translateY(-3px); border-color: #2f6fed; box-shadow: 0 8px 24px rgba(47,111,237,.18); color: #eaf1fb; }
.video-cover { position: relative; }
.video-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: #0a1020; }
.video-cover-empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; background: #0a1020; color: #42516b; font-size: 12px; }
.video-badge { position: absolute; top: 8px; left: 8px; background: #facd15; color: #1f2328; font-size: 12px; line-height: 1; padding: 4px 8px; border-radius: 4px; font-weight: 600; }
.video-info { padding: 10px 12px 12px; }
.video-title { font-size: 13px; line-height: 1.5; color: #d7e3f2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.video-like { margin-top: 6px; font-size: 12px; color: #6d7f99; }
.video-search { margin-bottom: 4px; }
.video-search form { display: flex; gap: 10px; align-items: center; max-width: 640px; }
.video-search-box { position: relative; flex: 1; }
.video-search-icon { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #5a6d8c; pointer-events: none; }
.video-search input { width: 100%; height: 44px; padding: 0 42px 0 16px; border: 1px solid #1e2a45; border-radius: 10px; background: #0d1526; color: #d7e3f2; outline: none; font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease; }
.video-search input:focus { border-color: #2f6fed; box-shadow: 0 0 0 3px rgba(47,111,237,.18); }
.video-search input::placeholder { color: #5a6d8c; }
.video-search-submit { height: 44px; padding: 0 24px; border: none; border-radius: 10px; background: linear-gradient(135deg, #2f6fed, #2563eb); color: #fff; cursor: pointer; font-size: 15px; font-weight: 500; transition: opacity .2s ease, transform .15s ease; }
.video-search-submit:hover { opacity: .92; transform: translateY(-1px); }
.video-search-clear { height: 44px; line-height: 44px; padding: 0 14px; border: 1px solid #1e2a45; border-radius: 10px; background: #0d1526; color: #c7d5e6; font-size: 14px; text-decoration: none; }
.video-search-clear:hover { color: #eaf1fb; border-color: #2f6fed; }
.video-search a.btn { text-decoration: none; line-height: 1; }
.video-stat { margin-left: 10px; font-size: 12px; color: #6d7f99; white-space: nowrap; flex-shrink: 0; }

/* ===== 合规整改：页脚声明 / 注册协议勾选 / 协议页（深色适配） ===== */
.page-home .footer-legal { color: #51688a; border-top: 1px dashed rgba(0, 229, 255, .12); padding-top: 8px; margin-top: 10px; }
.page-home .terms-check .terms-label { color: #b6c7dd; }
.page-home .terms-check a { color: #6fc6ff; }
.page-home .terms-check a:hover { color: #00e5ff; }
.page-home .terms-check input[type=checkbox] { accent-color: #00c8ff; }
.page-home .terms-page { max-width: 860px; margin: 0 auto; }
.page-home .terms-page .terms-ver { color: #5f7a99; }
.page-home .terms-page h2 { color: #eaf6ff; border-left: 3px solid #00e5ff; padding-left: 12px; }
.page-home .terms-page p { color: #b6c7dd; }
.page-home .terms-page p b { color: #67d6ff; }