:root {
  --pf-bg-canvas: #f5f0e6;
  --pf-bg-surface: #fffdfc;
  --pf-bg-archive: #e8dfcf;
  --pf-text-primary: #171512;
  --pf-text-secondary: #5e5043;
  --pf-text-muted: #8c867d;
  --pf-border-default: #c8beae;
  --pf-state-supported: #5e7057;
  --pf-state-conflict: #9b3f2e;
  --pf-state-unknown: #8c867d;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--pf-bg-canvas);
  color: var(--pf-text-primary);
}
body {
  font-family: "Noto Sans SC", sans-serif;
}
button,
a {
  font: inherit;
}
button {
  color: inherit;
}
.screen {
  position: relative;
  min-height: 1024px;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--pf-bg-canvas);
}
.top-nav {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 1066px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  z-index: 5;
}
.brand {
  font:
    600 20px "Noto Serif SC",
    serif;
  color: var(--pf-text-primary);
  text-decoration: none;
}
.top-nav nav {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  font:
    500 11px Inter,
    sans-serif;
  letter-spacing: 0.8px;
  color: var(--pf-text-muted);
}
.top-nav nav a,
.top-nav nav span {
  padding-bottom: 6px;
  text-decoration: none;
  color: inherit;
}
.top-nav .nav-active {
  color: var(--pf-text-primary);
  border-bottom: 1.5px solid var(--pf-state-conflict);
}
.eyebrow,
.case-kicker,
.microcopy,
.next-label,
.screen-state,
.opening-flow,
.evidence-label,
.chosen-dimensions {
  font:
    500 11px Inter,
    sans-serif;
  letter-spacing: 1px;
}
.eyebrow {
  color: var(--pf-state-conflict);
  margin: 0;
}
.primary-button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  width: max-content;
  border: 0;
  border-radius: 2px;
  background: var(--pf-text-primary);
  color: var(--pf-bg-canvas);
  padding: 13px 18px 13px 20px;
  font:
    500 12px Inter,
    sans-serif;
  letter-spacing: 0.6px;
  text-decoration: none;
  cursor: pointer;
}
.primary-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.artifact-card {
  margin: 0;
  background: var(--pf-bg-surface);
  border: 1px solid var(--pf-border-default);
  border-radius: 2px;
  overflow: hidden;
}
.artifact-image {
  background: var(--pf-bg-archive);
  overflow: hidden;
}
.artifact-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.artifact-card figcaption {
  height: 74px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  font:
    500 11px Inter,
    sans-serif;
  letter-spacing: 0.45px;
}
.artifact-card figcaption span:last-child {
  color: var(--pf-text-muted);
}
.opening-copy {
  position: absolute;
  left: 120px;
  top: 220px;
  width: 560px;
}
.opening-copy h1 {
  font:
    600 54px/1.3 "Noto Serif SC",
    serif;
  margin: 22px 0;
}
.opening-lede {
  width: 500px;
  color: var(--pf-text-secondary);
  font-size: 16px;
  line-height: 29px;
  margin: 0 0 36px;
}
.microcopy {
  font-size: 10px;
  color: var(--pf-text-muted);
  margin: 16px 0;
}
.opening-specimens {
  position: absolute;
  left: 720px;
  top: 174px;
  width: 650px;
  height: 650px;
}
.opening-card-a {
  position: absolute;
  left: 12px;
  top: 20px;
  width: 520px;
  height: 438px;
}
.opening-card-a .artifact-image {
  height: 364px;
}
.opening-card-b {
  position: absolute;
  left: 330px;
  top: 390px;
  width: 300px;
  height: 244px;
  box-shadow: 0 8px 20px rgba(31, 26, 20, 0.12);
}
.opening-card-b .artifact-image {
  height: 200px;
}
.opening-card-b figcaption {
  height: 44px;
  font-size: 10px;
  padding: 14px 13px;
}
.tension-mark {
  position: absolute;
  left: 610px;
  top: 44px;
  width: 2px;
  height: 118px;
  background: var(--pf-state-conflict);
}
.tension-mark span {
  position: absolute;
  left: 16px;
  top: 98px;
  transform: rotate(-90deg);
  transform-origin: left top;
  white-space: nowrap;
  color: var(--pf-state-conflict);
  font:
    500 10px Inter,
    sans-serif;
  letter-spacing: 0.8px;
}
.opening-flow {
  position: absolute;
  left: 120px;
  top: 936px;
  color: var(--pf-text-muted);
  font-size: 11px;
}
.case-kicker {
  position: absolute;
  left: 120px;
  top: 150px;
  margin: 0;
  color: var(--pf-text-muted);
  letter-spacing: 0.9px;
}
.verify-artifact-column {
  position: absolute;
  left: 120px;
  top: 204px;
  width: 520px;
}
.verify-card {
  width: 520px;
  height: 438px;
}
.verify-card .artifact-image,
.reveal-card .artifact-image {
  height: 364px;
}
.observe-note {
  font-size: 13px;
  color: var(--pf-text-muted);
  margin-top: 24px;
}
.judgement-panel {
  position: absolute;
  left: 760px;
  top: 196px;
  width: 540px;
}
.judgement-panel h1 {
  font:
    600 38px "Noto Serif SC",
    serif;
  margin: 20px 0 12px;
}
.panel-lede {
  width: 500px;
  font-size: 14px;
  line-height: 24px;
  color: var(--pf-text-secondary);
  margin: 0 0 26px;
}
.verify-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.verify-option {
  width: 292px;
  height: 80px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px 15px 16px;
  border: 1px solid var(--pf-border-default);
  border-radius: 2px;
  background: var(--pf-bg-surface);
  cursor: pointer;
}
.verify-option.selected {
  background: var(--pf-bg-archive);
  border: 1.5px solid var(--pf-text-primary);
}
.radio {
  width: 18px;
  height: 18px;
  border: 1px solid var(--pf-text-primary);
  border-radius: 50%;
  position: relative;
  flex: none;
}
.verify-option.selected .radio:after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--pf-text-primary);
  border-radius: 50%;
}
.verify-option b {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.verify-option small {
  display: block;
  font-size: 12px;
  color: var(--pf-text-secondary);
  margin-top: 5px;
}
.panel-divider {
  width: 500px;
  height: 1px;
  background: var(--pf-border-default);
  margin: 20px 0;
}
.next-label {
  font-size: 10px;
  color: var(--pf-text-muted);
  margin: 0 0 16px;
}
.dimension-grid {
  display: grid;
  grid-template-columns: repeat(2, 170px);
  gap: 10px;
  margin: 28px 0 16px;
}
.dimension-grid button {
  height: 48px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
  font:
    500 11px Inter,
    sans-serif;
  letter-spacing: 0.7px;
  text-align: left;
  padding: 0 14px;
  cursor: pointer;
}
.dimension-grid button.selected {
  border: 1.5px solid var(--pf-text-primary);
  background: var(--pf-bg-archive);
}
.selection-count {
  font:
    500 10px Inter,
    sans-serif;
  letter-spacing: 0.8px;
  color: var(--pf-text-muted);
  margin: 0 0 22px;
}
.text-button {
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  margin-top: 18px;
  color: var(--pf-text-muted);
  font-size: 12px;
  cursor: pointer;
}
.screen-state {
  position: absolute;
  left: 120px;
  top: 944px;
  color: var(--pf-text-muted);
  font-size: 10px;
}
.reveal-screen {
  min-height: 1100px;
}
.reveal-screen .case-kicker {
  top: 145px;
}
.reveal-title {
  position: absolute;
  left: 120px;
  top: 180px;
  width: 500px;
  margin: 0;
  font:
    600 42px/1.34 "Noto Serif SC",
    serif;
}
.reveal-left {
  position: absolute;
  left: 120px;
  top: 330px;
  width: 520px;
}
.reveal-card {
  width: 520px;
  height: 438px;
}
.what-changed {
  margin-top: 24px;
  font-size: 13px;
  line-height: 22px;
  color: var(--pf-text-secondary);
}
.what-changed p:last-child {
  margin: 10px 0;
}
.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--pf-text-primary);
  font:
    500 11px Inter,
    sans-serif;
  letter-spacing: 0.7px;
  text-decoration: none;
  border-bottom: 1px solid var(--pf-text-primary);
  padding-bottom: 5px;
}
.reveal-panel {
  position: absolute;
  left: 760px;
  top: 196px;
  width: 510px;
  padding-bottom: 60px;
}
.judgement-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.judgement-summary div {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.judgement-summary div span {
  font:
    500 10px Inter,
    sans-serif;
  letter-spacing: 0.8px;
  color: var(--pf-text-muted);
}
.judgement-summary strong {
  font:
    500 17px Inter,
    sans-serif;
  color: var(--pf-state-conflict);
}
.chosen-dimensions {
  font-size: 9px;
  color: var(--pf-text-muted);
  margin: 0 0 12px;
}
.dna-intro {
  font-size: 12px;
  line-height: 20px;
  color: var(--pf-text-secondary);
  margin: 0 0 18px;
}
.dna-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dna-row {
  height: 52px;
  background: var(--pf-bg-surface);
  border: 1px solid var(--pf-border-default);
  border-radius: 2px;
  display: flex;
  align-items: center;
  padding: 12px 10px 12px 16px;
  gap: 16px;
}
.dna-row > span {
  width: 72px;
  color: var(--pf-text-muted);
  font:
    500 10px Inter,
    sans-serif;
  letter-spacing: 0.7px;
}
.dna-row p {
  flex: 1;
  margin: 0;
  font-size: 13px;
}
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid var(--pf-border-default);
  border-radius: 2px;
  background: var(--pf-bg-surface);
  font:
    500 9px Inter,
    sans-serif;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.status-tag:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-tag.supported {
  color: var(--pf-state-supported);
}
.status-tag.conflict {
  color: var(--pf-state-conflict);
}
.status-tag.unknown {
  color: var(--pf-state-unknown);
}
.status-tag.inferred {
  color: #88713b;
}
.evidence-label {
  font-size: 10px;
  color: var(--pf-text-muted);
  margin: 14px 0 8px;
}
.evidence-list {
  display: grid;
  gap: 10px;
}
.evidence-card {
  min-height: 112px;
  background: var(--pf-bg-surface);
  border: 1px solid var(--pf-border-default);
  border-radius: 2px;
  padding: 13px 16px;
}
.evidence-card header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.evidence-card header span {
  font:
    500 10px Inter,
    sans-serif;
  color: var(--pf-text-muted);
}
.evidence-card p {
  font-size: 12px;
  line-height: 19px;
  color: var(--pf-text-secondary);
  margin: 9px 0;
}
.evidence-card small {
  font:
    500 9px Inter,
    sans-serif;
  letter-spacing: 0.55px;
  color: var(--pf-state-supported);
}
@media (max-width: 980px) {
  .screen {
    min-height: 100vh;
    padding: 24px;
    overflow: visible;
  }
  .top-nav {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
  }
  .top-nav nav {
    gap: 14px;
  }
  .opening-copy,
  .opening-specimens,
  .case-kicker,
  .verify-artifact-column,
  .judgement-panel,
  .screen-state,
  .reveal-title,
  .reveal-left,
  .reveal-panel,
  .opening-flow {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }
  .opening-copy {
    margin-top: 70px;
  }
  .opening-copy h1 {
    font-size: 38px;
  }
  .opening-lede {
    width: auto;
  }
  .opening-specimens {
    height: 540px;
    margin-top: 50px;
    transform: scale(0.72);
    transform-origin: left top;
  }
  .opening-flow {
    margin-top: -80px;
  }
  .case-kicker {
    margin-top: 60px;
  }
  .verify-artifact-column,
  .reveal-left {
    margin-top: 28px;
  }
  .verify-card,
  .reveal-card {
    width: 100%;
    height: auto;
  }
  .judgement-panel,
  .reveal-panel {
    margin-top: 48px;
  }
  .panel-lede {
    width: auto;
  }
  .screen-state {
    margin: 70px 0 20px;
  }
  .reveal-title {
    margin-top: 24px;
    font-size: 34px;
  }
  .reveal-screen {
    min-height: 100vh;
  }
  .dimension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.verify-option > input,
.dimension-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.verify-option:has(input:checked) {
  background: var(--pf-bg-archive);
  border: 1.5px solid var(--pf-text-primary);
}

.verify-option:has(input:checked) .radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--pf-text-primary);
  border-radius: 50%;
}

.dimension-grid label {
  height: 48px;
  position: relative;
  cursor: pointer;
}

.dimension-grid span {
  height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
  font:
    500 11px Inter,
    sans-serif;
  letter-spacing: 0.7px;
  padding: 0 14px;
}

.dimension-grid input:checked + span {
  border: 1.5px solid var(--pf-text-primary);
  background: var(--pf-bg-archive);
}

.text-button {
  text-decoration: none;
}

