/* =============================================================================
   scene-11.css · 沉浸式伦理公投（全屏左右对决 · 无聚光灯 · 无胜者）
   07:45–08:45  “把决定权交给全场。”
   左：方案 A · 效率与民生保供（暖红 / 炉火）
   右：方案 B · 生态与底线规则（冷青 / 电网）
   中央：一道极细的分割光缝（Canvas 绘制，随自主拉锯微偏）
   纪律：不做卡片、不显示具体票数、不做胜利色块；二维码沉入暗场，底部拉锯光带平静流转。
   ========================================================================== */

.s11-root {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #04060a;
}

/* ---- 背景与光缝（一张 Canvas 全屏绘制：双侧光域 / 光缝 / 尘埃 / 光带端头） ---- */
.s11-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  display: block;
}

/* ---- 顶部极轻的总题（一屏一个视觉焦点：两难本身） ---- */
.s11-head {
  position: absolute;
  left: 50%;
  top: 58px;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  opacity: 0;
}
.s11-head .s11-k {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.56em;
  text-indent: 0.56em;
  color: rgba(240, 232, 218, 0.52);
  white-space: nowrap;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.8);
}
.s11-head .s11-hrule {
  position: relative;
  display: block;
  width: 620px;
  height: 1px;
  margin: 20px auto 0;
  background: linear-gradient(90deg,
      rgba(240, 226, 206, 0) 0%,
      rgba(240, 226, 206, 0.20) 24%,
      rgba(244, 234, 218, 0.34) 50%,
      rgba(220, 238, 240, 0.20) 76%,
      rgba(220, 238, 240, 0) 100%);
  transform: scaleX(0.25);
  opacity: 0;
  transform-origin: 50% 50%;
}

/* ---- 左右两栏（对称镜像，宽度 804，距中线 108px） ---- */
.s11-side {
  position: absolute;
  top: 0;
  height: 1080px;
  width: 804px;
  pointer-events: none;
}
.s11-a { left: 96px; }
.s11-b { right: 96px; text-align: right; }

/* 标签：方案 A / 方案 B */
.s11-plan {
  position: absolute;
  left: 0;
  top: 126px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 27px;
  line-height: 1;
  letter-spacing: 0.5em;
  color: rgba(242, 224, 200, 0.62);
  white-space: nowrap;
  opacity: 0;
}
.s11-b .s11-plan {
  left: auto;
  right: 0;
  color: rgba(220, 238, 242, 0.6);
  letter-spacing: 0.5em;
}

