:root {
  color-scheme: dark;
  --bg: #061012;
  --panel: rgba(5, 14, 16, 0.72);
  --panel-strong: rgba(5, 14, 16, 0.9);
  --line: rgba(221, 246, 241, 0.22);
  --text: #f2fffb;
  --muted: #bfd0cd;
  --cyan: #64ddd6;
  --gold: #e7c76a;
  --rose: #ed8e98;
  --green: #90d99c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
}

a,
button {
  font: inherit;
}

.ar-shell {
  min-height: 100vh;
}

.panorama-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #050c0e;
}

.panorama-view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: var(--panorama-image);
  background-position: var(--panorama-offset, 0px) center;
  background-repeat: repeat-x;
  background-size: auto 100%;
  cursor: grab;
  transform: scale(1.01);
  transition: opacity 260ms ease;
  user-select: none;
  touch-action: none;
}

.panorama-view:active {
  cursor: grabbing;
}

.panorama-view.is-intro-rotating {
  animation: cover-panorama-intro 24s cubic-bezier(0.42, 0, 0.16, 1) forwards;
}

@keyframes cover-panorama-intro {
  0% {
    background-position: calc(var(--panorama-offset, 0px) - 200vh) center;
  }

  100% {
    background-position: var(--panorama-offset, 0px) center;
  }
}