.section-intro {
  position: absolute;
  left: 120px;
  top: 135px;
}
.section-intro h1 {
  font:
    600 39px "Noto Serif SC",
    serif;
  margin: 24px 0 12px;
}
.section-intro > p:last-child {
  margin: 0;
  color: var(--pf-text-secondary);
  font-size: 14px;
}
.panel-label {
  font:
    500 10px Inter,
    sans-serif;
  letter-spacing: 0.6px;
  color: var(--pf-text-muted);
  margin: 0;
}
.timeline {
  position: absolute;
  left: 120px;
  top: 282px;
  width: 860px;
  height: 64px;
}
.timeline-label {
  position: absolute;
  top: 0;
  font:
    500 10px Inter,
    sans-serif;
  color: var(--pf-text-muted);
}
.timeline-line {
  position: absolute;
  left: 65px;
  top: 19px;
  width: 770px;
  height: 1px;
  background: var(--pf-border-default);
}
.periods {
  position: absolute;
  left: 65px;
  top: 14px;
  width: 680px;
  display: flex;
  justify-content: space-between;
}
.periods a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--pf-text-muted);
  text-decoration: none;
  font:
    600 15px "Noto Serif SC",
    serif;
}
.periods i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pf-border-default);
}
.periods a.selected {
  color: var(--pf-text-primary);
}
.periods a.selected i {
  width: 12px;
  height: 12px;
  margin-top: -2px;
  background: var(--pf-state-conflict);
}
.timeline > b {
  position: absolute;
  right: 0;
  top: 14px;
  font:
    500 10px Inter,
    sans-serif;
  color: var(--pf-state-conflict);
}
.landscape-panel {
  position: absolute;
  left: 120px;
  top: 365px;
  width: 790px;
  height: 500px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-archive);
  overflow: hidden;
  padding: 17px 19px;
}
.landscape-panel h2 {
  position: absolute;
  left: 288px;
  top: 58px;
  margin: 0;
  font:
    600 24px/34px "Noto Serif SC",
    serif;
}
.landscape-copy {
  position: absolute;
  left: 288px;
  top: 95px;
  width: 410px;
  color: var(--pf-text-secondary);
  font-size: 12px;
  line-height: 20px;
}
.landscape-lines i:first-child {
  position: absolute;
  left: 89px;
  top: 179px;
  width: 520px;
  border-top: 1px solid var(--pf-border-default);
}
.landscape-lines i:last-child {
  position: absolute;
  left: 249px;
  top: 94px;
  height: 270px;
  border-left: 1px solid var(--pf-border-default);
}
.landscape-node {
  position: absolute;
  font-size: 13px;
  color: var(--pf-text-secondary);
  padding-left: 18px;
  white-space: nowrap;
}
.landscape-node:before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
  border-radius: 50%;
}
.landscape-node.active {
  color: var(--pf-text-primary);
  font-weight: 500;
}
.landscape-node.active:before {
  width: 12px;
  height: 12px;
  top: 2px;
  background: var(--pf-state-conflict);
  border-color: var(--pf-state-conflict);
}
.selected-specimen {
  position: absolute;
  left: 299px;
  top: 149px;
  width: 300px;
  height: 225px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
  color: inherit;
  text-decoration: none;
}
.specimen-visual {
  height: 158px;
  background: var(--pf-bg-archive);
  overflow: hidden;
}
.specimen-visual img,
.ledger-thumb img,
.trace-visual img,
.passport-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.selected-specimen strong {
  display: block;
  margin: 11px 14px 5px;
  font-size: 14px;
}
.selected-specimen small {
  display: block;
  margin: 0 14px;
  color: var(--pf-text-muted);
  font:
    500 10px Inter,
    sans-serif;
}
.textile-grid {
  background-color: var(--pf-bg-archive);
  background-image:
    linear-gradient(#d1c7b2 1px, transparent 1px),
    linear-gradient(90deg, #d1c7b2 1px, transparent 1px);
  background-size: 42px 42px;
}
.ledger-panel {
  position: absolute;
  left: 950px;
  top: 365px;
  width: 370px;
  height: 500px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
  padding: 17px 15px;
}
.ledger-panel h2 {
  font:
    600 25px "Noto Serif SC",
    serif;
  margin: 17px 4px;
}
.ledger-panel > b {
  position: absolute;
  right: 17px;
  top: 57px;
  font:
    500 10px Inter,
    sans-serif;
  color: var(--pf-state-conflict);
}
.ledger-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.ledger-list > a {
  height: 82px;
  border: 1px solid var(--pf-border-default);
  display: flex;
  gap: 12px;
  padding: 9px;
  text-decoration: none;
  color: inherit;
  background: var(--pf-bg-surface);
}
.ledger-list > a.selected {
  background: var(--pf-bg-archive);
}
.ledger-thumb {
  width: 74px;
  height: 62px;
  flex: none;
}
.ledger-list span {
  min-width: 0;
}
.ledger-list em {
  display: block;
  color: var(--pf-state-conflict);
  font:
    500 10px Inter,
    sans-serif;
  font-style: normal;
}
.ledger-list strong {
  display: block;
  font-size: 13px;
  margin: 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ledger-list small {
  display: block;
  font-size: 11px;
  color: var(--pf-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.filter-rail {
  position: absolute;
  left: 120px;
  top: 908px;
}
.filter-rail p {
  font:
    500 10px Inter,
    sans-serif;
  color: var(--pf-text-muted);
  letter-spacing: 0.5px;
}
.filter-rail span {
  display: inline-flex;
  height: 32px;
  align-items: center;
  padding: 0 11px;
  margin-right: 16px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
  font:
    500 10px Inter,
    sans-serif;
  color: var(--pf-text-secondary);
}
.explore-state {
  left: 1100px;
  top: 944px;
}
.passport-heading {
  position: absolute;
  left: 120px;
  top: 132px;
}
.passport-heading h1 {
  font:
    600 40px/56px "Noto Serif SC",
    serif;
  margin: 22px 0 0;
}
.passport-heading > p:last-child {
  margin: 0;
  color: var(--pf-text-secondary);
  font-size: 14px;
}
.passport-artifact {
  position: absolute;
  left: 120px;
  top: 286px;
  width: 430px;
  height: 600px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
  padding: 17px;
}
.passport-visual {
  height: 382px;
  border: 1px solid var(--pf-border-default);
  margin-bottom: 14px;
}
.passport-artifact > b {
  display: block;
  font:
    500 12px Inter,
    sans-serif;
  margin: 25px 0 12px;
}
.passport-artifact h2 {
  font:
    600 16px/28px "Noto Serif SC",
    serif;
  margin: 0 0 12px;
}
.passport-artifact > p:last-child {
  font-size: 11px;
  line-height: 20px;
  color: var(--pf-text-secondary);
  margin-top: 7px;
}
.passport-dna {
  position: absolute;
  left: 585px;
  top: 286px;
  width: 735px;
  height: 430px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
  padding: 17px 19px;
}
.passport-dna h2 {
  font:
    600 24px "Noto Serif SC",
    serif;
  margin: 14px 0 22px;
}
.passport-dna > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.passport-dna-row {
  height: 38px;
  border: 1px solid var(--pf-border-default);
  display: flex;
  align-items: center;
  padding: 5px 12px;
}
.passport-dna-row > span {
  width: 110px;
  font:
    500 10px Inter,
    sans-serif;
  color: var(--pf-text-muted);
}
.passport-dna-row p {
  flex: 1;
  margin: 0;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.passport-evidence {
  position: absolute;
  left: 585px;
  top: 742px;
  width: 735px;
  height: 144px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
  padding: 15px 17px;
}
.passport-evidence > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 14px;
}
.passport-evidence article {
  height: 84px;
  border: 1px solid var(--pf-border-default);
  padding: 8px 9px;
}
.passport-evidence em {
  display: block;
  color: var(--pf-state-conflict);
  font:
    500 10px Inter,
    sans-serif;
  font-style: normal;
}
.passport-evidence strong {
  display: block;
  font-size: 12px;
  margin: 6px 0;
}
.passport-evidence article p {
  font-size: 10px;
  line-height: 15px;
  color: var(--pf-text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.back-link {
  position: absolute;
  left: 120px;
  top: 934px;
  color: var(--pf-text-muted);
  text-decoration: none;
  font:
    500 10px Inter,
    sans-serif;
}
.trace-cta {
  position: absolute;
  left: 1035px;
  top: 920px;
  width: 285px;
  height: 48px;
  background: var(--pf-text-primary);
  color: var(--pf-bg-canvas);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  text-decoration: none;
  font:
    500 11px Inter,
    sans-serif;
}
.passport-state {
  left: 585px;
  top: 930px;
}
.trace-heading {
  position: absolute;
  left: 120px;
  top: 135px;
}
.trace-heading h1 {
  font:
    600 40px/55px "Noto Serif SC",
    serif;
  margin: 24px 0 8px;
}
.trace-heading > p:last-child {
  width: 760px;
  color: var(--pf-text-secondary);
  font-size: 14px;
  line-height: 24px;
  margin: 0;
}
.trace-controls {
  position: absolute;
  left: 120px;
  top: 355px;
  width: 230px;
  height: 500px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
  padding: 18px;
}
.trace-controls h2 {
  font:
    600 25px "Noto Serif SC",
    serif;
  margin: 22px 0 2px;
}
.trace-controls > em {
  display: block;
  color: var(--pf-state-conflict);
  font:
    500 10px Inter,
    sans-serif;
  font-style: normal;
  margin-bottom: 28px;
}
.trace-controls > div {
  height: 52px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  margin-bottom: 10px;
  font:
    500 10px Inter,
    sans-serif;
}
.trace-controls > div:nth-of-type(-n + 3) {
  background: var(--pf-bg-archive);
}
.trace-controls > div b {
  font-size: 9px;
  color: var(--pf-state-conflict);
}
.trace-controls .panel-label {
  margin-top: 35px;
}
.trace-controls small {
  display: block;
  margin-top: 15px;
  color: var(--pf-text-secondary);
  font-size: 11px;
}
.trace-field {
  position: absolute;
  left: 390px;
  top: 355px;
  width: 760px;
  height: 500px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-archive);
  padding: 18px;
}
.trace-cases {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 83px;
}
.trace-cases article {
  width: 178px;
  height: 238px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
  padding: 10px;
}
.trace-visual {
  height: 104px;
  background: var(--pf-bg-archive);
  position: relative;
  overflow: hidden;
}
.trace-visual i {
  position: absolute;
  width: 64px;
  height: 64px;
  border: 1px solid var(--pf-text-muted);
  border-radius: 50%;
  left: 47px;
  top: 20px;
}
.trace-cases article:nth-child(2) .trace-visual i {
  border-color: var(--pf-state-conflict);
}
.trace-cases em {
  display: block;
  font:
    500 9px Inter,
    sans-serif;
  color: var(--pf-text-muted);
  font-style: normal;
  margin-top: 10px;
}
.trace-cases h3 {
  font:
    500 14px "Noto Sans SC",
    sans-serif;
  margin: 8px 0;
}
.trace-cases p {
  font-size: 11px;
  color: var(--pf-text-secondary);
  margin: 0 0 10px;
}
.trace-cases article > span {
  display: inline-block;
  border: 1px solid var(--pf-border-default);
  padding: 5px 7px;
  color: var(--pf-text-muted);
  font:
    500 8px Inter,
    sans-serif;
}
.trace-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  text-align: center;
  margin: 38px 50px 0;
  font-size: 11px;
  color: var(--pf-text-secondary);
}
.trace-evidence {
  position: absolute;
  left: 1175px;
  top: 355px;
  width: 145px;
  height: 500px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
  padding: 18px 10px;
}
.trace-evidence article {
  border: 1px solid var(--pf-border-default);
  padding: 10px 8px;
  margin-top: 14px;
}
.trace-evidence em {
  display: block;
  font:
    500 8px Inter,
    sans-serif;
  font-style: normal;
  color: var(--pf-text-muted);
}
.trace-evidence strong {
  display: block;
  font-size: 10px;
  margin: 12px 0;
}
.trace-evidence p {
  font-size: 9px;
  line-height: 15px;
  color: var(--pf-text-secondary);
  margin: 0;
}
.trace-state {
  top: 930px;
}
@media (max-width: 980px) {
  .section-intro,
  .timeline,
  .landscape-panel,
  .ledger-panel,
  .filter-rail,
  .passport-heading,
  .passport-artifact,
  .passport-dna,
  .passport-evidence,
  .back-link,
  .trace-cta,
  .trace-heading,
  .trace-controls,
  .trace-field,
  .trace-evidence {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
  }
  .section-intro,
  .passport-heading,
  .trace-heading {
    margin-top: 65px;
  }
  .timeline {
    margin: 36px 0 20px;
    height: 80px;
  }
  .timeline-line {
    width: calc(100% - 80px);
  }
  .periods {
    width: calc(100% - 140px);
  }
  .landscape-panel {
    height: 500px;
  }
  .ledger-panel {
    margin-top: 24px;
  }
  .filter-rail {
    margin: 30px 0;
  }
  .passport-artifact,
  .passport-dna,
  .passport-evidence {
    margin-top: 24px;
  }
  .passport-evidence > div {
    grid-template-columns: 1fr;
  }
  .passport-evidence article {
    height: auto;
  }
  .back-link,
  .trace-cta {
    display: flex;
    margin-top: 25px;
  }
  .trace-controls,
  .trace-field,
  .trace-evidence {
    margin-top: 24px;
  }
  .trace-field {
    height: 620px;
    overflow: auto;
  }
  .trace-cases {
    gap: 14px;
  }
  .explore-state,
  .passport-state,
  .trace-state {
    left: auto;
    top: auto;
  }
}

.create-screen {
  min-height: 1100px;
}
.create-heading {
  position: absolute;
  left: 120px;
  top: 130px;
  width: 760px;
}
.create-heading h1 {
  font:
    600 39px/1.32 "Noto Serif SC",
    serif;
  margin: 20px 0 8px;
}
.create-heading > p:last-child,
.result-heading > p:last-child {
  font-size: 14px;
  line-height: 24px;
  color: var(--pf-text-secondary);
  margin: 0;
}
.constraint-builder,
.generation-stage,
.constraint-check {
  position: absolute;
  top: 355px;
  height: 520px;
  border: 1px solid var(--pf-border-default);
  border-radius: 2px;
  overflow: hidden;
}
.constraint-builder {
  left: 120px;
  width: 310px;
  background: var(--pf-bg-surface);
  padding: 16px 13px;
}
.constraint-builder h2,
.generation-stage h2 {
  font:
    600 24px "Noto Serif SC",
    serif;
  margin: 24px 0 12px;
}
.constraint-fields {
  height: 402px;
  overflow: auto;
  padding-right: 3px;
}
.constraint-row {
  position: relative;
  display: block;
  height: 58px;
  margin-bottom: 8px;
  padding: 7px 46px 6px 9px;
  background: var(--pf-bg-archive);
  border: 1px solid var(--pf-border-default);
}
.constraint-row > span {
  display: block;
  font:
    500 9px Inter,
    sans-serif;
  color: var(--pf-text-muted);
  letter-spacing: 0.4px;
}
.constraint-row select {
  width: 100%;
  margin-top: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pf-text-primary);
  font-size: 11px;
  outline: none;
}
.constraint-row em {
  position: absolute;
  right: 8px;
  top: 27px;
  color: var(--pf-state-supported);
  font:
    500 9px Inter,
    sans-serif;
}
.constraint-builder > small {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  color: var(--pf-text-muted);
}
.generation-stage {
  left: 460px;
  width: 570px;
  background: var(--pf-bg-archive);
  padding: 16px 32px;
}
.history-off {
  position: absolute;
  right: 22px;
  top: 50px;
  color: var(--pf-state-conflict);
  font:
    500 9px Inter,
    sans-serif;
}
.create-canvas {
  height: 286px;
  margin-top: 20px;
  background: var(--pf-bg-surface);
  border: 1px solid var(--pf-border-default);
  display: flex;
  align-items: center;
  justify-content: center;
}
.create-canvas > p {
  font-size: 12px;
  color: var(--pf-state-conflict);
}
.generation-stage > p:not(.panel-label) {
  font-size: 12px;
  line-height: 20px;
  color: var(--pf-text-secondary);
  margin: 16px 0 14px;
}
.generation-stage .primary-button {
  height: 44px;
  font-size: 10px;
}
.constraint-check {
  left: 1060px;
  width: 260px;
  background: var(--pf-bg-surface);
  padding: 16px 13px;
}
.constraint-check > h2 {
  font:
    600 25px "Noto Serif SC",
    serif;
  margin: 20px 0 4px;
}
.constraint-check > h2.no-conflict {
  color: var(--pf-state-supported);
}
.constraint-check > h2.has-conflict {
  color: var(--pf-state-conflict);
}
.constraint-check > p {
  font-size: 10px;
  color: var(--pf-text-muted);
  margin: 0 0 14px;
}
.constraint-check > div {
  height: 335px;
  overflow: auto;
}
.constraint-check article {
  min-height: 45px;
  border: 1px solid var(--pf-border-default);
  padding: 8px 9px;
  margin-bottom: 7px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 8px;
}
.constraint-check article span,
.constraint-check article b {
  font-size: 9px;
}
.constraint-check article b {
  font-weight: 500;
}
.constraint-check article small {
  grid-column: 1/-1;
  font-size: 8px;
  color: var(--pf-text-muted);
  line-height: 12px;
}
.constraint-check article.supported b {
  color: var(--pf-state-supported);
}
.constraint-check article.unknown b {
  color: var(--pf-state-unknown);
}
.constraint-check article.conflict b {
  color: var(--pf-state-conflict);
}
.constraint-check footer {
  height: 48px;
  margin-top: 8px;
  padding: 8px;
  background: var(--pf-bg-archive);
  border: 1px solid var(--pf-border-default);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.constraint-check footer b {
  font-size: 9px;
  color: var(--pf-state-conflict);
}
.constraint-check footer span {
  font-size: 9px;
  color: var(--pf-text-secondary);
}
.provenance-preview,
.provenance-tree {
  position: absolute;
  left: 120px;
  top: 906px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.provenance-preview > .panel-label,
.provenance-tree > .panel-label {
  position: absolute;
  left: 0;
  top: -28px;
}
.provenance-preview > span,
.provenance-tree > span {
  position: relative;
  width: 130px;
  height: 50px;
  padding: 8px;
  background: var(--pf-bg-surface);
  border: 1px solid var(--pf-border-default);
  display: flex;
  flex-direction: column;
}
.provenance-preview b,
.provenance-tree b {
  font-size: 10px;
}
.provenance-preview small,
.provenance-tree small {
  font-size: 8px;
  color: var(--pf-text-muted);
  margin-top: 5px;
}
.provenance-preview i,
.provenance-tree i {
  position: absolute;
  right: -16px;
  top: 16px;
  font-style: normal;
  color: var(--pf-text-muted);
}
.create-state {
  top: 1030px;
}
.generated-pattern {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
}
.generated-pattern.compact {
  width: 500px;
  height: 270px;
  min-height: 0;
}
.roundel {
  position: absolute;
  border: 1px solid #bfa98f;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at center,
      rgba(94, 112, 87, 0.92) 0 4px,
      transparent 5px
    ),
    repeating-conic-gradient(
      from 0deg,
      rgba(155, 63, 46, 0.08) 0 7deg,
      transparent 7deg 28deg
    );
}
.roundel:before,
.roundel:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(155, 63, 46, 0.48);
  border-radius: 50%;
  inset: 18%;
}
.roundel:after {
  inset: 35%;
  border-color: rgba(94, 112, 87, 0.55);
}
.roundel i,
.roundel b,
.roundel em {
  position: absolute;
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pf-state-supported);
  top: 48%;
  left: 10%;
}
.roundel b {
  left: auto;
  right: 10%;
  background: var(--pf-state-conflict);
}
.roundel em {
  left: 48%;
  top: 10%;
  background: #6a5848;
}
.roundel-1 {
  width: 142px;
  height: 142px;
  left: 5%;
  top: 7%;
}
.roundel-2 {
  width: 124px;
  height: 124px;
  left: 28%;
  top: 10%;
}
.roundel-3 {
  width: 150px;
  height: 150px;
  left: 47%;
  top: 5%;
  border: 2px solid var(--pf-state-conflict);
}
.roundel-4 {
  width: 128px;
  height: 128px;
  left: 70%;
  top: 10%;
}
.roundel-5 {
  width: 140px;
  height: 140px;
  left: 17%;
  top: 51%;
}
.roundel-6 {
  width: 168px;
  height: 168px;
  left: 39%;
  top: 45%;
  border: 2px solid var(--pf-state-conflict);
}
.roundel-7 {
  width: 136px;
  height: 136px;
  left: 67%;
  top: 52%;
}
.generated-pattern.compact .roundel {
  transform: scale(0.62);
  transform-origin: top left;
}
.generated-pattern.compact .roundel-1 {
  left: 9%;
  top: 15%;
}
.generated-pattern.compact .roundel-2 {
  left: 32%;
  top: 28%;
}
.generated-pattern.compact .roundel-3 {
  left: 59%;
  top: 12%;
}
.generated-pattern.compact .roundel-4 {
  left: 21%;
  top: 56%;
}
.generated-pattern.compact .roundel-5 {
  left: 52%;
  top: 59%;
}
.generated-pattern.compact .roundel-6,
.generated-pattern.compact .roundel-7 {
  display: none;
}
.trace-create-link {
  position: absolute;
  right: 120px;
  top: 940px;
  color: var(--pf-bg-surface);
  background: var(--pf-text-primary);
  padding: 13px 18px;
  text-decoration: none;
  font-size: 11px;
}
.trace-create-link span {
  margin-left: 20px;
}
.result-screen {
  min-height: 1040px;
}
.result-heading {
  position: absolute;
  left: 120px;
  top: 130px;
  width: 940px;
}
.result-heading h1 {
  font:
    600 40px "Noto Serif SC",
    serif;
  margin: 22px 0 10px;
}
.result-stage {
  position: absolute;
  left: 120px;
  top: 310px;
  width: 760px;
  height: 510px;
  padding: 16px 26px;
  background: var(--pf-bg-archive);
  border: 1px solid var(--pf-border-default);
}
.result-stage .history-off {
  right: 28px;
  top: 18px;
}
.result-canvas {
  height: 360px;
  margin-top: 18px;
  background: var(--pf-bg-surface);
  border: 1px solid var(--pf-border-default);
  overflow: hidden;
}
.result-stage > p:not(.panel-label) {
  font-size: 11px;
  color: var(--pf-text-secondary);
  margin: 13px 0;
}
.result-actions {
  display: flex;
  gap: 10px;
}
.result-actions .primary-button {
  height: 44px;
}
.result-actions > a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: var(--pf-bg-surface);
  border: 1px solid var(--pf-border-default);
  color: var(--pf-text-primary);
  font-size: 10px;
  text-decoration: none;
}
.evidence-alignment {
  position: absolute;
  left: 910px;
  top: 310px;
  width: 410px;
  height: 510px;
  padding: 16px 18px;
  background: var(--pf-bg-surface);
  border: 1px solid var(--pf-border-default);
  overflow: hidden;
}
.evidence-alignment h2 {
  font:
    600 18px "Noto Serif SC",
    serif;
  margin: 18px 0 10px;
}
.alignment-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  font-size: 8px;
  color: var(--pf-text-muted);
  margin-bottom: 10px;
}
.evidence-alignment article {
  height: 62px;
  border: 1px solid var(--pf-border-default);
  padding: 7px 9px;
  margin-bottom: 7px;
}
.evidence-alignment article em {
  display: block;
  font:
    500 8px Inter,
    sans-serif;
  color: var(--pf-state-conflict);
  font-style: normal;
}
.evidence-alignment article b {
  display: block;
  font-size: 11px;
  margin-top: 3px;
}
.evidence-alignment article p {
  font-size: 8px;
  color: var(--pf-text-secondary);
  margin: 3px 0 0;
}
.provenance-tree {
  top: 880px;
  gap: 28px;
}
.provenance-tree > span {
  height: 56px;
}
.transparency-rule {
  position: absolute;
  left: 1010px;
  top: 856px;
  width: 310px;
  height: 82px;
  padding: 10px;
  background: var(--pf-bg-archive);
  border: 1px solid var(--pf-border-default);
}
.transparency-rule b {
  font-size: 9px;
  color: var(--pf-state-conflict);
}
.transparency-rule p {
  font-size: 10px;
  line-height: 16px;
  color: var(--pf-text-secondary);
  margin: 8px 0;
}
.result-state {
  top: 970px;
}
@media (max-width: 980px) {
  .create-screen,
  .result-screen {
    padding-bottom: 70px;
  }
  .create-heading,
  .constraint-builder,
  .generation-stage,
  .constraint-check,
  .provenance-preview,
  .create-state,
  .result-heading,
  .result-stage,
  .evidence-alignment,
  .provenance-tree,
  .transparency-rule,
  .result-state,
  .trace-create-link {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    height: auto;
  }
  .create-heading,
  .result-heading {
    margin-top: 70px;
  }
  .constraint-builder,
  .generation-stage,
  .constraint-check,
  .result-stage,
  .evidence-alignment {
    margin-top: 24px;
  }
  .constraint-fields,
  .constraint-check > div {
    height: auto;
    max-height: 420px;
  }
  .generation-stage {
    min-height: 520px;
  }
  .provenance-preview,
  .provenance-tree {
    margin-top: 50px;
    overflow: auto;
  }
  .transparency-rule {
    margin-top: 28px;
  }
  .screen-state {
    margin-top: 50px;
  }
  .trace-create-link {
    display: inline-flex;
    margin: 28px 0;
  }
  .result-canvas {
    height: 360px;
  }
}

html {
  min-width: 1000px;
}
body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
.offline-nav-link {
  cursor: pointer;
}
.screen {
  min-height: 1024px;
}
.top-nav {
  width: 1200px;
}
.top-nav .brand {
  font-family: "SimSun", "Songti SC", serif;
}
.opening-copy h1,
.section-intro h1,
.passport-heading h1,
.trace-heading h1,
.reveal-title {
  font-family: "SimSun", "Songti SC", serif;
}
.offline-error {
  max-width: 720px;
  margin: 160px auto;
  padding: 30px;
  border: 1px solid var(--pf-border-default);
  background: var(--pf-bg-surface);
}

/* 新手流程·独立封面 */
.cover-screen {
  height: 100vh;
  min-height: 760px;
  max-width: none;
  background: #241d18;
  color: #f2eadb;
  isolation: isolate;
}
.cover-image {
  position: absolute;
  inset: 0 0 0 36%;
  overflow: hidden;
  z-index: -3;
}
.cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04) brightness(0.72);
  transform: scale(1.035);
}
.cover-wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      #241d18 0%,
      #2c231def 28%,
      rgba(36, 29, 24, 0.76) 46%,
      rgba(36, 29, 24, 0.18) 75%,
      rgba(36, 29, 24, 0.34) 100%
    ),
    linear-gradient(0deg, rgba(18, 13, 10, 0.42), transparent 45%);
}
.cover-rule {
  position: absolute;
  left: 82px;
  top: 70px;
  bottom: 70px;
  width: 1px;
  background: rgba(234, 218, 191, 0.35);
}
.cover-copy {
  position: absolute;
  left: 142px;
  top: 18%;
  width: 690px;
}
.cover-copy > p {
  margin: 0;
  color: #c9aa79;
  font-size: 12px;
  letter-spacing: 5px;
}
.cover-copy h1 {
  font:
    600 92px/1.05 "SimSun",
    "Songti SC",
    serif;
  letter-spacing: 18px;
  margin: 42px 0 28px;
  text-shadow: 0 5px 32px rgba(0, 0, 0, 0.32);
}
.cover-copy h2 {
  font:
    400 25px/1.7 "SimSun",
    "Songti SC",
    serif;
  letter-spacing: 3px;
  margin: 0;
  color: #e2d6c4;
}
.cover-copy small {
  display: block;
  margin-top: 46px;
  color: rgba(242, 234, 219, 0.66);
  font-size: 11px;
  letter-spacing: 1.4px;
}
.cover-enter {
  position: absolute;
  right: 78px;
  top: 50%;
  transform: translateY(-50%);
  width: 215px;
  height: 76px;
  border: 1px solid rgba(243, 230, 207, 0.58);
  background: rgba(30, 23, 19, 0.42);
  color: #f2eadb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 25px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.cover-enter span {
  font-size: 13px;
  letter-spacing: 3px;
}
.cover-enter i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #9b3f2e;
  display: grid;
  place-items: center;
  font: normal 23px serif;
  transition: transform 0.25s;
}
.cover-enter:hover {
  background: rgba(66, 49, 38, 0.62);
  border-color: #f2eadb;
  transform: translateY(-50%) translateX(5px);
}
.cover-enter:hover i {
  transform: translateX(3px);
}
.cover-seal {
  position: absolute;
  left: 143px;
  bottom: 84px;
  width: 52px;
  height: 52px;
  border: 1px solid #a94a36;
  color: #c45a43;
  display: grid;
  place-items: center;
  text-align: center;
  font:
    600 16px/18px "SimSun",
    serif;
  transform: rotate(-3deg);
}
.cover-credit {
  position: absolute;
  right: 78px;
  bottom: 46px;
  margin: 0;
  color: rgba(242, 234, 219, 0.55);
  font-size: 9px;
  letter-spacing: 1px;
}
.cover-leaving {
  animation: coverExit 0.52s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.quiz-entering {
  animation: quizEnter 0.72s cubic-bezier(0.22, 0.8, 0.25, 1) both;
}
@keyframes coverExit {
  to {
    transform: translateX(-100%);
    opacity: 0.5;
  }
}
@keyframes quizEnter {
  from {
    transform: translateX(20%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 新手问答·根据判断分流 */
.verify-screen .verify-artifact-column {
  top: 190px;
  width: 560px;
}
.verify-screen .verify-card {
  width: 560px;
  height: 474px;
}
.verify-screen .verify-card .artifact-image {
  height: 398px;
}
.verify-screen .observe-note {
  width: 540px;
  padding: 15px 18px;
  border-left: 3px solid #b39a72;
  background: rgba(255, 253, 252, 0.72);
  font-size: 13px;
  line-height: 22px;
  color: var(--pf-text-secondary);
}
.verify-screen .judgement-panel {
  top: 180px;
  left: 750px;
  width: 570px;
}
.verify-screen .judgement-panel h1 {
  font-size: 40px;
  margin-top: 24px;
}
.verify-screen .verify-options {
  gap: 12px;
}
.verify-screen .verify-option {
  width: 540px;
  height: 84px;
  padding-right: 22px;
}
.verify-screen .verify-option small {
  line-height: 18px;
}
.verify-screen .verify-option[data-judge="supported"].selected {
  border-color: var(--pf-state-supported);
  background: #eef1e9;
}
.verify-screen .verify-option[data-judge="conflict"].selected {
  border-color: var(--pf-state-conflict);
  background: #f5e9e4;
}
.verify-screen .verify-option[data-judge="uncertain"].selected {
  border-color: #716c64;
  background: #efede8;
}
.verify-screen .panel-divider {
  width: 540px;
}
.verify-screen .next-label {
  font-size: 11px;
  line-height: 19px;
  letter-spacing: 0.3px;
}
.verify-screen .dimension-grid {
  grid-template-columns: repeat(2, 210px);
  gap: 11px;
  margin-top: 25px;
}
.verify-screen .dimension-grid button {
  height: 50px;
}
.verify-screen .dimension-grid button.selected {
  border-color: var(--pf-state-conflict);
  background: #f5e9e4;
  color: #7f2f21;
}
.verify-screen .selection-count {
  font-size: 11px;
}

/* 答案揭晓·先结论、再冲突、后依据 */
.reveal-v2 {
  min-height: 1480px;
  padding: 132px 120px 110px;
  display: grid;
  grid-template-columns: 470px minmax(0, 680px);
  column-gap: 50px;
  row-gap: 34px;
  align-content: start;
  background: #f5f0e6;
}
.reveal-v2 .top-nav {
  top: 30px;
}
.verdict-hero {
  grid-column: 1/-1;
  position: relative;
  min-height: 286px;
  padding: 28px 490px 28px 30px;
  background: #eee5d5;
  border: 1px solid var(--pf-border-default);
  border-top: 6px solid var(--pf-state-conflict);
}
.verdict-real .verdict-hero {
  border-top-color: var(--pf-state-supported);
}
.verdict-kicker {
  margin: 0 0 16px;
  color: var(--pf-text-muted);
  font-size: 10px;
  letter-spacing: 1.2px;
}
.verdict-type {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: var(--pf-state-conflict);
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
}
.verdict-real .verdict-type {
  background: var(--pf-state-supported);
}
.verdict-hero h1 {
  font:
    600 42px/1.35 "SimSun",
    "Songti SC",
    serif;
  margin: 18px 0 10px;
}
.verdict-explain {
  max-width: 650px;
  margin: 0;
  color: var(--pf-text-secondary);
  font-size: 13px;
  line-height: 23px;
}
.user-feedback {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 420px;
  min-height: 224px;
  padding: 20px 22px;
  background: #fffdfc;
  border: 1px solid var(--pf-border-default);
}
.user-feedback > span {
  display: block;
  color: var(--pf-text-muted);
  font-size: 10px;
  letter-spacing: 1px;
}
.user-feedback strong {
  display: block;
  margin: 18px 0 10px;
  color: var(--pf-state-conflict);
  font:
    600 20px/1.45 "SimSun",
    "Songti SC",
    serif;
}
.verdict-real .user-feedback strong {
  color: var(--pf-state-supported);
}
.user-feedback p {
  margin: 0;
  color: var(--pf-text-secondary);
  font-size: 12px;
  line-height: 20px;
}
.feedback-choice {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px solid var(--pf-border-default);
  color: var(--pf-text-muted) !important;
  font-size: 10px !important;
}
.reveal-media {
  grid-column: 1;
}
.reveal-media figure {
  margin: 0;
  background: #fffdfc;
  border: 1px solid var(--pf-border-default);
}
.reveal-media figure img {
  width: 100%;
  height: 425px;
  display: block;
  object-fit: cover;
}
.reveal-media figcaption {
  height: 58px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.reveal-media figcaption span {
  color: var(--pf-state-conflict);
  font-weight: 600;
}
.verdict-real .reveal-media figcaption span {
  color: var(--pf-state-supported);
}
.reveal-media figcaption b {
  color: var(--pf-text-muted);
  font-weight: 500;
}
.reveal-turn {
  margin-top: 16px;
  padding: 20px 22px;
  border: 1px solid var(--pf-border-default);
  border-left: 5px solid var(--pf-state-conflict);
  background: #fffdfc;
}
.verdict-real .reveal-turn {
  border-left-color: var(--pf-state-supported);
}
.reveal-turn span {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--pf-text-muted);
}
.reveal-turn p {
  font:
    500 15px/26px "SimSun",
    "Songti SC",
    serif;
  margin: 12px 0 0;
}
.evidence-breakdown {
  grid-column: 2;
}
.breakdown-heading {
  padding: 21px 24px;
  background: #fffdfc;
  border: 1px solid var(--pf-border-default);
}
.breakdown-heading p {
  margin: 0;
  color: var(--pf-text-muted);
  font-size: 10px;
  letter-spacing: 1.2px;
}
.breakdown-heading h2 {
  margin: 10px 0 6px;
  color: var(--pf-state-conflict);
  font:
    600 32px "SimSun",
    "Songti SC",
    serif;
}
.verdict-real .breakdown-heading h2 {
  color: var(--pf-state-supported);
}
.breakdown-heading small {
  color: var(--pf-text-secondary);
  font-size: 12px;
}
.result-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 18px;
}
.result-legend span {
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid currentColor;
  background: #fffdfc;
  font-size: 10px;
  font-weight: 600;
}
.result-legend .conflict {
  color: var(--pf-state-conflict);
  background: #f7e9e5;
}
.result-legend .supported {
  color: var(--pf-state-supported);
  background: #edf1e8;
}
.result-legend .unknown {
  color: #77736d;
  background: #efede9;
}
.result-group {
  margin-top: 18px;
}
.result-group h3 {
  margin: 0 0 10px;
  font:
    600 16px "SimSun",
    "Songti SC",
    serif;
}
.conflict-group h3 {
  color: var(--pf-state-conflict);
  font-size: 20px;
}
.supported-group h3 {
  color: var(--pf-state-supported);
}
.unknown-group h3 {
  color: #706d67;
}
.result-row {
  min-height: 78px;
  margin-bottom: 9px;
  padding: 14px 16px;
  background: #fffdfc;
  border: 1px solid var(--pf-border-default);
  border-left-width: 7px;
}
.result-row.conflict {
  border-left-color: var(--pf-state-conflict);
  background: #faece8;
}
.result-row.supported,
.result-row.inferred {
  border-left-color: var(--pf-state-supported);
  background: #f0f3ec;
}
.result-row.unknown {
  border-left-color: #8c867d;
  background: #f0eeea;
}
.result-row > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.result-row span {
  font-size: 13px;
  font-weight: 600;
}
.result-row b {
  font-size: 10px;
  color: var(--pf-state-conflict);
}
.result-row.supported b,
.result-row.inferred b {
  color: var(--pf-state-supported);
}
.result-row.unknown b {
  color: #77736d;
}
.result-row p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 21px;
  color: var(--pf-text-secondary);
}
.clear-group {
  padding: 18px 20px;
  background: #edf1e8;
  border: 1px solid var(--pf-state-supported);
}
.clear-group h3 {
  color: var(--pf-state-supported);
}
.clear-group p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 20px;
  color: var(--pf-text-secondary);
}
.source-details {
  margin-top: 26px;
  border-top: 1px solid var(--pf-border-default);
  padding-top: 16px;
}
.source-details summary {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  background: #e9dfcf;
  cursor: pointer;
  font-size: 12px;
  list-style: none;
}
.source-details summary::-webkit-details-marker {
  display: none;
}
.source-details .evidence-list {
  margin-top: 10px;
}
.next-case-button {
  height: 54px;
  margin-top: 24px;
  padding: 0 20px;
  background: var(--pf-text-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-size: 12px;
}
.reveal-state {
  left: 120px;
  top: auto;
  bottom: 34px;
}

@media (max-width: 1100px) {
  .cover-copy {
    left: 110px;
  }
  .cover-copy h1 {
    font-size: 74px;
  }
  .cover-enter {
    right: 46px;
  }
  .reveal-v2 {
    padding-left: 70px;
    padding-right: 70px;
    grid-template-columns: 400px minmax(0, 1fr);
  }
  .verdict-hero {
    padding-right: 430px;
  }
  .user-feedback {
    width: 365px;
  }
  .reveal-media figure img {
    height: 360px;
  }
}

/* 本轮优化：书写感入口箭头 */
.cover-enter {
  right: 70px;
  width: 250px;
  height: 82px;
  padding: 0 20px 0 27px;
  border-color: rgba(233, 209, 160, 0.62);
  background: linear-gradient(
    90deg,
    rgba(28, 21, 17, 0.6),
    rgba(28, 21, 17, 0.24)
  );
}
.cover-enter > span {
  font:
    400 16px "SimSun",
    "Songti SC",
    serif;
  letter-spacing: 4px;
}
.cover-enter .brush-chevron {
  width: 104px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  color: #ead18d;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}
.cover-enter .brush-chevron b {
  display: block;
  width: 25px;
  margin-left: -2px;
  font:
    400 55px/1 "KaiTi",
    "STKaiti",
    "SimSun",
    serif;
  transform: scaleX(0.72) rotate(-2deg);
  opacity: 0.45;
  animation: inkArrow 1.8s ease-in-out infinite;
}
.cover-enter .brush-chevron b:nth-child(2) {
  opacity: 0.68;
  animation-delay: 0.15s;
}
.cover-enter .brush-chevron b:nth-child(3) {
  opacity: 1;
  animation-delay: 0.3s;
}
.cover-enter:hover .brush-chevron {
  transform: translateX(5px);
}
@keyframes inkArrow {
  0%,
  55%,
  100% {
    transform: scaleX(0.72) translateX(0) rotate(-2deg);
    opacity: 0.4;
  }
  28% {
    transform: scaleX(0.72) translateX(5px) rotate(-2deg);
    opacity: 1;
  }
}

/* 本轮优化：揭晓页解释层级 */
.reveal-v2 {
  min-height: 1660px;
}
.reveal-turn span {
  color: var(--pf-text-primary);
  font:
    600 15px "SimSun",
    "Songti SC",
    serif;
  letter-spacing: 1px;
}
.reveal-turn p {
  font:
    400 14px/25px "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
}
.result-row {
  min-height: 0;
  padding: 17px 18px 18px;
}
.result-row > div span {
  font-size: 15px;
}
.result-row > small {
  display: block;
  margin-top: 7px;
  color: var(--pf-text-muted);
  font-size: 10px;
  letter-spacing: 0.5px;
}
.result-row p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 23px;
}
.conflict-group .result-row {
  border-left-width: 9px;
  background: #f8e5df;
}

/* 本轮优化：直观纹样工坊 */
.create-v2 {
  min-height: 1560px;
  padding-bottom: 100px;
  background: #f5f0e6;
}
.create-v2 .create-heading {
  top: 120px;
  left: 90px;
  width: 560px;
}
.create-v2 .create-heading h1 {
  margin: 15px 0 14px;
  font-size: 38px;
  line-height: 1.35;
}
.create-v2 .create-heading > p:last-child {
  font-size: 13px;
  line-height: 23px;
}
.creator-steps {
  position: absolute;
  left: 700px;
  top: 155px;
  width: 650px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--pf-border-default);
  background: #fffdf8;
}
.creator-steps span {
  padding: 16px 8px;
  border-right: 1px solid var(--pf-border-default);
  color: var(--pf-text-muted);
  font-size: 10px;
  text-align: center;
}
.creator-steps span:last-child {
  border-right: 0;
}
.creator-steps span.active {
  color: #913a29;
  background: #f3e5d6;
  font-weight: 700;
}
.creator-controls {
  position: absolute;
  left: 90px;
  top: 330px;
  width: 750px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.creator-block {
  min-height: 285px;
  padding: 20px;
  border: 1px solid var(--pf-border-default);
  background: #fffdf8;
}
.creator-block header {
  margin-bottom: 16px;
}
.creator-block header b {
  display: block;
  font:
    600 18px "SimSun",
    "Songti SC",
    serif;
}
.creator-block header small {
  display: block;
  margin-top: 6px;
  color: var(--pf-text-muted);
  font-size: 10px;
}
.motif-block {
  grid-column: 1/-1;
}
.motif-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.motif-choice {
  min-height: 190px;
  padding: 12px 8px;
  border: 1px solid var(--pf-border-default);
  background: #faf5ea;
  color: #6c4d37;
  cursor: pointer;
}
.motif-choice svg {
  width: 90px;
  height: 90px;
}
.motif-choice span,
.motif-choice small {
  display: block;
}
.motif-choice span {
  margin-top: 7px;
  color: var(--pf-text-primary);
  font:
    600 13px "SimSun",
    serif;
}
.motif-choice small {
  margin-top: 5px;
  color: var(--pf-text-muted);
  font-size: 9px;
}
.motif-choice.selected {
  border: 2px solid #9b3f2e;
  background: #f5e8d8;
}
.palette-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.palette-choice {
  min-height: 80px;
  padding: 8px;
  border: 1px solid var(--pf-border-default);
  background: #faf7ef;
  cursor: pointer;
}
.palette-choice i {
  display: block;
  height: 32px;
  background: linear-gradient(
    90deg,
    var(--swatch-a) 0 35%,
    var(--swatch-b) 35% 70%,
    var(--swatch-c) 70%
  );
}
.palette-choice span {
  display: block;
  margin-top: 9px;
  font-size: 11px;
}
.palette-choice.selected {
  border: 2px solid #9b3f2e;
}
.drawing-block {
  min-height: 360px;
}
.drawing-board {
  width: 100%;
  height: 225px;
  border: 1px solid var(--pf-border-default);
  cursor: crosshair;
  touch-action: none;
}
.drawing-board text {
  fill: #9c9387;
  font-size: 12px;
  pointer-events: none;
}
.drawing-block .text-button {
  margin-top: 10px;
}
.layout-block {
  min-height: 360px;
}
.layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.layout-grid button {
  height: 62px;
  border: 1px solid var(--pf-border-default);
  background: #faf7ef;
  color: var(--pf-text-primary);
  cursor: pointer;
}
.layout-grid button.selected {
  border: 2px solid #9b3f2e;
  background: #f3e5d6;
  color: #7e2f22;
  font-weight: 700;
}
.creator-preview {
  position: absolute;
  left: 875px;
  top: 330px;
  width: 475px;
  min-height: 720px;
  padding: 22px;
  border: 1px solid var(--pf-border-default);
  background: #fffdf8;
}
.creator-preview header {
  position: relative;
  margin-bottom: 18px;
}
.creator-preview header h2 {
  margin: 13px 0 8px;
  font:
    600 22px "SimSun",
    serif;
}
.creator-preview header > span {
  color: #9b3f2e;
  font-size: 10px;
}
.creator-preview > div {
  height: 475px;
  display: flex;
  align-items: center;
  background: #eee4d2;
  border: 1px solid var(--pf-border-default);
  overflow: hidden;
}
.pattern-preview,
.final-artwork {
  display: block;
  width: 100%;
  height: auto;
}
.creator-preview .primary-button {
  margin-top: 20px;
  width: 100%;
}
.creation-note {
  position: absolute;
  left: 875px;
  top: 1080px;
  width: 475px;
  padding: 18px 20px;
  border-left: 4px solid #9b3f2e;
  background: #ece3d4;
}
.creation-note b {
  font:
    600 14px "SimSun",
    serif;
}
.creation-note p {
  margin: 8px 0 0;
  color: var(--pf-text-secondary);
  font-size: 11px;
  line-height: 19px;
}
.create-v2 .create-state {
  top: 1485px;
}

.result-v2 {
  min-height: 1050px;
  background: #f5f0e6;
}
.result-v2 .result-heading {
  top: 115px;
  left: 100px;
  width: 1180px;
}
.result-v2 .result-heading h1 {
  margin-top: 15px;
}
.result-v2 .result-stage {
  left: 100px;
  top: 290px;
  width: 790px;
  height: 600px;
  padding: 18px 24px;
}
.result-v2 .result-canvas {
  height: 440px;
  margin-top: 12px;
}
.creation-disclaimer {
  color: #9b3f2e !important;
  font-size: 11px !important;
}
.result-v2 .result-actions {
  align-items: center;
}
.result-v2 .result-actions button,
.result-v2 .result-actions a {
  height: 44px;
}
.result-v2 .secondary-button {
  padding: 0 16px;
  border: 1px solid var(--pf-border-default);
  background: #fffdf8;
  color: var(--pf-text-primary);
  font-size: 10px;
  cursor: pointer;
}
.creation-summary {
  position: absolute;
  left: 930px;
  top: 290px;
  width: 390px;
  min-height: 520px;
  padding: 22px;
  border: 1px solid var(--pf-border-default);
  background: #fffdf8;
}
.creation-summary article {
  display: flex;
  justify-content: space-between;
  padding: 17px 0;
  border-bottom: 1px solid var(--pf-border-default);
}
.creation-summary article span {
  color: var(--pf-text-muted);
  font-size: 11px;
}
.creation-summary article b {
  font-size: 12px;
}
.creation-summary > div {
  margin-top: 28px;
  padding: 16px;
  background: #eee5d6;
}
.creation-summary > div b {
  font:
    600 14px "SimSun",
    serif;
}
.creation-summary > div p {
  margin: 9px 0 0;
  color: var(--pf-text-secondary);
  font-size: 11px;
  line-height: 19px;
}
.result-v2 .result-state {
  top: 950px;
}

@media (max-width: 1100px) {
  .create-v2,
  .result-v2 {
    padding: 80px 35px;
    min-height: 0;
  }
  .create-v2 .create-heading,
  .creator-steps,
  .creator-controls,
  .creator-preview,
  .creation-note,
  .create-v2 .create-state,
  .result-v2 .result-heading,
  .result-v2 .result-stage,
  .creation-summary,
  .result-v2 .result-state {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
  }
  .creator-steps {
    margin-top: 28px;
  }
  .creator-controls {
    margin-top: 22px;
  }
  .creator-preview,
  .creation-note,
  .creation-summary {
    margin-top: 24px;
  }
  .creator-preview > div {
    height: auto;
  }
  .result-v2 .result-stage {
    margin-top: 24px;
  }
  .result-v2 .result-canvas {
    height: auto;
  }
}

/* 零基础体验收束：入口、问答、解释、探索与创作 */
.cover-enter {
  right: 62px;
  width: 310px;
  height: 96px;
  padding: 0 34px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  display: grid;
  grid-template-columns: 1fr 108px;
  align-items: center;
  overflow: visible;
  isolation: isolate;
}
.cover-enter .ink-stroke {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.34));
}
.cover-enter .ink-stroke path:first-child {
  fill: rgba(27, 20, 16, 0.92);
}
.cover-enter .ink-stroke .ink-edge {
  fill: none;
  stroke: rgba(225, 202, 151, 0.28);
  stroke-width: 1.2;
}
.cover-enter > span,
.cover-enter .brush-chevron {
  height: 58px;
  margin: 0;
  display: flex;
  align-items: center;
  line-height: 1;
}
.cover-enter > span {
  justify-content: flex-start;
  padding-top: 1px;
}
.cover-enter .brush-chevron {
  justify-content: flex-end;
}
.cover-enter:hover {
  background: transparent;
  border-color: transparent;
  transform: translateY(-50%) translateX(5px);
}

