/* =============================================================================
   scene-05b.css · 剧情物证：记录单
   深色画面 / 电表打印长纸条自上方垂下 / 越往下越密越红 / 巨大 ×8 冷红重击
   热敏纸质感：程序化纹理 + 点阵等宽打印 + 撕边剪影
   ========================================================================== */

/* ---------- 背景 ---------- */
.s05b-root {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 46% 34% at 40% 0%, rgba(120, 146, 160, 0.13) 0%, rgba(46, 60, 70, 0.05) 52%, rgba(0, 0, 0, 0) 76%),
    radial-gradient(ellipse 62% 50% at 72% 62%, rgba(96, 40, 34, 0.10) 0%, rgba(40, 20, 18, 0.03) 55%, rgba(0, 0, 0, 0) 78%),
    radial-gradient(ellipse 130% 100% at 50% 56%, #0a1014 0%, #060a0e 46%, #020304 100%);
  isolation: isolate;
}

.s05b-haze {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 26% 30% at 24% 0%, rgba(156, 184, 198, 0.07), rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.10) 18%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 74%, rgba(0, 0, 0, 0.42) 100%),
    radial-gradient(ellipse 80% 60% at 50% 118%, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 70%);
}

.s05b-dust {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  pointer-events: none;
  opacity: 0.9;
}

/* ---------- 震屏 / 镜头 ---------- */
.s05b-stage {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.s05b-root.is-run .s05b-stage {
  animation: s05b-shake 460ms 3494ms cubic-bezier(0.3, 0.06, 0.3, 1) both;
}
@keyframes s05b-shake {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  6% { transform: translate3d(-6px, 4px, 0) rotate(-0.12deg); }
  18% { transform: translate3d(5px, -4px, 0) rotate(0.09deg); }
  34% { transform: translate3d(-4px, 3px, 0) rotate(-0.06deg); }
  52% { transform: translate3d(3px, -2px, 0) rotate(0.04deg); }
  72% { transform: translate3d(-2px, 1px, 0); }
  88% { transform: translate3d(1px, -1px, 0); }
}

.s05b-cam {
  position: absolute;
  inset: 0;
  transform-origin: 42% 42%;
  will-change: transform;
}
.s05b-root.is-run .s05b-cam {
  animation: s05b-push 30s linear both;
}
@keyframes s05b-push {
  from { transform: scale(1); }
  to { transform: scale(1.032); }
}

/* ---------- 悬挂 / 纸条 ---------- */
.s05b-sway {
  position: absolute;
  inset: 0;
  transform-origin: 50% 0;
  will-change: transform;
}
.s05b-root.is-run .s05b-sway {
  animation: s05b-sway 9.5s 1260ms ease-in-out infinite;
}
@keyframes s05b-sway {
  0%, 100% { transform: rotate(-0.30deg) translate3d(-1px, 0, 0); }
  50% { transform: rotate(0.30deg) translate3d(2px, 0, 0); }
}

.s05b-shadow {
  position: absolute;
  background: #000;
  opacity: 0.85;
  filter: blur(26px);
  transform: translate3d(16px, 8px, 0);
  pointer-events: none;
}

.s05b-unroll {
  position: absolute;
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
}
.s05b-root.is-run .s05b-unroll {
  animation: s05b-unroll 1200ms cubic-bezier(0.33, 0.02, 0.2, 1) both;
}
@keyframes s05b-unroll {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0% 0); }
}

