:root {
  --ice: #eaf7ff;
  --ice-deep: #d9f0fd;
  --paper: rgba(255, 255, 255, 0.78);
  --paper-solid: #f8fcff;
  --ink: #12334a;
  --muted: #577489;
  --blue: #168dcc;
  --cyan: #42c8ff;
  --deep-blue: #075b91;
  --line: rgba(22, 141, 204, 0.22);
  --risk: #f17863;
  --success: #16a78b;
  --shadow: 0 24px 70px rgba(53, 139, 184, 0.16);
  --radius: 24px;
  --content: 780px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  background: var(--ice);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(66, 200, 255, 0.2), transparent 27rem),
    radial-gradient(circle at 92% 40%, rgba(94, 184, 244, 0.16), transparent 28rem),
    linear-gradient(180deg, #eefaff 0%, #dff3ff 46%, #edf9ff 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

button,
input,
summary {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: var(--deep-blue);
  text-underline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(66, 200, 255, 0.75);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 4px;
  background: rgba(255, 255, 255, 0.46);
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 18px rgba(66, 200, 255, 0.78);
}

.investigator-bar {
  position: fixed;
  top: 14px;
  right: 14px;
  left: 14px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 7px 8px 7px 13px;
  color: #174660;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(235, 248, 255, 0.78);
  box-shadow: 0 10px 35px rgba(24, 106, 151, 0.1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.investigator-bar__brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(66, 200, 255, 0.12), 0 0 10px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

.investigator-bar__stats {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.61rem;
  white-space: nowrap;
}

.investigator-bar__stats > span {
  color: var(--muted);
}

.investigator-bar__stats strong {
  color: var(--deep-blue);
}

.sound-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--deep-blue);
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(224, 247, 255, 0.72));
  box-shadow: 0 5px 16px rgba(22, 141, 204, 0.12);
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  transform: translateY(-1px);
}

.sound-toggle__icon {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(66, 200, 255, 0.16);
}

.sound-toggle[aria-pressed="true"] .sound-toggle__icon {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(66, 200, 255, 0.14);
  animation: musicPulse 1.5s ease-in-out infinite;
}

.sound-prompt {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(22, 141, 204, 0.94), rgba(66, 200, 255, 0.94));
  box-shadow:
    0 12px 34px rgba(7, 91, 145, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition:
    opacity 200ms ease,
    visibility 200ms ease,
    transform 200ms ease;
  animation: soundPromptPulse 2.2s ease-in-out infinite;
}

.sound-prompt:hover,
.sound-prompt:focus-visible {
  transform: translateY(-2px);
}

.sound-prompt.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  animation: none;
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(22, 141, 204, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 141, 204, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.scene {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: max(88px, env(safe-area-inset-top)) 20px max(62px, env(safe-area-inset-bottom));
  border-bottom: 1px solid rgba(22, 141, 204, 0.1);
  scroll-snap-align: start;
  isolation: isolate;
  overflow: hidden;
}

.scene::before {
  content: "";
  position: absolute;
  top: 18%;
  right: -45%;
  z-index: -1;
  width: 92vw;
  aspect-ratio: 1;
  border: 1px solid rgba(22, 141, 204, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 50px rgba(66, 200, 255, 0.025),
    0 0 0 110px rgba(66, 200, 255, 0.018);
}

.scene-shell {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.scene-index {
  position: absolute;
  right: 16px;
  bottom: 17px;
  color: rgba(18, 70, 96, 0.25);
  font: 800 3rem/1 Arial, sans-serif;
  letter-spacing: -0.08em;
}

.section-title {
  margin-bottom: 28px;
}

.section-label {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.section-title h2 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 8vw, 3.65rem);
  line-height: 1.15;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-title > p:last-child:not(.section-label) {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 18px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 15px rgba(66, 200, 255, 0.48);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  align-items: flex-end;
  padding-bottom: max(74px, env(safe-area-inset-bottom));
  color: #fff;
  background: #9dd8f7;
}

.hero::before {
  display: none;
}

.hero__photo,
.hero__wash,
.scan-line {
  position: absolute;
  inset: 0;
}

.hero__photo {
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72) contrast(1.03);
  transform: scale(1.025);
  animation: heroDrift 12s ease-in-out infinite alternate;
}

.hero__wash {
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(5, 74, 112, 0.1) 0%, rgba(5, 74, 112, 0.24) 38%, rgba(5, 44, 70, 0.92) 100%),
    linear-gradient(100deg, rgba(62, 189, 246, 0.4), transparent 58%);
}

.hero__wash::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(204, 243, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 243, 255, 0.3) 1px, transparent 1px);
  background-size: 42px 42px;
}

