/* 成长记录沿用主站的白、灰、蓝与系统字体；所有补充样式限于本模块。 */
.evidence-page { padding-bottom: 64px; }
.evidence-heading { max-width: 830px; padding-block: 64px 34px; }
.evidence-heading h1 { font-size: 56px; line-height: 1.07143; letter-spacing: -.28px; font-weight: 600; }
.evidence-heading .lede { max-width: 720px; margin-top: 18px; }
.evidence-page button, .evidence-dialog button { min-width: 44px; min-height: 44px; font-family: var(--font); font-size: 15px; line-height: 1.4; cursor: pointer; }
.evidence-page button:disabled, .evidence-dialog button:disabled { cursor: default; opacity: .4; }
.evidence-page button:focus-visible, .evidence-dialog button:focus-visible, .evidence-source-details summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.evidence-tabs { display: flex; gap: 32px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.evidence-tabs button { padding: 12px 0 14px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 17px; font-weight: 500; }
.evidence-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.evidence-tabs button:hover { color: var(--link); }
.evidence-scenes { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 24px; margin-bottom: 28px; }
.evidence-scenes button { padding: 7px 0; border: 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 400; }
.evidence-scenes button[aria-pressed="true"] { color: var(--link); font-weight: 600; }
.evidence-scenes button:hover { color: var(--link); }

/* 以一段经历为中心；照片保留完整画幅，文字与图片共享开放的留白。 */
.evidence-feature { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: center; gap: 38px; }
.evidence-feature-photo { display: flex; align-items: center; justify-content: center; width: 100%; height: clamp(300px, 32vw, 420px); min-width: 0; padding: 0; border: 0; border-radius: 14px; background: var(--wash); overflow: hidden; }
.evidence-feature-photo img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.evidence-feature-photo:hover { background: #eeeef0; }
.evidence-feature-copy { min-width: 0; padding-block: 10px; }
.evidence-scene-label { margin-bottom: 15px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.evidence-feature-copy h2 { max-width: 11em; font-size: 36px; line-height: 1.15; letter-spacing: -.25px; font-weight: 600; text-wrap: balance; overflow-wrap: anywhere; }
.evidence-feature-copy > p:not(.evidence-scene-label):not(.evidence-context) { margin-top: 18px; color: var(--muted); font-size: 19px; line-height: 1.55; }
.evidence-feature-copy > .button { margin-top: 25px; min-width: 160px; font-size: 17px; line-height: 20px; }
.evidence-paging { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding-top: 10px; border-top: 1px solid var(--line); }
.evidence-paging button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 0; border: 0; background: transparent; color: var(--ink); font-size: 14px; }
.evidence-paging button:hover { color: var(--link); }
.evidence-paging svg, .evidence-dialog-paging svg { width: 18px; height: 18px; flex: 0 0 18px; }
.evidence-context { margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.evidence-photo-strip { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 5px 4px 9px; margin: 16px -4px 24px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.evidence-thumb { display: flex; align-items: center; justify-content: center; flex: 0 0 82px; width: 82px; height: 64px; padding: 3px; border: 1px solid transparent; border-radius: 7px; background: var(--wash); }
.evidence-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 3px; }
.evidence-thumb:hover, .evidence-thumb[aria-current="true"], .evidence-thumb[aria-pressed="true"] { border-color: var(--accent); }
.evidence-story-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; margin-block: 26px 35px; padding-block: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.evidence-story-details h3 { font-size: 19px; line-height: 1.4; margin-bottom: 9px; }
.evidence-story-details p { color: var(--muted); font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
.evidence-story-details > h3, .evidence-story-details > p { grid-column: 1 / -1; }
.evidence-story-details > p { margin-top: -8px; }
.evidence-event-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, calc((100% - 48px) / 3)); gap: 24px; padding: 5px 4px 16px; margin: 28px -4px 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.evidence-event { display: flex; align-items: center; gap: 16px; padding: 8px 16px 8px 0; border: 0; border-right: 1px solid var(--line); background: transparent; text-align: left; scroll-snap-align: start; }
.evidence-event:last-child { border-right: 0; }
.evidence-event > img { flex: 0 0 92px; width: 92px; height: 70px; border-radius: 6px; object-fit: contain; background: var(--wash); }
.evidence-event > span { min-width: 0; font-size: 15px; line-height: 1.45; font-weight: 500; overflow-wrap: anywhere; }
.evidence-event:hover, .evidence-event[aria-current="true"] { color: var(--link); }
.evidence-event[aria-current="true"] > img { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 连接图只表达主题场景；节点位置由固定类定义，保持 CSP 下无内联样式。 */
.evidence-explanation { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.6; margin-bottom: 26px; }
.evidence-connections-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 42px; align-items: start; }
.evidence-map { position: relative; min-width: 0; height: 420px; background: var(--paper); }
.evidence-map-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.evidence-map-lines path, .evidence-map-lines line { fill: none; stroke: var(--line); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.evidence-map-lines .evidence-line-active { stroke: var(--accent); stroke-width: 2; }
.evidence-map-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 132px; height: 132px; padding: 19px; border-radius: 50%; background: var(--wash); color: var(--ink); text-align: center; font-size: 20px; line-height: 1.4; font-weight: 600; }
.evidence-node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 120px; max-width: 30%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); color: var(--muted); text-align: center; font-size: 14px; line-height: 1.4; font-weight: 400; transition: border-color .18s ease, color .18s ease, background-color .18s ease; }
.evidence-node:hover, .evidence-node[aria-pressed="true"], .evidence-node[aria-selected="true"] { color: var(--link); border-color: var(--accent); }
.evidence-node[aria-pressed="true"], .evidence-node[aria-selected="true"] { background: #f0f7ff; font-weight: 600; }
.evidence-node.scene-community { left: 18%; top: 73%; }
.evidence-node.scene-youth { left: 50%; top: 12%; }
.evidence-node.scene-outreach { left: 82%; top: 28%; }
.evidence-node.scene-network { left: 82%; top: 76%; }
.evidence-node.scene-online { left: 48%; top: 88%; }
.evidence-node.scene-materials { left: 14%; top: 25%; }
.evidence-connection-list { min-width: 0; padding-top: 25px; }
.evidence-connection-list h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.2px; }
.evidence-connection-list > p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.evidence-connection-list [data-evidence-scene-events] { margin-top: 22px; }
.evidence-scene-event { display: flex; align-items: center; gap: 14px; width: 100%; padding: 17px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; }
.evidence-scene-event:first-child { border-top: 1px solid var(--line); }
.evidence-scene-event > img { flex: 0 0 76px; width: 76px; height: 58px; border-radius: 5px; object-fit: contain; background: var(--wash); }
.evidence-scene-event > span { min-width: 0; font-size: 15px; line-height: 1.5; }
.evidence-scene-event:hover { color: var(--link); }
.evidence-continuing { margin-top: 56px; padding-block: 40px 16px; border-top: 1px solid var(--line); }
.evidence-continuing h2 { font-size: 32px; line-height: 1.125; letter-spacing: .128px; }
.evidence-continuing p { max-width: 680px; margin-top: 16px; color: var(--muted); font-size: 19px; line-height: 1.55; }
.evidence-continuing .button { margin-top: 22px; }

/* 首页和项目详情仅加真实照片入口，不改变主站既有的导航或模块基础样式。 */
.home-evidence .evidence-home-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 16px; width: min(980px, 100%); margin: 34px auto 0; }
.evidence-home-photos > img, .evidence-home-photos > a > img { display: block; width: 100%; height: 230px; object-fit: contain; border-radius: 12px; background: var(--paper); }
.evidence-home-photos > a { display: block; min-width: 0; }
.evidence-project-intro { margin-block: 42px; padding-top: 32px; border-top: 1px solid var(--line); }
.evidence-project-intro h2 { margin: 0 0 16px; font-size: 32px; line-height: 1.125; }
.evidence-project-intro > p { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.evidence-project-intro > .button { margin-top: 20px; color: var(--paper); }
.evidence-project-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 12px; margin-top: 25px; }
.evidence-project-photos > img, .evidence-project-photos > a > img { display: block; width: 100%; height: 155px; object-fit: contain; border-radius: 8px; background: var(--wash); }
.evidence-project-photos > a { display: block; min-width: 0; }

