/* All changes in these scenes come from the historical clock in JavaScript.
   There are deliberately no keyframes, transitions, or autonomous animations. */
.hma-scenes { --hma-gold:#efbf74; --hma-copper:#dca675; --hma-ink:#102330; --hma-paper:#e9d9b2; --hma-war:#cc9f9a; --hma-context:#8cbab0; pointer-events:none; }
.hma-scenes .hma-selectable { pointer-events:all; cursor:pointer; outline:none; }
.hma-scenes .hma-selectable:focus-visible { filter:drop-shadow(0 0 3px #fff3cc); }
.hma-scenes .hma-label,.hma-scenes .hma-caption { fill:#f1e5ce; paint-order:stroke fill; stroke:#0a1c29; stroke-width:3.5px; stroke-linejoin:round; font-family:Inter,ui-sans-serif,system-ui,sans-serif; font-size:11px; font-weight:600; letter-spacing:.1px; pointer-events:none; }
.hma-scenes .hma-caption { fill:#b2c0c6; font-size:8.5px; font-weight:400; letter-spacing:.15px; stroke-width:3px; }
.hma-scenes .hma-text-compact { display:none; }
.hma-scenes.hma-compact .hma-text-full { display:none; }
.hma-scenes.hma-compact .hma-text-compact { display:inline; }
.hma-scenes.hma-compact .hma-label { font-size:10.5px; }
.hma-scenes.hma-compact .hma-caption { font-size:9px; }
.hma-scenes.hma-compact:not(.hma-detail) .hma-caption { display:none; }
.hma-scenes.hma-compact:not(.hma-detail) .is-selected .hma-caption,
.hma-scenes.hma-compact:not(.hma-detail) .hma-selectable:focus-visible .hma-caption { display:inline; }
.hma-scenes .hma-leader { fill:none; stroke:#a5b0b2; stroke-width:.65; stroke-dasharray:2 3; opacity:.55; pointer-events:none; vector-effect:non-scaling-stroke; }
.hma-scenes .hma-anchor { fill:#d9c59f; stroke:#102431; stroke-width:1.5; }
.hma-scenes .hma-ground { fill:#010c16; opacity:.5; }
.hma-scenes .hma-blueprint { fill:none; stroke:#c5b797; stroke-width:1; stroke-dasharray:2 4; opacity:.24; }
.hma-scenes .hma-base { fill:none; stroke:#d4b27c; stroke-width:1.2; }
.hma-scenes .hma-stone { fill:#c99c61; stroke:#eac18a; stroke-width:1; }
.hma-scenes .hma-stone-shade { fill:#987346; opacity:.65; }
.hma-scenes .hma-block-joint { fill:none; stroke:#785d3d; stroke-width:.65; opacity:.7; }
.hma-scenes .hma-loose-block { fill:#f4d5a1; stroke:#dfb87d; stroke-width:.5; }
.hma-scenes .is-persistent { opacity:.34; }
.hma-scenes .is-persistent.is-selected,.hma-scenes .is-persistent:hover,.hma-scenes .is-persistent:focus-visible { opacity:.9; }
.hma-scenes .hma-wall-guide { fill:none; stroke:#b49872; stroke-width:2; opacity:.35; }
.hma-scenes .hma-wall-stone { fill:#b9966d; stroke:#d5b083; stroke-width:.7; }
.hma-scenes .hma-wall-joint { fill:none; stroke:#6c6659; stroke-width:.65; }
.hma-scenes .hma-wall-tower { fill:#d0ae7e; stroke:#e7c494; stroke-width:.6; }
.hma-scenes .hma-wall-window { fill:#263842; stroke:#263842; stroke-width:1.2; }
.hma-scenes .hma-route-future { fill:none; stroke:#bfc2b9; stroke-width:1.2; stroke-dasharray:3 6; opacity:.36; pointer-events:none; vector-effect:non-scaling-stroke; }
.hma-scenes .hma-route-past { fill:none; stroke:var(--hma-gold); stroke-width:2.1; stroke-linecap:round; opacity:.9; pointer-events:none; vector-effect:non-scaling-stroke; }
.hma-scenes .hma-uncertainty { fill:none; stroke:var(--hma-gold); stroke-width:.65; stroke-dasharray:2 3; opacity:.6; }
.hma-scenes .hma-waypoint { fill:#152c3b; stroke:#cbb78e; stroke-width:1; }
.hma-scenes .hma-waypoint.is-reached { fill:#eac18a; }
.hma-scenes .hma-waypoint-group .hma-label { font-size:9px; }
.hma-scenes .hma-ship-shadow { fill:#000b13; opacity:.55; }
.hma-scenes .hma-ship-hull { fill:#bd844e; stroke:#f1c483; stroke-width:1; }
.hma-scenes .hma-ship-rigging { fill:none; stroke:#edc994; stroke-width:1.3; }
.hma-scenes .hma-ship-sail { fill:#f8edcd; stroke:#b79e77; stroke-width:.6; }
.hma-scenes .hma-ship-flag { fill:#bc6d52; }
.hma-scenes .hma-ship .hma-label { fill:#f7dab0; font-size:11.5px; }
.hma-scenes .hma-context-dot { fill:var(--hma-context); stroke:#10303a; stroke-width:1.5; }
.hma-scenes .hma-context-line { fill:none; stroke:var(--hma-context); stroke-width:.8; opacity:.65; }
.hma-scenes .hma-context .hma-label { fill:#a9cbc1; font-size:10px; }
.hma-scenes .hma-context .hma-caption { fill:#91a9ab; font-size:8px; }
.hma-scenes .hma-conflict-rule,.hma-scenes .hma-milestone-rule { fill:none; stroke:var(--hma-war); stroke-width:.75; opacity:.55; }
.hma-scenes .hma-conflict-halo { fill:#9e686a; fill-opacity:.065; stroke:#bc8f8d; stroke-opacity:.25; stroke-width:.7; }
.hma-scenes .hma-milestone-mark { fill:#c99a91; stroke:#e0bbb0; stroke-width:.9; }
.hma-scenes .hma-milestone-mark.is-future { fill:#132935; stroke:#8e9292; }
.hma-scenes .hma-conflict.is-future { opacity:.4; }
.hma-scenes .hma-conflict .hma-label { fill:#ddbab0; }
.hma-scenes .hma-mongol-heading .hma-label { font-size:10px; }
.hma-scenes .hma-mongol-heading .hma-caption { font-size:8px; }
.hma-scenes .hma-clock-track { fill:none; stroke:#775a61; stroke-width:.65; opacity:.6; }
.hma-scenes .hma-clock-progress { fill:none; stroke:#cf9c92; stroke-width:1.6; stroke-linecap:round; }
.hma-scenes .hma-conflict-mark { fill:none; stroke:#d7aaa1; stroke-width:.8; stroke-linecap:round; }
.hma-scenes .hma-peace-document { fill:#172a34; stroke:#d9bcb0; stroke-width:.85; stroke-linejoin:round; }
.hma-scenes .hma-milestone-dot { fill:#d8afa3; stroke:#253341; stroke-width:1.5; }
.hma-scenes .hma-factory-building { fill:#617a7c; stroke:#bdd0c5; stroke-width:.9; }
.hma-scenes .hma-factory-chimney { fill:#78908c; stroke:#bdd0c5; stroke-width:.8; }
.hma-scenes .hma-factory-window { fill:#d9b877; opacity:.8; }
.hma-scenes .hma-factory-steam { fill:none; stroke:#9eb5b4; stroke-width:1.1; opacity:.5; }
.hma-scenes .hma-industry-gear { fill:#1b3039; stroke:#e0b578; stroke-width:1.2; }
.hma-scenes .hma-industry-gear path { fill:none; stroke-width:2.1; }
.hma-scenes .hma-industry-progress { fill:none; stroke:#e4be83; stroke-width:1.4; }
.hma-scenes .hma-document-paper { fill:var(--hma-paper); stroke:#d3b679; stroke-width:.9; }
.hma-scenes .hma-document-fold { fill:none; stroke:#af9364; stroke-width:.65; }
.hma-scenes .hma-document-text { fill:none; stroke:#7a7765; stroke-width:.7; opacity:.75; }
.hma-scenes .hma-signature { fill:none; stroke:#354b51; stroke-width:1.1; stroke-linecap:round; }
.hma-scenes .hma-quill { fill:#f6f1da; stroke:#6c8a87; stroke-width:.75; }
.hma-scenes .hma-tower { fill:#a77c59; stroke:#d4af79; stroke-width:.65; }
.hma-scenes .hma-tower-lattice { fill:none; stroke:#eed1a1; stroke-width:.65; opacity:.85; }
.hma-scenes .hma-tower-floor { fill:none; stroke:#e0bb86; stroke-width:2.5; }
.hma-scenes .hma-scaffold { fill:none; stroke:#8ba3a6; stroke-width:.55; stroke-dasharray:2 2; opacity:.5; }
.hma-scenes .hma-reduced-motion,.hma-scenes.hma-reduced-motion * { animation:none !important; transition:none !important; }
@media (prefers-reduced-motion:reduce) { .hma-scenes,.hma-scenes * { animation:none !important; transition:none !important; } }

/* Paused means still: nothing on the map keeps moving once the shared clock stops. */
body:not(.playing) #worldMap *,body:not(.playing) #worldMap *::before,body:not(.playing) #worldMap *::after{animation-play-state:paused !important;transition:none !important;}
