/* Interactive illustrations use the manuscript's own vector artwork. */
.world-observer { margin: 40px 0 0; border-top: 1px solid #cbd6de; border-bottom: 1px solid var(--line); padding: 23px 0 25px; }
.observer-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.observer-heading h3 { font: bold 23px/1.3 var(--serif); letter-spacing: -.02em; }
.observer-heading > span { font: italic 17px var(--serif); color: #67808c; }
.observer-fallback { width: 100%; max-height: 390px; object-fit: contain; }
.observer-stages { display: grid; grid-template-columns: minmax(0, 1.45fr) 62px minmax(0, 1fr); align-items: center; }
.observer-stage-label { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.observer-stage-label small { font: 13px var(--serif); color: #8595a0; margin-right: 9px; }
.observer-stage-label em { font: italic 21px var(--serif); color: #4d6e80; }
.observer-world-stage { align-self: stretch; display: flex; flex-direction: column; }
.observer-world { flex: 1; display: grid; align-items: center; min-width: 0; }
.observer-world > svg { display: block; width: 100%; height: auto; }
.observer-world [data-camera] { opacity: .4; transition: opacity .2s; }
.observer-world [data-camera][data-active="true"] { opacity: 1; filter: drop-shadow(0 0 4px #7cb4cc55); }
.observer-transfer { text-align: center; align-self: center; position: relative; color: #5f7a89; }
.observer-transfer span { font-size: 10px; letter-spacing: .035em; }
.observer-transfer i { display: block; height: 1px; margin-top: 6px; background: #bacfd8; position: relative; }
.observer-transfer i::after { content: ""; position: absolute; left: 0; top: -2px; width: 5px; height: 5px; background: #06b0f0; border-radius: 50%; }
.observer-transfer b { position: absolute; right: -2px; bottom: -12px; font-size: 18px; font-weight: 400; }
[data-playing="true"] .observer-transfer i::after { animation: observer-transfer 1.8s linear infinite; }
@keyframes observer-transfer { to { transform: translateX(58px); } }
.observer-video-stage { min-width: 0; }
.observer-view-buttons { display: flex; gap: 0; margin: 18px 0 10px; border-bottom: 1px solid var(--line); }
.observer-view-buttons button { min-height: 40px; padding: 5px 9px; border: 0; border-bottom: 2px solid transparent; background: none; color: #647887; font-size: 12px; white-space: nowrap; flex: 1; }
.observer-view-buttons button[aria-pressed="true"] { color: #243f54; border-bottom-color: #427e99; font-weight: 600; }
.observer-video { position: relative; background: #f3f7f7; border: 1px solid #cbd7db; border-radius: 3px; overflow: hidden; }
.observer-feed { aspect-ratio: 1.65; display: grid; align-items: center; }
.observer-feed svg { width: 100%; height: 100%; display: block; }
.observer-view-name, .observer-timestamp { position: absolute; z-index: 1; top: 8px; color: #5a7180; font-size: 10px; font-variant-numeric: tabular-nums; }
.observer-view-name { left: 10px; }
.observer-timestamp { right: 10px; }
.observer-visibility { position: absolute; left: 10px; bottom: 8px; color: #486378; font-size: 10px; padding: 2px 7px; background: #ffffffeb; border-radius: 2px; }
.observer-visibility::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; background: #35a47c; }
.observer-video[data-observation="hidden"] .observer-visibility::before { background: #a3adb3; }
.observer-filmstrip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-top: 8px; }
.observer-filmstrip button { min-width: 0; padding: 0; background: #f5f8f7; border: 1px solid #d3dedf; border-radius: 2px; overflow: hidden; color: #728390; }
.observer-filmstrip button:hover { border-color: #427e99; }
.observer-filmstrip svg { display: block; width: 100%; aspect-ratio: 1.6; }
.observer-filmstrip button > span { display: block; padding: 3px; font-size: 10px; border-top: 1px solid #e1e7e8; line-height: 1.3; font-variant-numeric: tabular-nums; }
.observer-filmstrip button:disabled { opacity: .3; }
.observer-controls { display: flex; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 25px; }
.observer-controls button { min-height: 42px; border: 1px solid #c8d3db; background: #fff; color: #314d63; border-radius: 4px; padding: 7px 12px; font-size: 12px; white-space: nowrap; }
.observer-controls button:hover { background: #f3f7fa; }
.observer-controls .observer-play { min-width: 87px; background: #243f54; color: #fff; border-color: #243f54; }
.observer-play > span:first-child { margin-right: 4px; font-size: 11px; }
.observer-controls .observer-play:hover { background: #335a75; }
.observer-reverse[aria-pressed="true"] { border-color: #b775ce; background: #fcf6ff; }
.observer-reverse > span { font-size: 18px; vertical-align: -1px; margin-right: 3px; }
.observer-scrubber { flex: 1; display: flex; align-items: center; gap: 15px; min-width: 0; }
.observer-scrubber input { flex: 1; min-width: 0; width: 100%; height: 32px; cursor: pointer; accent-color: #4c7e97; }
.observer-duration { font-size: 11px; color: #6a7d8b; white-space: nowrap; min-width: 75px; text-align: right; font-variant-numeric: tabular-nums; }
.observer-message { margin-top: 12px; min-height: 1.65em; font-size: 12px; color: #657988; }
.world-observer figcaption { font-size: 12px; text-align: left; max-width: none; margin-top: 13px; color: #677c88; }
.world-observer figcaption > span { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.timeline-reader { border: 1px solid #d4dfe5; border-radius: 5px; overflow: hidden; background: #f5f7f8; }
.timeline-reader iframe { display: block; width: 100%; height: min(940px, calc(100svh - 110px)); min-height: 500px; border: 0; }
.timeline-print { display: none; }
.timeline-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: 12px; color: #607686; }
.timeline-links a { white-space: nowrap; }
@media (max-width: 850px) {
  .observer-stages { grid-template-columns: minmax(0, 1.2fr) 36px minmax(0, 1fr); }
  .observer-transfer span { display: none; }
  .observer-transfer i::after { animation: none; }
  .observer-controls { gap: 12px; }
  .observer-scrubber { gap: 8px; }
  .observer-view-buttons button { padding-inline: 5px; font-size: 11px; }
}
@media (max-width: 650px) {
  .observer-heading { margin-bottom: 22px; }
  .observer-heading h3 { font-size: 22px; }
  .observer-heading > span { font-size: 14px; }
  .observer-stages { display: block; }
  .observer-world > svg { max-height: 290px; }
  .observer-transfer { display: none; }
  .observer-video-stage { border-top: 1px solid #e0e7eb; padding-top: 18px; }
  .observer-view-buttons { margin-top: 10px; }
  .observer-view-buttons button { font-size: 12px; }
  .observer-feed { aspect-ratio: 1.8; }
  .observer-controls { flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-top: 15px; }
  .observer-scrubber { order: 3; flex-basis: 100%; }
  .observer-controls .observer-reverse { margin-left: auto; }
  .observer-message { font-size: 11px; }
  .timeline-links { justify-content: flex-start; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .observer-world [data-camera] { transition: none; }
  [data-playing="true"] .observer-transfer i::after { animation: none; }
}
@media print {
  .observer-controls, .observer-message, .observer-view-buttons, .observer-filmstrip, .timeline-reader, .timeline-links { display: none; }
  .observer-heading { margin-bottom: 10px; }
  .world-observer { break-inside: avoid; }
  .timeline-print { display: block; width: 100%; }
}