/* 独立的对话框类避免干扰主站原有照片灯箱。 */
.evidence-dialog { width: min(1160px, calc(100vw - 64px)); max-width: none; max-height: calc(100dvh - 64px); padding: 0; border: 0; border-radius: 18px; background: var(--paper); color: var(--ink); overflow: auto; }
.evidence-dialog::backdrop { background: rgb(0 0 0 / 72%); }
.evidence-dialog-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
.evidence-dialog-header h2 { min-width: 0; margin: 0; font-size: 19px; line-height: 1.4; }
.evidence-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 44px; min-height: 44px; padding: 9px 13px; border: 0; border-radius: 22px; background: var(--wash); color: var(--ink); font-size: 14px; line-height: 1.4; cursor: pointer; }
.evidence-close:hover { background: #e8e8ed; }
.evidence-close svg { width: 20px; height: 20px; }
.evidence-dialog-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); align-items: start; }
.evidence-dialog-media { position: sticky; top: 73px; min-width: 0; padding: 24px; background: var(--wash); }
.evidence-dialog-media > img { display: block; width: 100%; height: min(56dvh, 570px); max-height: 620px; object-fit: contain; }
.evidence-dialog-paging { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 15px; }
.evidence-dialog-paging button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.4; }
.evidence-dialog-paging button:hover { color: var(--link); border-color: var(--accent); }
.evidence-dialog-copy { min-width: 0; padding: 28px; }
.evidence-dialog-copy h3 { margin: 26px 0 10px; font-size: 19px; line-height: 1.35; }
.evidence-dialog-copy h3:first-child { margin-top: 0; }
.evidence-dialog-copy p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.evidence-dialog-copy h3 + p { margin-top: 0; }
.evidence-source-details { margin-top: 28px; padding-top: 15px; border-top: 1px solid var(--line); }
.evidence-source-details summary { min-height: 44px; display: list-item; padding-block: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; cursor: pointer; }
.evidence-source-details p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }

