﻿/* ==========================================================
   0) 基础：重置 & 变量
   ========================================================== */
:root{
  --bg: #020617;
  --bg2:#0b1b3b;
  --panel:#0b1220;
  --panel2:#0c1630;
  --border: rgba(148,163,184,.15);
  --border2: rgba(255,255,255,.08);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --muted2: rgba(226,232,240,.75);
  --accent: #27d3a6;
  --accent2:#7ff3d0;
  --warn:#fbbf24;
  --good:#22c55e;
  --danger:#ef4444;
  --shadow: 0 10px 30px rgba(0,0,0,.35);

  /* ✅ Blocksy 变量兜底：防止某些页面标题/正文被主题变量刷成黑色 */
  --theme-text-color: var(--text);
  --theme-headings-color: #ffffff;
  --theme-link-initial-color: var(--accent2);
  --theme-link-hover-color: var(--accent);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img{ max-width:100%; height:auto; }

a{ color: var(--accent2); text-decoration:none; }
a:hover{ color: var(--accent); }

.wrap{
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.screen-reader-text{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* ==========================================================
   1) 全站深色兜底（防止被插件/主题刷白）
   ========================================================== */
html, body, #page, .site, .site-content, .entry-content, .ct-main, .ct-container, .ct-inner-content{
  background-color: var(--bg) !important;
  background-image: none !important;
}

