:root {
  --black: #050505;
  --ink: #f2f0ec;
  --muted: rgba(242, 240, 236, 0.64);
  --faint: rgba(242, 240, 236, 0.12);
  --line: rgba(242, 240, 236, 0.18);
  --red: #71161b;
  --red-bright: #c33a43;
  --silver: #e8edf2;
  --paper: rgba(232, 237, 242, 0.08);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
  --font-title: "HarmonyOS Sans SC", "Alibaba PuHuiTi", "Source Han Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 50% 12%, rgba(113, 22, 27, 0.28), transparent 32%),
    linear-gradient(180deg, #16181d, #050505 58%);
}

button {
  font: inherit;
}

.experience {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 12%, rgba(195, 58, 67, 0.16), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(232, 237, 242, 0.08), transparent 30%),
    #050505;
}

.device {
  position: relative;
  width: min(100vw, 430px);
  height: 100dvh;
  max-height: 932px;
  overflow: hidden;
  background: #050505;
  box-shadow: var(--shadow);
  isolation: isolate;
}

@media (min-width: 520px) {
  .experience {
    padding: 18px;
  }

  .device {
    height: min(100dvh - 36px, 900px);
    border: 1px solid rgba(242, 240, 236, 0.2);
    border-radius: 30px;
  }
}

.film-grain,
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
}

.film-grain {
  opacity: 0.13;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 3px 3px;
}

.vignette {
  background:
    radial-gradient(circle at 50% 42%, transparent 0 36%, rgba(0, 0, 0, 0.36) 72%, rgba(0, 0, 0, 0.78)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 18%, transparent 78%, rgba(0, 0, 0, 0.62));
}

.chrome,
.scene-count,
.hintbar {
  position: absolute;
  z-index: 12;
}

.chrome {
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) 16px 10px;
  pointer-events: none;
}

.brandmark {
  display: grid;
  gap: 2px;
  pointer-events: auto;
}

.brandmark strong {
  font-family: var(--font-title);
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

.brandmark span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
}

.chrome-actions {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.icon-btn {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(5, 5, 5, 0.34);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.icon-btn[aria-pressed="true"] {
  border-color: rgba(195, 58, 67, 0.6);
  color: #fff;
  background: rgba(113, 22, 27, 0.58);
}

.scene-count {
  top: max(72px, calc(env(safe-area-inset-top) + 58px));
  right: 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: rgba(242, 240, 236, 0.78);
  font-variant-numeric: tabular-nums;
}

.scene-count span:first-child {
  font-size: 18px;
  font-weight: 800;
}

.scene-count em,
.scene-count span:last-child {
  color: rgba(242, 240, 236, 0.38);
  font-size: 11px;
  font-style: normal;
}

.hintbar {
  left: 16px;
  right: 16px;
  bottom: max(14px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  color: rgba(242, 240, 236, 0.58);
  font-size: 12px;
  pointer-events: none;
}

.experience[data-locked="true"] .hintbar {
  color: rgba(242, 240, 236, 0.82);
  text-shadow: 0 0 18px rgba(195, 58, 67, 0.58);
}

.story {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.story::-webkit-scrollbar {
  display: none;
}

.scene {
  position: relative;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: max(86px, calc(env(safe-area-inset-top) + 78px)) 22px max(70px, calc(env(safe-area-inset-bottom) + 58px));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background:
    radial-gradient(circle at 50% 24%, rgba(232, 237, 242, 0.06), transparent 28%),
    linear-gradient(180deg, #12151b, #050505 72%);
}

.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--image);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.32), rgba(5, 5, 5, 0.52) 45%, rgba(5, 5, 5, 0.88)),
    radial-gradient(circle at 50% 70%, transparent 0 24%, rgba(5, 5, 5, 0.56));
}

.image-scene::before,
.media-lock::before {
  opacity: 0.72;
}

.media-lock::before {
  background-image: url("./assets/images/lockscreen-notifications.png");
}

.split-shadow::after {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.22) 55%, rgba(5, 5, 5, 0.72)),
    linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.9));
}

.scene-copy {
  position: relative;
  z-index: 2;
  width: 100%;
}

.scene-copy.center {
  align-self: center;
  text-align: center;
}

.scene-copy.bottom {
  align-self: end;
}

.scene-copy.top {
  align-self: start;
}