.scan-line {
  z-index: -2;
  height: 16%;
  background: linear-gradient(to bottom, transparent, rgba(155, 230, 255, 0.23), transparent);
  animation: scan 6s linear infinite;
}

.hero__content {
  width: min(100%, 720px);
  margin: 0 auto;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(4, 70, 105, 0.28);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.live-tag span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #fff;
}

.hero__dateline {
  margin: 0 0 8px;
  color: #dff7ff;
  font-size: 0.77rem;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.65rem, 13.2vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  text-shadow: 0 8px 35px rgba(0, 49, 79, 0.3);
}

.hero h1 span {
  display: block;
}

.hero h1 .hero__ai {
  width: fit-content;
  margin-bottom: 5px;
  color: #bff2ff;
  font: 900 clamp(5rem, 25vw, 11rem)/0.72 Arial, sans-serif;
  letter-spacing: -0.1em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.75);
  text-shadow: 0 0 28px rgba(66, 200, 255, 0.66);
}

.hero__subtitle {
  margin: 19px 0 0;
  font-size: clamp(1rem, 4.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero__question {
  max-width: 590px;
  margin: 18px 0 0;
  color: #dff5ff;
  font-size: 0.9rem;
  line-height: 1.8;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 218px;
  margin-top: 26px;
  padding: 13px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.action-button--solid {
  color: #07577f;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(231, 249, 255, 0.92);
  box-shadow: 0 14px 36px rgba(0, 45, 70, 0.22);
}

.photo-credit {
  position: absolute;
  right: 14px;
  bottom: 16px;
  margin: 0;
  color: rgba(232, 249, 255, 0.72);
  font-size: 0.56rem;
  writing-mode: vertical-rl;
}

.hero .scene-index {
  color: rgba(255, 255, 255, 0.24);
}

.news-lead {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.64), rgba(216, 241, 253, 0.48));
}

.news-lead__layout {
  display: grid;
  gap: 24px;
}

.news-photo {
  position: relative;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-photo img {
  width: 100%;
  height: min(62vh, 480px);
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.75) sepia(0.04);
}

.news-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 63, 95, 0.82));
}

.news-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  color: #edfaff;
  font-size: 0.78rem;
  line-height: 1.65;
}

.news-photo figcaption span {
  display: block;
  margin-bottom: 3px;
  color: #8fe4ff;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.news-article {
  color: #294d62;
  font-size: clamp(0.96rem, 3.8vw, 1.06rem);
}

.news-article p {
  margin: 0 0 17px;
}

.news-article__lead {
  color: var(--ink);
  font-size: 1.13em;
  font-weight: 700;
}

