/* =========================================================
   digiblog — 暗色皮肤覆盖层（数码霓虹）
   仅覆盖 CSS 变量 + 背景；组件样式沿用 digi.css（走变量）
   在 digi.css 之后引入即可生效。
   ========================================================= */

:root {
  --bg:            #070b12;
  --bg-soft:       #0b1120;
  --panel:         rgba(15,23,40,.72);
  --panel-2:       #0e1626;
  --border:        rgba(34,211,238,.18);
  --border-strong: rgba(34,211,238,.45);
  --text:          #c7d2e0;
  --text-dim:      #7a8aa3;
  --text-bright:   #eaf2ff;
  --accent:        #22d3ee;
  --accent-2:      #a855f7;
  --accent-soft:   rgba(34,211,238,.12);
  --accent-2soft:  rgba(168,85,247,.12);
  --green:         #34d399;
  --red:           #f87171;
  --chip-bg:       rgba(34,211,238,.08);
  --shadow-sm:     0 0 0 1px var(--border);
  --shadow:        0 0 0 1px var(--border), 0 8px 30px rgba(0,0,0,.45);
  --mono:          "JetBrains Mono","Fira Code","SFMono-Regular",ui-monospace,Menlo,Consolas,"Liberation Mono",monospace;
  --sans:          system-ui,-apple-system,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 500px at 12% -8%, rgba(34,211,238,.12), transparent 60%),
    radial-gradient(800px 480px at 100% 0%, rgba(168,85,247,.12), transparent 60%),
    linear-gradient(rgba(34,211,238,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,.05) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  background-attachment: fixed;
  animation: gridShift 24s linear infinite;
}

/* 扫描线叠层（极淡） */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.012) 0 1px, transparent 1px 3px);
  z-index: 9999; mix-blend-mode: overlay;
}

@keyframes gridShift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to   { background-position: 0 0, 0 0, 44px 44px, 44px 44px; }
}

.site-header { background: rgba(7,11,18,.9); }
.nav-search input { background: var(--panel-2); }
.post-full pre { background: #05080f; }