.scene-copy.narrow {
  max-width: 300px;
  margin: 0 auto;
}

.kicker {
  margin: 0 0 14px;
  color: rgba(232, 237, 242, 0.58);
  font-size: 12px;
  line-height: 1.4;
}

h1,
h2,
.scene-copy.huge p {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 900;
  text-wrap: balance;
}

h1 {
  font-size: 64px;
  line-height: 0.98;
}

h2 {
  font-size: 32px;
  line-height: 1.12;
}

.lead,
.scene-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.scene-copy .lead {
  margin: 18px 0 24px;
}

.scene-copy.huge {
  display: grid;
  gap: 12px;
}

.scene-copy.huge p {
  color: var(--ink);
  font-size: clamp(30px, 9vw, 44px);
  line-height: 1.22;
}

.start-btn,
.choice-row button,
.support-options button,
.drop-zone,
.privacy-options button {
  min-height: 48px;
  border: 1px solid rgba(242, 240, 236, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(242, 240, 236, 0.08);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.start-btn {
  padding: 0 22px;
  font-weight: 800;
}

.start-btn:active,
.choice-row button:active,
.support-options button:active,
.drop-zone:active,
.privacy-options button:active {
  transform: scale(0.98);
}

.start-btn:hover,
.choice-row button:hover,
.support-options button:hover,
.drop-zone:hover,
.privacy-options button:hover {
  border-color: rgba(195, 58, 67, 0.68);
  background: rgba(113, 22, 27, 0.38);
}

.swipe-tip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 58px;
  z-index: 2;
  margin: 0;
  color: rgba(242, 240, 236, 0.52);
  font-size: 12px;
  text-align: center;
  animation: tipPulse 1.8s ease-in-out infinite;
}

.comment-cloud span,
.raining-comments span {
  position: absolute;
  color: rgba(242, 240, 236, 0.26);
  font-size: 14px;
  white-space: nowrap;
  filter: blur(0.2px);
  animation: drift 8s linear infinite;
}

.comment-cloud span:nth-child(1) {
  top: 18%;
  left: 10%;
}

.comment-cloud span:nth-child(2) {
  top: 32%;
  right: 7%;
  animation-delay: -2s;
}

.comment-cloud span:nth-child(3) {
  top: 54%;
  left: 16%;
  animation-delay: -3s;
}

.comment-cloud span:nth-child(4) {
  top: 70%;
  right: 18%;
  animation-delay: -5s;
}

.comment-cloud span:nth-child(5) {
  top: 42%;
  left: 42%;
  color: rgba(195, 58, 67, 0.48);
  animation-delay: -1s;
}

.phone-notices {
  display: grid;
  gap: 12px;
  align-self: center;
}

.notice {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(242, 240, 236, 0.16);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(242, 240, 236, 0.08);
  text-align: left;
  backdrop-filter: blur(22px);
  cursor: pointer;
}

.notice.danger {
  background: rgba(113, 22, 27, 0.42);
}

.notice span,
.notice em {
  color: rgba(242, 240, 236, 0.58);
  font-size: 12px;
  font-style: normal;
}

.notice strong {
  font-size: 19px;
  line-height: 1.25;
}

.stage-post-scene {
  align-items: end;
}

.linxia-dynamic {
  position: absolute;
  top: max(86px, calc(env(safe-area-inset-top) + 76px));
  left: 22px;
  right: 22px;
  z-index: 3;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(242, 240, 236, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.62)),
    rgba(242, 240, 236, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px);
}

.dynamic-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.dynamic-avatar {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(242, 240, 236, 0.42);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(242, 240, 236, 0.08), rgba(113, 22, 27, 0.2)),
    url("./assets/images/linxia-avatar.png") center / cover no-repeat;
}

.dynamic-head strong,
.dynamic-head em {
  display: block;
}

.dynamic-head strong {
  font-size: 15px;
  line-height: 1.2;
}

.dynamic-head em {
  margin-top: 2px;
  color: rgba(242, 240, 236, 0.5);
  font-size: 11px;
  font-style: normal;
}

.linxia-dynamic p {
  margin: 0;
  color: rgba(242, 240, 236, 0.82);
  font-size: 13px;
  line-height: 1.65;
}