.image-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.12) 34%, rgba(0, 0, 0, 0.08) 58%, rgba(0, 0, 0, 0.68)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent 32%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.stage-header {
  position: absolute;
  top: 30px;
  left: 34px;
  right: 34px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.stage-header.is-cover {
  top: 43%;
  left: 50%;
  right: auto;
  display: block;
  width: min(1380px, calc(100vw - 64px));
  text-align: center;
  transform: translate(-50%, -55%);
}

.stage-header.is-policy {
  display: none;
}

.stage-header.is-diagnosis {
  top: 28px;
  left: 34px;
  right: auto;
  display: block;
  width: auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(1, 11, 13, 0.64);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.stage-header.is-diagnosis h1 {
  margin: 2px 0 0;
  max-width: none;
  color: rgba(236, 255, 252, 0.94);
  font-size: 22px;
  line-height: 1.15;
  text-shadow: none;
}

.stage-header.is-diagnosis p:last-child {
  display: none;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-header h1 {
  margin: 8px 0 10px;
  max-width: 12em;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.6);
}

.stage-header.is-cover h1 {
  max-width: none;
  margin: 12px auto 22px;
  font-size: clamp(46px, 6.6vw, 104px);
  line-height: 1.08;
}

.stage-header p:last-child {
  margin: 0;
  max-width: 38em;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.stage-header.is-cover p:last-child {
  max-width: none;
  color: var(--text);
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 700;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.62);
}

.cover-survey-entry {
  position: absolute;
  right: 44px;
  bottom: 188px;
  z-index: 5;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(430px, calc(100vw - 88px));
  padding: 18px;
  color: var(--text);
  border: 1px solid rgba(100, 221, 214, 0.4);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(100, 221, 214, 0.18), rgba(244, 216, 124, 0.08)),
    rgba(1, 11, 13, 0.76);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.cover-survey-entry.is-visible {
  display: grid;
}

.cover-survey-entry p {
  margin: 0 0 7px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.cover-survey-entry h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.18;
}

.cover-survey-entry span {
  display: block;
  margin-top: 8px;
  color: rgba(236, 255, 252, 0.76);
  font-size: 14px;
  line-height: 1.45;
}

.cover-survey-qr {
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  padding: 9px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.cover-survey-qr img {
  display: block;
  width: 100%;
  height: 100%;
}

.stage-header.is-courseware {
  top: 28px;
  left: 34px;
  right: auto;
  display: block;
  width: auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(1, 11, 13, 0.64);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.stage-header.is-courseware h1 {
  margin: 2px 0 0;
  max-width: none;
  color: rgba(236, 255, 252, 0.94);
  font-size: 22px;
  line-height: 1.15;
  text-shadow: none;
}

.stage-header.is-courseware p:last-child {
  display: none;
}

.stage-header.is-tool {
  top: 28px;
  left: 34px;
  right: auto;
  display: block;
  width: auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(1, 11, 13, 0.64);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.stage-header.is-tool h1 {
  margin: 2px 0 0;
  max-width: none;
  color: rgba(236, 255, 252, 0.94);
  font-size: 22px;
  line-height: 1.15;
  text-shadow: none;
}

.stage-header.is-tool p:last-child {
  display: none;
}

.stage-header.is-final {
  top: 28px;
  left: 34px;
  right: auto;
  display: block;
  width: auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(1, 11, 13, 0.64);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.stage-header.is-final h1 {
  margin: 2px 0 0;
  max-width: none;
  color: rgba(236, 255, 252, 0.94);
  font-size: 22px;
  line-height: 1.15;
  text-shadow: none;
}

.stage-header.is-final p:last-child {
  display: none;
}

.scene-card {
  position: absolute;
  top: 164px;
  right: 34px;
  z-index: 4;
  width: min(380px, calc(100vw - 68px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
}

.scene-card.is-cover {
  display: none;
}

.scene-card.is-hidden {
  display: none;
}

.scene-card h2 {
  margin: 8px 0 10px;
  font-size: 26px;
  line-height: 1.15;
}

.scene-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.scene-card h3 {
  margin: 20px 0 8px;
  font-size: 15px;
}

.scene-card ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--muted);
}

.scene-card li {
  margin: 8px 0;
  line-height: 1.55;
}

.hotspot-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hotspot-layer.is-cover {
  display: none;
}

.policy-deck {
  position: absolute;
  inset: 54px 56px 140px;
  z-index: 4;
  display: none;
  grid-template-columns: minmax(640px, 1fr) 340px;
  gap: 18px;
  align-items: stretch;
}

.policy-deck.is-visible {
  display: grid;
}

.policy-stage,
.policy-main,
.policy-side,
.policy-grid {
  min-height: 0;
}

.policy-stage {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(238, 248, 245, 0.92);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.46);
}

.policy-main {
  position: relative;
  height: 100%;
}

.policy-frame {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(16, 48, 52, 0.1);
}

.policy-side {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  min-height: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(3, 18, 21, 0.76);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.policy-side-label {
  margin: 0;
  color: var(--cyan);
  font-size: 18px;
  font-weight: 900;
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  overflow-y: auto;
  padding-right: 2px;
}

.policy-thumb {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 86px;
  padding: 12px;
  overflow: hidden;
  color: #f5fffb;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(19, 72, 76, 0.88), rgba(8, 25, 29, 0.94)),
    rgba(0, 0, 0, 0.44);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.34);
  cursor: pointer;
}

.policy-thumb::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  pointer-events: none;
}

.policy-thumb span,
.policy-thumb strong,
.policy-thumb em,
.policy-thumb small {
  position: relative;
  z-index: 1;
}

.policy-thumb span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.policy-thumb strong {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.3;
}

.policy-thumb em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.policy-thumb small {
  justify-self: start;
  margin-top: 6px;
  padding: 4px 8px;
  color: #061214;
  border-radius: 999px;
  background: rgba(100, 221, 214, 0.86);
  font-size: 11px;
  font-weight: 900;
}

.policy-thumb:not(.is-active) small {
  background: rgba(255, 255, 255, 0.74);
}

.policy-thumb.is-active {
  border-color: var(--gold);
  background:
    linear-gradient(135deg, rgba(189, 140, 50, 0.88), rgba(20, 55, 57, 0.94)),
    rgba(0, 0, 0, 0.44);
  box-shadow: 0 0 0 2px rgba(231, 199, 106, 0.28), 0 22px 70px rgba(0, 0, 0, 0.46);
}

.policy-summary {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(98, 232, 224, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 47, 50, 0.86), rgba(4, 17, 20, 0.95)),
    rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.policy-summary-tag {
  margin: 0;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.policy-summary h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.32;
}

.policy-summary dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.policy-summary dl div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  align-items: start;
}

.policy-summary dt,
.policy-summary dd {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.policy-summary dt {
  color: var(--gold);
  font-weight: 900;
}

.policy-summary > strong {
  color: var(--cyan);
  font-size: 13px;
}

.policy-summary ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--text);
}

.policy-summary li {
  padding-left: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.evolution-deck {
  position: absolute;
  inset: 150px 56px 140px;
  z-index: 4;
  display: none;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 18px;
}

.evolution-deck.is-visible {
  display: grid;
}

.evolution-headline {
  max-width: 980px;
}

.evolution-headline h2 {
  margin: 6px 0 0;
  font-size: clamp(34px, 4vw, 66px);
  line-height: 1.08;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.58);
}

.evolution-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.evolution-track::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 31px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--green), #82b9ff, var(--gold));
  box-shadow: 0 0 24px rgba(100, 221, 214, 0.46);
  transform: scaleX(0);
  transform-origin: left center;
  animation: evolution-line 7.2s ease forwards;
}

.evolution-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  column-gap: 14px;
  min-height: 188px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(100, 221, 214, 0.12), transparent 44%),
    rgba(2, 19, 23, 0.76);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(26px) scale(0.96);
  animation: evolution-card 900ms ease forwards;
}