.dateline {
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.news-hook {
  position: relative;
  margin: 30px 0;
  padding: 28px 22px;
  color: var(--deep-blue);
  border-top: 1px solid var(--cyan);
  border-bottom: 1px solid var(--cyan);
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(1.35rem, 6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

.mission-card {
  display: grid;
  gap: 7px;
  width: 100%;
  padding: 20px;
  color: #eafaff;
  text-align: left;
  border: 0;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(8, 105, 158, 0.95), rgba(31, 163, 214, 0.9)),
    var(--blue);
  box-shadow: 0 20px 45px rgba(22, 141, 204, 0.26);
  cursor: pointer;
}

.mission-card__number {
  color: #9feaff;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.mission-card strong {
  font-size: 1.08rem;
}

.mission-card > span:last-child {
  margin-top: 5px;
  font-size: 0.78rem;
}

.flash-stack {
  display: grid;
  gap: 15px;
}

.flash-card {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 40px rgba(45, 129, 174, 0.12);
  overflow: hidden;
}

.flash-card__trigger {
  position: relative;
  display: block;
  width: 100%;
  min-height: 230px;
  padding: 0;
  color: #fff;
  text-align: left;
  border: 0;
  background: #84c9ed;
  cursor: pointer;
}

.flash-card__trigger img,
.flash-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flash-card__trigger img {
  object-fit: cover;
  filter: saturate(0.74);
  transition: transform 0.55s ease;
}

.flash-card__trigger:hover img,
.flash-card.is-open .flash-card__trigger img {
  transform: scale(1.035);
}

.flash-card__shade {
  background: linear-gradient(180deg, rgba(4, 61, 92, 0.03), rgba(4, 55, 85, 0.9));
}

.flash-card__meta,
.flash-card__trigger strong,
.flash-card__open {
  position: absolute;
  right: 17px;
  left: 17px;
  z-index: 1;
}

.flash-card__meta {
  top: 17px;
  color: #a9ebff;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.flash-card__trigger strong {
  bottom: 45px;
  font-size: 1.3rem;
  line-height: 1.35;
}

.flash-card__open {
  bottom: 17px;
  color: #ccefff;
  font-size: 0.72rem;
}

.flash-card__detail {
  max-height: 0;
  color: var(--muted);
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.flash-card__detail > * {
  margin: 0;
  padding-right: 18px;
  padding-left: 18px;
}

.flash-card__detail p {
  font-size: 0.88rem;
  transition: padding 0.4s ease;
}

.flash-card__detail a {
  font-size: 0.78rem;
}

.flash-card.is-open .flash-card__detail {
  max-height: 360px;
  padding-bottom: 17px;
}

.flash-card.is-open .flash-card__detail p {
  padding-top: 17px;
  padding-bottom: 9px;
}

.timeline {
  display: flex;
  gap: 12px;
  margin-right: -20px;
  margin-bottom: 28px;
  padding: 4px 20px 16px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.timeline article {
  flex: 0 0 min(74vw, 270px);
  min-height: 154px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(215, 241, 253, 0.66));
  box-shadow: 0 12px 32px rgba(54, 141, 184, 0.11);
  scroll-snap-align: start;
}

.timeline time {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--blue);
  font: 800 0.72rem/1 Arial, sans-serif;
  letter-spacing: 0.08em;
}

.timeline strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
}

.timeline p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.classify-box {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 25px;
  background: rgba(249, 253, 255, 0.82);
  box-shadow: var(--shadow);
}

.classify-box__header,
.case-file__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.classify-card {
  position: relative;
  min-height: 220px;
  margin: 17px 0;
  padding: 24px 20px;
  border: 1px dashed rgba(22, 141, 204, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(234, 248, 255, 0.8)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(22, 141, 204, 0.06) 24px);
}

.evidence-stamp {
  position: absolute;
  top: 19px;
  right: 17px;
  padding: 5px 8px;
  color: var(--risk);
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  transform: rotate(4deg);
}

.classify-card__date {
  margin: 0 0 26px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.classify-card h3 {
  max-width: 82%;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.35;
}

.classify-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.classify-prompt {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.choice-row button {
  min-height: 44px;
  padding: 8px 5px;
  color: var(--deep-blue);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(225, 245, 255, 0.7);
  font-size: 0.75rem;
  cursor: pointer;
}

.choice-row button:hover,
.choice-row button.is-selected {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.inline-feedback {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(22, 167, 139, 0.09);
  font-size: 0.78rem;
}

.inline-feedback.is-visible {
  display: block;
  animation: fadeIn 0.3s ease both;
}

.inline-feedback.is-wrong {
  color: #a44b3e;
  background: rgba(241, 120, 99, 0.12);
}

.boundary-note,
.legal-note {
  margin-top: 18px;
  padding: 16px 17px;
  color: var(--muted);
  border-left: 3px solid var(--cyan);
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
}

.boundary-note strong,
.legal-note strong {
  color: var(--deep-blue);
}

.boundary-note p,
.legal-note p {
  margin: 4px 0 0;
}

.lab {
  background:
    linear-gradient(160deg, rgba(220, 244, 255, 0.58), rgba(248, 253, 255, 0.74));
}

.lab__visual {
  display: grid;
  gap: 15px;
}

.lab__visual figure {
  position: relative;
  margin: 0;
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.lab__visual figure img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: saturate(0.62) hue-rotate(4deg);
}

.lab__visual figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(4, 68, 102, 0.78));
}

.lab__visual figcaption {
  position: absolute;
  right: 17px;
  bottom: 15px;
  left: 17px;
  z-index: 1;
  color: #e9faff;
  font-size: 0.74rem;
}

.lab__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.lab__metrics > div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.lab__metrics span,
.lab__metrics strong {
  display: block;
}

.lab__metrics span {
  color: var(--muted);
  font-size: 0.67rem;
}

.lab__metrics strong {
  margin: 5px 0 10px;
  color: var(--deep-blue);
  font: 800 1.35rem/1 Arial, sans-serif;
}

.lab__metrics i {
  display: block;
  height: 5px;
  border-radius: 10px;
  background: #d9edf7;
  overflow: hidden;
}

.lab__metrics b {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 0.5s ease;
}

.lab__metrics .risk-metric strong {
  color: var(--risk);
}

.lab__metrics .risk-metric b {
  width: 10%;
  background: linear-gradient(90deg, #ffb07d, var(--risk));
}

.production-line {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 17px;
}

.production-line button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 10px;
  min-height: 90px;
  padding: 13px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: 0.25s ease;
}

.production-line button > span {
  grid-row: 1 / 3;
  color: var(--cyan);
  font: 800 0.7rem/1 Arial, sans-serif;
}

.production-line strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.production-line small {
  color: var(--muted);
  font-size: 0.68rem;
}

.production-line button.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--deep-blue), var(--blue));
  box-shadow: 0 10px 25px rgba(22, 141, 204, 0.23);
}