.linxia-dynamic figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  height: clamp(220px, 34vh, 270px);
  background:
    radial-gradient(circle at 50% 42%, rgba(242, 240, 236, 0.08), transparent 48%),
    #070707;
}

.linxia-dynamic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.linxia-dynamic figcaption {
  position: absolute;
  right: 8px;
  bottom: 7px;
  color: rgba(232, 237, 242, 0.42);
  font-size: 10px;
}

.dynamic-foot {
  display: flex;
  gap: 14px;
  color: rgba(242, 240, 236, 0.48);
  font-size: 11px;
}

.choice-scene {
  align-items: stretch;
}

.choice-row,
.support-options,
.drop-actions,
.privacy-options {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.choice-row {
  align-self: end;
}

.choice-row.compact {
  grid-template-columns: 1fr 1fr 1fr;
  align-self: end;
}

.choice-row.compact button {
  min-height: 44px;
  padding: 0 8px;
  font-size: 13px;
}

.impact-line,
.micro-status {
  position: relative;
  z-index: 2;
  margin: 12px 0 0;
  color: rgba(232, 237, 242, 0.66);
  font-size: 13px;
  line-height: 1.6;
}

.rumor-scene {
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(113, 22, 27, 0.32), transparent 36%),
    #050505;
}

.floating-shot {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 12px;
  width: min(100%, 320px);
  margin: 0 auto;
  padding: 24px 20px;
  border: 1px solid rgba(242, 240, 236, 0.2);
  border-radius: 8px;
  color: #151515;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 237, 242, 0.8)),
    url("./assets/images/rumor-screenshot-spread.png") center / cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.52);
}

.floating-shot::after {
  content: "由gpt-image-2模型生成";
  justify-self: end;
  color: rgba(60, 60, 60, 0.42);
  font-size: 10px;
}

.floating-shot span,
.floating-shot em {
  color: rgba(21, 21, 21, 0.58);
  font-size: 12px;
  font-style: normal;
}

.floating-shot strong {
  font-size: 24px;
  line-height: 1.3;
}

.drop-actions {
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}

.drop-zone.stop {
  border-color: rgba(232, 237, 242, 0.28);
}

.drop-zone.spread {
  border-color: rgba(195, 58, 67, 0.56);
  background: rgba(113, 22, 27, 0.36);
}

.data-scene {
  align-items: stretch;
  background:
    radial-gradient(circle at 52% 42%, rgba(113, 22, 27, 0.24), transparent 38%),
    linear-gradient(180deg, #0c0e12, #050505 72%);
}

.data-scene::after {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.24), rgba(5, 5, 5, 0.72)),
    linear-gradient(90deg, rgba(195, 58, 67, 0.1), transparent 32%, rgba(232, 237, 242, 0.06));
}

.data-scene h2 {
  font-size: 29px;
}

.data-scene .scene-copy p {
  font-size: 14px;
  line-height: 1.7;
}

.source-note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: max(42px, calc(env(safe-area-inset-bottom) + 34px));
  z-index: 3;
  margin: 0;
  color: rgba(232, 237, 242, 0.45);
  font-size: 10px;
  line-height: 1.55;
}

.network-map {
  position: relative;
  z-index: 2;
  align-self: center;
  width: 100%;
  height: min(43vh, 360px);
  margin: 14px auto 20px;
}

.network-map::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(242, 240, 236, 0.08);
  background-image:
    linear-gradient(rgba(232, 237, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 237, 242, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0 58%, transparent 78%);
}

.node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(242, 240, 236, 0.22);
  border-radius: 50%;
  color: rgba(242, 240, 236, 0.84);
  background: rgba(5, 5, 5, 0.62);
  box-shadow:
    0 0 34px rgba(195, 58, 67, 0.14),
    inset 0 0 22px rgba(242, 240, 236, 0.05);
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
}

.node::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(195, 58, 67, 0.2);
  border-radius: inherit;
  animation: ringPulse 2.8s ease-in-out infinite;
}

.node.origin {
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  border-color: rgba(232, 237, 242, 0.42);
  color: #fff;
  background: rgba(113, 22, 27, 0.56);
  transform: translate(-50%, -50%);
}

.node.n1 {
  top: 8%;
  left: 4%;
}

.node.n2 {
  top: 11%;
  right: 6%;
}

.node.n3 {
  bottom: 12%;
  left: 8%;
}

