
/* === 最终纠正：第三章只调色，不改人物形象；入口亮光只放在章节入口，不放庵门 === */
@keyframes dnhChapterEntryBreath{
  0%,100%{opacity:.78;filter:brightness(1) drop-shadow(0 0 0 rgba(255,229,179,0));}
  40%{opacity:1;filter:brightness(1.12) drop-shadow(0 0 8px rgba(255,235,196,.58)) drop-shadow(0 0 14px rgba(214,160,98,.22));}
  60%{opacity:1;filter:brightness(1.22) drop-shadow(0 0 12px rgba(255,239,199,.82)) drop-shadow(0 0 20px rgba(219,168,98,.36));}
}
@keyframes dnhChapterEntryHalo{
  0%,100%{opacity:0;transform:translateX(-50%) scale(.96)}
  48%{opacity:.78;transform:translateX(-50%) scale(1.03)}
}

/* 第三章场景回到前两章那种暖灰纸本，而不是压成冷灰 */
#gameHost #scene,
#gameHost .phase-world #scene,
#gameHost .phase-dialogue #scene{
  
}
#gameHost #scene.inside{
  
}
#gameHost #paper{opacity:.28!important}
#gameHost .worldView .objective,#gameHost #worldView .objective{
  background:#f4ecddd8!important;color:#5f4f3f!important;border-top:1px solid #ab9878!important;border-bottom:1px solid #ab9878!important;
}

/* 原人物只调色，不换形；让人物与背景更统一 */
#gameHost #worldView .sprite,
#gameHost .worldView .sprite{
  opacity:.97!important;
  filter:sepia(.16) saturate(.78) hue-rotate(-10deg) brightness(.985) contrast(.93) drop-shadow(0 6px 4px rgba(62,59,52,.18))!important;
}
#gameHost #worldView .sprite.player,
#gameHost .worldView .sprite.player{
  mix-blend-mode:multiply!important;
  filter:sepia(.18) saturate(.74) hue-rotate(-12deg) brightness(.985) contrast(.92) drop-shadow(0 6px 4px rgba(62,59,52,.18))!important;
}
#gameHost #worldView .sprite.zhou,
#gameHost .worldView .sprite.zhou{
  mix-blend-mode:multiply!important;
  filter:sepia(.14) saturate(.72) hue-rotate(-9deg) brightness(.99) contrast(.93) drop-shadow(0 6px 4px rgba(62,59,52,.18))!important;
}
#gameHost #worldView .sprite span,
#gameHost .worldView .sprite span{
  background:#efe4d0d9!important;color:#665544!important;border:1px solid rgba(168,145,110,.22)!important;
}

/* 取消我之前误加到庵门/场景热点上的入口光效 */
#gameHost #gateHotspot,
#gameHost .gateHotspot{
  animation:pulse 2s infinite!important;
  filter:none!important;
  box-shadow:0 0 0 10px #eee6ce28!important;
}
#gameHost #gateHotspot::before,
#gameHost #gateHotspot::after,
#gameHost .gateHotspot::before,
#gameHost .gateHotspot::after,
#gameHost .dnh-entry-glow#gateHotspot::before,
#gameHost .dnh-entry-glow#gateHotspot::after{content:none!important;display:none!important}

/* 章节入口引导：放在“轻触继续 / 展开画卷 / 续看 / 章节目录按钮”上，和前两章统一是若隐若现的提示 */
#gameHost #chapterIntroView .introHint,
#gameHost #titleView .brushButton,
#gameHost #titleView .quiet,
#gameHost #chapterButton,
#gameHost .chapter-switch{
  position:relative!important;
  animation:dnhChapterEntryBreath 2.45s ease-in-out infinite!important;
}
#gameHost #chapterIntroView .introHint{
  color:#dcc79a!important;
  letter-spacing:.32em!important;
}
#gameHost #chapterIntroView .introHint::after{
  content:'◇';position:absolute;left:50%;top:100%;margin-top:10px;transform:translateX(-50%);
  color:#ead8ae;animation:dnhChapterEntryHalo 2.45s ease-in-out infinite;
}
#gameHost #titleView .brushButton,
#gameHost #titleView .quiet,
#gameHost #chapterButton,
#gameHost .chapter-switch{
  box-shadow:0 0 0 1px rgba(191,161,114,.18),0 0 0 rgba(0,0,0,0)!important;
}
#gameHost #titleView .brushButton:hover,
#gameHost #titleView .quiet:hover,
#gameHost #chapterButton:hover,
#gameHost .chapter-switch:hover{
  filter:brightness(1.12) drop-shadow(0 0 10px rgba(250,225,184,.8))!important;
}
