:root {
  --bg: #eef6fa;
  --ink: #102235;
  --muted: #667789;
  --paper: rgba(255, 255, 255, 0.88);
  --line: rgba(33, 96, 132, 0.16);
  --blue: #0788df;
  --cyan: #18c8d7;
  --green: #42d397;
  --amber: #f5a524;
  --navy: #082137;
  --radius: 8px;
  --shadow: 0 28px 86px rgba(24, 61, 92, 0.18);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

button {
  font: inherit;
}

.stage-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 16%, rgba(7, 136, 223, 0.24), transparent 28%),
    radial-gradient(circle at 78% 20%, rgba(66, 211, 151, 0.28), transparent 30%),
    linear-gradient(135deg, #f5fbfe 0%, #eaf5f7 100%);
}

.stage-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(90deg, rgba(7, 136, 223, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(7, 136, 223, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
}

.topbar {
  position: fixed;
  z-index: 40;
  top: 12px;
  left: 50%;
  transform: translate(-50%, -94%);
  width: min(1180px, calc(100% - 48px));
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(21, 70, 103, 0.14);
  opacity: .16;
  transition: transform .28s ease, opacity .24s ease, box-shadow .24s ease;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 74px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(7, 136, 223, .42);
}

.topbar:hover {
  transform: translate(-50%, 0);
  opacity: 1;
  box-shadow: 0 22px 58px rgba(21, 70, 103, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 900;
}

.main-nav {
  display: flex;
  gap: 8px;
}

.main-nav button {
  min-width: 92px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  color: #456174;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.main-nav button:hover,
.main-nav button.is-active {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  transform: translateY(-1px);
}

.slide-rail {
  position: fixed;
  z-index: 35;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 14px;
}

.slide-rail button {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(7, 136, 223, 0.28);
  cursor: pointer;
  transition: transform .22s ease, background .22s ease;
}

.slide-rail button span {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 6px 9px;
  border-radius: 8px;
  color: white;
  background: rgba(8, 33, 55, 0.78);
  font-size: 12px;
  font-weight: 800;
  transition: opacity .22s ease;
}

.slide-rail button:hover span,
.slide-rail button.is-active span {
  opacity: 1;
}

.slide-rail button.is-active {
  transform: scale(1.65);
  background: var(--blue);
}

.deck {
  position: relative;
  width: 100%;
  height: 100vh;
}

.slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: center;
  padding: 116px max(80px, calc((100vw - 1180px) / 2)) 82px;
  opacity: 0;
  transform: translateX(44px) scale(.985);
  pointer-events: none;
  transition: opacity .42s ease, transform .48s cubic-bezier(.2, .8, .2, 1);
}

.slide.is-active {
  z-index: 5;
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.slide:not(.is-active) * {
  pointer-events: none;
}

.slide-kicker {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(56px, 6.2vw, 88px);
  line-height: 1.02;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  font-size: 28px;
  line-height: 1.24;
  font-weight: 900;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 700;
}

.route-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.profile-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 36px;
  align-items: center;
}

.profile-intro {
  position: relative;
}

.profile-tag {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 14px;
  font-weight: 900;
}

.profile-intro h1 {
  margin-bottom: 22px;
}

.profile-intro p {
  max-width: 620px;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.profile-meta span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  color: #415a70;
  font-weight: 900;
}

.profile-board {
  display: grid;
  gap: 18px;
}

.timeline-card,
.role-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.timeline-card {
  padding: 24px;
}

.role-card {
  padding: 24px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.section-title strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.intern-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.intern-timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 19px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: .42;
}

.intern-timeline article {
  position: relative;
  min-height: 164px;
  padding: 50px 14px 14px;
  border-radius: var(--radius);
  background: #eaf7fb;
}

.intern-timeline article::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 16px;
  width: 16px;
  height: 16px;
  border: 4px solid white;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 2px rgba(7, 136, 223, .22);
}

.intern-timeline span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.intern-timeline strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.intern-timeline small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
}

.role-card p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.65;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.role-grid button {
  min-height: 140px;
  padding: 16px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f4fbfe, #eaf7fb);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}

.role-grid button:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(24, 61, 92, .14);
}

.role-grid span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.role-grid strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 20px;
}

.role-grid small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
}

.profile-shell {
  position: relative;
  min-height: min(66vh, 620px);
  padding-top: 68px;
}