/* 巨型 A / B + 方案名 锁定组 */
.s11-lockup {
  position: absolute;
  left: 0;
  top: 172px;
  display: flex;
  align-items: baseline;
  gap: 44px;
  opacity: 0;
}
.s11-b .s11-lockup {
  left: auto;
  right: 0;
  flex-direction: row-reverse;
}
.s11-letter {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 300px;
  line-height: 0.76;
  letter-spacing: -0.02em;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateZ(0);
}
.s11-a .s11-letter {
  background-image: linear-gradient(172deg,
      #f6d9b0 0%,
      #e8b780 30%,
      #cf8d5c 62%,
      #a45c3a 88%,
      #804228 100%);
  filter: drop-shadow(0 0 50px rgba(214, 126, 58, 0.20)) drop-shadow(0 0 140px rgba(170, 80, 36, 0.10));
}
.s11-b .s11-letter {
  background-image: linear-gradient(172deg,
      #eef8fa 0%,
      #cbe5ec 30%,
      #8ab8c8 62%,
      #5a8c9f 88%,
      #406d81 100%);
  filter: drop-shadow(0 0 50px rgba(84, 158, 182, 0.20)) drop-shadow(0 0 140px rgba(44, 110, 134, 0.10));
}
.s11-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: 0.055em;
  white-space: nowrap;
  opacity: 0;
}
.s11-a .s11-title { color: #f2e2cd; text-shadow: 0 0 60px rgba(190, 108, 48, 0.18), 0 3px 30px rgba(0, 0, 0, 0.7); }
.s11-b .s11-title { color: #e6eff0; text-shadow: 0 0 60px rgba(82, 156, 180, 0.18), 0 3px 30px rgba(0, 0, 0, 0.7); }

/* 主张句 + 论述（保留剧本语义，仅作排版断句；4K 投影可读优先） */
.s11-claim {
  position: absolute;
  left: 0;
  top: 432px;
  width: 804px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 42px;
  line-height: 1.4;
  letter-spacing: 0.035em;
  color: rgba(248, 240, 228, 0.95);
  opacity: 0;
}
.s11-b .s11-claim { color: rgba(234, 245, 246, 0.95); }
.s11-copy {
  position: absolute;
  left: 0;
  top: 496px;
  width: 802px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 29px;
  line-height: 1.8;
  letter-spacing: 0.045em;
  color: rgba(244, 236, 224, 0.75);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.7);
  opacity: 0;
}
.s11-b .s11-copy { color: rgba(228, 242, 246, 0.72); }

/* 沉浸式二维码投票区（融于暗场背景，无白底卡片感，保留标准静区确保可扫码） */
.s11-qr-block {
  position: absolute;
  left: 0;
  top: 678px;
  width: 164px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  opacity: 0;
}
.s11-b .s11-qr-block {
  left: auto;
  right: 0;
}
.s11-qr-frame {
  position: relative;
  width: 164px;
  height: 164px;
  border-radius: 3px;
  overflow: hidden;
}
.s11-a .s11-qr-frame {
  background: rgba(14, 9, 6, 0.45);
  border: 1px solid rgba(246, 220, 178, 0.20);
  box-shadow: 0 0 38px rgba(214, 126, 58, 0.14), inset 0 0 24px rgba(232, 150, 74, 0.06);
}
.s11-b .s11-qr-frame {
  background: rgba(6, 13, 18, 0.45);
  border: 1px solid rgba(218, 240, 246, 0.20);
  box-shadow: 0 0 38px rgba(84, 158, 182, 0.14), inset 0 0 24px rgba(106, 186, 208, 0.06);
}
.s11-qr-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.s11-a .s11-qr-svg path {
  fill: rgba(246, 220, 178, 0.86);
}
.s11-b .s11-qr-svg path {
  fill: rgba(218, 240, 246, 0.86);
}
.s11-qr-label {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  text-align: center;
  white-space: nowrap;
}
.s11-a .s11-qr-label {
  color: rgba(246, 224, 188, 0.72);
  text-shadow: 0 0 20px rgba(214, 126, 58, 0.20), 0 2px 16px rgba(0, 0, 0, 0.7);
}
.s11-b .s11-qr-label {
  color: rgba(218, 240, 246, 0.72);
  text-shadow: 0 0 20px rgba(84, 158, 182, 0.20), 0 2px 16px rgba(0, 0, 0, 0.7);
}

/* 细长光带图表（每侧一条，自外缘向内生长，过半刻度可见） */
.s11-band {
  position: absolute;
  left: 0;
  top: 908px;
  width: 804px;
  height: 2px;
  opacity: 0;
}
.s11-b .s11-band { left: auto; right: 0; }
.s11-track {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: rgba(242, 236, 224, 0.11);
}
.s11-a .s11-track { background: linear-gradient(90deg, rgba(242, 226, 202, 0.05), rgba(242, 226, 202, 0.16)); }
.s11-b .s11-track { background: linear-gradient(270deg, rgba(226, 238, 240, 0.05), rgba(226, 238, 240, 0.16)); }
.s11-tick {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 1px;
  height: 11px;
  background: rgba(242, 236, 224, 0.2);
}
.s11-tick::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  font: 300 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
  color: rgba(242, 236, 224, 0.18);
}
.s11-fill {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 3px;
  transform: scaleX(0.5);
  transform-origin: 0% 50%;
  will-change: transform;
  border-radius: 2px;
}
.s11-a .s11-fill {
  background: linear-gradient(90deg,
      rgba(240, 164, 92, 0.1) 0%,
      rgba(238, 156, 84, 0.5) 62%,
      rgba(250, 206, 152, 0.92) 100%);
  box-shadow: 0 0 16px rgba(226, 138, 62, 0.28);
}
.s11-b .s11-fill {
  transform-origin: 100% 50%;
  background: linear-gradient(270deg,
      rgba(120, 196, 212, 0.1) 0%,
      rgba(132, 200, 214, 0.5) 62%,
      rgba(212, 240, 246, 0.92) 100%);
  box-shadow: 0 0 16px rgba(104, 186, 208, 0.26);
}

/* 底部技术提示（极小，不喧宾夺主） */
.s11-hint {
  position: absolute;
  left: 50%;
  bottom: 46px;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: rgba(238, 229, 213, 0.34);
  white-space: nowrap;
  opacity: 0;
}
.s11-hint em {
  font-style: normal;
  color: rgba(240, 226, 204, 0.56);
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
}

/* =============================================================================
   入场动画（enter 时重新触发 .s11-play）
   ========================================================================== */
.s11-play .s11-head { animation: s11-fade 1500ms var(--ease-cine) both 260ms; }
.s11-play .s11-head .s11-hrule { animation: s11-rule 1900ms var(--ease-cine) both 620ms; }
.s11-play .s11-a .s11-plan { animation: s11-rise 1200ms var(--ease-cine) both 420ms; }
.s11-play .s11-b .s11-plan { animation: s11-rise 1200ms var(--ease-cine) both 500ms; }
.s11-play .s11-a .s11-lockup { animation: s11-rise 1500ms var(--ease-cine) both 560ms; }
.s11-play .s11-b .s11-lockup { animation: s11-rise 1500ms var(--ease-cine) both 640ms; }
.s11-play .s11-a .s11-title { animation: s11-fade 1500ms var(--ease-cine) both 900ms; }
.s11-play .s11-b .s11-title { animation: s11-fade 1500ms var(--ease-cine) both 960ms; }
.s11-play .s11-a .s11-claim { animation: s11-rise 1400ms var(--ease-cine) both 1080ms; }
.s11-play .s11-b .s11-claim { animation: s11-rise 1400ms var(--ease-cine) both 1120ms; }
.s11-play .s11-a .s11-copy { animation: s11-fade 1700ms var(--ease-cine) both 1280ms; }
.s11-play .s11-b .s11-copy { animation: s11-fade 1700ms var(--ease-cine) both 1340ms; }
.s11-play .s11-a .s11-qr-block { animation: s11-rise 1500ms var(--ease-cine) both 1520ms; }
.s11-play .s11-b .s11-qr-block { animation: s11-rise 1500ms var(--ease-cine) both 1580ms; }
.s11-play .s11-a .s11-band { animation: s11-fade 1600ms var(--ease-cine) both 1760ms; }
.s11-play .s11-b .s11-band { animation: s11-fade 1600ms var(--ease-cine) both 1820ms; }
.s11-play .s11-hint { animation: s11-fade 1800ms var(--ease-soft) both 2200ms; }

@keyframes s11-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes s11-rise {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes s11-rule {
  from { opacity: 0; transform: scaleX(0.25); }
  to { opacity: 1; transform: scaleX(1); }
}