.evolution-step:nth-child(2) {
  animation-delay: 2.1s;
}

.evolution-step:nth-child(3) {
  animation-delay: 4.2s;
}

.evolution-step:nth-child(4) {
  animation-delay: 6.3s;
}

.evolution-step span {
  display: inline-grid;
  place-items: center;
  grid-row: span 4;
  width: 62px;
  height: 62px;
  color: #051113;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(100, 221, 214, 0.16);
  font-weight: 900;
}

.evolution-step:nth-child(2) span {
  background: var(--green);
}

.evolution-step:nth-child(3) span {
  background: #82b9ff;
}

.evolution-step:nth-child(4) span {
  background: var(--gold);
}

.evolution-step small {
  width: fit-content;
  margin-top: 3px;
  padding: 4px 9px;
  color: #061012;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.evolution-step h2 {
  margin: 10px 0 8px;
  font-size: clamp(24px, 2vw, 36px);
  line-height: 1.12;
}

.evolution-step p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 0.95vw, 17px);
  line-height: 1.6;
}

.evolution-step strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: clamp(14px, 0.95vw, 17px);
}

.evolution-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.54fr);
  gap: 18px;
  min-height: 0;
}

.case-matrix,
.role-shift {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.52);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.case-matrix {
  min-height: 0;
  padding: 18px;
  opacity: 0;
  transform: translateY(20px);
  animation: role-shift-in 900ms ease 6.9s forwards;
}

.case-matrix > p,
.role-shift p {
  margin: 0 0 12px;
  color: var(--cyan);
  font-weight: 900;
}

.case-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.case-columns section {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 8px;
  min-height: 126px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.case-columns strong {
  flex: 0 0 100%;
  color: var(--text);
  font-size: 16px;
}

.case-columns span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  color: rgba(242, 255, 251, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.role-shift {
  margin: 0;
  max-width: none;
  padding: 18px;
  opacity: 0;
  transform: translateY(20px);
  animation: role-shift-in 900ms ease 6.2s forwards;
}

.role-shift div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.role-shift span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 8px 12px;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 800;
}

.diagnosis-deck {
  position: absolute;
  inset: 96px 44px 130px;
  z-index: 4;
  display: none;
  grid-template-columns: minmax(260px, 0.54fr) minmax(520px, 1.06fr) minmax(420px, 0.9fr);
  gap: 14px;
  min-height: 0;
}

.diagnosis-deck.is-visible {
  display: grid;
}

.diagnosis-survey-card,
.diagnosis-question-card,
.diagnosis-result-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(2, 17, 20, 0.76);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(20px);
}

.diagnosis-survey-card,
.diagnosis-question-card,
.diagnosis-result-card {
  display: grid;
  align-content: start;
  min-height: 0;
  padding: 20px;
}