.profile-subnav {
  position: absolute;
  z-index: 5;
  right: 0;
  top: 0;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 12px 32px rgba(24, 61, 92, .1);
  transform: none;
  opacity: 1;
}

.profile-subnav::after {
  display: none;
}

.profile-subnav button {
  min-width: 96px;
  height: 38px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #4d6478;
  font-weight: 900;
  cursor: pointer;
}

.profile-subnav button.is-active {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.profile-pages {
  position: relative;
  min-height: min(66vh, 620px);
}

.profile-page {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 44px;
  align-items: center;
  opacity: 0;
  transform: translateX(26px);
  pointer-events: none;
  transition: opacity .32s ease, transform .36s cubic-bezier(.2, .8, .2, 1);
}

.profile-page.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.profile-photo-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: var(--radius);
  background: #dcebf0;
  box-shadow: var(--shadow);
}

.profile-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 54%, rgba(8, 33, 55, .74) 100%),
    linear-gradient(135deg, rgba(7, 136, 223, .12), rgba(66, 211, 151, .08));
  pointer-events: none;
}

.profile-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: block;
  object-fit: cover;
  object-position: 50% 45%;
}

.photo-caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: white;
}

.photo-caption span {
  display: block;
  margin-bottom: 8px;
  opacity: .78;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.photo-caption strong {
  display: block;
  max-width: 360px;
  font-size: 24px;
  line-height: 1.28;
  font-weight: 900;
}

.profile-intro-panel {
  position: relative;
  padding: 18px 0 18px 24px;
}

.profile-intro-panel::before {
  content: "";
  position: absolute;
  top: 92px;
  right: 0;
  width: 6px;
  height: 170px;
  border-radius: 999px;
  background: linear-gradient(180deg, #cb3346, rgba(203, 51, 70, .28));
}

.profile-intro-panel::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 34px;
  width: 6px;
  height: 150px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5d78be, rgba(93, 120, 190, .24));
}

.profile-name-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 26px;
}

.profile-name-row h1 {
  margin: 0;
  font-size: clamp(54px, 5.2vw, 76px);
  line-height: 1;
}

.profile-name-row span {
  color: #4d6478;
  font-size: 18px;
  font-weight: 900;
}

.profile-section-card {
  position: relative;
  margin-top: 18px;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 44px rgba(24, 61, 92, .11);
}

.profile-section-card.is-basic {
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(248,252,253,.74));
}

.profile-section-card.is-experience {
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(247,250,255,.7));
}

.profile-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.profile-section-title span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #cb3346, #e79b8c);
  font-size: 13px;
  font-weight: 900;
}

.profile-section-card.is-experience .profile-section-title span {
  background: linear-gradient(135deg, #5d78be, #9eb0df);
}

.profile-section-title strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.profile-section-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.profile-section-card dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: baseline;
}

.profile-section-card dt {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.profile-section-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 900;
}

.experience-list article {
  padding-left: 2px;
}

.experience-list time {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.experience-list h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.experience-list p {
  margin: 0;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.75;
}

.profile-hero-copy h1 {
  margin-bottom: 22px;
}

.profile-hero-copy p {
  max-width: 620px;
}

.profile-info-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.profile-info-wall article,
.timeline-stage article,
.role-position-board article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.profile-info-wall article {
  min-height: 220px;
  padding: 26px;
}

.profile-info-wall span,
.timeline-stage span,
.role-position-board span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.profile-info-wall strong,
.timeline-stage strong,
.role-position-board strong {
  display: block;
  margin: 14px 0 10px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
}

.profile-info-wall small,
.timeline-stage small,
.role-position-board small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 800;
}

.timeline-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline-stage::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: .35;
}

.timeline-stage article {
  position: relative;
  min-height: 330px;
  padding: 72px 20px 24px;
}

.timeline-stage article::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 22px;
  width: 18px;
  height: 18px;
  border: 4px solid white;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 2px rgba(7, 136, 223, .22);
}

.role-position-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.role-position-board article {
  min-height: 360px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(234,247,251,.9));
}

.role-position-board strong {
  font-size: 30px;
}

.profile-controls {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 34px rgba(21, 70, 103, .12);
}

