/* 炙渊中转站 · 只加控制台背景，不改主题 */
:root,
.dark {
  --background: transparent;
}

html,
body,
#root {
  background: transparent !important;
}

/* 三张背景图：第 1 张 24h，第 2/3 张各 12h */
#zy-console-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: #050609;
}
#zy-console-bg .zy-cbg-layer {
  position: absolute;
  inset: -4vmax;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
  opacity: 0;
  transition: opacity 1.1s ease;
}
#zy-console-bg .zy-cbg-layer.is-active {
  opacity: 1;
}
#zy-console-bg .zy-cbg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(4, 5, 8, .28), rgba(4, 5, 8, .62) 84%);
}
html:not(.dark) #zy-console-bg .zy-cbg-overlay {
  background: linear-gradient(rgba(255, 255, 255, .30), rgba(255, 255, 255, .66) 84%);
}