.production-line button.is-active strong,
.production-line button.is-active small {
  color: #fff;
}

.production-line button.is-active span {
  color: #9deaff;
}

.simulation-note {
  margin: 12px 0 0;
  color: #6f8999;
  font-size: 0.7rem;
}

.headline-lens {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.headline-lens figure {
  position: relative;
  height: min(57vh, 440px);
  margin: 0;
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
}

.headline-lens figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
}

.headline-lens figure::after,
.headline-lens__truth {
  position: absolute;
  inset: 0;
}

.headline-lens figure::after {
  content: "";
  background: linear-gradient(180deg, rgba(5, 71, 104, 0.12), rgba(4, 52, 78, 0.83));
}

.headline-lens__label,
.headline-lens blockquote {
  position: absolute;
  right: 19px;
  left: 19px;
  z-index: 2;
}

.headline-lens__label {
  top: 20px;
  color: #9feaff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.headline-lens blockquote {
  bottom: 23px;
  margin: 0;
  font-size: clamp(1.3rem, 6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.4;
}

.headline-lens__truth {
  z-index: 3;
  width: 8%;
  color: var(--ink);
  background:
    linear-gradient(rgba(221, 246, 255, 0.92), rgba(242, 252, 255, 0.92)),
    url("assets/images/cannes-venue.webp") center/cover;
  border-right: 3px solid var(--cyan);
  overflow: hidden;
}

.headline-lens__truth::after {
  content: "↔";
  position: absolute;
  top: 50%;
  right: -18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 4px 15px rgba(7, 91, 145, 0.3);
  transform: translateY(-50%);
}

.headline-lens__truth .headline-lens__label,
.headline-lens__truth blockquote {
  width: calc(min(100vw, 748px) - 68px);
  color: var(--deep-blue);
}

.headline-lens label {
  display: block;
  margin: 13px 2px 7px;
  color: var(--muted);
  font-size: 0.76rem;
}

.headline-lens input {
  width: 100%;
  accent-color: var(--blue);
}

.headline-quiz {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.6);
}