.deck-kicker {
  margin: 0;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.diagnosis-survey-card h2,
.diagnosis-question-card h2,
.diagnosis-result-card h2 {
  margin: 8px 0 14px;
  font-size: clamp(25px, 2.1vw, 38px);
  line-height: 1.12;
}

.diagnosis-qr {
  display: grid;
  place-items: center;
  width: min(220px, 100%);
  margin: 2px auto 16px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.diagnosis-qr img {
  display: block;
  width: 100%;
  height: auto;
}

.diagnosis-scan {
  margin: 0;
  color: var(--text);
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.diagnosis-link {
  display: block;
  margin-top: 12px;
  color: var(--cyan);
  text-align: center;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.diagnosis-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.diagnosis-overview-grid article,
.diagnosis-level-guide article,
.diagnosis-history article,
.diagnosis-ai-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.diagnosis-overview-grid article {
  min-height: 124px;
  padding: 14px;
}

.diagnosis-overview-grid span,
.diagnosis-level-guide strong,
.diagnosis-history strong,
.diagnosis-ai-card strong {
  color: var(--cyan);
  font-weight: 900;
}

.diagnosis-overview-grid strong {
  display: block;
  margin: 8px 0 7px;
  color: var(--text);
  font-size: clamp(21px, 1.55vw, 30px);
  line-height: 1.1;
}

.diagnosis-overview-grid p,
.diagnosis-level-guide p,
.diagnosis-history p,
.diagnosis-ai-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.diagnosis-level-guide {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.diagnosis-level-guide article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
}

.diagnosis-round-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.diagnosis-round-tools button,
.diagnosis-ai-card button {
  min-height: 38px;
  border: 1px solid rgba(98, 232, 224, 0.28);
  border-radius: 8px;
  color: var(--text);
  background: rgba(98, 232, 224, 0.1);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.diagnosis-round-tools button:last-child {
  border-color: rgba(255, 212, 104, 0.36);
  background: rgba(255, 212, 104, 0.12);
}

.diagnosis-ai-card button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.diagnosis-history {
  min-height: 0;
  overflow-y: auto;
}

.diagnosis-history > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

#diagnosisHistoryList {
  display: grid;
  gap: 8px;
}

.diagnosis-history article {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
}

.diagnosis-history article.is-active {
  border-color: rgba(98, 232, 224, 0.66);
  background: rgba(98, 232, 224, 0.12);
}

.diagnosis-history article > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #061012;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  font-weight: 900;
}

.diagnosis-history button:not(.diagnosis-history-delete) {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.diagnosis-history button:not(.diagnosis-history-delete) strong,
.diagnosis-history button:not(.diagnosis-history-delete) p {
  min-width: 0;
}

.diagnosis-history button:not(.diagnosis-history-delete) p {
  grid-column: 1 / -1;
}

.diagnosis-history button:not(.diagnosis-history-delete) em {
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.diagnosis-history-delete {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(255, 212, 104, 0.36);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(255, 212, 104, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.diagnosis-ai-card {
  margin: -2px 0 12px;
  padding: 12px;
}

.diagnosis-ai-card div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.diagnosis-ai-card button {
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

.diagnosis-question-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.diagnosis-question-group {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.diagnosis-question-group strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 15px;
}

.diagnosis-question-group ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diagnosis-question-group li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: start;
  min-height: 34px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.diagnosis-question-group li span {
  color: var(--gold);
  font-weight: 900;
}

.diagnosis-result-grid {
  display: grid;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.diagnosis-result-grid article {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.diagnosis-sample {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: end;
  gap: 10px;
  margin: -4px 0 12px;
  padding: 12px;
  border: 1px solid rgba(98, 232, 224, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(98, 232, 224, 0.16), rgba(255, 212, 104, 0.08)),
    rgba(255, 255, 255, 0.05);
}

.diagnosis-sample strong {
  color: var(--text);
  font-size: 42px;
  line-height: 0.9;
}

.diagnosis-sample span {
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
}

.diagnosis-sample em {
  justify-self: end;
  color: var(--gold);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.diagnosis-sample button {
  display: none;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(98, 232, 224, 0.36);
  border-radius: 8px;
  color: var(--text);
  background: rgba(98, 232, 224, 0.12);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.diagnosis-sample button.is-visible {
  display: inline-grid;
  place-items: center;
}

.diagnosis-result-grid span {
  color: var(--gold);
  font-weight: 900;
}

.diagnosis-chart-card > span {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 16px;
}

.diagnosis-result-grid strong {
  display: block;
  margin: 6px 0;
  color: var(--text);
  font-size: 21px;
}

.diagnosis-result-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.diagnosis-bars {
  display: grid;
  gap: 9px;
}

.diagnosis-bar {
  display: grid;
  grid-template-columns: minmax(84px, 0.72fr) minmax(0, 1fr) 82px;
  align-items: center;
  gap: 9px;
}

.diagnosis-bar b,
.diagnosis-bar em {
  color: var(--text);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
}

.diagnosis-bar em {
  color: var(--muted);
  text-align: right;
}

.diagnosis-bar i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.diagnosis-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.diagnosis-bar i::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  box-shadow: 0 0 18px rgba(98, 232, 224, 0.38);
  transform-origin: left center;
  animation: diagnosis-bar-grow 900ms ease both;
}

.diagnosis-result-grid.is-stable .diagnosis-bar i::before {
  animation: none;
}

.teacher-personas {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.teacher-personas article {
  position: relative;
  overflow: hidden;
  padding: 18px;
  min-height: 122px;
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  animation: diagnosis-in 800ms ease forwards;
}

.teacher-personas article::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.teacher-personas article::before {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 14px;
  width: var(--value);
  height: 5px;
  z-index: 1;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.teacher-personas article:nth-child(1) {
  animation-delay: 900ms;
}

.teacher-personas article:nth-child(2) {
  animation-delay: 1.2s;
}

.teacher-personas article:nth-child(3) {
  animation-delay: 1.5s;
}

.teacher-personas article:nth-child(4) {
  animation-delay: 1.8s;
}

.teacher-personas span {
  color: var(--gold);
  font-weight: 900;
}

.teacher-personas strong {
  float: right;
  color: var(--cyan);
  font-size: 15px;
}

.teacher-personas h3 {
  margin: 8px 0;
  font-size: 24px;
}

.teacher-personas p {
  margin: 0;
  padding-bottom: 14px;
  color: var(--muted);
  line-height: 1.55;
}

@keyframes diagnosis-in {
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes diagnosis-bar-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.survey-entry,
.diagnosis-board {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(2, 17, 20, 0.78);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(20px);
}

.survey-entry {
  display: grid;
  align-content: start;
  padding: 24px;
}

.survey-kicker {
  margin: 0;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.survey-entry h2,
.diagnosis-board h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.08;
}

.survey-entry p:not(.survey-kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.qr-card {
  display: grid;
  place-items: center;
  margin: 24px 0 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #f6fffc;
}

.qr-code {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 240px);
  aspect-ratio: 1;
  color: #061012;
  background: #f8fffc;
}

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

.qr-code small {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  color: #061012;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  background: rgba(248, 255, 252, 0.92);
}

.survey-link {
  display: block;
  overflow-wrap: anywhere;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.diagnosis-board {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  min-height: 0;
  padding: 24px;
}

.board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.board-head span {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: #061012;
  border-radius: 999px;
  background: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.level-bars {
  display: grid;
  gap: 12px;
  align-content: start;
}

.level-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  min-height: 78px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.level-row div,
.level-row em,
.level-row small {
  position: relative;
  z-index: 1;
}

.level-row strong,
.level-row span {
  display: block;
}

.level-row strong {
  font-size: 20px;
}

.level-row span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.level-row em {
  color: var(--text);
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
}

.level-row small {
  align-self: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.level-row i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--value);
  height: 5px;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(100, 221, 214, 0.42);
}

.level-row.rose i {
  background: var(--rose);
}

.level-row.gold i {
  background: var(--gold);
}

.level-row.green i {
  background: var(--green);
}

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

.survey-questions p {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
  min-height: 56px;
  margin: 0;
  padding: 10px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  line-height: 1.45;
}

.survey-questions span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #061012;
  border-radius: 999px;
  background: var(--cyan);
  font-weight: 900;
}

.courseware-deck {
  position: absolute;
  inset: 118px 56px 140px;
  z-index: 4;
  display: none;
  grid-template-rows: auto 1fr;
  gap: 22px;
  overflow-y: auto;
  padding-right: 8px;
}

.courseware-deck.is-visible {
  display: grid;
}

.courseware-head {
  max-width: 740px;
}

.courseware-head h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 1.12;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.58);
}

.courseware-browser {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
}

.courseware-tabs {
  display: grid;
  gap: 10px;
  align-content: start;
}

.courseware-tab {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 14px 16px;
  color: var(--text);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(2, 15, 18, 0.68);
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.courseware-tab:hover,
.courseware-tab.is-active {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(100, 221, 214, 0.2), rgba(2, 15, 18, 0.76));
  box-shadow: 0 0 0 2px rgba(100, 221, 214, 0.12);
}

.courseware-tab strong {
  font-size: 20px;
  line-height: 1.2;
}

.courseware-tab em {
  color: rgba(244, 216, 124, 0.9);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.courseware-grid {
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
}

.courseware-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 380px));
  gap: 18px;
  align-content: start;
  align-items: start;
  justify-content: start;
  min-height: 0;
}

.courseware-card {
  position: relative;
  display: block;
  width: min(380px, 100%);
  aspect-ratio: 4 / 3;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(2, 15, 18, 0.74);
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.44);
  cursor: pointer;
  backdrop-filter: blur(18px);
}

.courseware-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(100, 221, 214, 0.2), 0 30px 86px rgba(0, 0, 0, 0.5);
}

.courseware-card.is-placeholder {
  border-style: dashed;
  background: rgba(2, 15, 18, 0.58);
  cursor: default;
}

.courseware-preview {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #071114;
}

.courseware-preview iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.courseware-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: rgba(236, 255, 252, 0.72);
  background:
    linear-gradient(135deg, rgba(100, 221, 214, 0.14), transparent 44%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 28px);
  font-size: 24px;
  font-weight: 900;
}

.courseware-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(1, 10, 12, 0.82) 100%),
    linear-gradient(90deg, rgba(1, 10, 12, 0.2), transparent 48%);
}

.courseware-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 70px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(1, 10, 12, 0.96) 56%);
}

.courseware-meta em {
  color: var(--cyan);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.courseware-meta strong {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.12;
}

.courseware-meta small {
  color: var(--muted);
  font-size: 16px;
}

.courseware-open {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.courseware-open:disabled {
  cursor: default;
}

.courseware-open span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.courseware-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  padding: 34px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.courseware-modal.is-visible {
  display: grid;
  place-items: center;
}

.courseware-dialog {
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(1460px, 96vw);
  height: min(900px, 90vh);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: #061012;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.66);
}

.courseware-modal.is-maximized {
  padding: 10px;
}

.courseware-modal.is-maximized .courseware-dialog {
  width: calc(100vw - 20px);
  height: calc(100vh - 20px);
}

.courseware-dialog-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 12px 16px 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(2, 17, 20, 0.96);
}

.courseware-dialog-bar > div:first-child {
  display: grid;
  gap: 4px;
}

.courseware-dialog-bar strong {
  font-size: 18px;
}

.courseware-dialog-bar span {
  color: var(--muted);
  font-size: 12px;
}

.courseware-dialog-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.courseware-maximize,
.courseware-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.courseware-maximize:hover,
.courseware-close:hover {
  border-color: var(--cyan);
}

.courseware-dialog iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.tool-deck {
  position: absolute;
  inset: 118px 56px 140px;
  z-index: 4;
  display: none;
  grid-template-rows: auto 1fr;
  gap: 22px;
  overflow-y: auto;
  padding-right: 8px;
}

.tool-deck.is-visible {
  display: grid;
}

.tool-head h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 1.12;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.58);
}

.tool-browser {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
}

.tool-tabs {
  display: grid;
  gap: 10px;
  align-content: start;
}

.tool-tab {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 14px 16px;
  color: var(--text);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(2, 15, 18, 0.68);
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.tool-tab:hover,
.tool-tab.is-active {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(100, 221, 214, 0.2), rgba(2, 15, 18, 0.76));
  box-shadow: 0 0 0 2px rgba(100, 221, 214, 0.12);
}

.tool-tab strong {
  font-size: 20px;
  line-height: 1.2;
}

.tool-tab em {
  color: rgba(244, 216, 124, 0.9);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 340px));
  gap: 18px;
  align-content: start;
  justify-content: start;
  min-width: 0;
}