.profile-controls button {
  width: 42px;
  height: 38px;
  border: 0;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.profile-controls div {
  min-width: 64px;
  color: var(--ink);
  text-align: center;
  font-weight: 900;
}

.profile-controls small {
  color: var(--muted);
}

.route-copy p {
  max-width: 670px;
}

.route-statement {
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: var(--shadow);
}

.route-statement span {
  display: block;
  margin-bottom: 8px;
  opacity: .82;
  font-size: 13px;
  font-weight: 900;
}

.route-statement strong {
  font-size: 26px;
}

.pipeline-map {
  position: relative;
  height: min(62vh, 560px);
  min-height: 500px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(6, 126, 215, .88), rgba(66, 211, 151, .84)),
    url("./assets/template-cover.png");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pipeline-map::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(255, 255, 255, .42);
  border-radius: 50%;
}

.core-node,
.map-node {
  position: absolute;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .56);
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
  color: white;
  box-shadow: 0 18px 48px rgba(0, 36, 72, .16);
}

.core-node {
  left: 50%;
  top: 50%;
  width: 310px;
  min-height: 156px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.core-node span,
.map-node span {
  font-size: 13px;
  font-weight: 900;
  opacity: .82;
}

.core-node strong {
  font-size: 34px;
}

.core-node small,
.map-node small {
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
}

.map-node {
  width: 236px;
  min-height: 128px;
  padding: 20px;
  cursor: pointer;
  text-align: left;
  transition: transform .25s ease, background .25s ease;
}

.map-node:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, .28);
}

.map-node strong {
  display: block;
  margin: 8px 0 8px;
  font-size: 24px;
}

.game-node {
  left: 44px;
  top: 54px;
}

.art-node {
  right: 48px;
  top: 70px;
}

.agent-node {
  right: 74px;
  bottom: 48px;
}

.presenter-note {
  margin-top: 20px;
  color: #587187;
  font-size: 15px;
  font-weight: 800;
}

.result-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.result-header h2 {
  margin-bottom: 10px;
}

.result-header p {
  margin-bottom: 0;
  max-width: 720px;
}

.result-tabs {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 32px rgba(24, 61, 92, .1);
}

.result-tabs button {
  min-width: 94px;
  height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #4d6478;
  font-weight: 900;
  cursor: pointer;
}

.result-tabs button.is-active {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.result-panels {
  position: relative;
  height: min(66vh, 640px);
  min-height: 560px;
}

.result-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 22px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .32s ease, transform .36s ease;
}

.result-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.result-detail-shell {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  min-height: 100%;
}