.s05b-strip {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background:
    linear-gradient(180deg,
      #e2ded2 0%,
      #ece8dd 8%,
      #e9e5d9 32%,
      #e0dbce 66%,
      #d6d0c1 100%);
  overflow: hidden;
}

/* 热敏纸涂层 / 打印头竖纹 */
.s05b-stex {
  position: absolute;
  inset: 0;
  background-image: none;
  background-size: 256px 256px;
  background-repeat: repeat;
  opacity: 0.62;
  pointer-events: none;
}

/* 点阵打印 */
.s05b-print {
  position: relative;
  padding: 22px 26px 28px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #2b2d2a;
  white-space: nowrap;
  text-shadow: 0 0 0.55px rgba(26, 28, 26, 0.62);
}
.s05b-prow {
  display: block;
  height: auto;
}
.s05b-p-head {
  font-size: 20px;
  letter-spacing: 0.05em;
  color: #262824;
}
.s05b-p-head2 {
  margin-top: 7px;
  font-size: 23px;
  letter-spacing: 0.28em;
  color: #242622;
}
.s05b-p-rule {
  margin-top: 7px;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: rgba(62, 64, 58, 0.45);
}
.s05b-p-meta {
  margin-top: 8px;
  font-size: 17.5px;
  color: #3b3d38;
}
.s05b-p-meta2 {
  margin-top: 9px;
  font-size: 19px;
  color: #34362f;
}
.s05b-p-red {
  color: #8c2a21;
}
.s05b-p-red2 {
  margin-top: 10px;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: rgba(132, 36, 28, 0.9);
}

/* 越往下越红（墨量堆积） */
.s05b-bleed {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(120, 30, 22, 0) 34%,
      rgba(126, 32, 24, 0.05) 62%,
      rgba(138, 34, 25, 0.13) 88%,
      rgba(150, 38, 28, 0.20) 100%);
  mix-blend-mode: multiply;
  opacity: 0.25;
}
.s05b-root.is-run .s05b-bleed {
  animation: s05b-bleed 26s 2.4s ease-in both;
}
@keyframes s05b-bleed {
  from { opacity: 0.22; }
  to { opacity: 1; }
}

/* 纸条边缘压暗与受光 */
.s05b-edge {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 14, 12, 0.26) 0%, rgba(14, 14, 12, 0.05) 5%, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0) 88%, rgba(14, 14, 12, 0.05) 95%, rgba(14, 14, 12, 0.24) 100%),
    linear-gradient(180deg, rgba(20, 20, 18, 0.26) 0%, rgba(20, 20, 18, 0.05) 6%, rgba(0, 0, 0, 0) 14%, rgba(0, 0, 0, 0) 88%, rgba(100, 30, 22, 0.08) 100%);
}

/* 打印头光带 */
.s05b-head {
  position: absolute;
  left: -10px;
  right: -10px;
  top: -2px;
  height: 3px;
  background: linear-gradient(90deg, rgba(190, 226, 240, 0) 0%, rgba(206, 234, 246, 0.9) 18%, rgba(226, 244, 252, 1) 50%, rgba(206, 234, 246, 0.9) 82%, rgba(190, 226, 240, 0) 100%);
  box-shadow: 0 0 22px 5px rgba(140, 196, 220, 0.30);
  opacity: 0;
  pointer-events: none;
}
.s05b-root.is-run .s05b-head {
  animation: s05b-headmove 1200ms linear both;
}
@keyframes s05b-headmove {
  0% { transform: translateY(0); opacity: 0; }
  4% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(var(--strip-h, 900px)); opacity: 0; }
}

/* ---------- ×8 与数据 ---------- */
.s05b-hero {
  position: absolute;
  left: 704px;
  top: 520px;
  width: 1040px;
}

.s05b-hglow {
  position: absolute;
  left: -380px;
  top: -200px;
  width: 1180px;
  height: 760px;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(150, 44, 34, 0.26) 0%, rgba(120, 34, 26, 0.08) 46%, rgba(0, 0, 0, 0) 72%);
  opacity: 0;
  will-change: transform, opacity;
}
.s05b-root.is-run .s05b-hglow {
  animation: s05b-glow 1500ms 3430ms ease-out both, s05b-glowb 8s 5000ms ease-in-out infinite;
}
@keyframes s05b-glow {
  from { opacity: 0; }
  to { opacity: 0.9; }
}
@keyframes s05b-glowb {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.055); }
}

.s05b-kicker {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 27px;
  letter-spacing: 0.24em;
  color: rgba(226, 216, 200, 0.76);
}