.node.n4 {
  bottom: 9%;
  right: 4%;
}

.node.n5 {
  top: 42%;
  right: -1%;
  border-color: rgba(195, 58, 67, 0.54);
  color: #fff;
}

.link {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(195, 58, 67, 0.68), rgba(232, 237, 242, 0.22), transparent);
  transform-origin: left center;
}

.link::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 22%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(195, 58, 67, 0.9);
  box-shadow: 0 0 18px rgba(195, 58, 67, 0.86);
}

.link.l1 {
  top: 35%;
  left: 22%;
  width: 118px;
  transform: rotate(28deg);
}

.link.l2 {
  top: 35%;
  left: 52%;
  width: 116px;
  transform: rotate(-28deg);
}

.link.l3 {
  top: 60%;
  left: 20%;
  width: 122px;
  transform: rotate(-22deg);
}

.link.l4 {
  top: 62%;
  left: 54%;
  width: 116px;
  transform: rotate(24deg);
}

.link.l5 {
  top: 50%;
  left: 64%;
  width: 88px;
  transform: rotate(2deg);
}

.category-rain {
  position: relative;
  z-index: 2;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  width: 100%;
  height: min(40vh, 320px);
  margin: 12px 0 24px;
  padding-top: 34px;
}

.category-rain span {
  position: relative;
  display: flex;
  min-height: 92px;
  height: var(--h);
  align-items: flex-end;
  justify-content: center;
  padding: 0 6px 12px;
  border: 1px solid rgba(242, 240, 236, 0.14);
  border-radius: 8px 8px 3px 3px;
  color: rgba(242, 240, 236, 0.86);
  background:
    linear-gradient(180deg, rgba(195, 58, 67, 0.1), rgba(113, 22, 27, 0.58)),
    rgba(242, 240, 236, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
}

.category-rain span::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 50%;
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, transparent, rgba(195, 58, 67, 0.72));
}

.bullet-scene {
  align-items: stretch;
}

.bullet-field {
  position: relative;
  z-index: 2;
  align-self: center;
  min-height: 360px;
}

.bullet-field button {
  position: absolute;
  max-width: 78%;
  padding: 9px 12px;
  border: 1px solid rgba(242, 240, 236, 0.2);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(242, 240, 236, 0.08);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.bullet-field button:nth-child(1) {
  top: 8%;
  left: 6%;
}

.bullet-field button:nth-child(2) {
  top: 26%;
  right: 4%;
}

.bullet-field button:nth-child(3) {
  top: 46%;
  left: 0;
}

.bullet-field button:nth-child(4) {
  top: 66%;
  right: 8%;
}

.bullet-field button:nth-child(5) {
  top: 82%;
  left: 14%;
}

.bullet-field button.marked-harm {
  border-color: rgba(195, 58, 67, 0.72);
  background: rgba(113, 22, 27, 0.48);
}

.bullet-field button.marked-safe {
  opacity: 0.45;
}

.raining-comments span {
  top: -12%;
  padding: 7px 10px;
  border: 1px solid rgba(242, 240, 236, 0.12);
  border-radius: 8px;
  color: rgba(242, 240, 236, 0.5);
  background: rgba(5, 5, 5, 0.36);
  animation-name: rain;
  animation-duration: 4.2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.raining-comments span:nth-child(1) {
  left: 6%;
}

.raining-comments span:nth-child(2) {
  left: 28%;
  animation-delay: -1.2s;
}

.raining-comments span:nth-child(3) {
  left: 52%;
  color: rgba(195, 58, 67, 0.62);
  animation-delay: -2s;
}

.raining-comments span:nth-child(4) {
  left: 70%;
  animation-delay: -0.6s;
}

.raining-comments span:nth-child(5) {
  left: 18%;
  animation-delay: -3.1s;
}

.raining-comments span:nth-child(6) {
  left: 82%;
  color: rgba(195, 58, 67, 0.62);
  animation-delay: -2.7s;
}

.support-scene {
  align-items: stretch;
}

.support-options {
  align-self: end;
}

.support-options button {
  padding: 14px;
  text-align: left;
  line-height: 1.55;
}

.algorithm-scene {
  place-items: center;
}

.algorithm-rings {
  position: absolute;
  z-index: 0;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(195, 58, 67, 0.32);
  border-radius: 50%;
  animation: ringPulse 2.6s ease-in-out infinite;
}

.algorithm-rings::before,
.algorithm-rings::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(232, 237, 242, 0.16);
  border-radius: 50%;
}

.algorithm-rings::after {
  inset: -42px;
  border-color: rgba(195, 58, 67, 0.16);
}

.signal-stack {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 330px;
  margin: 20px auto 0;
}

.signal-stack span {
  display: grid;
  gap: 4px;
  padding: 11px 8px;
  border: 1px solid rgba(242, 240, 236, 0.14);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.36);
  text-align: center;
  backdrop-filter: blur(18px);
}