.tool-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 260px;
  padding: 92px 22px 72px;
  overflow: hidden;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(100, 221, 214, 0.18), transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(244, 216, 124, 0.18), transparent 28%),
    rgba(2, 15, 18, 0.78);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 30px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
}

.tool-card.is-featured {
  grid-column: span 2;
  min-height: 300px;
  border-color: rgba(244, 216, 124, 0.5);
  background:
    linear-gradient(135deg, rgba(244, 216, 124, 0.24), transparent 45%),
    linear-gradient(225deg, rgba(100, 221, 214, 0.22), transparent 38%),
    rgba(2, 15, 18, 0.82);
}

.tool-card span,
.tool-card strong,
.tool-card p {
  position: relative;
  z-index: 1;
}

.tool-card .tool-label {
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 9px;
  color: #061012;
  border-radius: 999px;
  background: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.tool-card .tool-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 8px;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 247, 248, 0.9)),
    linear-gradient(135deg, #1d8bff, #28ddd0);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  font-size: 19px;
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
}

.tool-card .tool-logo img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.tool-card .tool-logo b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 7px;
  font: inherit;
  line-height: 1;
  text-align: center;
}

.tool-card .tool-logo.has-online-logo b {
  display: none;
}

.tool-card .tool-logo.has-fallback {
  background: linear-gradient(135deg, #1d8bff, #28ddd0);
}

.tool-card .tool-logo.has-fallback b {
  display: grid;
}

.tool-card.is-featured .tool-logo {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  font-size: 25px;
}

.tool-logo.has-fallback.is-doubao { background: linear-gradient(135deg, #2f7dff, #8a5cff); }
.tool-logo.has-fallback.is-deepseek { background: linear-gradient(135deg, #2159ff, #33c7ff); }
.tool-logo.has-fallback.is-kimi { background: linear-gradient(135deg, #111827, #5f6bff); }
.tool-logo.has-fallback.is-qianwen,
.tool-logo.has-fallback.is-wanxiang,
.tool-logo.has-fallback.is-bailian { background: linear-gradient(135deg, #ff7a18, #7b61ff); }
.tool-logo.has-fallback.is-wenxin,
.tool-logo.has-fallback.is-baidu-agent { background: linear-gradient(135deg, #315cff, #00c2ff); }
.tool-logo.has-fallback.is-yuanbao,
.tool-logo.has-fallback.is-yuanqi { background: linear-gradient(135deg, #1689ff, #10d6a3); }
.tool-logo.has-fallback.is-zhipu { background: linear-gradient(135deg, #4b49ff, #8f46ff); }
.tool-logo.has-fallback.is-xinghuo { background: linear-gradient(135deg, #ff6b2c, #ffcb3d); color: #111111; }
.tool-logo.has-fallback.is-hailuo { background: linear-gradient(135deg, #00a6ff, #01d1b2); }
.tool-logo.has-fallback.is-zhinao { background: linear-gradient(135deg, #20b15a, #7bdc42); color: #07150d; }
.tool-logo.has-fallback.is-baixiaoying { background: linear-gradient(135deg, #285cff, #74d6ff); }
.tool-logo.has-fallback.is-yuewen { background: linear-gradient(135deg, #ff4d6d, #ffc145); }
.tool-logo.has-fallback.is-qclaw,
.tool-logo.is-qclaw { background: linear-gradient(135deg, #64ddd6, #f4d87c); color: #061012; }
.tool-logo.has-fallback.is-coze { background: linear-gradient(135deg, #101828, #6c5cff); }
.tool-logo.has-fallback.is-dify,
.tool-logo.has-fallback.is-fastgpt { background: linear-gradient(135deg, #0f172a, #22c55e); }
.tool-logo.has-fallback.is-feixiang { background: linear-gradient(135deg, #14b8a6, #84cc16); color: #061012; }
.tool-logo.has-fallback.is-smartedu { background: linear-gradient(135deg, #c62828, #f7b733); }
.tool-logo.has-fallback.is-seewo { background: linear-gradient(135deg, #f97316, #fde047); color: #141000; }
.tool-logo.has-fallback.is-ppt101 { background: linear-gradient(135deg, #ff6b00, #ff3b30); }
.tool-logo.has-fallback.is-classin { background: linear-gradient(135deg, #0066ff, #00d4ff); }
.tool-logo.has-fallback.is-zxxk { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.tool-logo.has-fallback.is-wjx { background: linear-gradient(135deg, #22c55e, #16a34a); }
.tool-logo.has-fallback.is-trae { background: linear-gradient(135deg, #111827, #00e0ff); }
.tool-logo.has-fallback.is-jimeng { background: linear-gradient(135deg, #ff4f8b, #6d5dfc); }
.tool-logo.has-fallback.is-metaso { background: linear-gradient(135deg, #0f766e, #5eead4); color: #052421; }
.tool-logo.has-fallback.is-kling { background: linear-gradient(135deg, #111827, #f97316); }
.tool-logo.has-fallback.is-capcut { background: linear-gradient(135deg, #111111, #f8fafc); }
.tool-logo.has-fallback.is-vidu { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.tool-logo.has-fallback.is-canva { background: linear-gradient(135deg, #00c4cc, #7d2ae8); }
.tool-logo.has-fallback.is-gaoding { background: linear-gradient(135deg, #2563eb, #f59e0b); }

.tool-card strong {
  font-size: clamp(26px, 2.5vw, 42px);
  line-height: 1.1;
}

.tool-card p {
  max-width: 28em;
  margin: 12px 0 0;
  color: rgba(236, 255, 252, 0.78);
  font-size: 15px;
  line-height: 1.6;
}

.tool-open {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  place-items: center;
  width: auto;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #061012;
  background: linear-gradient(135deg, rgba(100, 221, 214, 0.98), rgba(244, 216, 124, 0.96));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.tool-open::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.tool-open:hover {
  border-color: var(--cyan);
  background: #ffffff;
}

.tool-open:disabled {
  cursor: default;
  opacity: 0.56;
}

.tool-open span {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
}

.final-summary-deck {
  position: absolute;
  inset: 118px 56px 140px;
  z-index: 4;
  display: none;
  grid-template-columns: minmax(460px, 0.9fr) minmax(560px, 1.1fr);
  gap: 18px;
}

.final-summary-deck.is-visible {
  display: grid;
}

.final-summary-main,
.final-summary-points {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(2, 17, 20, 0.72);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(20px);
}

.final-summary-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: clamp(22px, 3vw, 40px);
  padding: clamp(28px, 4vw, 58px);
  background:
    linear-gradient(135deg, rgba(100, 221, 214, 0.18), transparent 48%),
    linear-gradient(225deg, rgba(231, 199, 106, 0.16), transparent 42%),
    rgba(2, 17, 20, 0.76);
}

.final-summary-copy h2 {
  margin: 12px 0 20px;
  max-width: 11em;
  font-size: clamp(42px, 5vw, 86px);
  line-height: 1.08;
}

.final-summary-copy p:not(.deck-kicker) {
  max-width: 34em;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.75;
}

.final-wechat-card {
  justify-self: end;
  display: grid;
  gap: 10px;
  width: 230px;
  padding: 16px;
  color: var(--text);
  border: 1px solid rgba(100, 221, 214, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(100, 221, 214, 0.13), rgba(244, 216, 124, 0.08)),
    rgba(255, 255, 255, 0.05);
}

.final-wechat-card p {
  margin: 0;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.final-wechat-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}

.final-wechat-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 8px;
  background: #ffffff;
}

.final-wechat-card span {
  color: rgba(236, 255, 252, 0.74);
  font-size: 13px;
  line-height: 1.45;
}

.final-summary-points {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 24px;
}

.final-summary-points article {
  display: grid;
  grid-template-columns: 48px 120px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.final-summary-points span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #061012;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  font-weight: 900;
}

.final-summary-points strong {
  color: var(--text);
  font-size: 22px;
}

.final-summary-points p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@keyframes evolution-line {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

@keyframes evolution-card {
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes role-shift-in {
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hotspot {
  position: absolute;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  width: 230px;
  min-height: 64px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(1, 12, 15, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
}

.hotspot::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 7px solid var(--cyan);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 8px rgba(100, 221, 214, 0.18);
}

.hotspot strong {
  display: block;
  font-size: 14px;
}

.hotspot span {
  color: var(--muted);
  font-size: 12px;
}

.filmstrip {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 24px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  transition: transform 260ms ease, opacity 260ms ease;
}

.filmstrip-toggle {
  position: absolute;
  right: 34px;
  bottom: 128px;
  z-index: 6;
  min-width: 68px;
  min-height: 34px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.filmstrip-toggle:hover {
  border-color: var(--cyan);
}

body.filmstrip-collapsed .filmstrip {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}

body.filmstrip-collapsed .filmstrip-toggle {
  bottom: 24px;
}

body.filmstrip-collapsed .policy-deck {
  bottom: 64px;
}

body.filmstrip-collapsed .evolution-deck {
  bottom: 64px;
}

body.filmstrip-collapsed .diagnosis-deck {
  bottom: 64px;
}

body.filmstrip-collapsed .courseware-deck {
  bottom: 64px;
}

body.filmstrip-collapsed .tool-deck {
  bottom: 64px;
}

body.filmstrip-collapsed .final-summary-deck {
  bottom: 64px;
}

.scene-thumb {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 92px;
  padding: 10px;
  overflow: hidden;
  color: var(--text);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #061012;
  cursor: pointer;
}

.scene-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: opacity 200ms ease, transform 200ms ease;
}

.scene-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 76%);
}

.scene-thumb strong,
.scene-thumb span {
  position: relative;
  z-index: 1;
}

.scene-thumb strong {
  font-size: 13px;
  line-height: 1.25;
}

.scene-thumb span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.scene-thumb.is-active {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(100, 221, 214, 0.22);
}

.scene-thumb:hover img,
.scene-thumb.is-active img {
  opacity: 0.9;
  transform: scale(1.04);
}

@media (max-width: 1080px) {
  body {
    overflow: auto;
  }

  .panorama-stage {
    min-height: 1000px;
  }

  .stage-header {
    flex-direction: column;
  }

  .cover-survey-entry {
    right: 20px;
    bottom: 186px;
    width: min(390px, calc(100vw - 40px));
  }

  .scene-card {
    top: auto;
    right: 20px;
    bottom: 150px;
    left: 20px;
    width: auto;
  }

  .policy-deck {
    inset: 130px 20px 230px;
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .diagnosis-deck {
    inset: 130px 20px 230px;
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .courseware-deck {
    inset: 130px 20px 230px;
    overflow-y: auto;
  }

  .tool-deck {
    inset: 130px 20px 230px;
    overflow-y: auto;
  }

  .evolution-deck {
    inset: 130px 20px 230px;
    overflow-y: auto;
  }

  .evolution-track,
  .evolution-bottom,
  .case-columns {
    grid-template-columns: 1fr;
  }

  .evolution-track::before {
    display: none;
  }

  .final-summary-deck {
    inset: 130px 20px 230px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    overflow-y: auto;
  }

  .final-summary-main {
    grid-template-columns: 1fr;
  }

  .final-wechat-card {
    justify-self: start;
    width: min(230px, 100%);
  }

  .final-summary-points article {
    grid-template-columns: 44px 1fr;
  }

  .final-summary-points p {
    grid-column: 2;
  }

  .courseware-browser {
    grid-template-columns: 1fr;
  }

  .tool-browser {
    grid-template-columns: 1fr;
  }

  .courseware-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .courseware-items {
    grid-template-columns: 1fr;
  }

  .courseware-card {
    min-height: 360px;
  }

  .courseware-preview {
    min-height: 260px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-card.is-featured {
    grid-column: span 1;
  }

  .policy-side {
    min-height: 360px;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .filmstrip {
    left: 20px;
    right: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .role-shift div,
  .survey-questions {
    grid-template-columns: 1fr;
  }

  .filmstrip-toggle {
    right: 20px;
  }
}

@media (max-width: 640px) {
  .stage-header {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .stage-header h1 {
    font-size: 42px;
  }

  .stage-header p:last-child {
    font-size: 16px;
  }

  .hotspot {
    display: none;
  }

  .filmstrip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
