/* ==========================================================================
   Scene 08 · 穿梭 → 变电站 → 微观油沸腾 → Song 2
   Shared base styles for the Oil Trilogy (08 / 10 / 16)
   ========================================================================== */

.s08-stage,
.s10-stage,
.s16-stage {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  background: #020305;
  pointer-events: none;
  user-select: none;
}

/* 电影暗部层次与左侧/左下深黑遮罩（对齐参考图 scene-08.png 的光影分布） */
.oil-vignette-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(125% 110% at 62% 48%,
      rgba(0, 0, 0, 0) 0%,
      rgba(4, 2, 1, 0.24) 52%,
      rgba(2, 2, 3, 0.78) 84%,
      rgba(1, 1, 2, 0.95) 100%),
    linear-gradient(25deg,
      rgba(1, 1, 2, 0.96) 0%,
      rgba(3, 2, 2, 0.82) 22%,
      rgba(8, 4, 2, 0.28) 45%,
      rgba(0, 0, 0, 0) 68%);
  transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Shared legacy layer retained for rig compatibility; Scene 08 keeps it off. */
.oil-transit-flash {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 54% 46%,
    rgba(255, 198, 128, 0.92) 0%,
    rgba(218, 102, 22, 0.55) 42%,
    rgba(12, 5, 2, 0) 80%);
}

/* 右上角温度读数：严格复刻参考图 scene-08.png 的衬线排版与比例 */
.oil-temp-readout {
  position: absolute;
  top: 86px;
  right: 84px;
  z-index: 12;
  display: flex;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 4px, 0);
  will-change: opacity, transform;
}

.oil-temp-readout.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.oil-temp-label {
  font-family: var(--font-serif, "Noto Serif SC", "Source Han Serif SC", serif);
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.12em;
  color: rgba(236, 223, 206, 0.78);
  margin-top: 20px;
  margin-right: 22px;
  text-shadow:
    0 2px 16px rgba(0, 0, 0, 0.92),
    0 0 8px rgba(18, 8, 2, 0.8);
}

.oil-temp-value {
  font-family: var(--font-serif, "Noto Serif SC", "Source Han Serif SC", serif);
  font-size: 124px;
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.015em;
  color: #f1e7d8;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  text-shadow:
    0 6px 38px rgba(0, 0, 0, 0.92),
    0 0 32px rgba(212, 106, 24, 0.24);
}

.oil-temp-unit {
  letter-spacing: -0.02em;
}

/* The departing editor is a frozen copy of Scene 07, not a new control layer. */
.s08-code-departure {
  position: absolute;
  inset: 0;
  z-index: 15;
  width: 1920px;
  height: 1080px;
  transform-origin: 0 0;
  pointer-events: none;
  will-change: opacity;
}
.s08-code-filaments { z-index: 16; pointer-events: none; }
.scene-s07 .s08-code-fallback { position: absolute; left: 700px; top: 500px; }
.scene-s08 .oil-vignette-layer { transition: none; }