.verify-artifact-column {
  width: 560px;
}
.verify-card {
  height: 374px;
}
.verify-card .artifact-image {
  height: 320px;
}
.claim-card {
  margin-top: 14px;
  padding: 15px 18px 17px;
  border: 1px solid #b8aa96;
  border-left: 6px solid #9b3f2e;
  background: #fffaf1;
}
.claim-card > span {
  display: block;
  margin-bottom: 8px;
  color: #8c3b2c;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.claim-card strong {
  display: block;
  color: var(--pf-text-primary);
  font:
    600 16px/25px "SimSun",
    "Songti SC",
    serif;
}
.observe-note {
  margin: 10px 2px 0;
  color: var(--pf-text-muted);
  font-size: 11px;
  line-height: 19px;
}
.verify-options {
  gap: 11px;
}
.verify-option {
  min-height: 76px;
}
.verify-option small {
  margin-top: 5px;
  line-height: 18px;
}

.term-help {
  position: relative;
  border-bottom: 1px dotted #916f4f;
  cursor: help;
  white-space: nowrap;
}
.term-help > i {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 30;
  width: 230px;
  padding: 10px 12px;
  border: 1px solid #aa9c87;
  background: #221b17;
  color: #f6eddd;
  font:
    normal 11px/18px "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
  white-space: normal;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.18s ease;
}
.term-help:hover > i,
.term-help:focus > i {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.verdict-hero {
  min-height: 410px;
  padding-bottom: 26px;
}
.user-feedback {
  height: auto;
  min-height: 230px;
}
.dimension-feedback {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(95, 75, 60, 0.22);
}
.dimension-feedback b {
  display: block;
  margin-bottom: 6px;
  color: #6e392c;
  font-size: 11px;
}
.dimension-feedback p {
  margin: 3px 0;
  font-size: 11px;
  line-height: 18px;
}
.dimension-feedback .hit {
  color: #346555;
  font-weight: 600;
}
.result-row-collapsed {
  padding: 0;
}
.result-row-collapsed summary {
  position: relative;
  min-height: 76px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 16px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.result-row-collapsed summary::-webkit-details-marker {
  display: none;
}
.result-row-collapsed summary span {
  color: var(--pf-text-primary);
  font:
    600 15px "SimSun",
    serif;
}
.result-row-collapsed summary b {
  color: #9b3f2e;
  font-size: 10px;
}
.result-row-collapsed summary small {
  grid-column: 1/-1;
  color: var(--pf-text-muted);
  font-size: 10px;
}
.result-row-collapsed > p {
  padding: 0 18px 18px;
  margin: 0;
}

.complete-screen {
  min-height: 1040px;
  padding: 145px 90px 100px;
  background: #f4efe5;
}
.complete-hero {
  position: relative;
  max-width: 1180px;
  padding: 44px 180px 40px 48px;
  border-top: 6px solid #923b2c;
  background: #e9dfcf;
}
.complete-hero h1 {
  margin: 18px 0 14px;
  font:
    600 40px/1.35 "SimSun",
    "Songti SC",
    serif;
}
.complete-hero > p:last-child {
  max-width: 720px;
  color: var(--pf-text-secondary);
  font-size: 14px;
  line-height: 26px;
}
.complete-seal {
  position: absolute;
  right: 62px;
  top: 45px;
  width: 82px;
  height: 82px;
  border: 2px solid #a34431;
  color: #a34431;
  display: grid;
  place-items: center;
  font:
    600 38px "KaiTi",
    "STKaiti",
    serif;
  transform: rotate(-4deg);
}
.learning-summary {
  max-width: 1180px;
  margin-top: 45px;
}
.learning-summary h2 {
  font:
    600 23px "SimSun",
    serif;
}
.learning-summary > div {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.learning-summary article {
  min-height: 230px;
  padding: 24px 20px;
  border: 1px solid var(--pf-border-default);
  background: #fffaf1;
}
.learning-summary article > b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #9b3f2e;
  color: #9b3f2e;
  font:
    600 16px "SimSun",
    serif;
}
.learning-summary h3 {
  margin: 20px 0 12px;
  font:
    600 17px/26px "SimSun",
    serif;
}
.learning-summary p {
  color: var(--pf-text-secondary);
  font-size: 12px;
  line-height: 22px;
}
.complete-actions {
  max-width: 1180px;
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.complete-actions a,
.complete-actions button {
  height: 50px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  border: 1px solid var(--pf-border-default);
  background: #fffaf1;
  color: var(--pf-text-primary);
  text-decoration: none;
  font-size: 11px;
  cursor: pointer;
}
.complete-actions .primary-button {
  background: var(--pf-text-primary);
  color: #fff;
}

.landscape-node {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.landscape-node::after {
  content: "点击了解";
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  padding: 3px 6px;
  background: #251f1a;
  color: #f5ead8;
  font-size: 8px;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0;
  transition: 0.18s;
}
.landscape-node:hover::after,
.landscape-node:focus::after {
  opacity: 1;
}
.landscape-node.active {
  color: #8f3829;
  font-weight: 700;
}
.landscape-copy {
  min-height: 42px;
}

.passport-v2 {
  min-height: 1660px;
  padding: 140px 90px 110px;
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 26px 42px;
  align-content: start;
  background: #f5f0e6;
}
.passport-v2 .passport-heading,
.passport-v2 .passport-artifact,
.passport-v2 .beginner-passport,
.passport-v2 .passport-details,
.passport-v2 .passport-dna,
.passport-v2 .passport-evidence,
.passport-v2 .back-link,
.passport-v2 .trace-cta,
.passport-v2 .passport-state {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: auto;
  height: auto;
}
.passport-v2 .passport-heading {
  grid-column: 1/-1;
}
.passport-v2 .passport-heading h1 {
  margin: 14px 0 10px;
  font-size: 36px;
}
.passport-v2 .passport-artifact {
  grid-column: 1;
  grid-row: 2 / span 2;
  padding: 18px;
  border: 1px solid var(--pf-border-default);
  background: #fffaf1;
}
.passport-v2 .passport-visual {
  width: 100%;
  height: 420px;
}
.passport-v2 .passport-artifact h2 {
  margin: 14px 0 0;
  font:
    600 18px/28px "SimSun",
    serif;
}
.beginner-passport {
  grid-column: 2;
  padding: 24px;
  border: 1px solid var(--pf-border-default);
  background: #fffaf1;
}
.beginner-passport > div {
  margin-top: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.beginner-passport article {
  min-height: 138px;
  padding: 17px;
  background: #eee4d3;
}
.beginner-passport article.misunderstanding {
  border-left: 5px solid #9b3f2e;
  background: #f4dfd8;
}
.beginner-passport article span {
  color: #8f392a;
  font:
    600 14px "SimSun",
    serif;
}
.beginner-passport article p {
  margin: 9px 0 0;
  color: var(--pf-text-secondary);
  font-size: 12px;
  line-height: 22px;
}
.passport-details {
  grid-column: 2;
  border: 1px solid var(--pf-border-default);
  background: #fffaf1;
}
.passport-details > summary {
  height: 58px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font:
    600 13px "SimSun",
    serif;
}
.passport-details > summary::-webkit-details-marker {
  display: none;
}
.passport-v2 .passport-dna {
  padding: 0 20px 20px;
}
.passport-v2 .passport-dna h2 {
  margin: 10px 0 18px;
  font:
    600 18px/28px "SimSun",
    serif;
}
.passport-v2 .passport-dna-row {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  min-height: 82px;
  padding: 14px 105px 14px 94px;
}
.passport-v2 .passport-dna-row > span {
  left: 14px;
  top: 16px;
}
.passport-v2 .passport-dna-row p {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 20px;
}
.passport-v2 .passport-evidence {
  grid-column: 1/-1;
  padding: 24px;
  border: 1px solid var(--pf-border-default);
  background: #fffaf1;
}
.passport-v2 .passport-evidence > div {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.passport-v2 .passport-evidence article {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  min-height: 150px;
  padding: 18px;
  background: #eee5d6;
}
.passport-v2 .passport-evidence article p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-height: 18px;
}
.passport-v2 .back-link {
  grid-column: 1;
  align-self: center;
}
.passport-v2 .trace-cta {
  grid-column: 2;
  min-height: 58px;
}
.passport-v2 .passport-state {
  grid-column: 1/-1;
}

.trace-legend > div:not(.trace-theme-list) {
  cursor: default;
  pointer-events: none;
}
.trace-legend > div b {
  background: transparent;
  border: 0;
  color: var(--pf-text-secondary);
}
.trace-legend > em {
  display: block;
  margin: 4px 0 15px;
  color: var(--pf-text-muted);
  font-size: 10px;
  font-style: normal;
  line-height: 17px;
}

.drawing-block {
  grid-column: 1/-1;
}
.drawing-instruction,
.layout-explain,
.preview-note {
  color: var(--pf-text-secondary);
  font-size: 10px;
  line-height: 18px;
}
.drawing-instruction {
  margin: -5px 0 10px;
  padding: 8px 10px;
  border-left: 3px solid #9b3f2e;
  background: #eee5d6;
}
.layout-explain {
  margin: 12px 0 0;
}
.preview-note {
  margin: 12px 0 0;
}
.result-actions {
  flex-wrap: wrap;
  gap: 8px;
}
.result-v2 .format-button {
  height: 44px;
  padding: 0 16px;
  border: 1px solid #796955;
  background: transparent;
  color: var(--pf-text-primary);
  cursor: pointer;
}

@media (max-width: 1390px) and (min-width: 1101px) {
  .top-nav {
    left: 50px;
    right: 50px;
    width: auto;
  }
  .cover-copy {
    left: 115px;
    width: 600px;
  }
  .cover-copy h1 {
    font-size: 80px;
  }
  .cover-enter {
    right: 38px;
  }
  .verify-artifact-column {
    left: 70px;
    width: 540px;
  }
  .judgement-panel {
    left: 690px;
    right: 55px;
    width: auto;
  }
  .reveal-v2 {
    padding-left: 70px;
    padding-right: 70px;
    grid-template-columns: 480px minmax(0, 1fr);
  }
  .verdict-hero {
    padding-right: 455px;
  }
  .user-feedback {
    width: 410px;
  }
  .create-v2 .create-heading,
  .creator-controls {
    left: 55px;
  }
  .creator-controls {
    width: 700px;
  }
  .creator-steps {
    left: 665px;
    width: 645px;
  }
  .creator-preview,
  .creation-note {
    left: 790px;
    width: 520px;
  }
  .result-v2 .result-heading,
  .result-v2 .result-stage {
    left: 65px;
  }
  .result-v2 .result-stage {
    width: 760px;
  }
  .creation-summary {
    left: 855px;
    width: 455px;
  }
  .passport-v2 {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 1100px) {
  .verify-screen {
    min-height: 1320px;
    padding: 110px 35px 80px;
  }
  .verify-artifact-column,
  .judgement-panel,
  .case-kicker {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
  }
  .verify-artifact-column {
    margin-top: 35px;
  }
  .judgement-panel {
    margin-top: 34px;
  }
  .complete-screen {
    padding: 115px 35px 70px;
  }
  .complete-hero {
    padding-right: 115px;
  }
  .learning-summary > div {
    grid-template-columns: 1fr 1fr;
  }
  .passport-v2 {
    min-height: 0;
    padding: 115px 35px 80px;
    display: block;
  }
  .passport-v2 .passport-heading,
  .passport-v2 .passport-artifact,
  .passport-v2 .beginner-passport,
  .passport-v2 .passport-details,
  .passport-v2 .passport-evidence,
  .passport-v2 .back-link,
  .passport-v2 .trace-cta {
    margin-top: 24px;
  }
  .passport-v2 .passport-artifact {
    margin-top: 35px;
  }
  .passport-v2 .passport-evidence > div {
    grid-template-columns: 1fr;
  }
  .passport-v2 .trace-cta {
    display: flex;
  }
  .creator-controls {
    grid-template-columns: 1fr;
  }
  .motif-block,
  .drawing-block {
    grid-column: 1;
  }
}

/* 冲刺优化：明确任务、放大观察、学习反馈与创作来源 */
.identity-task {
  margin-top: 14px;
  padding: 15px 18px 17px;
  border: 1px solid #b8aa96;
  border-left: 6px solid #9b3f2e;
  background: #fffaf1;
}
.identity-task > span {
  display: block;
  margin-bottom: 8px;
  color: #8c3b2c;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.identity-task strong {
  display: block;
  color: var(--pf-text-primary);
  font:
    600 16px/25px "SimSun",
    "Songti SC",
    serif;
}
.image-open {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  display: block;
  border: 0;
  background: #d9cebc;
  color: inherit;
  cursor: zoom-in;
  overflow: hidden;
}
.image-open img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.28s ease;
}
.image-open > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: rgba(31, 24, 20, 0.82);
  color: #f7edda;
  font-size: 10px;
  letter-spacing: 0.5px;
}
.image-open:hover img {
  transform: scale(1.02);
}
body.viewer-open {
  overflow: hidden;
}
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
}
.viewer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(21, 17, 14, 0.88);
  cursor: default;
}
.image-viewer > section {
  position: relative;
  z-index: 1;
  width: min(1120px, 94vw);
  height: min(830px, 90vh);
  display: grid;
  grid-template-rows: 58px 1fr 62px;
  background: #f3ecdf;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}
.image-viewer header,
.image-viewer footer {
  padding: 0 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #b7aa96;
}
.image-viewer header {
  justify-content: space-between;
}
.image-viewer header b {
  font:
    600 15px "SimSun",
    "Songti SC",
    serif;
}
.image-viewer header button {
  width: 36px;
  height: 36px;
  border: 1px solid #81715e;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}
.viewer-canvas {
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #27221d;
}
.viewer-canvas img {
  width: 100%;
  min-height: 100%;
  object-fit: contain;
  display: block;
  transition: width 0.18s ease;
}
.image-viewer footer {
  justify-content: center;
  gap: 10px;
  border-top: 1px solid #b7aa96;
  border-bottom: 0;
}
.image-viewer footer button {
  height: 34px;
  min-width: 38px;
  padding: 0 12px;
  border: 1px solid #81715e;
  background: #fffaf1;
  color: #352a22;
  cursor: pointer;
}
.image-viewer footer span {
  width: 52px;
  text-align: center;
  font-size: 11px;
}

.identity-proof {
  max-width: 410px;
  margin-top: 18px;
  padding: 13px 15px;
  border-left: 4px solid #9b3f2e;
  background: rgba(255, 253, 248, 0.72);
}
.verdict-real .identity-proof {
  border-left-color: var(--pf-state-supported);
}
.identity-proof span {
  display: block;
  color: var(--pf-text-muted);
  font-size: 9px;
  letter-spacing: 1px;
}
.identity-proof strong {
  display: block;
  margin-top: 6px;
  font:
    600 13px "SimSun",
    "Songti SC",
    serif;
}
.identity-proof p {
  margin: 6px 0 0;
  color: var(--pf-text-secondary);
  font-size: 10px;
  line-height: 17px;
}
.next-step-hint {
  margin-top: 18px;
  padding: 15px 18px;
  border: 1px solid var(--pf-border-default);
  background: #eee5d6;
}
.next-step-hint span {
  color: #913a29;
  font-size: 10px;
  letter-spacing: 1px;
}
.next-step-hint p {
  margin: 7px 0 0;
  color: var(--pf-text-secondary);
  font-size: 12px;
  line-height: 20px;
}

.complete-screen {
  min-height: 1660px;
}
.personal-feedback {
  max-width: 1180px;
  margin-top: 34px;
  padding: 28px 32px;
  border-left: 7px solid #9b3f2e;
  background: #fffaf1;
}
.personal-feedback h2 {
  margin: 12px 0 18px;
  font:
    600 24px/1.5 "SimSun",
    "Songti SC",
    serif;
}
.personal-feedback > p:last-of-type {
  margin: 18px 0 6px;
  color: var(--pf-text-secondary);
  font-size: 13px;
  line-height: 23px;
}
.personal-feedback > small {
  color: var(--pf-text-muted);
  font-size: 10px;
}
.feedback-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.feedback-numbers article {
  padding: 17px;
  border: 1px solid var(--pf-border-default);
  background: #eee5d6;
}
.feedback-numbers b {
  display: block;
  color: #923b2c;
  font:
    600 28px "SimSun",
    serif;
}
.feedback-numbers span {
  display: block;
  margin-top: 6px;
  color: var(--pf-text-secondary);
  font-size: 10px;
}
.learning-route {
  max-width: 1180px;
  margin-top: 32px;
  padding: 25px;
  border: 1px solid var(--pf-border-default);
  background: #e9dfcf;
}
.learning-route > a {
  margin-top: 11px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #b8aa96;
  background: #fffaf1;
  color: var(--pf-text-primary);
  text-decoration: none;
}
.learning-route > a:hover {
  border-color: #923b2c;
  transform: translateX(3px);
}
.learning-route b {
  font:
    600 14px "SimSun",
    serif;
}
.learning-route span {
  color: var(--pf-text-secondary);
  font-size: 11px;
  text-align: right;
}

.motif-choice {
  min-height: 215px;
}
.motif-choice em {
  display: block;
  margin-top: 8px;
  color: #8f392a;
  font-size: 8px;
  font-style: normal;
  line-height: 13px;
}
.creator-preview {
  min-height: 850px;
}
.creator-preview > .inspiration-rule {
  height: auto;
  margin-top: 14px;
  padding: 14px 15px;
  display: block;
  border-left: 4px solid #9b3f2e;
  background: #f1e7d7;
  overflow: visible;
}
.inspiration-rule span {
  display: block;
  color: var(--pf-text-muted);
  font-size: 9px;
  letter-spacing: 1px;
}
.inspiration-rule b {
  display: block;
  margin-top: 7px;
  font:
    600 13px/20px "SimSun",
    serif;
}
.inspiration-rule p {
  margin: 6px 0 0;
  color: var(--pf-text-secondary);
  font-size: 10px;
}
.inspiration-rule a {
  display: inline-block;
  margin-top: 8px;
  color: #8f392a;
  font-size: 10px;
}
.creation-note {
  top: 1215px;
}
.create-v2 {
  min-height: 1720px;
}
.create-v2 .create-state {
  top: 1645px;
}
.result-v2 {
  min-height: 1170px;
}
.creation-summary {
  min-height: 650px;
}
.creation-summary article {
  align-items: flex-start;
  gap: 18px;
}
.creation-summary article b {
  max-width: 230px;
  line-height: 19px;
  text-align: right;
}
.result-v2 .result-state {
  top: 1080px;
}

@media (max-width: 1100px) {
  .complete-screen {
    min-height: 0;
  }
  .personal-feedback,
  .learning-route {
    width: 100%;
  }
  .feedback-numbers {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .learning-route > a {
    align-items: flex-start;
  }
  .create-v2,
  .result-v2 {
    min-height: 0;
  }
  .creator-preview,
  .creation-note,
  .create-v2 .create-state,
  .creation-summary,
  .result-v2 .result-state {
    top: auto;
  }
  .creator-preview {
    min-height: 0;
  }
  .creation-summary {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .image-viewer {
    padding: 0;
  }
  .image-viewer > section {
    width: 100vw;
    height: 100dvh;
  }
  .image-viewer header,
  .image-viewer footer {
    padding: 0 12px;
  }
  .personal-feedback {
    padding: 22px 18px;
  }
  .feedback-numbers {
    grid-template-columns: 1fr;
  }
  .learning-route > a {
    display: block;
  }
  .learning-route span {
    margin-top: 6px;
    display: block;
    text-align: left;
    line-height: 18px;
  }
  .identity-proof {
    max-width: none;
  }
  .motif-choice {
    min-height: 190px;
  }
}

/* 最终手机适配：覆盖旧离线稿中的固定桌面宽度 */
html,
body {
  min-width: 0;
  width: 100%;
  overflow-x: hidden;
}
.top-nav {
  width: min(1200px, calc(100% - 48px));
}

@media (max-width: 980px) {
  .screen {
    width: 100%;
    max-width: none;
    min-height: 100svh;
    overflow-x: hidden;
  }
  .top-nav {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    height: auto;
    transform: none;
  }
  .top-nav nav {
    gap: 14px;
  }

  .cover-screen {
    height: 100svh;
    min-height: 680px;
    padding: 0;
    overflow: hidden;
  }
  .cover-image {
    inset: 0;
  }
  .cover-wash {
    background:
      linear-gradient(
        90deg,
        rgba(29, 22, 18, 0.96) 0%,
        rgba(31, 24, 19, 0.83) 53%,
        rgba(28, 21, 17, 0.28) 100%
      ),
      linear-gradient(0deg, rgba(18, 13, 10, 0.5), transparent 55%);
  }
  .cover-rule {
    left: 22px;
    top: 34px;
    bottom: 34px;
  }
  .cover-copy {
    position: absolute;
    left: 38px;
    top: 17%;
    width: calc(100% - 70px);
    margin: 0;
  }
  .cover-copy h1 {
    font-size: clamp(52px, 15vw, 72px);
  }
  .cover-copy h2 {
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.5;
  }
  .cover-copy small {
    max-width: 280px;
    line-height: 20px;
  }
  .cover-enter {
    left: 38px;
    right: auto;
    top: auto;
    bottom: 12%;
    width: min(285px, calc(100% - 72px));
    transform: none;
  }
  .cover-enter:hover {
    transform: translateX(4px);
  }
  .cover-seal {
    right: 24px;
    bottom: 24px;
  }

  .verify-screen {
    min-height: 0;
    padding: 22px 18px 70px;
  }
  .verify-screen .case-kicker {
    margin-top: 35px;
  }
  .verify-artifact-column {
    margin-top: 22px;
  }
  .verify-card {
    width: 100%;
    height: auto;
  }
  .verify-card .artifact-image {
    height: min(74vw, 360px);
  }
  .verify-card figcaption {
    padding: 0 12px;
    gap: 12px;
    font-size: 9px;
  }
  .identity-task {
    padding: 14px 15px;
  }
  .judgement-panel {
    margin-top: 24px;
    padding: 24px 18px;
  }
  .verify-screen .judgement-panel h1 {
    font-size: 26px;
    line-height: 1.4;
  }
  .verify-option {
    min-height: 70px;
    padding: 13px;
  }
  .dimension-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reveal-v2 {
    min-height: 0;
    padding: 22px 18px 75px;
    display: block;
  }
  .reveal-v2 .top-nav {
    margin-bottom: 34px;
  }
  .verdict-hero {
    min-height: 0;
    padding: 23px 18px;
  }
  .verdict-hero h1 {
    font-size: 32px;
  }
  .identity-proof {
    margin-top: 16px;
  }
  .user-feedback {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    min-height: 0;
    margin-top: 18px;
  }
  .reveal-media,
  .evidence-breakdown {
    margin-top: 24px;
  }
  .reveal-media figure .image-open {
    height: min(82vw, 430px);
  }
  .reveal-media figure img {
    height: 100%;
  }
  .breakdown-heading h2 {
    font-size: 26px;
  }
  .result-legend {
    flex-wrap: wrap;
    gap: 8px;
  }

  .complete-screen {
    padding: 22px 18px 70px;
  }
  .complete-screen .top-nav {
    margin-bottom: 34px;
  }
  .complete-hero {
    padding: 28px 20px;
  }
  .complete-hero h1 {
    padding-right: 64px;
    font-size: 30px;
  }
  .complete-seal {
    right: 18px;
    top: 26px;
    width: 55px;
    height: 55px;
    font-size: 27px;
  }
  .feedback-numbers,
  .learning-summary > div {
    grid-template-columns: 1fr;
  }
  .learning-summary article {
    min-height: 0;
  }
  .complete-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .explore-screen,
  .trace-screen {
    padding: 22px 18px 70px;
  }
  .section-intro,
  .trace-heading {
    margin-top: 34px;
  }
  .section-intro h1,
  .trace-heading h1 {
    font-size: 30px;
  }
  .timeline {
    height: auto;
    min-height: 105px;
    overflow: hidden;
  }
  .timeline-line {
    display: none;
  }
  .periods {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    padding: 10px 0;
    display: flex;
    gap: 20px;
    overflow-x: auto;
  }
  .periods a {
    flex: 0 0 auto;
  }
  .timeline > b {
    position: relative;
    left: auto;
    top: auto;
    display: block;
  }
  .landscape-panel {
    height: 520px;
  }
  .ledger-list a {
    grid-template-columns: 72px 1fr;
  }
  .trace-field {
    height: auto;
    overflow-x: auto;
  }
  .trace-cases {
    min-width: 760px;
  }

  .passport-v2 {
    padding: 22px 18px 70px;
  }
  .passport-v2 .top-nav {
    margin-bottom: 34px;
  }
  .passport-v2 .passport-heading {
    margin-top: 0;
  }
  .passport-v2 .passport-heading h1 {
    font-size: 30px;
  }
  .passport-v2 .passport-visual {
    height: min(92vw, 420px);
  }
  .beginner-passport > div {
    grid-template-columns: 1fr;
  }

  .create-v2,
  .result-v2 {
    padding: 22px 18px 70px;
  }
  .create-v2 .top-nav,
  .result-v2 .top-nav {
    margin-bottom: 34px;
  }
  .create-v2 .create-heading,
  .result-v2 .result-heading {
    margin-top: 0;
  }
  .create-v2 .create-heading h1,
  .result-v2 .result-heading h1 {
    font-size: 30px;
  }
  .creator-steps {
    display: flex;
    overflow-x: auto;
  }
  .creator-steps span {
    flex: 0 0 105px;
  }
  .creator-controls {
    display: block;
  }
  .creator-block {
    min-height: 0;
    margin-top: 16px;
  }
  .motif-grid {
    grid-template-columns: 1fr 1fr;
  }
  .motif-choice {
    min-height: 205px;
  }
  .drawing-board {
    height: auto;
    aspect-ratio: 420/220;
  }
  .creator-preview {
    padding: 18px;
  }
  .creator-preview > div:first-of-type {
    height: auto;
  }
  .result-v2 .result-stage {
    padding: 16px;
  }
  .result-v2 .result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .creation-summary article {
    display: block;
  }
  .creation-summary article b {
    max-width: none;
    margin-top: 7px;
    display: block;
    text-align: left;
  }
}

@media (max-width: 390px) {
  .top-nav {
    align-items: flex-start;
    gap: 12px;
  }
  .top-nav .brand {
    font-size: 17px;
    white-space: nowrap;
  }
  .top-nav nav {
    gap: 10px;
    font-size: 10px;
  }
  .cover-copy {
    left: 30px;
    width: calc(100% - 55px);
  }
  .cover-enter {
    left: 30px;
    width: calc(100% - 60px);
  }
  .motif-grid {
    grid-template-columns: 1fr;
  }
  .motif-choice {
    min-height: 175px;
  }
}

/* 宋代历史文化观察地图样板 */
.explore-screen {
  min-height: 1150px;
}
.song-explore-screen {
  min-height: 1150px;
}
.song-explore-screen .ledger-panel {
  height: 650px;
}
.song-explore-screen .filter-rail {
  top: 1060px;
}
.song-explore-screen .explore-state {
  top: 1095px;
}
.song-atlas {
  position: absolute;
  left: 120px;
  top: 365px;
  width: 790px;
  min-height: 650px;
  padding: 20px;
  border: 1px solid var(--pf-border-default);
  background: #f2eadb;
}
.song-atlas-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}
.song-atlas-head h2 {
  margin: 12px 0 0;
  font:
    600 25px/1.3 "Noto Serif SC",
    "SimSun",
    serif;
}
.song-atlas-head h2 small {
  display: block;
  margin-top: 5px;
  color: var(--pf-text-muted);
  font:
    500 10px/1.4 Inter,
    sans-serif;
  letter-spacing: 0.4px;
}
.song-era-switch {
  display: flex;
  border: 1px solid #aa9a82;
  background: #e8decc;
}
.song-era-switch button {
  min-width: 86px;
  height: 54px;
  padding: 7px 12px;
  border: 0;
  border-right: 1px solid #aa9a82;
  background: transparent;
  color: #675d4f;
  cursor: pointer;
  font:
    600 13px "SimSun",
    serif;
}
.song-era-switch button:last-child {
  border-right: 0;
}
.song-era-switch button small {
  display: block;
  margin-top: 4px;
  color: inherit;
  font:
    500 9px Inter,
    sans-serif;
}
.song-era-switch button.active {
  background: #8f3e2e;
  color: #fff8e9;
}
.song-era-switch button:focus-visible {
  outline: 2px solid #9c4b38;
  outline-offset: 3px;
}
.song-atlas-intro {
  max-width: 600px;
  margin: 15px 0 16px;
  color: var(--pf-text-secondary);
  font-size: 11px;
  line-height: 19px;
}
.song-atlas-body {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(230px, 0.72fr);
  gap: 15px;
  align-items: stretch;
}
.song-map-wrap {
  min-width: 0;
  border: 1px solid #b8aa93;
  background: #e8deca;
}
.song-map {
  width: 100%;
  height: 430px;
  display: block;
  background: radial-gradient(
    circle at 50% 38%,
    #f2eadc 0,
    #e6dcc8 74%,
    #ddd0b8 100%
  );
}
.map-context {
  fill: #e9dfcc;
  stroke: #b3a58d;
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
}
.power-layer .power {
  stroke: #716653;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.power-layer .song {
  fill: #d9c7a3;
}
.power-layer .liao,
.power-layer .jin {
  fill: #c8c7b3;
}
.power-layer .xixia {
  fill: #d7c4af;
}
.power-layer .dali {
  fill: #c9d0b9;
}
.power-layer text {
  fill: #625747;
  font:
    600 15px "KaiTi",
    "STKaiti",
    serif;
  text-anchor: middle;
  letter-spacing: 4px;
  pointer-events: none;
}
.culture-zone {
  cursor: pointer;
  outline: none;
}
.culture-zone path {
  fill: #526f66;
  fill-opacity: 0.22;
  stroke: #46685f;
  stroke-width: 2;
  stroke-dasharray: 4 4;
  transition:
    fill-opacity 0.2s,
    stroke-width 0.2s,
    filter 0.2s;
  vector-effect: non-scaling-stroke;
}
.culture-zone circle {
  fill: #526f66;
  fill-opacity: 0.2;
  stroke: #46685f;
  stroke-width: 2;
  stroke-dasharray: 5 5;
  vector-effect: non-scaling-stroke;
  transition:
    fill-opacity 0.2s,
    stroke-width 0.2s,
    filter 0.2s;
}
.culture-zone text {
  fill: #293f39;
  font:
    600 12px "SimSun",
    serif;
  text-anchor: middle;
  pointer-events: none;
  paint-order: stroke;
  stroke: #efe6d5;
  stroke-width: 4px;
}
.culture-zone:hover path,
.culture-zone:focus path,
.culture-zone.active path {
  fill: #9b4432;
  fill-opacity: 0.38;
  stroke: #8f3829;
  stroke-width: 3;
  filter: drop-shadow(0 3px 3px rgba(63, 42, 31, 0.18));
}
.culture-zone:hover circle,
.culture-zone:focus circle,
.culture-zone.active circle {
  fill: #9b4432;
  fill-opacity: 0.38;
  stroke: #8f3829;
  stroke-width: 3;
  filter: drop-shadow(0 3px 3px rgba(63, 42, 31, 0.18));
}
.culture-zone.active text {
  fill: #7d2f25;
}
.artifact-layer text {
  fill: #713b2f;
  font:
    600 10px "SimSun",
    serif;
}
.artifact-layer .marker-kind {
  fill: #756a5b;
  font:
    500 8px Inter,
    sans-serif;
}
.clue-marker {
  fill: #f4ecdc;
  stroke: #8f3829;
  stroke-width: 3;
}
.clue-marker-pulse {
  fill: none;
  stroke: #8f3829;
  stroke-width: 1;
  stroke-dasharray: 2 3;
}
.artifact-layer a:hover .clue-marker-pulse {
  stroke-width: 2;
}
.relation-grid path {
  fill: none;
  stroke: #b8aa93;
  stroke-width: 1;
  stroke-dasharray: 2 9;
  opacity: 0.55;
}
.relation-lines line {
  stroke: #8c806e;
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  opacity: 0.7;
}
.map-not-to-scale {
  fill: #7d7162;
  font: 600 10px "Microsoft YaHei", "PingFang SC", sans-serif;
  letter-spacing: 1px;
}
.map-era-facts {
  min-height: 44px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #b8aa93;
  background: #dfd3be;
  color: #665c4f;
  font-size: 9px;
  line-height: 15px;
}
.map-era-facts b {
  color: #8f3e2e;
  white-space: nowrap;
}
.map-legend {
  min-height: 46px;
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 13px;
  border-top: 1px solid #b8aa93;
  color: #6e6456;
  font-size: 8px;
  line-height: 14px;
}
.map-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.map-legend i {
  width: 13px;
  height: 9px;
  display: inline-block;
}
.legend-power {
  border: 1px solid #716653;
  background: #d9c7a3;
}
.legend-zone {
  border: 1px dashed #46685f;
  background: rgba(82, 111, 102, 0.25);
}
.legend-clue {
  width: 9px !important;
  height: 9px !important;
  border: 2px solid #8f3829;
  border-radius: 50%;
  background: #f4ecdc;
}
.song-map-detail {
  min-width: 0;
  padding: 18px 16px;
  border: 1px solid #b8aa93;
  border-top: 5px solid #8f3e2e;
  background: #fffaf1;
}
.song-map-detail h3 {
  margin: 13px 0 10px;
  font:
    600 17px/1.45 "SimSun",
    "Songti SC",
    serif;
}
.song-map-detail > p:not(.panel-label) {
  min-height: 92px;
  margin: 0;
  color: var(--pf-text-secondary);
  font-size: 10px;
  line-height: 19px;
}
.song-case-card {
  margin-top: 14px;
  padding: 9px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 9px;
  border: 1px solid #c8baa3;
  background: #eee4d2;
  color: inherit;
  text-decoration: none;
}
.song-case-card img {
  width: 56px;
  height: 70px;
  object-fit: cover;
  grid-row: 1 / span 2;
}
.song-case-card span {
  min-width: 0;
}
.song-case-card small,
.song-case-card strong,
.song-case-card em {
  display: block;
}
.song-case-card small {
  color: #8f3e2e;
  font-size: 8px;
}
.song-case-card strong {
  margin-top: 5px;
  font:
    600 11px/1.45 "SimSun",
    serif;
}
.song-case-card em {
  margin-top: 5px;
  color: #756b5d;
  font:
    normal 8px/1.45 Inter,
    sans-serif;
}
.song-case-card > b {
  grid-column: 2;
  color: #8f3e2e;
  font-size: 8px;
}
.song-case-card:hover {
  border-color: #8f3e2e;
}
.map-boundary-note {
  margin-top: 14px;
  padding: 10px 11px;
  border-left: 4px solid #506b63;
  background: #e8e4d6;
}
.map-boundary-note b,
.map-boundary-note span {
  display: block;
}
.map-boundary-note b {
  color: #405c54;
  font-size: 9px;
}
.map-boundary-note span {
  margin-top: 5px;
  color: #675e52;
  font-size: 8px;
  line-height: 15px;
}
.map-sources {
  margin-top: 14px;
  border-top: 1px solid #b9ab94;
}
.map-sources summary {
  padding: 12px 2px 4px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  color: #655c50;
  font-size: 9px;
}
.map-sources summary::-webkit-details-marker {
  display: none;
}
.map-sources p {
  margin: 8px 0 0;
  padding: 11px 13px;
  background: #e9dfce;
  color: #716759;
  font-size: 9px;
  line-height: 17px;
}
.map-sources p a {
  display: inline-block;
  margin-left: 8px;
  color: #8f3e2e;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.map-reference-chip {
  min-width: 112px;
  padding: 10px 14px;
  border: 1px solid #aa9a82;
  background: #e8decc;
  text-align: center;
}
.map-reference-chip span,
.map-reference-chip small {
  display: block;
}
.map-reference-chip span {
  color: #8f3e2e;
  font:
    600 14px "SimSun",
    serif;
}
.map-reference-chip small {
  margin-top: 5px;
  color: #756b5d;
  font-size: 8px;
}
.empty-region-note {
  margin-top: 14px;
  padding: 12px;
  border: 1px dashed #9b8d77;
  background: #eee7d9;
}
.empty-region-note b,
.empty-region-note span {
  display: block;
}
.empty-region-note b {
  color: #715f4d;
  font:
    600 10px "SimSun",
    serif;
}
.empty-region-note span {
  margin-top: 7px;
  color: #74695c;
  font-size: 9px;
  line-height: 16px;
}
.period-atlas + .ledger-panel {
  height: 650px;
}
.period-atlas ~ .filter-rail {
  top: 1060px;
}
.period-atlas ~ .explore-state {
  top: 1095px;
}

/* 溯源页：卡片高度跟随文字，不再穿出父容器 */
.trace-screen {
  min-height: 1120px;
}
.trace-evidence {
  height: auto;
  min-height: 500px;
  padding: 18px 12px;
}
.trace-evidence article {
  min-height: 0;
  height: auto;
  padding: 12px 10px;
  overflow-wrap: anywhere;
}
.trace-evidence strong {
  margin: 9px 0;
  line-height: 16px;
}
.trace-evidence p {
  line-height: 16px;
  overflow: visible;
}
.trace-create-link {
  top: 930px;
}
.trace-state {
  top: 1010px;
}

@media (max-width: 1100px) {
  .explore-screen,
  .trace-screen {
    min-height: 0;
    padding: 105px 35px 75px;
    overflow-x: hidden;
  }
  .explore-screen .top-nav,
  .trace-screen .top-nav {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
  }
  .section-intro,
  .timeline,
  .song-atlas,
  .ledger-panel,
  .filter-rail,
  .trace-heading,
  .trace-controls,
  .trace-field,
  .trace-evidence,
  .trace-create-link,
  .explore-state,
  .trace-state {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    height: auto;
  }
  .section-intro,
  .trace-heading {
    margin-top: 35px;
  }
  .timeline {
    margin: 34px 0 20px;
    min-height: 105px;
  }
  .timeline-line {
    display: none;
  }
  .periods {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    padding: 10px 0;
    display: flex;
    gap: 24px;
    overflow-x: auto;
  }
  .periods a {
    flex: 0 0 auto;
  }
  .timeline > b {
    position: relative;
    left: auto;
    top: auto;
    display: block;
  }
  .song-atlas {
    min-height: 0;
    margin-top: 20px;
  }
  .song-atlas-body {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  }
  .ledger-panel,
  .period-atlas + .ledger-panel,
  .song-explore-screen .ledger-panel {
    height: auto;
    min-height: 0;
    margin-top: 24px;
  }
  .filter-rail {
    margin: 28px 0;
  }
  .trace-controls,
  .trace-field,
  .trace-evidence,
  .trace-create-link {
    margin-top: 24px;
  }
  .trace-field {
    overflow-x: auto;
  }
  .trace-cases {
    min-width: 760px;
  }
  .trace-evidence {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
  }
  .trace-evidence > .panel-label {
    grid-column: 1/-1;
  }
  .trace-evidence article {
    margin-top: 0;
  }
}

@media (max-width: 980px) {
  .song-explore-screen {
    min-height: 0;
  }
  .song-atlas {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 0;
    margin-top: 20px;
  }
  .song-explore-screen .ledger-panel {
    height: auto;
  }
  .song-explore-screen .filter-rail,
  .song-explore-screen .explore-state {
    top: auto;
  }
  .song-atlas-body {
    grid-template-columns: 1fr;
  }
  .song-map-detail > p:not(.panel-label) {
    min-height: 0;
  }
  .period-atlas + .ledger-panel {
    height: auto;
  }
  .period-atlas ~ .filter-rail,
  .period-atlas ~ .explore-state {
    top: auto;
  }
  .trace-screen {
    min-height: 0;
  }
  .trace-evidence {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
  }
  .trace-evidence > .panel-label {
    grid-column: 1/-1;
  }
  .trace-evidence article {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .song-atlas {
    padding: 14px;
  }
  .song-atlas-head {
    display: block;
  }
  .song-era-switch {
    margin-top: 14px;
    width: 100%;
  }
  .song-era-switch button {
    flex: 1;
  }
  .song-map {
    height: auto;
    min-height: 310px;
  }
  .map-legend {
    align-items: flex-start;
    flex-direction: column;
  }
  .map-reference-chip {
    width: 100%;
    margin-top: 14px;
  }
  .trace-evidence {
    grid-template-columns: 1fr;
  }
}

/* 溯源页窄屏采用正常文档流：按钮必须排在说明卡片之后，不能覆盖内容 */
@media (max-width: 1100px) {
  .trace-screen .trace-create-link {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: fit-content;
    max-width: 100%;
    margin: 24px 0 0;
    transform: none;
    display: inline-flex;
    align-items: center;
    z-index: 1;
  }
  .trace-screen .trace-evidence {
    overflow: visible;
    margin-bottom: 0;
  }
}

@media (min-width: 1101px) {
  .verify-screen .verify-artifact-column,
  .verify-screen .judgement-panel {
    top: 205px;
  }
  .verify-card figcaption {
    justify-content: flex-start;
    font-size: 11px;
  }
  .verify-screen .panel-lede,
  .verify-screen .verify-option small {
    font-size: 12px;
  }
  .verdict-hero {
    min-height: 315px;
    padding-top: 36px;
  }
  .identity-proof {
    margin-top: 24px;
  }
  .identity-proof span {
    font-size: 11px;
  }
  .identity-proof strong {
    font-size: 14px;
  }
  .breakdown-heading > p,
  .result-legend span,
  .source-details summary {
    font-size: 12px;
  }
  .ledger-panel .panel-label,
  .ledger-panel > b,
  .ledger-list small,
  .timeline-label,
  .timeline > b {
    font-size: 11px;
  }
  .passport-v2 .passport-heading {
    padding-bottom: 8px;
  }
  .passport-v2 .beginner-passport .panel-label,
  .passport-v2 .passport-artifact .panel-label,
  .passport-v2 .passport-evidence .panel-label {
    font-size: 11px;
  }
  .trace-controls p,
  .trace-controls small,
  .trace-cases article > p,
  .trace-cases article > span,
  .trace-notes span,
  .trace-evidence em,
  .trace-evidence p {
    font-size: 12px;
    line-height: 19px;
  }
  .trace-evidence strong {
    font-size: 12px;
    line-height: 18px;
  }
  .trace-evidence {
    width: 175px;
    left: 1145px;
  }
  .create-v2 {
    min-height: 1390px;
  }
  .creator-controls {
    top: 270px;
  }
  .creator-preview {
    top: 270px;
    min-height: 850px;
  }
  .creator-block header small,
  .motif-choice small,
  .palette-choice span,
  .drawing-instruction,
  .creator-preview header > span,
  .inspiration-rule span,
  .inspiration-rule p {
    font-size: 11px;
  }
  .motif-choice {
    min-height: 170px;
  }
  .creator-preview .primary-button:disabled {
    cursor: not-allowed;
  }
  .creation-summary {
    min-height: 360px;
  }
  .creation-summary article {
    display: block;
  }
  .creation-summary article span {
    display: block;
    font-size: 12px;
  }
  .creation-summary article b {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 20px;
    text-align: left;
  }
  .complete-screen {
    min-height: 1100px;
  }
}

/* AI揭晓：先对照真实文物，再解释画面错在哪里 */
.reveal-media.has-reference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.reveal-media.has-reference figure {
  min-width: 0;
}
.reveal-media.has-reference figure .image-open,
.reveal-media.has-reference figure img {
  height: 255px;
}
.reveal-media.has-reference figure img {
  object-fit: cover;
}
.reveal-media.has-reference figcaption {
  height: 76px;
  padding: 10px 12px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.reveal-media.has-reference figcaption b {
  max-width: 100%;
  font-size: 10px;
  line-height: 16px;
  overflow-wrap: anywhere;
}
.reveal-media.has-reference .reference-figure figcaption span {
  color: var(--pf-state-supported);
}
.reveal-media.has-reference .reveal-turn {
  grid-column: 1/-1;
}

/* 同一信息层级使用同一套黑体标题 */
.result-row > div span,
.result-row-collapsed summary span {
  color: var(--pf-text-primary);
  font:
    700 15px/1.5 "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    sans-serif;
}

/* 溯源页：可切换主题，右侧依据固定高度并在框内滚动 */
.trace-controls .panel-label {
  margin-top: 0;
}
.trace-controls > div.trace-theme-list {
  height: auto;
  margin: 14px 0 18px;
  padding: 0;
  display: grid;
  gap: 7px;
  border: 0;
  background: transparent;
  pointer-events: auto;
}
.trace-theme-list button {
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid var(--pf-border-default);
  background: #f5efe4;
  color: var(--pf-text-secondary);
  font:
    600 11px/1.4 "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
  text-align: left;
  cursor: pointer;
}
.trace-theme-list button:hover,
.trace-theme-list button:focus-visible {
  border-color: #9a4533;
  color: #7f3024;
}
.trace-theme-list button.active {
  border-color: #8e392a;
  background: #8e392a;
  color: #fff8eb;
}

/* 可核验来源：机构、页面标题和外链在同一张卡片内呈现 */
.evidence-source-title {
  display: block;
  margin-top: 7px;
  color: var(--pf-text-primary);
  font-size: 12px;
  line-height: 18px;
}
.evidence-source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #873426;
  font: 600 11px/1.5 "Microsoft YaHei", "PingFang SC", sans-serif;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.evidence-source-link:hover,
.evidence-source-link:focus-visible {
  color: #b34b36;
}
.passport-v2 .passport-evidence > div {
  align-items: start;
}
.passport-v2 .passport-evidence article {
  min-height: 0;
  height: auto;
}
.trace-controls h2 {
  margin-top: 16px;
  font-size: 22px;
}
.trace-controls > p:not(.panel-label) {
  margin: 10px 0 0;
  line-height: 20px;
}
.trace-controls small {
  margin-top: 12px;
  line-height: 19px;
}
.trace-visual {
  display: block;
}
.trace-cases.count-2 {
  gap: 70px;
}
.trace-notes.count-2 {
  grid-template-columns: repeat(2, 1fr);
  margin-left: 115px;
  margin-right: 115px;
}

@media (min-width: 1101px) {
  .trace-evidence {
    box-sizing: border-box;
    height: 500px;
    min-height: 500px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #9b8a73 #eee5d7;
  }
  .trace-evidence::-webkit-scrollbar {
    width: 8px;
  }
  .trace-evidence::-webkit-scrollbar-track {
    background: #eee5d7;
  }
  .trace-evidence::-webkit-scrollbar-thumb {
    background: #9b8a73;
  }
  .trace-create-link {
    top: 880px;
  }
  .trace-state {
    top: 960px;
  }
}

/* 2026-08-12 桌面排版修复：卡片只跟随自身内容，不被右栏高度拉长 */
.reveal-media {
  align-self: start;
  min-height: 0;
}
.reveal-media.has-reference {
  align-content: start;
  align-items: start;
  grid-auto-rows: max-content;
}
.reveal-media.has-reference figure {
  align-self: start;
  height: max-content;
}
.reveal-media.has-reference .reveal-turn {
  align-self: start;
}

/* 三个溯源主题统一使用内容自适应卡片，长标题与说明不再越出边框 */
.trace-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 210px));
  align-items: start;
  justify-content: center;
  gap: 24px;
  margin: 42px 22px 0;
}
.trace-cases.count-2 {
  grid-template-columns: repeat(2, minmax(0, 250px));
  gap: 42px;
}
.trace-cases article {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.trace-cases h3 {
  min-height: 0;
  margin: 10px 0 7px;
  font: 700 15px/1.5 "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  overflow-wrap: anywhere;
}
.trace-cases p {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 20px;
  overflow-wrap: anywhere;
}
.trace-cases article > span {
  align-self: flex-start;
  margin-top: 0;
  font-size: 11px;
  line-height: 17px;
}
.trace-notes,
.trace-notes.count-2 {
  margin-top: 24px;
}

@media (min-width: 1101px) {
  .trace-screen {
    min-height: 1180px;
  }
  .trace-field {
    box-sizing: border-box;
    height: auto;
    min-height: 0;
  }
  .trace-evidence {
    height: 600px;
    min-height: 600px;
  }
  .trace-create-link {
    top: 985px;
  }
  .trace-state {
    top: 1060px;
  }
}

@media (max-width: 1100px) {
  .trace-field {
    height: auto;
  }
  .trace-cases,
  .trace-cases.count-2 {
    min-width: 720px;
    grid-template-columns: repeat(3, minmax(0, 210px));
    gap: 24px;
  }
  .trace-cases.count-2 {
    grid-template-columns: repeat(2, minmax(0, 250px));
  }
}

/* 2026-08-12 手机端完整交互修复
   所有核心页面在窄屏改为正常文档流，底部导航始终可见。 */
@media (max-width: 760px) {
  body {
    -webkit-text-size-adjust: 100%;
  }
  .screen {
    width: 100%;
    min-height: 100svh;
    overflow-x: clip;
  }

  /* 手机端固定功能导航：不会再因页面很长而找不到图谱、溯源和创作。 */
  .top-nav,
  .verify-screen .top-nav,
  .reveal-v2 .top-nav,
  .complete-screen .top-nav,
  .explore-screen .top-nav,
  .passport-v2 .top-nav,
  .trace-screen .top-nav,
  .create-v2 .top-nav,
  .result-v2 .top-nav {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom)) !important;
    transform: none !important;
    border-top: 1px solid #b9ad9b;
    background: rgba(250, 246, 237, 0.97);
    box-shadow: 0 -5px 18px rgba(52, 41, 31, 0.1);
    z-index: 100;
    backdrop-filter: blur(10px);
  }
  .top-nav .brand {
    display: none;
  }
  .top-nav nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    align-items: stretch;
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
    font-size: 12px;
    letter-spacing: 0;
  }
  .top-nav nav a {
    min-height: 42px;
    padding: 11px 2px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid transparent;
  }
  .top-nav nav a.nav-active {
    border-bottom-color: var(--pf-state-conflict);
    color: #792f24;
    font-weight: 700;
  }

  /* 鉴别页：图片、问题、选项按阅读顺序纵向排列。 */
  .verify-screen {
    display: block;
    min-height: 100svh;
    padding: 20px 16px calc(92px + env(safe-area-inset-bottom));
    overflow: visible;
  }
  .verify-screen .case-kicker,
  .verify-screen .verify-artifact-column,
  .verify-screen .judgement-panel {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
  }
  .verify-screen .case-kicker {
    margin: 0 0 14px !important;
  }
  .verify-screen .verify-artifact-column {
    margin: 0 !important;
  }
  .verify-screen .verify-card {
    width: 100%;
    height: auto;
  }
  .verify-screen .verify-card .artifact-image {
    width: 100%;
    height: min(74vw, 330px);
    padding: 0;
    border: 0;
  }
  .verify-screen .verify-card figcaption {
    height: auto;
    min-height: 52px;
    padding: 14px;
    font-size: 11px;
    line-height: 18px;
  }
  .verify-screen .judgement-panel {
    margin: 22px 0 0 !important;
    padding: 22px 18px;
  }
  .verify-screen .judgement-panel h1 {
    margin: 13px 0 10px;
    font-size: 27px;
    line-height: 1.42;
  }
  .verify-screen .panel-lede,
  .verify-screen .panel-divider,
  .verify-screen .verify-option,
  .verify-screen .primary-button {
    width: 100%;
  }
  .verify-screen .panel-lede {
    margin-bottom: 18px;
  }
  .verify-screen .verify-option {
    height: auto;
    min-height: 78px;
    padding: 14px 12px;
  }
  .verify-screen .verify-option b {
    font-size: 14px;
    line-height: 21px;
  }
  .verify-screen .dimension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
  }
  .verify-screen .dimension-grid button {
    min-width: 0;
    padding: 0 8px;
  }
  .verify-screen .primary-button {
    margin-top: 16px;
  }

  /* 答案页：先结论，再对照图，再读冲突证据。 */
  .reveal-v2 {
    display: block;
    min-height: 100svh;
    padding: 20px 16px calc(96px + env(safe-area-inset-bottom));
    overflow: visible;
  }
  .reveal-v2 .verdict-hero,
  .reveal-v2 .reveal-media,
  .reveal-v2 .evidence-breakdown {
    position: relative;
    width: 100%;
    min-width: 0;
  }
  .verdict-hero {
    min-height: 0;
    padding: 22px 17px;
  }
  .verdict-hero h1 {
    margin: 14px 0 10px;
    font-size: 29px;
    line-height: 1.35;
  }
  .identity-proof {
    padding: 14px;
  }
  .identity-proof strong {
    line-height: 21px;
  }
  .user-feedback {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    margin-top: 15px;
    padding: 17px;
  }
  .reveal-media,
  .reveal-media.has-reference,
  .evidence-breakdown {
    margin-top: 20px;
  }
  .reveal-media.has-reference {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .reveal-media.has-reference figure .image-open,
  .reveal-media.has-reference figure img,
  .reveal-media figure .image-open,
  .reveal-media figure img {
    width: 100%;
    height: min(78vw, 340px);
  }
  .reveal-media.has-reference .reveal-turn {
    grid-column: 1;
  }
  .reveal-turn {
    padding: 17px;
  }
  .breakdown-heading {
    padding: 18px;
  }
  .breakdown-heading h2 {
    font-size: 27px;
    line-height: 1.35;
  }
  .result-legend {
    grid-template-columns: 1fr;
  }
  .result-legend span {
    height: 38px;
  }
  .result-row,
  .result-row-collapsed summary {
    padding-left: 15px;
    padding-right: 15px;
  }
  .next-case-button {
    width: 100%;
  }

  /* 完成页。 */
  .complete-screen {
    min-height: 100svh;
    padding: 20px 16px calc(96px + env(safe-area-inset-bottom));
  }
  .complete-hero {
    padding: 24px 18px;
  }
  .complete-hero h1 {
    padding-right: 56px;
    font-size: 29px;
  }
  .complete-seal {
    right: 14px;
    top: 22px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  .personal-feedback,
  .learning-summary,
  .learning-route {
    width: 100%;
    margin-top: 22px;
  }
  .personal-feedback {
    padding: 20px 17px;
  }
  .feedback-numbers,
  .learning-summary > div {
    grid-template-columns: 1fr;
  }
  .learning-summary article {
    min-height: 0;
  }
  .complete-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .complete-actions a,
  .complete-actions button {
    width: 100%;
  }

  /* 图谱：地图与文物列表纵向显示，不保留桌面绝对定位。 */
  .explore-screen,
  .song-explore-screen {
    min-height: 100svh;
    padding: 20px 16px calc(96px + env(safe-area-inset-bottom));
  }
  .explore-screen .section-intro,
  .explore-screen .timeline,
  .explore-screen .song-atlas,
  .explore-screen .landscape-panel,
  .explore-screen .ledger-panel,
  .explore-screen .filter-rail,
  .explore-screen .explore-state {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
  }
  .explore-screen .section-intro {
    margin: 0;
  }
  .section-intro h1 {
    margin: 13px 0 9px;
    font-size: 29px;
    line-height: 1.42;
  }
  .explore-screen .timeline {
    min-height: 94px;
    margin: 22px 0 14px;
  }
  .periods {
    gap: 22px;
    padding-bottom: 10px;
  }
  .song-atlas,
  .landscape-panel {
    min-height: 0;
    margin-top: 12px;
    padding: 14px;
  }
  .song-atlas-head {
    display: block;
  }
  .song-atlas-head h2 {
    font-size: 22px;
  }
  .song-map {
    min-height: 260px;
  }
  .song-map-detail {
    padding: 16px 14px;
  }
  .ledger-panel,
  .period-atlas + .ledger-panel {
    min-height: 0;
    margin-top: 18px;
  }
  .ledger-panel > b {
    position: relative;
    inset: auto;
    display: block;
    margin: -8px 4px 14px;
  }
  .ledger-list > a {
    height: auto;
    min-height: 82px;
  }

  /* 文物详情页。 */
  .passport-v2 {
    display: block;
    min-height: 100svh;
    padding: 20px 16px calc(96px + env(safe-area-inset-bottom));
  }
  .passport-v2 .passport-heading,
  .passport-v2 .passport-artifact,
  .passport-v2 .beginner-passport,
  .passport-v2 .passport-details,
  .passport-v2 .passport-evidence,
  .passport-v2 .back-link,
  .passport-v2 .trace-cta {
    width: 100%;
    margin-top: 18px;
  }
  .passport-v2 .passport-heading {
    margin-top: 0;
  }
  .passport-v2 .passport-heading h1 {
    font-size: 29px;
    line-height: 1.4;
  }
  .passport-v2 .passport-artifact {
    padding: 14px;
  }
  .passport-v2 .passport-visual {
    height: min(92vw, 390px);
  }
  .beginner-passport {
    padding: 17px;
  }
  .beginner-passport > div,
  .passport-v2 .passport-evidence > div {
    grid-template-columns: 1fr;
  }
  .beginner-passport article {
    min-height: 0;
  }
  .passport-v2 .passport-dna-row {
    padding: 14px;
  }
  .passport-v2 .passport-dna-row > span {
    position: relative;
    inset: auto;
    display: block;
    margin-bottom: 7px;
  }
  .passport-v2 .trace-cta {
    display: flex;
  }

  /* 溯源：取消横向 720px 画布，案例改成真正的单列卡片。 */
  .trace-screen {
    min-height: 100svh;
    padding: 20px 16px calc(96px + env(safe-area-inset-bottom));
  }
  .trace-screen .trace-heading,
  .trace-screen .trace-controls,
  .trace-screen .trace-field,
  .trace-screen .trace-evidence,
  .trace-screen .trace-create-link {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
  }
  .trace-screen .trace-heading {
    margin: 0;
  }
  .trace-heading h1 {
    margin: 13px 0 9px;
    font-size: 29px;
    line-height: 1.42;
  }
  .trace-heading > p:last-child {
    width: 100%;
  }
  .trace-controls,
  .trace-field,
  .trace-evidence {
    margin-top: 18px;
  }
  .trace-theme-list {
    grid-template-columns: 1fr;
  }
  .trace-field {
    padding: 15px;
    overflow: visible;
  }
  .trace-cases,
  .trace-cases.count-2 {
    min-width: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .trace-cases article {
    width: 100%;
    padding: 12px;
  }
  .trace-visual {
    height: min(58vw, 230px);
  }
  .trace-visual i {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .trace-notes,
  .trace-notes.count-2 {
    display: none;
  }
  .trace-evidence {
    display: grid;
    grid-template-columns: 1fr;
    padding: 15px;
    overflow: visible;
  }
  .trace-screen .trace-create-link {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
  }

  /* 创作与作品页：控制项、画板、预览依次排布。 */
  .create-v2,
  .result-v2 {
    min-height: 100svh;
    padding: 20px 14px calc(96px + env(safe-area-inset-bottom));
  }
  .create-v2 .create-heading,
  .create-v2 .creator-controls,
  .create-v2 .creator-preview,
  .result-v2 .result-heading,
  .result-v2 .result-stage,
  .result-v2 .creation-summary {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
  }
  .create-v2 .create-heading,
  .result-v2 .result-heading {
    margin: 0;
  }
  .create-v2 .create-heading h1,
  .result-v2 .result-heading h1 {
    margin: 13px 0 9px;
    font-size: 29px;
    line-height: 1.42;
  }
  .creator-controls {
    margin-top: 20px;
  }
  .creator-block {
    margin-top: 12px;
    padding: 15px;
  }
  .creator-block:first-child {
    margin-top: 0;
  }
  .motif-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .motif-choice {
    min-height: 160px;
    padding: 10px 6px;
  }
  .motif-choice svg {
    width: 72px;
    height: 72px;
  }
  .palette-grid,
  .layout-grid {
    gap: 8px;
  }
  .drawing-block,
  .layout-block {
    min-height: 0;
  }
  .drawing-board {
    width: 100%;
    height: auto;
    aspect-ratio: 420 / 220;
  }
  .creator-preview {
    min-height: 0;
    margin-top: 16px;
    padding: 15px;
  }
  .creator-preview > div:first-of-type {
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .creator-preview > .inspiration-rule {
    aspect-ratio: auto;
  }
  .result-v2 .result-stage,
  .result-v2 .creation-summary {
    margin-top: 18px;
    padding: 15px;
  }
  .result-v2 .result-canvas {
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .result-v2 .result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .creation-summary {
    min-height: 0;
  }
  .creation-summary article {
    display: block;
  }
  .creation-summary article b {
    max-width: none;
    margin-top: 7px;
    display: block;
    text-align: left;
  }

  .image-viewer {
    padding: 12px;
  }
  .image-viewer-dialog {
    width: 100%;
    height: calc(100svh - 24px);
  }
}

@media (max-width: 380px) {
  .verify-screen,
  .reveal-v2,
  .complete-screen,
  .explore-screen,
  .passport-v2,
  .trace-screen,
  .create-v2,
  .result-v2 {
    padding-left: 12px;
    padding-right: 12px;
  }
  .motif-grid {
    grid-template-columns: 1fr;
  }
  .motif-choice {
    min-height: 145px;
  }
}