.signal-stack b {
  color: rgba(242, 240, 236, 0.86);
  font-size: 12px;
}

.signal-stack em {
  color: rgba(195, 58, 67, 0.92);
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.metric-row {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 84px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric-row span {
  display: grid;
  gap: 4px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(242, 240, 236, 0.06);
  text-align: center;
  font-size: 11px;
}

.metric-row b {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.ethics-scene,
.quiet-scene {
  background: #050505;
}

.privacy-scene {
  align-items: stretch;
}

.privacy-paper {
  position: relative;
  z-index: 2;
  align-self: center;
  display: grid;
  gap: 12px;
  padding: 24px 20px;
  border: 1px solid rgba(195, 58, 67, 0.4);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.68), rgba(113, 22, 27, 0.42)),
    url("./assets/images/privacy-warning.png") center / cover;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.privacy-paper span,
.privacy-paper em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.privacy-paper strong {
  font-size: 26px;
  line-height: 1.2;
}

.privacy-chain {
  position: relative;
  z-index: 2;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.privacy-chain span {
  position: relative;
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 6px;
  border: 1px solid rgba(195, 58, 67, 0.28);
  border-radius: 8px;
  color: rgba(242, 240, 236, 0.78);
  background: rgba(113, 22, 27, 0.18);
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
}

.privacy-chain span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  width: 6px;
  height: 1px;
  background: rgba(195, 58, 67, 0.62);
}

.privacy-options {
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  align-self: end;
}

.privacy-options.show {
  display: grid;
}

.dm-scene {
  align-items: stretch;
}

.dm-stack {
  position: relative;
  z-index: 2;
  align-self: center;
  display: grid;
  gap: 12px;
}

.dm {
  max-width: 82%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(242, 240, 236, 0.08);
  backdrop-filter: blur(18px);
  line-height: 1.6;
}

.dm.r {
  justify-self: end;
  color: #fff;
  background: rgba(113, 22, 27, 0.42);
}

.canvas-scene {
  padding-left: 0;
  padding-right: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.42), #050505),
    url("./assets/images/collapse-canvas-bg.png") center / cover;
}

#shatterCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.replay-scene,
.law-scene,
.victim-scene {
  align-items: stretch;
}

.replay-scene {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
}

.law-scene {
  grid-template-rows: auto minmax(0, 0.82fr) minmax(0, 1fr) auto;
  gap: 10px;
}

.replay-list,
.law-grid {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  gap: 10px;
  max-height: 56vh;
  overflow: auto;
  padding-right: 4px;
}

.replay-list {
  align-self: stretch;
  max-height: none;
}

.replay-dashboard {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(242, 240, 236, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(113, 22, 27, 0.22), rgba(242, 240, 236, 0.05)),
    rgba(5, 5, 5, 0.42);
}

.role-chip {
  justify-self: start;
  padding: 5px 9px;
  border: 1px solid rgba(195, 58, 67, 0.38);
  border-radius: 999px;
  color: rgba(242, 240, 236, 0.86);
  background: rgba(113, 22, 27, 0.26);
  font-size: 12px;
}

.replay-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.replay-stats span {
  display: grid;
  gap: 3px;
  padding: 9px 6px;
  border: 1px solid rgba(242, 240, 236, 0.1);
  border-radius: 8px;
  background: rgba(242, 240, 236, 0.04);
  text-align: center;
}

.replay-stats b {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.replay-stats em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.replay-meter {
  overflow: hidden;
  height: 5px;
  border-radius: 999px;
  background: rgba(242, 240, 236, 0.12);
}

.replay-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(113, 22, 27, 0.9), rgba(232, 237, 242, 0.86));
}

