/* =============================================================================
   scene-06.css · 拉闸倒计时
   极简大字号熔断倒计时：近黑荧幕、衬线/等宽混排、红色警戒光极缓呼吸。
   ========================================================================== */

.scene-s06 {
  background: #020304;
}

.scene-s06 .s06-root {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #020304;
}

.scene-s06 .s06-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  display: block;
}

/* 舞台层：整体承担心跳位移 + 极缓推近（由 scene-06.js 每帧写 transform） */
.scene-s06 .s06-stage {
  position: absolute;
  inset: 0;
  transform-origin: 50% 52%;
  will-change: transform;
}

/* 静态暗红晕（与 Canvas 光晕叠加，增加暗部层次） */
.scene-s06 .s06-halo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 38% 33% at 50% 44%, rgba(150, 46, 33, 0.085) 0%, rgba(90, 22, 16, 0.028) 52%, rgba(0, 0, 0, 0) 76%),
    radial-gradient(ellipse 52% 22% at 50% 100%, rgba(148, 42, 28, 0.055) 0%, rgba(0, 0, 0, 0) 70%);
}

/* 边缘警戒呼吸（极缓，不抢主体）；黑位压住红，保电影暗部 */
.scene-s06 .s06-edge {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 68% 60% at 50% 48%, rgba(0, 0, 0, 0) 40%, rgba(50, 8, 6, 0.22) 76%, rgba(8, 1, 1, 0.72) 100%);
  animation: s06-edge-breath 8.4s ease-in-out infinite;
}

@keyframes s06-edge-breath {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 1; }
}

.scene-s06 .s06-content {
  position: absolute;
  inset: 0;
}

/* 入场：从暗、微虚、略低处浮起（电影级 1.3s） */
.scene-s06 .s06-content.is-in {
  animation: s06-in 1300ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

@keyframes s06-in {
  0% { opacity: 0; transform: translate3d(0, 16px, 0); filter: blur(7px); }
  38% { opacity: 0.72; filter: blur(2.4px); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

/* ---------- 大字号倒计时（七段数码管） ---------- */
.scene-s06 .s06-clock {
  position: absolute;
  left: 0;
  right: 0;
  top: 300px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  line-height: 1;
}

.scene-s06 .s06-num {
  font-family: var(--font-seg);
  font-weight: 700;
  font-size: 340px;
  line-height: 1;
  letter-spacing: 0;
  color: #a31d17;
  text-shadow:
    0 0 84px rgba(152, 22, 16, 0.34),
    0 0 22px rgba(118, 14, 10, 0.30),
    0 12px 54px rgba(0, 0, 0, 0.88);
}

/* 固定字宽：逐秒变化时数字不左右跳动（DSEG7 每字 0.816em） */
.scene-s06 .s06-d {
  display: inline-block;
  width: 0.816em;
  text-align: center;
  font-weight: inherit;
}

.scene-s06 .s06-sep {
  font-family: var(--font-seg);
  font-weight: 700;
  font-size: 340px;
  line-height: 1;
  color: #9c1b15;
  text-shadow: 0 0 60px rgba(152, 22, 16, 0.28);
  margin: 0 0.02em;
  transition: opacity 460ms cubic-bezier(0.33, 0, 0.15, 1);
}

/* 小数点：自绘方形灯点，精确落在基线上 */
.scene-s06 .s06-dot {
  position: relative;
  align-self: flex-end;
  flex: 0 0 auto;
  width: 0.18em;
  height: 1em;
  font-size: 340px;
  line-height: 1;
  margin: 0 0.02em;
}

.scene-s06 .s06-dot i {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0.124em;
  height: 0.124em;
  margin-left: -0.062em;
  border-radius: 1px;
  background: #a01c16;
  box-shadow: 0 0 0.14em rgba(152, 22, 16, 0.42);
  transition: opacity 460ms cubic-bezier(0.33, 0, 0.15, 1);
}

.scene-s06 .s06-frac {
  font-family: var(--font-seg);
  font-weight: 700;
  font-size: 143px;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(168, 30, 24, 0.64);
  text-shadow:
    0 0 46px rgba(148, 22, 16, 0.24),
    0 6px 32px rgba(0, 0, 0, 0.76);
}

.scene-s06 .s06-fd {
  display: inline-block;
  width: 0.816em;
  text-align: center;
  font-weight: inherit;
}

/* ---------- 细线与底部说明 ---------- */
.scene-s06 .s06-rule {
  position: absolute;
  left: 50%;
  top: 726px;
  width: 340px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg,
    rgba(210, 118, 108, 0) 0%,
    rgba(210, 118, 108, 0.36) 50%,
    rgba(210, 118, 108, 0) 100%);
}

.scene-s06 .s06-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 764px;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.56em;
  text-indent: 0.56em;
  color: rgba(232, 212, 204, 0.60);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}