.s05b-x8 {
  margin-top: 14px;
  margin-left: -150px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 392px;
  line-height: 0.82;
  letter-spacing: -0.015em;
  color: #ab382b;
  text-shadow: 0 12px 64px rgba(130, 28, 20, 0.30);
  transform-origin: 34% 62%;
  opacity: 0;
  will-change: transform, opacity;
}
.s05b-root.is-run .s05b-x8 {
  animation: s05b-slam 900ms 3470ms cubic-bezier(0.16, 0.84, 0.24, 1) both;
}
@keyframes s05b-slam {
  0% { opacity: 0; transform: scale(1.46) rotate(-1.6deg); }
  6% { opacity: 1; transform: scale(1.22) rotate(-0.8deg); }
  13% { transform: scale(0.985) rotate(0deg); }
  18% { transform: scale(1.004) rotate(0deg); }
  24% { transform: scale(1) rotate(0deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.s05b-hr {
  margin-top: 10px;
  width: 720px;
  height: 1px;
  background: rgba(204, 190, 172, 0.20);
  transform-origin: 0 50%;
  opacity: 0;
}
.s05b-root.is-run .s05b-hr {
  animation: s05b-hr 900ms 3910ms var(--ease-cine) both;
}
@keyframes s05b-hr {
  from { opacity: 0; transform: scaleX(0.06); }
  to { opacity: 1; transform: scaleX(1); }
}

.s05b-data {
  position: absolute;
  left: 88px;
  top: -392px;
  width: 720px;
  padding-top: 22px;
  border-top: 1px solid rgba(204, 190, 172, 0.24);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.s05b-drow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  opacity: 0;
}
.s05b-daily-print { visibility: hidden; }
.s05b-root.show-daily .s05b-daily-print { visibility: visible; }
.s05b-root.show-daily .s05b-drow:nth-of-type(1) {
  animation: s05b-datain 900ms var(--ease-cine) both;
}
.s05b-load-print { opacity: 0; }
.s05b-root.show-daily .s05b-drow:nth-of-type(2),
.s05b-root.show-daily .s05b-load-print {
  animation: s05b-datain 900ms 1050ms var(--ease-cine) both;
}
.s05b-dk {
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.22em;
  color: rgba(222, 212, 196, 0.76);
}
.s05b-dv {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
/* 仪表读数：七段数码管 */
.s05b-num {
  font-family: var(--font-seg);
  font-weight: 700;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0;
  color: #e7ddcc;
  text-shadow: 0 0 26px rgba(244, 226, 194, 0.10);
}
.s05b-num-hi {
  color: #f4ece0;
}
.s05b-arr {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 30px;
  color: rgba(208, 192, 172, 0.46);
  transform: translateY(-5px);
}
.s05b-u {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: 0.08em;
  color: rgba(212, 200, 182, 0.60);
}
.s05b-du {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: 0.06em;
  color: rgba(212, 200, 182, 0.60);
}
.s05b-dn {
  margin-top: 2px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: rgba(206, 86, 68, 0.92);
}
.s05b-dn b {
  font-family: var(--font-seg);
  font-weight: 700;
  font-size: 33px;
  letter-spacing: 0;
  color: #e15a43;
  margin: 0 0.08em;
}

/* 重击环与闪光 */
.s05b-ring {
  position: absolute;
  left: -250px;
  top: -120px;
  width: 640px;
  height: 640px;
  margin: 0;
  border-radius: 50%;
  border: 2px solid rgba(178, 58, 44, 0.55);
  opacity: 0;
  pointer-events: none;
}
.s05b-root.is-run .s05b-ring {
  animation: s05b-ring 760ms 3500ms cubic-bezier(0.16, 0.84, 0.28, 1) both;
}
@keyframes s05b-ring {
  0% { opacity: 0; transform: scale(0.58); }
  16% { opacity: 0.55; }
  100% { opacity: 0; transform: scale(1.34); }
}

.s05b-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 30% 34% at 42% 62%, rgba(196, 66, 50, 0.42) 0%, rgba(150, 40, 30, 0.12) 46%, rgba(0, 0, 0, 0) 72%);
  mix-blend-mode: screen;
  opacity: 0;
}
.s05b-root.is-run .s05b-flash {
  animation: s05b-flash 300ms 3488ms ease-out both;
}
@keyframes s05b-flash {
  0% { opacity: 0; }
  12% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes s05b-datain {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
