/* AI base layer: page chrome variables and foundational surfaces. */
/* AI theme styles extracted from global.css */
body.ai-page header .ai-scanlines,
body.ai-page footer .ai-scanlines {
  position: absolute;
  inset: 0;
  contain: layout paint;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.55) 2px,
    rgba(0, 0, 0, 0.55) 4px
  );
  pointer-events: none;
  opacity: 0.78;
  transition: opacity 0.3s ease;
}
body.ai-page header .ai-scanlines::after,
body.ai-page footer .ai-scanlines::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(0, 0, 0, 0.12) 1px,
    rgba(0, 0, 0, 0.12) 2px
  );
  pointer-events: none;
  opacity: 0.8;
}
body.ai-page header:hover .ai-scanlines,
body.ai-page footer:hover .ai-scanlines {
  opacity: 0;
}
/* ========== 点线网络 漂浮浮动 文章页 (body.ai-page) ========== */
body.ai-page {
  background: #03060c !important;
  background-image: none !important;
  min-height: 100vh;
  --chrome-bg: rgba(14, 10, 16, 0.72);
  --chrome-border: rgba(255, 106, 132, 0.14);
  --chrome-link: rgba(214, 243, 255, 0.92);
  --chrome-link-hover: rgba(255, 168, 188, 0.98);
  --chrome-active: rgba(132, 214, 255, 0.92);
  --chrome-text-muted: rgba(178, 220, 238, 0.7);
}
/* 终端式滚动条 */
body.ai-page {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 106, 132, 0.48) transparent;
}
body.ai-page::-webkit-scrollbar {
  width: 6px;
}
body.ai-page::-webkit-scrollbar-track {
  background: transparent;
}
body.ai-page::-webkit-scrollbar-thumb {
  background: rgba(255, 106, 132, 0.34);
  border-radius: 3px;
}
body.ai-page::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 120, 152, 0.58);
  box-shadow: 0 0 8px rgba(255, 106, 132, 0.4);
}
body.ai-page::-webkit-scrollbar-thumb {
  box-shadow: 0 0 6px rgba(255, 106, 132, 0.26);
}
body.ai-page .ai-content,
body.ai-page footer {
  position: relative;
  z-index: 10;
}