.result-side-tabs,
.result-detail-page {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.result-side-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.result-side-tabs span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.result-side-tabs strong {
  display: block;
  margin: 4px 0 14px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.18;
}

.result-side-tabs button {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid rgba(7, 136, 223, .14);
  border-radius: var(--radius);
  color: #456174;
  background: #eaf7fb;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.result-side-tabs button:hover {
  transform: translateX(4px);
}

.result-side-tabs button.is-active {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.result-detail-pages {
  position: relative;
  min-height: 100%;
}

.result-detail-page {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 34px;
  opacity: 0;
  transform: translateX(18px);
  pointer-events: none;
  transition: opacity .32s ease, transform .36s ease;
  overflow: hidden;
}

.result-detail-page.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.result-detail-page.media-portrait {
  display: grid;
  grid-template-columns: minmax(210px, 260px) 1fr;
  grid-template-rows: auto auto auto 1fr;
  gap: 0 24px;
}

.result-detail-page.media-portrait .panel-label,
.result-detail-page.media-portrait h3,
.result-detail-page.media-portrait p,
.result-detail-page.media-portrait .detail-metrics {
  grid-column: 2;
}

.result-detail-page.media-portrait .result-media {
  grid-column: 1;
  grid-row: 1 / span 4;
  align-self: stretch;
  margin: 0;
}

.result-detail-page.media-landscape {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 0;
}

.result-detail-page h3 {
  margin: 12px 0 14px;
  font-size: 36px;
}

.result-detail-page p {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: 18px;
}

.result-media {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.result-media img,
.result-media video {
  width: 100%;
  max-height: 168px;
  border-radius: var(--radius);
  object-fit: cover;
  background: #dcecf2;
  box-shadow: 0 16px 40px rgba(24, 61, 92, .14);
}

.result-media.is-phone img {
  height: 440px;
  max-height: 440px;
  object-fit: contain;
  background: #071423;
}

.result-media.is-wide img {
  height: 220px;
  max-height: 220px;
  object-fit: contain;
  background: #071423;
}

.media-landscape .result-media img,
.media-landscape .result-media video {
  height: 220px;
  max-height: 220px;
  object-fit: contain;
  background: #071423;
}

.result-media.is-video-only {
  margin-bottom: 16px;
}

.result-media.is-video-only video {
  height: 260px;
  max-height: 260px;
  object-fit: contain;
  background: #071423;
}

.vts-transform {
  grid-template-columns: minmax(150px, .72fr) 54px minmax(230px, 1.28fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.vts-input,
.vts-output {
  min-height: 250px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #071423;
  box-shadow: 0 16px 40px rgba(24, 61, 92, .14);
  overflow: hidden;
}

.vts-input {
  background: white;
}

.vts-input img {
  width: 100%;
  height: 250px;
  max-height: 250px;
  object-fit: contain;
  box-shadow: none;
  background: white;
}

.vts-output video {
  width: 100%;
  height: 250px;
  max-height: 250px;
  object-fit: contain;
  box-shadow: none;
  background: #071423;
}

.vts-arrow {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 32px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(24, 61, 92, .18);
}

.media-portrait .result-media figcaption {
  padding: 0 4px;
}

.result-media figcaption {
  color: #5b7082;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}

.result-media.is-missing div {
  min-height: 172px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(7, 136, 223, .34);
  border-radius: var(--radius);
  color: #2d6f92;
  background: #eaf7fb;
  font-weight: 900;
}

.detail-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: auto;
}

.detail-metrics div {
  min-height: 148px;
  padding: 18px;
  border-radius: var(--radius);
  background: #eaf7fb;
}

.media-portrait .detail-metrics {
  margin-top: 8px;
}

.media-portrait .detail-metrics div {
  min-height: 126px;
}

.media-landscape .detail-metrics {
  margin-top: 4px;
}

.media-landscape .detail-metrics div {
  min-height: 126px;
}

.detail-metrics strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 20px;
}

.detail-metrics span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 800;
}

.panel-visual,
.panel-copy,
.growth-cards article,
.future-plan article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.panel-visual {
  overflow: hidden;
  min-height: 100%;
}

.game-visual {
  position: relative;
  background:
    linear-gradient(180deg, rgba(5, 24, 42, .1), rgba(5, 24, 42, .58)),
    url("./assets/spire-login-bg.png");
  background-size: cover;
  background-position: center;
  transition: background-image .32s ease, background-position .32s ease;
}

.game-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.01);
}

.game-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 24, 42, 0), rgba(5, 24, 42, .42));
  pointer-events: none;
}

.game-visual.is-blindbox {
  background:
    linear-gradient(180deg, rgba(5, 24, 42, 0), rgba(5, 24, 42, .46)),
    url("./assets/blindbox-bg.jpg");
  background-size: cover;
  background-position: center 58%;
}

.game-visual.is-spire {
  background:
    linear-gradient(180deg, rgba(5, 24, 42, .08), rgba(5, 24, 42, .62)),
    url("./assets/spire-login-bg.png");
  background-size: cover;
  background-position: center;
}

.game-visual-overlay {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius);
  color: white;
  background: rgba(6, 23, 36, .54);
  backdrop-filter: blur(14px);
}

.game-visual-overlay span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 900;
}

.game-visual-overlay strong {
  display: block;
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.2;
}

.game-visual-overlay small {
  display: block;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
}

.art-visual {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #eaf7fb, #f5fbfe);
}

.art-visual img {
  width: 82%;
  max-height: 82%;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(24, 61, 92, .18);
}

.agent-visual {
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 42%, rgba(7, 136, 223, .2), transparent 28%),
    linear-gradient(135deg, #0a2239, #0d6a78);
}

.agent-logo {
  width: 220px;
  border-radius: var(--radius);
  background: white;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}

.openclaw-logo {
  position: absolute;
  right: 17%;
  bottom: 20%;
  width: 86px;
  border-radius: var(--radius);
  background: white;
  padding: 14px;
}

.panel-copy {
  padding: 34px;
  overflow: hidden;
}

.game-copy {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
}

.story-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.story-counter {
  color: var(--ink);
  font-weight: 900;
}

.story-counter small {
  color: var(--muted);
  font-size: 13px;
}

.game-story {
  grid-row: 2;
  align-self: start;
  display: none;
  min-height: 0;
  padding-top: 8px;
  animation: storyIn .28s ease both;
}

.game-story.is-active {
  display: block;
}

