:root {
  --navy: #08224a;
  --blue: #1d65bb;
  --cyan: #20b5d6;
  --sky: #e8f7ff;
  --pale: #f7fcff;
  --line: rgba(29, 101, 187, 0.18);
  --text: #16324f;
  --muted: #6c7d92;
  --yellow: #ffd34f;
  --orange: #f28a2e;
  --red: #d94137;
  --white: #ffffff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 12%, rgba(139, 204, 255, 0.36), transparent 30%),
    radial-gradient(circle at 90% 6%, rgba(255, 211, 79, 0.18), transparent 20%),
    linear-gradient(135deg, #f8fdff 0%, #e8f6ff 52%, #ffffff 100%);
}

button {
  font: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.museum-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding: 10px 14px;
  border: 1px solid rgba(29, 101, 187, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(8, 34, 74, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.step-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.step-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 10px;
  color: #43617f;
  border: 1px solid rgba(29, 101, 187, 0.16);
  border-radius: 8px;
  background: #f8fcff;
  cursor: pointer;
}

.step-dot span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 26px;
  border-radius: 6px;
  color: var(--white);
  background: #8fb5df;
  font-size: 12px;
  font-weight: 800;
}

.step-dot.active {
  color: var(--navy);
  border-color: rgba(32, 181, 214, 0.56);
  background: #eafdff;
  font-weight: 800;
}

.step-dot.active span {
  background: var(--blue);
}

.scene {
  display: none;
  min-height: calc(100vh - 130px);
  margin-top: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(242, 250, 255, 0.88)),
    var(--white);
  box-shadow: 0 24px 58px rgba(8, 34, 74, 0.1);
  overflow: hidden;
}

.scene.active {
  display: block;
  animation: sceneIn 0.35s ease both;
}

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

.scene-intro {
  display: none;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 30px;
}

.scene-intro.active {
  display: grid;
}

.scene-visual,
.scene-copy {
  min-width: 0;
}

.hero-art {
  display: block;
  width: 100%;
  max-height: 650px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
}

h3 {
  font-size: 25px;
}

.lead {
  max-width: 680px;
  margin: 20px 0 22px;
  color: #365674;
  font-size: 18px;
  line-height: 1.78;
}

.intro-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.intro-list div,
.compact-facts div,
.metric-board div,
.report-grid div {
  border: 1px solid rgba(29, 101, 187, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.intro-list div {
  min-height: 150px;
  padding: 16px;
}

.intro-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 32px;
  margin-bottom: 12px;
  color: var(--white);
  border-radius: 6px;
  background: var(--blue);
  font-weight: 900;
}

.intro-list strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
}

.intro-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.primary-action,
.secondary-action,
.knowledge-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  color: var(--white);
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(29, 101, 187, 0.18);
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}

.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible,
.knowledge-card button:hover,
.knowledge-card button:focus-visible {
  outline: none;
  background: #144f99;
}

.primary-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.primary-action.center {
  display: block;
  margin: 22px auto 0;
}

.secondary-action {
  margin-top: 22px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid rgba(29, 101, 187, 0.22);
  box-shadow: none;
}