@media (max-width: 1000px) {
  .evidence-feature { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; }
  .evidence-feature-copy h2 { font-size: 32px; }
  .evidence-feature-copy > p:not(.evidence-scene-label):not(.evidence-context) { font-size: 17px; }
  .evidence-connections-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 26px; }
  .evidence-map-center { width: 110px; height: 110px; font-size: 18px; }
  .evidence-node { width: 105px; padding-inline: 8px; font-size: 13px; }
}

@media (max-width: 760px) {
  .evidence-page { padding-bottom: 44px; }
  .evidence-heading { padding-block: 42px 26px; }
  .evidence-heading h1 { font-size: 32px; line-height: 1.125; letter-spacing: .128px; }
  .evidence-heading .lede { margin-top: 16px; font-size: 19px; line-height: 1.42; }
  .evidence-tabs { gap: 26px; margin-bottom: 18px; }
  .evidence-tabs button { font-size: 15px; padding-bottom: 12px; }
  .evidence-scenes { flex-wrap: nowrap; gap: 20px; margin-bottom: 22px; padding-inline: 4px; margin-inline: -4px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .evidence-scenes button { flex: 0 0 auto; white-space: nowrap; font-size: 13px; }
  .evidence-feature { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .evidence-feature-photo { height: clamp(230px, 64vw, 420px); border-radius: 12px; }
  .evidence-feature-copy { padding-block: 0; }
  .evidence-scene-label { font-size: 13px; margin-bottom: 10px; }
  .evidence-feature-copy h2 { max-width: 100%; font-size: 28px; line-height: 1.18; letter-spacing: .1px; text-wrap: balance; }
  .evidence-feature-copy > p:not(.evidence-scene-label):not(.evidence-context) { margin-top: 12px; font-size: 17px; }
  .evidence-feature-copy > .button { margin-top: 18px; font-size: 14px; }
  .evidence-paging { margin-top: 18px; padding-top: 7px; }
  .evidence-context { margin-top: 8px; }
  .evidence-photo-strip { margin-top: 18px; margin-bottom: 20px; }
  .evidence-thumb { flex-basis: 76px; width: 76px; height: 60px; }
  .evidence-story-details { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-block: 24px; padding-block: 24px; }
  .evidence-story-details h3 { font-size: 18px; }
  .evidence-story-details p { font-size: 16px; }
  .evidence-event-rail { grid-auto-columns: minmax(225px, 83%); gap: 20px; margin-top: 20px; }
  .evidence-event { gap: 14px; }
  .evidence-event > img { flex-basis: 88px; width: 88px; height: 67px; }
  .evidence-event > span { font-size: 14px; }
  .evidence-explanation { font-size: 16px; margin-bottom: 16px; }
  .evidence-connections-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .evidence-map { height: 360px; }
  .evidence-map-center { width: 108px; height: 108px; font-size: 17px; padding: 15px; }
  .evidence-node { width: 108px; font-size: 13px; }
  .evidence-connection-list { padding-top: 0; }
  .evidence-connection-list h2 { font-size: 25px; }
  .evidence-connection-list [data-evidence-scene-events] { margin-top: 17px; }
  .evidence-continuing { margin-top: 38px; padding-top: 30px; }
  .evidence-continuing h2 { font-size: 28px; line-height: 1.18; }
  .evidence-continuing p { font-size: 17px; margin-top: 13px; }
  .home-evidence .evidence-home-photos { display: flex; align-items: center; gap: 13px; width: 100%; margin-top: 26px; padding: 4px 3px 13px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .evidence-home-photos > img, .evidence-home-photos > a { flex: 0 0 84%; width: 84%; min-width: 0; scroll-snap-align: center; }
  .evidence-home-photos > img, .evidence-home-photos > a > img { height: 235px; border-radius: 10px; }
  .evidence-home-photos > a > img { width: 100%; }
  .evidence-project-intro { margin-block: 30px; padding-top: 26px; }
  .evidence-project-intro h2 { font-size: 28px; }
  .evidence-project-photos { display: flex; gap: 12px; max-width: 100%; padding: 4px 3px 12px; margin-top: 20px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .evidence-project-photos > img, .evidence-project-photos > a { flex: 0 0 78%; width: 78%; min-width: 0; scroll-snap-align: start; }
  .evidence-project-photos > img, .evidence-project-photos > a > img { height: 200px; }
  .evidence-project-photos > a > img { width: 100%; }
  .evidence-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 12px; }
  .evidence-dialog-header { padding: 10px 14px; gap: 12px; }
  .evidence-dialog-header h2 { font-size: 16px; line-height: 1.4; }
  .evidence-dialog-layout { grid-template-columns: minmax(0, 1fr); }
  .evidence-dialog-media { position: static; padding: 12px; }
  .evidence-dialog-media > img { height: clamp(210px, 40dvh, 410px); }
  .evidence-dialog-paging { gap: 10px 18px; margin-top: 10px; }
  .evidence-dialog-copy { padding: 23px 20px 28px; }
  .evidence-dialog-copy h3 { font-size: 18px; }
  .evidence-dialog-copy p { font-size: 16px; }
}

@media (max-width: 420px) {
  .evidence-map { height: 330px; }
  .evidence-map-center { width: 92px; height: 92px; font-size: 16px; }
  .evidence-node { padding-inline: 5px; font-size: 12px; }
  .evidence-feature-photo { min-height: 210px; height: 68vw; }
  .evidence-dialog-header h2 { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .evidence-page *, .evidence-page *::before, .evidence-page *::after, .evidence-dialog *, .evidence-home-photos *, .evidence-project-photos * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .evidence-tabs, .evidence-scenes, .evidence-paging, .evidence-photo-strip, .evidence-event-rail, .evidence-dialog { display: none !important; }
  .evidence-heading { padding-block: 24px; }
  .evidence-heading h1 { font-size: 32px; }
  .evidence-feature { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
  .evidence-feature-photo { height: 250px; }
  .evidence-feature-copy h2 { font-size: 24px; }
  .evidence-continuing { margin-top: 24px; }
}