.headline-quiz h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.headline-options {
  display: grid;
  gap: 8px;
}

.headline-options button {
  padding: 13px;
  color: var(--ink);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(233, 248, 255, 0.65);
  font-size: 0.83rem;
  cursor: pointer;
}

.headline-options button.is-correct {
  color: #fff;
  border-color: var(--success);
  background: var(--success);
}

.headline-options button.is-wrong {
  color: #8c3f35;
  border-color: rgba(241, 120, 99, 0.5);
  background: rgba(241, 120, 99, 0.12);
}

.evidence-grid {
  display: grid;
  gap: 14px;
}

.evidence-card {
  min-height: 355px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  perspective: 1000px;
  cursor: pointer;
}

.evidence-card__inner {
  position: relative;
  display: block;
  width: 100%;
  height: 355px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.evidence-card.is-flipped .evidence-card__inner {
  transform: rotateY(180deg);
}

.evidence-card__front,
.evidence-card__back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backface-visibility: hidden;
  overflow: hidden;
}

.evidence-card__front {
  color: #fff;
  background: #58b9e5;
}

.evidence-card__front img,
.evidence-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.evidence-card__front img {
  object-fit: cover;
  filter: saturate(0.65);
}

.evidence-card__shade {
  background: linear-gradient(180deg, rgba(4, 83, 119, 0.04), rgba(5, 55, 81, 0.91));
}

.evidence-card__front strong,
.evidence-card__front small,
.evidence-card__code {
  position: relative;
  z-index: 1;
}

.evidence-card__front strong {
  font-size: 2rem;
  line-height: 1.2;
}

.evidence-card__front small {
  color: #b9ecff;
}

.evidence-card__code {
  position: absolute;
  top: 18px;
  left: 18px;
  color: #b8edff;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.evidence-card__back {
  justify-content: center;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(216, 243, 255, 0.96));
  transform: rotateY(180deg);
}