.replay-events {
  display: grid;
  gap: 10px;
}

.governance-timeline {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.governance-timeline article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid rgba(242, 240, 236, 0.12);
  border-radius: 8px;
  background: rgba(242, 240, 236, 0.05);
}

.governance-timeline b {
  color: rgba(232, 237, 242, 0.92);
  font-size: 13px;
}

.governance-timeline span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.law-grid.compact-law {
  align-self: stretch;
  max-height: none;
  min-height: 0;
}

.law-scene .source-note {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  align-self: end;
}

.replay-list article,
.law-grid article {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(242, 240, 236, 0.06);
}

.replay-list b,
.law-grid b {
  color: var(--ink);
  font-size: 14px;
}

.replay-list span,
.law-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.ending-scene {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.42), #050505),
    url("./assets/images/replay-summary.png") center / cover;
}

.toast {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: max(56px, calc(env(safe-area-inset-bottom) + 48px));
  z-index: 30;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
  font-size: 13px;
  line-height: 1.55;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.poster-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.poster-modal.open {
  display: grid;
}

.poster {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(100%, 360px);
  padding: 28px 22px;
  border: 1px solid rgba(242, 240, 236, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.86)),
    url("./assets/images/share-poster.png") center / cover,
    #050505;
  box-shadow: var(--shadow);
}

.poster::after {
  content: "由gpt-image-2模型生成";
  justify-self: end;
  color: rgba(232, 237, 242, 0.42);
  font-size: 10px;
}

.poster .close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.poster-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.poster h2,
.poster p {
  margin: 0;
}

.poster h2 {
  font-size: 28px;
}

.poster p {
  color: var(--muted);
  line-height: 1.7;
}

.poster-score {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.poster-score div {
  display: grid;
  gap: 5px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.5);
  text-align: center;
}

.poster-score strong {
  font-size: 24px;
}

.poster-score span {
  color: var(--muted);
  font-size: 11px;
}

.experience[data-tone="misread"] .device,
.experience[data-tone="rumor"] .device {
  background: #0b0809;
}

.experience[data-tone="pressure"] .device,
.experience[data-tone="privacy"] .device,
.experience[data-tone="collapse"] .device {
  animation: pressureShake 1.8s ease-in-out infinite;
}

.experience[data-tone="collapse"] .vignette {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(0, 0, 0, 0.72) 66%, rgba(0, 0, 0, 0.92)),
    linear-gradient(180deg, rgba(113, 22, 27, 0.3), transparent 34%, rgba(0, 0, 0, 0.9));
}

@keyframes tipPulse {
  0%,
  100% {
    opacity: 0.38;
    transform: translateY(0);
  }
  50% {
    opacity: 0.78;
    transform: translateY(-4px);
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 18px, 0) scale(0.96);
  }
  50% {
    transform: translate3d(12px, -10px, 0) scale(1.04);
  }
  100% {
    transform: translate3d(0, 18px, 0) scale(0.96);
  }
}

@keyframes rain {
  from {
    transform: translateY(-10vh);
    opacity: 0;
  }
  12% {
    opacity: 0.85;
  }
  to {
    transform: translateY(112vh);
    opacity: 0;
  }
}

@keyframes ringPulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.36;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.78;
  }
}

@keyframes pressureShake {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  30% {
    transform: translate3d(0.5px, -0.5px, 0);
  }
  62% {
    transform: translate3d(-0.5px, 0.5px, 0);
  }
}

@media (max-height: 670px) {
  .scene {
    padding-top: max(70px, calc(env(safe-area-inset-top) + 62px));
    padding-bottom: max(54px, calc(env(safe-area-inset-bottom) + 44px));
  }

  .linxia-dynamic {
    top: max(70px, calc(env(safe-area-inset-top) + 60px));
    gap: 8px;
    padding: 12px;
  }

  .linxia-dynamic p {
    font-size: 12px;
    line-height: 1.45;
  }

  .linxia-dynamic figure {
    height: 190px;
  }

  .dynamic-foot {
    font-size: 10px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 27px;
  }

  .scene-copy.huge p {
    font-size: 28px;
  }

  .lead,
  .scene-copy p {
    font-size: 14px;
    line-height: 1.7;
  }

  .bullet-field {
    min-height: 300px;
  }

  .replay-list,
  .law-grid {
    max-height: 50vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