.handoff-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.handoff-actions .secondary-action,
.handoff-actions .primary-action {
  margin-top: 0;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.section-kicker span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: var(--white);
  border-radius: 8px;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.section-kicker p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.brief-stage {
  display: grid;
  grid-template-rows: auto auto;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.brief-stage > img {
  display: block;
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(29, 101, 187, 0.12);
}

.guide-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.guide-card p {
  color: #365674;
  font-size: 17px;
  line-height: 1.75;
}

.bubble {
  position: relative;
  display: inline-block;
  max-width: 720px;
  margin-bottom: 18px;
  padding: 14px 18px;
  color: var(--blue);
  border: 3px solid #82b8f2;
  border-radius: 8px;
  background: var(--white);
  font-weight: 900;
}

.compact-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}

.compact-facts div,
.report-grid div {
  padding: 14px;
}

.compact-facts dt,
.report-grid span,
.metric-board span {
  color: var(--muted);
  font-size: 12px;
}

.compact-facts dd,
.report-grid strong,
.metric-board strong {
  display: block;
  margin: 6px 0 0;
  color: var(--navy);
  font-weight: 900;
}

.scene-cards {
  text-align: center;
}

.knowledge-stack {
  position: relative;
  max-width: 760px;
  min-height: 360px;
  margin: 30px auto 18px;
}

.knowledge-card {
  display: none;
  min-height: 520px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 16%, rgba(32, 181, 214, 0.16), transparent 22%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 48px rgba(8, 34, 74, 0.08);
  text-align: left;
}

.knowledge-card.active {
  display: block;
}

.knowledge-card p {
  color: #365674;
  font-size: 19px;
  line-height: 1.8;
}

.channel-figure {
  display: block;
  width: 100%;
  margin: 18px 0 16px;
  border: 1px solid rgba(29, 101, 187, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(8, 34, 74, 0.08);
}

.channel-code {
  display: grid;
  place-items: center;
  width: 64px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--white);
  border-radius: 8px;
  background: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.channel-code.warn {
  background: var(--orange);
}

.channel-code.water {
  background: var(--cyan);
}

.guide-note {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid rgba(29, 101, 187, 0.14);
  border-radius: 8px;
  background: #f4fbff;
  text-align: left;
}

.guide-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: 0 0 auto;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(29, 101, 187, 0.18);
}

.guide-note p {
  margin: 0;
  color: #31536e;
  line-height: 1.55;
}

.scene-lab,
.scene-challenge {
  text-align: center;
}

.lab-screen {
  max-width: 900px;
  margin: 20px auto 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #071c38;
  box-shadow: 0 22px 58px rgba(8, 34, 74, 0.18);
}

.screen-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.screen-top span {
  color: #b9ecff;
}

.cloud-console {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #071c38;
}

.layer-image {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  transform: scale(1.03);
  animation: slowDrift 12s ease-in-out infinite alternate;
}

.layer-image.image-pop {
  animation: imagePop 0.45s ease both, slowDrift 12s ease-in-out 0.45s infinite alternate;
}

@keyframes imagePop {
  from {
    opacity: 0.35;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes slowDrift {
  from {
    transform: scale(1.03) translate3d(-0.8%, -0.6%, 0);
  }
  to {
    transform: scale(1.08) translate3d(0.8%, 0.6%, 0);
  }
}

.metric-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.metric-board div {
  min-height: 84px;
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: rgba(7, 28, 56, 0.92);
  text-align: left;
}

.metric-board strong {
  color: var(--white);
}

.layer-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.layer-choice {
  min-width: 120px;
  min-height: 46px;
  color: var(--blue);
  border: 1px solid rgba(29, 101, 187, 0.22);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.layer-choice.active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.interaction-footer {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.interaction-footer p {
  max-width: 760px;
  margin: 0;
  color: #31536e;
  line-height: 1.7;
}

.challenge-lead {
  max-width: 760px;
  margin: 14px auto 18px;
  color: #365674;
  font-size: 17px;
  line-height: 1.7;
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.candidate-card {
  min-height: 326px;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(8, 34, 74, 0.08);
  cursor: pointer;
}

.candidate-card:hover,
.candidate-card:focus-visible {
  outline: none;
  transform: translateY(-3px);
  border-color: rgba(32, 181, 214, 0.72);
}

.candidate-card.selected {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(32, 181, 214, 0.18), 0 16px 36px rgba(8, 34, 74, 0.08);
}

.candidate-card.wrong {
  border-color: rgba(217, 65, 55, 0.62);
}

.candidate-card span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: var(--white);
  border-radius: 6px;
  background: var(--blue);
  font-weight: 900;
}

.candidate-map {
  display: block;
  width: 100%;
  height: 158px;
  margin: 14px 0;
  border: 1px solid rgba(29, 101, 187, 0.14);
  border-radius: 8px;
  object-fit: cover;
}

.candidate-map.calm {
  background:
    radial-gradient(ellipse at 44% 50%, rgba(255, 255, 255, 0.94), transparent 30%),
    radial-gradient(ellipse at 66% 54%, rgba(255, 255, 255, 0.72), transparent 20%),
    linear-gradient(135deg, #dff3fa, #f8fcff);
}

.candidate-map.active {
  background:
    radial-gradient(circle at 52% 48%, rgba(217, 65, 55, 0.82), transparent 12%),
    conic-gradient(from 80deg at 52% 48%, rgba(255, 255, 255, 0.95), rgba(32, 181, 214, 0.82), rgba(255, 255, 255, 0.95), rgba(242, 138, 46, 0.72), rgba(255, 255, 255, 0.95)),
    linear-gradient(135deg, #dff3fa, #f8fcff);
}

.candidate-map.dry {
  background:
    radial-gradient(ellipse at 52% 52%, rgba(255, 255, 255, 0.88), transparent 24%),
    linear-gradient(135deg, #e4eef4, #fff5df);
}

.candidate-card strong,
.candidate-card small {
  display: block;
}

.candidate-card strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.4;
}

.candidate-card small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.answer-panel {
  max-width: 980px;
  margin: 16px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(29, 101, 187, 0.14);
  border-left: 5px solid var(--cyan);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.answer-panel strong {
  color: var(--blue);
}

.answer-panel p {
  margin: 6px 0 0;
  color: #31536e;
  line-height: 1.65;
}

.scene-handoff {
  display: none;
  place-items: center;
  text-align: center;
}

.scene-handoff.active {
  display: grid;
}

.handoff-card {
  width: min(860px, 100%);
  padding: 34px;
  border: 1px solid rgba(29, 101, 187, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 211, 79, 0.2), transparent 20%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 255, 0.9));
}

.handoff-card > p {
  max-width: 720px;
  margin: 14px auto 20px;
  color: #365674;
  font-size: 17px;
  line-height: 1.78;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}

@media (max-width: 960px) {
  .museum-header {
    align-items: stretch;
    flex-direction: column;
  }

  .scene-intro.active {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-height: 520px;
  }

  .intro-list,
  .compact-facts,
  .candidate-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .scene {
    min-height: auto;
    padding: 20px;
  }

  .step-dot {
    font-size: 13px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .screen-top,
  .section-kicker {
    align-items: flex-start;
    flex-direction: column;
  }

  .cloud-console {
    min-height: 300px;
  }

  .metric-board {
    grid-template-columns: 1fr;
  }
}
