/* 全站正文毛笔字（阿拉伯数字与拉丁字母仍走等线体）
   用于未引用 nav-frame.css 的页面：index.html / home.html / music.html / res/about.html / res/music.html
   —— 与 nav-frame.css 中的同名规则保持一致 */
@font-face{
  font-family:"YueWuText";
  src:url("/xsjc/assets/fonts/mashan.woff2?v=2") format("woff2");
  unicode-range:U+2E80-9FFF,U+3000-303F,U+F900-FAFF,U+FF00-FFEF;
  font-display:swap;
}
@font-face{
  font-family:"YueWuText";
  src:local("Microsoft YaHei"),local("PingFang SC"),local("Segoe UI"),local("Arial");
  unicode-range:U+0020-007E,U+00A0-00FF;
  font-display:swap;
}
body,body *{
  font-family:"YueWuText","YueWuExtra","ZhiMang","STXingkai","华文行楷",serif !important;
}
.navdots,.navdots .dotnav,.navdots .dotnav span,.navdots .dotnav b,
.navdots .dotnav i{
  font-family:"YueWuText","YueWuExtra","ZhiMang","STXingkai","华文行楷",serif !important;
}

/* ===== 全站正文统一黑色 · 只改字色，不动字体/字号/版式 =====
   用 :not(#yq-bk) 提权到 id 级，保证压过页面里那些 #7c7364 / #4c453a 之类
   带 !important 的淡色规则（正是「个别文字不清晰」的来源） */
body *:not(#yq-bk){color:#000 !important}
body *:not(#yq-bk)::before, body *:not(#yq-bk)::after{color:#000 !important}
html, body{color:#000 !important}
input:not(#yq-bk), textarea:not(#yq-bk), select:not(#yq-bk){color:#000 !important}
input:not(#yq-bk)::placeholder, textarea:not(#yq-bk)::placeholder{color:#000 !important;opacity:1 !important}
/* 图里的字（指法孔位示意图等 SVG 文字）也要黑 */
svg text:not(#yq-bk), svg tspan:not(#yq-bk){fill:#000 !important;color:#000 !important}
/* 例外一：深色底上的白字，保持可读（试听按钮、悬停主按钮、已勾选方框） */
.play:not(#yq-bk), .play:not(#yq-bk) *, .btn-main:not(#yq-bk), .btn-main:not(#yq-bk) *,
.btn-main:hover:not(#yq-bk), .btn-main:hover:not(#yq-bk) *,
.todo li.done .box:not(#yq-bk), .todo li.done .box:not(#yq-bk) *{color:#fff !important}
/* 例外二：简谱播放时的高亮音符（红色跳音，属于播放提示不是正文色） */
.s-n.on:not(#yq-bk), .s-dash.on:not(#yq-bk), .n.on:not(#yq-bk){color:#a83b32 !important}
/* ===== 全站背景图：水墨山水铺满视口，上覆一层薄宣纸色保可读 ===== */
html{background-color:#faf7f0 !important}
body{
  background:transparent !important;
  background-image:none !important;
}
body::before{
  content:"" !important;
  position:fixed !important;left:0 !important;top:0 !important;
  width:100vw !important;height:100vh !important;
  z-index:-1 !important;pointer-events:none !important;
  background-image:
    linear-gradient(rgba(250,247,240,.30),rgba(250,247,240,.30)),
    url("/xsjc/assets/ink-bg-2.jpg") !important;
  background-size:auto,cover !important;
  background-position:0 0,center bottom !important;
  background-repeat:repeat,no-repeat !important;
}
/* 顶部大图与页面背景的接缝：图片底边渐隐进水墨底纹，图与底连成一片，不再有直线切口 */
.page-banner,
.cover{
  margin-bottom:0 !important;
  background:transparent !important;
}
.page-banner img,
.cover-fg{
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 84%,rgba(0,0,0,.92) 89%,rgba(0,0,0,.55) 95%,transparent 100%) !important;
          mask-image:linear-gradient(to bottom,#000 0%,#000 84%,rgba(0,0,0,.92) 89%,rgba(0,0,0,.55) 95%,transparent 100%) !important;
}
.page-banner::after,
.cover::after{
  background:linear-gradient(to bottom,
    rgba(20,23,15,.26) 0%,
    rgba(20,23,15,0) 24%,
    rgba(20,23,15,0) 46%,
    rgba(250,247,240,.22) 64%,
    rgba(250,247,240,.34) 84%,
    rgba(250,247,240,.10) 94%,
    rgba(250,247,240,0) 100%) !important;
}
.page-banner .cap,
.cover .cap{padding-bottom:clamp(54px,8vh,82px) !important}
header.masthead, .masthead{background-image:none !important}