/* ============================================================
   白天模式通用：手绘水彩剧组背景（活动中心/首页/资产库/团队/账号等）
   规则：背景换 bg-light，遮罩变纸色渐变，内容卡提亮保证可读
   ============================================================ */

html:not(.theme-dark):not(.studio-theme-dark) .xc-act-bg,
html:not(.theme-dark):not(.studio-theme-dark) .fx-bg,
html:not(.theme-dark):not(.studio-theme-dark) .xc-home-bg,
html:not(.theme-dark):not(.studio-theme-dark) .xc-team-bg,
html:not(.theme-dark):not(.studio-theme-dark) .xc-acc-bg {
  background-image: url("/static/images/xc-bg-light.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 1 !important;
}

html:not(.theme-dark):not(.studio-theme-dark) .xc-act-bg::after,
html:not(.theme-dark):not(.studio-theme-dark) .fx-bg::after,
html:not(.theme-dark):not(.studio-theme-dark) .xc-home-bg::after,
html:not(.theme-dark):not(.studio-theme-dark) .xc-team-bg::after,
html:not(.theme-dark):not(.studio-theme-dark) .xc-acc-bg::after {
  background: linear-gradient(180deg, rgba(248, 245, 236, 0.62) 0%, rgba(248, 245, 236, 0.82) 100%) !important;
}

html:not(.theme-dark):not(.studio-theme-dark) .xc-home-veil {
  background: rgba(248, 245, 236, 0.35) !important;
}

/* 活动中心行卡：暖米半透明、融进手绘背景、无阴影（对齐目标样式） */
html:not(.theme-dark):not(.studio-theme-dark) .xc-act-row {
  background: rgba(255, 252, 244, 0.72) !important;
  border-color: rgba(28, 26, 23, 0.07) !important;
  box-shadow: none !important;
}
html:not(.theme-dark):not(.studio-theme-dark) .xc-act-row .xc-act-title b { color: #26211a !important; }
html:not(.theme-dark):not(.studio-theme-dark) .xc-act-row .xc-act-desc { color: #57503f !important; }
html:not(.theme-dark):not(.studio-theme-dark) .xc-act-row .d { color: #57503f !important; }
html:not(.theme-dark):not(.studio-theme-dark) .xc-act-row .d {
  color: #57503f !important;
}

/* 活动中心页头文字加深 */
html:not(.theme-dark):not(.studio-theme-dark) .xc-activity h1,
html:not(.theme-dark):not(.studio-theme-dark) .xc-activity .xc-page-title {
  color: #26211a !important;
}


/* 画布项目中心透出全站浅色底，不再单独铺一层 */
html:not(.theme-dark):not(.studio-theme-dark) body.c05-hand .canvas-gate {
  background: transparent !important;
}
/* 项目集树与主区面板半透明，透出手绘背景 */
html:not(.theme-dark):not(.studio-theme-dark) body.c05-hand .canvas-gate .studio-proj-workspace,
html:not(.theme-dark):not(.studio-theme-dark) body.c05-hand .canvas-gate .studio-proj-main {
  background: transparent !important;
}
html:not(.theme-dark):not(.studio-theme-dark) body.c05-hand .canvas-gate .gate-fx-grid {
  background: none !important;
}


/* 首页浅色：背景遮罩加深，项目卡片半透明白底保证可读 */
html:not(.theme-dark):not(.studio-theme-dark) .xc-home-veil {
  background: rgba(248, 245, 236, 0.62) !important;
}
html:not(.theme-dark):not(.studio-theme-dark) .xc-home-bg::after {
  background: linear-gradient(180deg, rgba(248, 245, 236, 0.55) 0%, rgba(248, 245, 236, 0.78) 100%) !important;
}
html:not(.theme-dark):not(.studio-theme-dark) .xc-home .xc-proj-card,
html:not(.theme-dark):not(.studio-theme-dark) .xc-home .xc-proj-new {
  background: rgba(28, 26, 23, 0.045) !important;
  border-color: rgba(28, 26, 23, 0.1) !important;
  box-shadow: none !important;
}
html:not(.theme-dark):not(.studio-theme-dark) .xc-home .xc-proj-card:hover,
html:not(.theme-dark):not(.studio-theme-dark) .xc-home .xc-proj-new:hover {
  border-color: rgba(138, 109, 31, 0.38) !important;
}
html:not(.theme-dark):not(.studio-theme-dark) .xc-home .xc-proj-card h5,
html:not(.theme-dark):not(.studio-theme-dark) .xc-home .xc-proj-card .meta {
  color: #26211a !important;
}

/* ============================================================
   首页浅色背景 · 精确对齐原型 XCStudio
   （bg-light.jpg 0.45 + 三段纸色遮罩；后置覆盖前文 !important）
   ============================================================ */
html:not(.theme-dark):not(.studio-theme-dark) .xc-home-bg {
  background: none !important;
  opacity: 1 !important;
}
html:not(.theme-dark):not(.studio-theme-dark) .xc-home-bg::after {
  content: none !important;
}
html:not(.theme-dark):not(.studio-theme-dark) .xc-home-bg .xc-home-nebula {
  background: url("/static/images/xc-bg-light.jpg") center / cover no-repeat !important;
  opacity: 0.45 !important;
}
html:not(.theme-dark):not(.studio-theme-dark) .xc-home-bg .xc-home-veil {
  background: linear-gradient(180deg, rgba(247, 244, 237, 0.6) 0%, rgba(247, 244, 237, 0.3) 40%, rgba(244, 241, 233, 0.88) 100%) !important;
}

/* ============================================================
   与活动中心同一套浅色底：手绘剧组 + 全页纸色薄罩
   覆盖画布 / 在线生图 / API / 账号 / 积分 / 改密
   ============================================================ */
html:not(.theme-dark):not(.studio-theme-dark) .xc-page-bg,
html:not(.theme-dark):not(.studio-theme-dark) .xc-acc-bg,
html:not(.theme-dark):not(.studio-theme-dark) .xc-team-bg,
html:not(.theme-dark):not(.studio-theme-dark) .xc-act-bg,
html:not(.theme-dark):not(.studio-theme-dark) .fx-bg {
  background-image: url("/static/images/xc-bg-light.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 1 !important;
}
html:not(.theme-dark):not(.studio-theme-dark) .xc-page-bg::after,
html:not(.theme-dark):not(.studio-theme-dark) .xc-acc-bg::after,
html:not(.theme-dark):not(.studio-theme-dark) .xc-team-bg::after,
html:not(.theme-dark):not(.studio-theme-dark) .xc-act-bg::after,
html:not(.theme-dark):not(.studio-theme-dark) .fx-bg::after {
  content: "" !important;
  inset: 0 !important;
  height: auto !important;
  top: 0 !important;
  background: linear-gradient(180deg, rgba(248, 245, 236, 0.62) 0%, rgba(248, 245, 236, 0.82) 100%) !important;
}
html:not(.theme-dark):not(.studio-theme-dark) body.sis-body { background: #f7f4ec !important; }
html:not(.theme-dark):not(.studio-theme-dark) body.sis-body::before {
  background-image: url("/static/images/xc-bg-light.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 1 !important;
}
html:not(.theme-dark):not(.studio-theme-dark) body.sis-body::after {
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(248, 245, 236, 0.62) 0%, rgba(248, 245, 236, 0.82) 100%) !important;
}

html:not(.theme-dark):not(.studio-theme-dark) body.xc-account,
html:not(.theme-dark):not(.studio-theme-dark) body.xc-api,
html:not(.theme-dark):not(.studio-theme-dark) body.xc-canvas {
  background-color: #f7f4ec !important;
}

html:not(.theme-dark):not(.studio-theme-dark) .xc-canvas .canvas-gate,
html:not(.theme-dark):not(.studio-theme-dark) body.c05-hand .canvas-gate {
  background: transparent !important;
}
