/* ============================================================
   EY 青花瓷落地页背景 v1   (2026-11-16)
   一行回滚：删除本文件（页面里的 <link> 会失效，回到原底色）
   或 ssh energyyi "mv /opt/jingfang/assets/frontend/css/qinghua-bg.css{,.off}"
   ------------------------------------------------------------
   做法：把「纹样 + 白色覆层」合成在 body 的多重背景里，
   而不是用 body::before/::after 覆层 —— 后者会把正文压到下面。
   ============================================================ */

html{ background:#EDF1F4 !important; }
/* spec_20261119：主页有 body{background:#d8dbde!important} 的简写，简写会把 background-image 重置成 none。
   用 html body 提高一级特异性，才能在任意声明顺序下压住它。 */

html body{
  background-color:#EDF1F4 !important;
  background-image:
    linear-gradient(rgba(255,255,255,.74), rgba(255,255,255,.74)),
    url(/img/qinghua-bg.jpg) !important;
  background-position: center center, center center !important;
  background-size: cover, cover !important;
  background-repeat: no-repeat, no-repeat !important;
  background-attachment: fixed, fixed !important;
}

/* 手机竖屏：换竖裁图（横图 cover 会把主花裁没），并改用 scroll 附着（iOS 对 fixed 背景支持差） */
@media (max-width: 640px){
  html body{
    background-image:
      linear-gradient(rgba(255,255,255,.74), rgba(255,255,255,.74)),
      url(/img/qinghua-bg-tall.jpg) !important;
    background-attachment: scroll, scroll !important;
    background-position: center top, center top !important;
  }
}

/* 卡片：白卡与瓷底只差 1.1:1，必须靠描边 + 轻阴影区分 */
.ey-tool, .card, .panel, .price-card, .box, .ey-card, .report-card, .sample-card{
  border:1px solid #C3D5EB !important;
  box-shadow:0 4px 18px rgba(31,78,140,.10) !important;
}

/* 导航条：必须白色实底，否则纹样把字吃掉 */
nav, .nav, .navbar, .topbar, .site-nav, header nav{
  background:rgba(255,255,255,.97) !important;
  border-bottom:1px solid #C3D5EB !important;
}
/* 品牌字标常在 <nav> 外面，单独兜一层（第一版实测品牌名几乎不可见） */
header .brand, header .logo, .brand, .logo, a.brand, a.logo{
  color:#1F4E8C !important;
}

/* 打印不要发蓝 */

/* ===== 上端两侧莲花云纹（角花）：纯背景层，永远在文字后面，不挡点击 ===== */
html body{
  background-image:
    linear-gradient(rgba(255,255,255,.74), rgba(255,255,255,.74)),
    url(/img/lotus-cloud-left.svg),
    url(/img/lotus-cloud-right.svg),
    url(/img/qinghua-bg.jpg) !important;
  background-position:
    center center,
    left 60px top 40px,
    right 60px top 40px,
    center center !important;
  background-size:
    cover,
    190px auto,
    190px auto,
    cover !important;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat !important;
  background-attachment: fixed, fixed, fixed, fixed !important;
}

@media (max-width: 640px){
  html body{
    background-image:
      linear-gradient(rgba(255,255,255,.74), rgba(255,255,255,.74)),
      url(/img/lotus-cloud-left.svg),
      url(/img/lotus-cloud-right.svg),
      url(/img/qinghua-bg-tall.jpg) !important;
    background-position:
      center top,
      left 10px top 62px,
      right 10px top 62px,
      center top !important;
    background-size:
      cover,
      124px auto,
      124px auto,
      cover !important;
    background-attachment: scroll, scroll, scroll, scroll !important;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat !important;
  }
}

@media print{
  html, body{ background:#fff !important; }
}