@keyframes storyIn {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.story-project {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: #0a5672;
  background: #eaf7fb;
  font-size: 13px;
  font-weight: 900;
}

.game-story h3 {
  margin: 16px 0 14px;
  font-size: 32px;
}

.game-story p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.68;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.story-grid div {
  min-height: 104px;
  padding: 15px;
  border-radius: var(--radius);
  background: #eaf7fb;
}

.story-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
}

.story-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
}

.proof-list.compact {
  font-size: 14px;
  line-height: 1.55;
}

.decision-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.decision-list span {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 14px;
  font-weight: 900;
}

.game-flow {
  grid-template-columns: repeat(4, 1fr);
  margin: 20px 0 0;
}

.story-controls {
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.story-controls button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.story-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.story-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 136, 223, .22);
  cursor: pointer;
}

.story-dots button.is-active {
  width: 30px;
  border-radius: 999px;
  background: var(--blue);
}

.panel-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.panel-copy h3 {
  margin: 12px 0 14px;
  font-size: 36px;
}

.result-overview-copy {
  display: flex;
  flex-direction: column;
}

.result-overview-copy p {
  margin-bottom: 20px;
  font-size: 17px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.overview-grid article {
  min-height: 142px;
  padding: 18px;
  border-radius: var(--radius);
  background: #eaf7fb;
}

.overview-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.overview-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
}

.overview-grid small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
}

.result-summary {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--navy), #0b7184);
  font-weight: 900;
  line-height: 1.55;
}

.project-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.project-pair div,
.asset-flow span {
  border-radius: var(--radius);
  background: #eaf7fb;
  padding: 16px;
}

.project-pair strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.project-pair span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

.proof-list {
  margin: 0;
  padding-left: 20px;
  color: #53697d;
  font-size: 15px;
  line-height: 1.62;
  font-weight: 700;
}

.asset-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.asset-flow span {
  display: grid;
  min-height: 64px;
  place-items: center;
  color: #0a5672;
  text-align: center;
  font-weight: 900;
}

.growth-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 30px;
  align-items: center;
}

.growth-shell {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  grid-template-rows: auto 1fr auto;
  gap: 14px 24px;
  align-items: start;
  min-height: min(68vh, 640px);
}

.growth-title p {
  max-width: 620px;
}

.growth-tabs {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 32px rgba(24, 61, 92, .1);
}

.growth-tabs button {
  min-width: 92px;
  height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #4d6478;
  font-weight: 900;
  cursor: pointer;
}

.growth-tabs button.is-active {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.growth-pages {
  grid-column: 1 / -1;
  position: relative;
  min-height: 470px;
}

.growth-page {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 18px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .32s ease, transform .36s ease;
}

.growth-page.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.growth-focus,
.growth-cards {
  min-height: 100%;
}

.growth-focus {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(7, 136, 223, .92), rgba(66, 211, 151, .84)),
    url("./assets/template-cover.png");
  background-size: cover;
  background-position: center;
  color: white;
  box-shadow: var(--shadow);
}

.growth-focus span {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.growth-focus h3 {
  margin: 14px 0 14px;
  font-size: 32px;
}

.growth-focus p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 16px;
  line-height: 1.6;
}

.growth-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.growth-cards article {
  min-height: 236px;
  padding: 18px;
  overflow: hidden;
  min-width: 0;
}

.growth-cards span,
.future-plan span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.growth-cards h3 {
  margin: 9px 0 8px;
  font-size: clamp(20px, 1.65vw, 22px);
  line-height: 1.22;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.growth-cards p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.5;
}

.method-strip {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--navy), #0b7184);
  box-shadow: var(--shadow);
}

.method-strip strong {
  margin-right: auto;
  font-size: 20px;
}

.method-strip span {
  padding: 9px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  font-weight: 900;
}

.future-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
}

.slide-future {
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 136, 223, .92), rgba(66, 211, 151, .86)),
    url("./assets/spire-home-bg.png");
  background-size: cover;
  background-position: center;
}

.slide-future .slide-kicker,
.slide-future h2,
.slide-future p {
  color: white;
}

.slide-future h2 {
  max-width: 760px;
  font-size: clamp(54px, 5.2vw, 76px);
  line-height: 1.12;
  word-break: keep-all;
}

.slide-future p {
  opacity: .88;
}

.future-plan {
  display: grid;
  gap: 16px;
}