.evidence-card__back--risk {
  background: linear-gradient(145deg, #fff, #fff0ec);
}

.evidence-card__back strong {
  font-size: 1.25rem;
}

.evidence-card__back p {
  margin: 13px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.evidence-card__back em {
  color: var(--blue);
  font-size: 0.72rem;
  font-style: normal;
}

.scale {
  margin-top: 12px;
  padding: 22px 18px 32px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
}

.scale__labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 55px;
  color: var(--deep-blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.scale__beam {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8px;
  margin: 0 42px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--risk));
  transform: rotate(0deg);
  transition: transform 0.5s ease;
}

.scale__beam > i {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 27px solid transparent;
  border-bottom: 70px solid var(--deep-blue);
  border-left: 27px solid transparent;
  transform: translateX(-50%);
}

.scale__pan {
  position: absolute;
  top: 22px;
  display: grid;
  place-items: center;
  width: 82px;
  height: 48px;
  border: 2px solid var(--blue);
  border-top: 0;
  border-radius: 0 0 48px 48px;
}

.scale__pan::before,
.scale__pan::after {
  content: "";
  position: absolute;
  top: -24px;
  width: 1px;
  height: 28px;
  background: var(--blue);
}

.scale__pan::before {
  left: 15px;
  transform: rotate(30deg);
}

.scale__pan::after {
  right: 15px;
  transform: rotate(-30deg);
}

.scale__pan--left {
  left: -40px;
}

.scale__pan--right {
  right: -40px;
  border-color: var(--risk);
}

.scale__pan--right::before,
.scale__pan--right::after {
  background: var(--risk);
}

.scale__pan b {
  font: 800 1rem/1 Arial, sans-serif;
}

.weight-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.weight-bank button {
  padding: 10px 13px;
  color: var(--deep-blue);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.weight-bank button[data-side="opportunity"] {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.weight-bank button[data-side="risk"] {
  color: #fff;
  border-color: var(--risk);
  background: var(--risk);
}

.weight-instruction {
  color: var(--muted);
  font-size: 0.72rem;
}

.balance-result {
  margin-top: 17px;
  padding: 14px;
  color: var(--deep-blue);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(219, 243, 255, 0.62);
  font-weight: 700;
  text-align: center;
}

.case-file {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 25px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(235, 249, 255, 0.82)),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(22, 141, 204, 0.06) 27px);
  box-shadow: var(--shadow);
}

.case-file h3 {
  margin: 35px 0 10px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.case-file > p {
  min-height: 100px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.choice-row--rights {
  grid-template-columns: 1fr;
}

.case-file__feedback {
  display: none;
  margin-top: 15px;
  padding: 15px;
  color: var(--muted);
  border-left: 3px solid var(--blue);
  background: rgba(214, 241, 254, 0.65);
  font-size: 0.8rem;
}

.case-file__feedback.is-visible {
  display: block;
  animation: fadeIn 0.3s ease both;
}

.case-file__feedback strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.legal-note {
  border-left-color: var(--risk);
}

.conclusion {
  background:
    radial-gradient(circle at 48% 22%, rgba(66, 200, 255, 0.2), transparent 25rem),
    linear-gradient(180deg, rgba(237, 250, 255, 0.68), rgba(210, 239, 253, 0.8));
}

.conclusion__layout {
  display: grid;
  gap: 25px;
}

.conclusion__copy {
  color: #294f64;
  font-size: 0.96rem;
}

.conclusion__copy p {
  margin: 0 0 17px;
}

.conclusion__copy blockquote {
  margin: 28px 0 0;
  padding: 24px 12px;
  color: var(--deep-blue);
  border-top: 1px solid var(--cyan);
  border-bottom: 1px solid var(--cyan);
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(1.35rem, 6vw, 2rem);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.profile-card {
  position: relative;
  padding: 23px;
  color: #e8faff;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(5, 104, 157, 0.95), rgba(21, 151, 202, 0.92)),
    var(--blue);
  box-shadow: 0 25px 60px rgba(22, 141, 204, 0.27);
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -30%;
  width: 80%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.04), 0 0 0 70px rgba(255, 255, 255, 0.025);
}

.profile-card > p:first-child {
  margin: 0;
  color: #9ceaff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.profile-card__code {
  display: inline-block;
  margin-top: 30px;
  padding: 5px 8px;
  color: #b9efff;
  border: 1px solid rgba(185, 239, 255, 0.5);
  border-radius: 6px;
  font: 800 0.67rem/1 Arial, sans-serif;
  letter-spacing: 0.12em;
}

.profile-card h3 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: 1.7rem;
}

.profile-card > p:not(:first-child) {
  margin: 0;
  color: #d7f5ff;
  font-size: 0.85rem;
}

.profile-card__score {
  display: flex;
  gap: 25px;
  margin-top: 27px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.74rem;
}

.profile-card__score strong {
  font-size: 1rem;
}

.end-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 27px;
}

.end-actions button {
  min-height: 46px;
  color: var(--deep-blue);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.end-actions__primary {
  grid-column: 1 / -1;
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(100deg, var(--deep-blue), var(--blue)) !important;
}

.sources {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.sources summary {
  padding: 14px 16px;
  color: var(--deep-blue);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.sources__content {
  padding: 0 16px 17px;
  color: var(--muted);
  font-size: 0.72rem;
}

.sources__content h3 {
  margin: 18px 0 7px;
  color: var(--ink);
  font-size: 0.8rem;
}

.sources__content ol,
.sources__content ul {
  margin: 0;
  padding-left: 19px;
}

.sources__content li {
  margin-bottom: 5px;
}

.credits-list {
  list-style: square;
}

footer {
  margin-top: 35px;
  padding-top: 20px;
  color: #67869a;
  border-top: 1px solid var(--line);
  text-align: center;
}

footer span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

footer p {
  margin: 5px 0 0;
  font-size: 0.74rem;
}

.toast {
  position: fixed;
  bottom: max(26px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 200;
  width: max-content;
  max-width: calc(100% - 36px);
  padding: 10px 16px;
  color: #fff;
  border-radius: 999px;
  background: rgba(5, 78, 116, 0.94);
  box-shadow: 0 14px 35px rgba(4, 68, 102, 0.26);
  font-size: 0.78rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: 0.3s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript {
  position: fixed;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 300;
  padding: 12px;
  color: #fff;
  border-radius: 12px;
  background: #075b91;
  text-align: center;
}

.noscript p {
  margin: 4px 0 0;
  font-size: 0.75rem;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes musicPulse {
  0%,
  100% {
    transform: scale(0.94);
  }

  50% {
    transform: scale(1.08);
  }
}

@keyframes soundPromptPulse {
  0%,
  100% {
    box-shadow:
      0 12px 34px rgba(7, 91, 145, 0.22),
      0 0 0 0 rgba(66, 200, 255, 0.2);
  }

  50% {
    box-shadow:
      0 14px 38px rgba(7, 91, 145, 0.28),
      0 0 0 7px rgba(66, 200, 255, 0);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scan {
  from { transform: translateY(-110%); }
  to { transform: translateY(720%); }
}

@keyframes heroDrift {
  from { transform: scale(1.025) translate3d(0, 0, 0); }
  to { transform: scale(1.065) translate3d(-0.8%, -0.6%, 0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 720px) {
  .scene {
    padding-right: 42px;
    padding-left: 42px;
  }

  .investigator-bar {
    right: 24px;
    left: 24px;
    padding-right: 11px;
    padding-left: 16px;
  }

  .investigator-bar__stats {
    gap: 17px;
    font-size: 0.68rem;
  }

  .news-lead__layout,
  .lab__visual,
  .conclusion__layout {
    grid-template-columns: 0.88fr 1.12fr;
    align-items: center;
  }

  .news-photo img {
    height: 570px;
  }

  .flash-stack {
    grid-template-columns: repeat(3, 1fr);
  }

  .flash-card__trigger {
    min-height: 345px;
  }

  .production-line {
    grid-template-columns: repeat(3, 1fr);
  }

  .evidence-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .evidence-card,
  .evidence-card__inner {
    min-height: 420px;
    height: 420px;
  }

  .choice-row--rights {
    grid-template-columns: repeat(3, 1fr);
  }

  .headline-lens__truth .headline-lens__label,
  .headline-lens__truth blockquote {
    width: 682px;
  }
}

@media (max-width: 560px) {
  .investigator-bar__brand span:last-child {
    display: none;
  }

  .investigator-bar__stats {
    width: 100%;
    justify-content: flex-end;
  }

  .scene-index {
    font-size: 2.3rem;
  }

  .headline-lens__truth .headline-lens__label,
  .headline-lens__truth blockquote {
    width: calc(100vw - 78px);
  }
}

@media (max-width: 370px) {
  .investigator-bar {
    right: 8px;
    left: 8px;
  }

  .investigator-bar__stats {
    gap: 6px;
  }

  .investigator-bar__stats > span:first-child {
    display: none;
  }

  .sound-toggle__text {
    display: none;
  }

  .sound-prompt {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 9px 13px;
    font-size: 0.76rem;
  }

  .scene {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-title h2 {
    font-size: 1.82rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .production-line {
    grid-template-columns: 1fr;
  }

  .choice-row {
    grid-template-columns: 1fr;
  }

  .classify-card h3 {
    max-width: 72%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
