/* ============================================================
   一字知天机 · 全站统一网页字体规范
   2026-10-06
   ============================================================ */

:root {
  --yzy-gold: #D4AF37;
  --yzy-body-size: 16px;
  --yzy-body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

html, body {
  font-family: var(--yzy-body-font) !important;
  font-size: var(--yzy-body-size) !important;
  font-weight: 400;
}

body { letter-spacing: 0; line-height: 1.6; }

p, li, dd, dt, label, input, select, textarea, button {
  font-family: var(--yzy-body-font) !important;
}
p, li, dd, dt { font-size: 16px; }
input, select, textarea { font-size: 15px; }
button { font-size: 15px; }

h1 { font-size: 32px !important; line-height: 1.25 !important; font-weight: 700; }
h2 { font-size: 28px !important; line-height: 1.3 !important; font-weight: 700; }
h3 { font-size: 20px !important; line-height: 1.35 !important; font-weight: 700; }

.brand { font-family: var(--yzy-body-font) !important; }

/* 只对明确标记 .gold / .brand 的元素强制金色 */
.gold,
.brand {
  color: var(--yzy-gold) !important;
}

/* ============================================================
   ★★★ 彻底隐藏 auto-lang.js 注入的蓝色地球按钮 ★★★
   说明：因为页面顶部可能自带翻译按钮（lang-switch），
   为了避免重复，这里直接彻底隐藏 auto-lang.js 注入的按钮。
   ============================================================ */

#yzyAutoLangBtn,
#yzyAutoLangMenu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
}

/* ============================================
   移动端适配
   ============================================ */
@media (max-width: 720px) {
  body { font-size: 15px !important; line-height: 1.6; }
  p, li, dd, dt { font-size: 15px; }
  input, select, textarea, button { font-size: 15px; }
  h1 { font-size: 26px !important; }
  h2 { font-size: 22px !important; }
  h3 { font-size: 18px !important; }
}