.future-plan article {
  min-height: 160px;
  padding: 24px;
  background: rgba(255, 255, 255, .92);
}

.future-plan h3 {
  margin: 10px 0;
  color: var(--ink);
}

.future-plan p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.closing-line {
  margin-top: 34px;
  padding: 18px 22px;
  width: max-content;
  max-width: 100%;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .16);
  font-size: 20px;
  font-weight: 900;
}

.slide-career .growth-shell {
  grid-template-columns: .88fr 1.12fr;
}

.slide-career .growth-title p {
  max-width: 700px;
}

.controls {
  position: fixed;
  z-index: 38;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 42px rgba(21, 70, 103, .14);
}

.controls button {
  min-width: 76px;
  height: 38px;
  border: 0;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
  cursor: pointer;
}

.controls button:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.counter {
  min-width: 72px;
  text-align: center;
  color: var(--ink);
  font-weight: 900;
}

.counter small {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .slide {
    padding-left: 42px;
    padding-right: 42px;
  }

  .route-layout,
  .profile-page,
  .growth-layout,
  .growth-shell,
  .growth-page,
  .future-layout,
  .result-panel,
  .result-detail-shell {
    grid-template-columns: 1fr;
  }

  .growth-tabs {
    justify-self: start;
  }

  .pipeline-map,
  .result-panels {
    min-height: 460px;
  }

  .panel-visual {
    min-height: 220px;
  }

  .profile-shell,
  .profile-pages {
    min-height: 0;
  }

  .profile-page {
    position: relative;
    display: none;
  }

  .profile-page.is-active {
    display: grid;
  }

  .profile-photo-card,
  .profile-photo-card img {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow: auto;
  }

  .topbar {
    top: 12px;
    width: calc(100% - 24px);
    height: auto;
    padding: 12px;
    align-items: flex-start;
    gap: 12px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .main-nav button {
    min-width: 76px;
    height: 36px;
    font-size: 13px;
  }

  .deck {
    height: auto;
  }

  .slide {
    position: relative;
    min-height: 100vh;
    display: none;
    padding: 132px 22px 150px;
    transform: none;
  }

  .slide.is-active {
    display: block;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 38px;
  }

  .slide-rail {
    display: none;
  }

  .result-header,
  .project-pair,
  .asset-flow,
  .growth-shell,
  .growth-page,
  .detail-metrics,
  .growth-cards {
    grid-template-columns: 1fr;
  }

  .growth-shell {
    min-height: 0;
  }

  .growth-tabs {
    justify-self: stretch;
  }

  .growth-tabs button {
    flex: 1 1 120px;
  }

  .growth-pages {
    min-height: 0;
  }

  .growth-page {
    position: relative;
    display: none;
  }

  .growth-page.is-active {
    display: grid;
  }

  .result-panels {
    height: auto;
    min-height: 0;
  }

  .result-panel {
    position: relative;
    display: none;
  }

  .result-panel.is-active {
    display: grid;
  }

  .result-detail-pages {
    min-height: 560px;
  }

  .result-detail-page {
    padding: 24px;
  }

  .result-detail-page.media-portrait,
  .result-detail-page.media-landscape {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .result-detail-page.media-portrait .panel-label,
  .result-detail-page.media-portrait h3,
  .result-detail-page.media-portrait p,
  .result-detail-page.media-portrait .detail-metrics,
  .result-detail-page.media-portrait .result-media {
    grid-column: 1;
  }

  .result-detail-page.media-portrait .result-media {
    grid-row: auto;
    margin-bottom: 18px;
  }

  .result-media.is-phone img,
  .result-media.is-wide img,
  .media-landscape .result-media img,
  .media-landscape .result-media video {
    height: auto;
    max-height: 260px;
  }

  .vts-transform {
    grid-template-columns: 1fr;
  }

  .vts-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .profile-intro-panel {
    padding-left: 0;
  }

  .profile-intro-panel::before,
  .profile-intro-panel::after {
    display: none;
  }

  .profile-name-row {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .profile-section-card {
    padding: 22px;
  }

  .profile-section-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .pipeline-map {
    display: grid;
    height: auto;
    min-height: 0;
    gap: 12px;
    padding: 16px;
  }

  .pipeline-map::before {
    display: none;
  }

  .core-node,
  .map-node {
    position: static;
    width: 100%;
    transform: none;
  }

  .controls {
    bottom: 12px;
  }
}
