/* 独立现场模块：沿用项目主题变量，不改变周边布局。 */
.echo-explore { min-width: 0; color: var(--ink); }
.echo-explore *, .echo-explore *::before, .echo-explore *::after { box-sizing: border-box; }
.echo-explore button, .echo-explore input { font: inherit; }
.echo-explore button:focus-visible, .echo-explore input:focus-visible, .echo-explore [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.ex-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 12px; }
.ex-header h3 { margin: 4px 0 0; font-size: 23px; }
.ex-mode-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--paper2); border: 1px solid var(--line); border-radius: 9px; }
.ex-mode-tabs button { padding: 9px 11px; font-size: 12px; border-radius: 5px; min-height: 38px; }
.ex-mode-tabs button.on { background: var(--ink); color: var(--paper); }
.ex-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 10px 0 14px; border-top: 1px solid var(--line); font-size: 12px; }
.ex-breadcrumb button { padding: 5px 6px; text-align: left; border-radius: 4px; min-height: 30px; }
.ex-breadcrumb button:hover { background: var(--paper2); }
.ex-breadcrumb [aria-current] { font-weight: bold; background: var(--paper2); }
.ex-scene { position: relative; overflow: hidden; width: 100%; border-radius: 9px; background: #18322f; isolation: isolate; }
.ex-image { display: block; width: 100%; height: auto; min-height: 1px; }
.ex-vignette { position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(9,20,18,.67)); pointer-events: none; }
.ex-scene-label { position: absolute; bottom: 14px; left: 16px; right: 12px; color: #fff7de; font-size: 11px; pointer-events: none; text-shadow: 0 1px 4px #000; }
.ex-object { position: absolute; left: var(--x); top: var(--y); display: flex; flex-direction: column; align-items: center; gap: 4px; transform: translate(-50%, -50%); color: #fff9e9; max-width: 36%; z-index: 1; text-shadow: 0 1px 3px #071612; }
.ex-object > span:last-child { font-size: 10px; white-space: normal; padding: 4px 5px; border-radius: 4px; background: rgba(17,38,32,.85); line-height: 1.3; }
.ex-object-dot { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255,244,202,.8); border-radius: 50%; background: #254c42; color: #ffdd89; font: 12px var(--mono); box-shadow: 0 2px 10px #0006; transition: transform .15s; }
.ex-object:hover .ex-object-dot { transform: scale(1.12); background: #456b57; }
.ex-object.taken { opacity: .6; }
.ex-object.mine .ex-object-dot { background: #e0b768; color: #1d392e; }
.ex-object-list { display: grid; gap: 0; padding: 8px 0; }
.ex-object-list button { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 4px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; min-height: 43px; }
.ex-object-list button span { font-size: 11px; color: var(--ink-soft); flex-shrink: 0; }
.ex-closeup > .ex-image { transform: scale(var(--ex-image-scale, 1)); transform-origin: var(--ex-image-x, 50%) var(--ex-image-y, 50%); }
.ex-closeup-caption { position: absolute; bottom: 18px; left: 18px; right: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: #fff6e3; }
.ex-closeup-caption small { font-size: 11px; text-shadow: 0 1px 3px #000; }
.ex-closeup-caption b { font: bold 23px var(--serif); text-shadow: 0 2px 4px #000; }
.ex-closeup-caption .btn { padding: 10px 14px; font-size: 12px; }
.ex-help { color: var(--ink-soft); font-size: 12px; line-height: 1.8; margin: 10px 0; overflow-wrap: anywhere; }
.ex-help b { color: var(--ink); }
.ex-puzzle-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 2px 0 12px; }
.ex-puzzle-heading small { color: var(--ink-soft); font-size: 11px; }
.ex-puzzle-heading h3 { font-size: 20px; margin-top: 4px; }
.ex-tag { font-size: 10px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 4px; white-space: nowrap; }
.ex-status { font-size: 11px; line-height: 1.8; min-height: 24px; padding-top: 12px; margin-top: 12px; border-top: 1px dashed var(--line); color: var(--ink-soft); overflow-wrap: anywhere; }
.ex-collect { display: flex; justify-content: flex-start; align-items: center; min-height: 50px; margin-top: 12px; }
.ex-collect .btn { white-space: normal; max-width: 100%; font-size: 12px; min-height: 42px; }
.ex-state { font-size: 12px; line-height: 1.8; color: var(--ink-soft); }
.ex-detail { position: absolute; display: grid; place-items: center; width: 36px; height: 36px; transform: translate(-50%, -50%); border-radius: 50%; background: #f4e0a7; color: #17382c; border: 2px solid #17382c; box-shadow: 0 1px 8px #0008; font-size: 20px; }
.ex-detail.found { background: #3a6a51; color: #fff3c3; }
.ex-lens { touch-action: none; cursor: crosshair; --lx: 50%; --ly: 50%; }
.ex-lens.is-flash > .ex-image { filter: saturate(.65); }
.ex-darkness { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle 70px at var(--lx) var(--ly), transparent 0%, rgba(1,6,5,.1) 62%, rgba(1,6,5,.94) 100%); }
.ex-lens-ring { position: absolute; left: var(--lx); top: var(--ly); width: 140px; height: 140px; border: 1px solid #ffeba65c; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.ex-uv-image { position: absolute; inset: 0; clip-path: circle(70px at var(--lx) var(--ly)); filter: hue-rotate(25deg) saturate(1.5); }
.ex-uv-image .ex-image { height: 100%; object-fit: fill; }
.is-uv > .ex-image { filter: saturate(.4) brightness(.45); }
.is-uv .ex-darkness { background: radial-gradient(circle 70px at var(--lx) var(--ly), rgba(130,85,255,.1) 0%, rgba(12,8,35,.18) 62%, rgba(12,8,35,.4) 100%); }
.is-uv .ex-lens-ring { border-color: #b5a1ff9c; box-shadow: 0 0 25px #aa83ff52; }
.ex-scan-target { position: absolute; transform: translate(-50%, -50%); width: 18px; height: 18px; display: grid; place-items: center; font-size: 17px; color: #fff0c1; pointer-events: none; text-shadow: 0 0 8px #e5c064; opacity: .3; }
.is-uv .ex-scan-target { display: none; }
.ex-scan-target.found { opacity: 1; color: #a9efb6; background: #143a2c; border-radius: 50%; }
.ex-scan-controls { display: flex; gap: 6px; flex-wrap: wrap; }
.ex-scan-controls button, .ex-time-checks button { min-height: 38px; padding: 8px 10px; background: var(--paper2); border: 1px solid var(--line); border-radius: 5px; font-size: 11px; }
.ex-jigsaw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 8px; background: #20392d; border-radius: 8px; }
.ex-piece { aspect-ratio: 1; position: relative; background-size: 300% 200%; background-repeat: no-repeat; border-radius: 3px; border: 2px solid transparent; cursor: grab; box-shadow: 0 2px 3px #0005; }
.ex-piece.selected { border-color: #ffdf82; box-shadow: 0 0 0 3px #ddaf55; }
.ex-piece span { position: absolute; bottom: 3px; right: 3px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #162f27c9; color: #ffedbb; font-size: 10px; pointer-events: none; }
.ex-link { font-size: 11px; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; min-height: 35px; }
.ex-lock-panel { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ex-lock-art { max-height: 180px; overflow: hidden; }
.ex-lock-art .ex-image { margin-top: -12%; }
.ex-lock-body { padding: 15px; }
.ex-lock-body > p { font-size: 11px; color: var(--ink-soft); line-height: 1.8; margin: 0 0 12px; }
.ex-lock-hint { display: flex; flex-direction: column; gap: 6px; padding: 12px; background: var(--paper2); border: 1px dashed var(--line); border-radius: 6px; font-size: 11px; line-height: 1.7; }
.ex-lock-hint strong { display: block; font: 24px var(--mono); letter-spacing: 5px; }
.ex-lock-body form { margin-top: 14px; }
.ex-lock-body label { display: block; font-size: 11px; margin-bottom: 7px; }
.ex-lock-input-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ex-lock-input-row input { width: 125px; max-width: 100%; min-width: 0; padding: 10px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; font: 22px var(--mono); letter-spacing: 5px; }
.ex-lock-input-row .btn { font-size: 12px; min-height: 43px; }
.ex-time-controls { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 10px; }
.ex-time-controls button { padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; font: 12px var(--mono); }
.ex-time-controls button.on { background: var(--ink); color: var(--paper); }
.ex-time-controls > span { font-size: 10px; color: var(--ink-soft); text-align: center; }
.ex-time-scene { cursor: crosshair; }
.ex-time-after { position: absolute; inset: 0; pointer-events: none; }
.ex-time-after .ex-image { height: 100%; object-fit: fill; }
.ex-time-split { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff3cf; pointer-events: none; box-shadow: 0 0 6px #0006; }
.ex-time-split span { position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; display: grid; place-items: center; background: #fff2d1; color: #213c31; border-radius: 50%; }
.ex-era-tag { position: absolute; top: 9px; padding: 5px 7px; border-radius: 4px; color: #fff5d9; background: #19352dcc; font: 10px var(--mono); pointer-events: none; }
.ex-era-tag.first { left: 9px; }
.ex-era-tag.last { right: 9px; }
.ex-time-found { position: absolute; border: 2px solid #f4d98d; border-radius: 3px; box-shadow: 0 0 0 1px #283f2b; pointer-events: none; }
.ex-time-found b { position: absolute; left: 0; top: 0; font-size: 10px; padding: 2px 4px; background: #f4d98d; color: #20362b; }
.ex-scrub-label { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; font-size: 10px; color: var(--ink-soft); }
.ex-scrub-label input { width: 100%; min-width: 0; accent-color: var(--accent); height: 28px; margin: 0; cursor: ew-resize; }
.ex-time-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.ex-time-checks button.found { background: var(--ink); color: var(--paper); }
@media (max-width: 600px) {
  .ex-header { gap: 9px; }
  .ex-header h3 { font-size: 20px; }
  .ex-mode-tabs { width: 100%; }
  .ex-mode-tabs button { flex: 1; }
  .ex-breadcrumb { font-size: 10px; gap: 2px; padding-bottom: 10px; }
  .ex-breadcrumb button { padding: 5px 3px; }
  .ex-object > span:last-child { font-size: 9px; }
  .ex-object-dot { width: 24px; height: 24px; }
  .ex-scene-label { left: 10px; bottom: 10px; font-size: 10px; }
  .ex-closeup-caption { left: 12px; right: 12px; bottom: 12px; gap: 5px; }
  .ex-closeup-caption b { font-size: 19px; }
  .ex-closeup-caption .btn { font-size: 11px; padding: 8px 10px; }
  .ex-help { font-size: 11px; }
  .ex-puzzle-heading h3 { font-size: 18px; }
  .ex-lock-body { padding: 11px; }
  .ex-scan-controls button { flex: 1; padding: 8px 5px; font-size: 10px; }
  .ex-lens-ring { width: 110px; height: 110px; }
  .ex-darkness { background: radial-gradient(circle 55px at var(--lx) var(--ly), transparent, rgba(1,6,5,.1) 62%, rgba(1,6,5,.94)); }
  .ex-uv-image { clip-path: circle(55px at var(--lx) var(--ly)); }
  .ex-jigsaw { gap: 4px; padding: 6px; }
}
@media (prefers-reduced-motion: reduce) { .echo-explore * { transition: none !important; animation: none !important; } }
.ex-inspect { cursor: crosshair; touch-action: none; }
.ex-magnify { position: absolute; left: clamp(75px, var(--mx), calc(100% - 75px)); top: clamp(75px, var(--my), calc(100% - 75px)); width: 150px; height: 150px; border: 4px solid #e7ca7c; border-radius: 50%; transform: translate(-50%, -50%); background-size: 200% 200%; background-repeat: no-repeat; box-shadow: 0 3px 15px #0007; pointer-events: none; }
.ex-magnify-caption { position: absolute; bottom: 10px; left: 10px; padding: 5px 8px; background: #213d32d9; color: #fff1c9; font-size: 10px; pointer-events: none; }
.ex-observe-question { border: 1px solid var(--line); border-radius: 6px; padding: 12px; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.ex-observe-question legend { padding: 0 5px; font-size: 12px; line-height: 1.7; }
.ex-observe-question button { min-height: 40px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; background: var(--paper2); }
.ex-observe-question button.correct { background: var(--ink); color: var(--paper); opacity: 1; }
.ex-uv-script { position: absolute; inset: 0; clip-path: circle(70px at var(--lx) var(--ly)); pointer-events: none; }
.ex-uv-script span { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; font: italic bold 19px var(--serif); color: #e9d5ff; text-shadow: 0 0 4px #b288f9, 0 0 10px #a271ff; letter-spacing: 3px; }
.ex-time-found.pending { border-style: dashed; border-color: #e7f5ff; }
.ex-time-found.pending b { background: #e7f5ff; }
@media (max-width:600px) { .ex-uv-script { clip-path: circle(55px at var(--lx) var(--ly)); } .ex-uv-script span { font-size: 15px; letter-spacing: 2px; } }
/* 主线弹窗、漫画与城市入口沿用原纸面 UI。 */
.case-scene .modal > .lead { padding-right: 22px; }
.case-scene .ex-header { padding-right: 20px; }
.city-entry > img { display: block; width: 100%; border-radius: 9px; margin-bottom: 12px; }
.city-entry .btn { white-space: normal; max-width: 100%; }
.illustrated-story { margin: 16px 0; border-top: 1px solid var(--line); padding-top: 12px; }
.illustrated-story summary { cursor: pointer; font-size: 13px; line-height: 1.7; }
.illustration-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.illustration-grid figure, .modal figure { margin: 0 0 14px; min-width: 0; }
.illustration-grid img, .modal figure > img { display: block; width: 100%; height: auto; border-radius: 8px; }
.illustration-grid figcaption, .modal figcaption { font-size: 11px; color: var(--ink-soft); padding: 7px 0; }
.city-daily-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.city-daily-tabs .on { background: var(--ink); color: var(--paper); }
@media(max-width:600px) {
  .illustration-grid { grid-template-columns: minmax(0,1fr); }
  .case-scene .ex-header { padding-right: 0; }
  .case-scene .ex-closeup-caption b { font-size: 18px; }
}
