/* Field exploration: a readable surveillance feed, spatial signals and a persistent investigation dossier. */
.view-explore { --ex-scene-h: clamp(430px, 44vw, 610px); }
.ex-header { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.ex-header h1 { font: 700 clamp(32px, 4vw, 46px)/1 var(--font-display); text-transform: uppercase; }
.ex-campaign-title { margin: 8px 0 0; color: var(--t2); font-size: 15px; }
.ex-progress { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 20px; min-width: 210px; }
.ex-progress .osd { max-width: 135px; line-height: 1.5; color: var(--t3); }
.ex-progress-value { font: 600 30px/1 var(--font-display); white-space: nowrap; }
.ex-progress progress { width: 100%; height: 3px; grid-column: 1/-1; border: 0; background: var(--line-2); accent-color: var(--hot); }
.ex-progress progress::-webkit-progress-bar { background: var(--line-2); }
.ex-progress progress::-webkit-progress-value { background: var(--hot); }
.ex-progress progress::-moz-progress-bar { background: var(--hot); }
.ex-travel { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 16px 20px; border: 1px solid var(--line-2); background: var(--s1); margin-bottom: 14px; }
.ex-location { display: grid; gap: 6px; min-width: 180px; }
.ex-location label { color: var(--t3); }
.ex-location select, .ex-archive select { width: 100%; min-height: 40px; color: var(--t1); background: var(--s3); border: 1px solid var(--line-2); padding: 7px 32px 7px 10px; }
.ex-travel-state { display: grid; gap: 3px; }
.ex-presence { font-weight: 600; }
.ex-presence.here { color: var(--hot); }
.ex-presence.here::before { content: ''; width: 6px; height: 6px; display: inline-block; margin-right: 8px; background: currentColor; vertical-align: middle; }
.ex-travel-state small { color: var(--t3); font-size: 12px; }
.ex-travel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.ex-travel-shortfall { flex-basis: 100%; margin: 0; color: var(--t2); font-size: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ex-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(295px, 340px); gap: 16px; align-items: start; }
.ex-field, .ex-slot { min-width: 0; }
.ex-scene { position: relative; height: var(--ex-scene-h); overflow: hidden; isolation: isolate; border: 1px solid var(--line-2); background: var(--s1); }
.ex-scene-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; user-select: none; }
.ex-scene-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(3 7 13 / .82), transparent 37%, rgb(3 7 13 / .08) 66%, rgb(3 7 13 / .88)); pointer-events: none; }
.ex-scene-top, .ex-scene-bottom { position: absolute; left: 20px; right: 20px; display: flex; justify-content: space-between; gap: 20px; pointer-events: none; color: #e9f0f3; }
.ex-scene-top { top: 18px; }
.ex-scene-top .osd, .ex-scene-bottom .osd { font-size: 9px; line-height: 1.5; }
.ex-scene-status { text-align: right; }
.ex-scene-status::before { content: ''; display: inline-block; vertical-align: middle; width: 5px; height: 5px; background: var(--intel); margin-right: 7px; }
.ex-scene-bottom { bottom: 16px; align-items: end; }
.ex-scene-bottom span:first-child { max-width: 260px; }
.ex-scene-bottom span:last-child { text-align: right; }
.ex-scene-title { position: absolute; top: 56px; left: 24px; right: 24px; pointer-events: none; color: #f3f5f6; }
.ex-scene-title h2 { font: 600 clamp(30px, 3.5vw, 51px)/1 var(--font-display); text-transform: uppercase; margin-bottom: 10px; }
.ex-scene-title p { max-width: 445px; color: #d9e0e6; font-size: 12px; line-height: 1.6; }
.ex-hotspots { position: absolute; inset: 0; }
.ex-hotspot { --ex-signal: #e9f0f3; position: absolute; left: var(--ex-x); top: var(--ex-y); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; min-width: 110px; max-width: 160px; padding: 8px; border: 0; background: none; color: var(--ex-signal); text-align: center; }
.ex-hotspot-reticle { display: grid; place-items: center; position: relative; width: 48px; height: 48px; background: rgb(4 10 17 / .82); border: 1px solid rgb(235 242 250 / .56); transition: transform 180ms var(--ease-out), border-color 180ms, background 180ms; }
.ex-hotspot-reticle::before, .ex-hotspot-reticle::after { content: ''; position: absolute; inset: -5px; border: 1px solid transparent; pointer-events: none; transition: inset 180ms, border-color 180ms; }
.ex-hotspot-reticle .ico { width: 21px; height: 21px; }
.ex-hotspot-caption { display: grid; gap: 3px; padding: 6px 9px; background: rgb(4 10 17 / .88); border-left: 1px solid rgb(235 242 250 / .3); }
.ex-hotspot-caption b { font: 600 14px/1.15 var(--font-display); }
.ex-hotspot-caption small { font: 500 9px/1.4 var(--font-mono); color: #d1dde3; }
.ex-hotspot:hover .ex-hotspot-reticle, .ex-hotspot:focus-visible .ex-hotspot-reticle, .ex-hotspot.is-selected .ex-hotspot-reticle { border-color: var(--hot); transform: scale(1.08); }
.ex-hotspot:hover .ex-hotspot-reticle::before, .ex-hotspot:focus-visible .ex-hotspot-reticle::before, .ex-hotspot.is-selected .ex-hotspot-reticle::before { inset: -7px; border-color: var(--hot); clip-path: polygon(0 0, 30% 0, 30% 10%, 10% 10%, 10% 30%, 0 30%, 0 0, 100% 0, 100% 30%, 90% 30%, 90% 10%, 70% 10%, 70% 0, 100% 0, 100% 100%, 70% 100%, 70% 90%, 90% 90%, 90% 70%, 100% 70%, 100% 100%, 0 100%, 0 70%, 10% 70%, 10% 90%, 30% 90%, 30% 100%, 0 100%); }
.ex-hotspot.has-signal { --ex-signal: var(--hot); }
.ex-hotspot.has-signal .ex-hotspot-reticle { border-color: var(--hot); }
.ex-hotspot.has-signal .ex-hotspot-reticle::after { border-color: var(--hot); animation: ex-signal 3.2s ease-out infinite; }
.ex-hotspot.has-signal .ex-hotspot-state { color: var(--hot); }
.ex-hotspot.is-selected .ex-hotspot-caption { border-left-color: var(--hot); }
.ex-hotspot:disabled { opacity: .65; }
.ex-scan-sweep { position: absolute; inset: 0; pointer-events: none; transform: translateY(-105%); z-index: 1; background: linear-gradient(180deg, transparent 75%, color-mix(in srgb, var(--intel) 17%, transparent) 100%); border-bottom: 1px solid var(--intel); opacity: 0; }
.ex-scene.is-scanning .ex-scan-sweep { animation: ex-scan 1.25s var(--ease-out) both; }
.ex-connections { padding: 12px 0 16px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.ex-connections > .osd { flex-basis: 100%; color: var(--t3); margin-bottom: 2px; }
.ex-connections .btn { font-size: 12px; min-height: 34px; text-transform: none; letter-spacing: 0; }
.ex-inspection, .ex-journal { border: 1px solid var(--line-2); background: var(--s1); }
.ex-panel-head { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 8px 14px; border-bottom: 1px solid var(--line); padding: 15px 18px; }
.ex-panel-head h2 { font: 600 19px/1.2 var(--font-display); }
.ex-panel-head .osd { color: var(--t3); font-size: 9px; overflow-wrap: anywhere; }
.ex-inspection-body { padding: 20px; }
.ex-instruction, .ex-site-description { color: var(--t2); line-height: 1.75; font-size: 13px; }
.ex-site-description { border-left: 2px solid var(--line-3); padding-left: 12px; margin-bottom: 23px; }
.ex-steps { display: flex; flex-wrap: wrap; list-style: none; gap: 16px 25px; margin-top: 20px; }
.ex-steps li { display: flex; align-items: center; gap: 9px; color: var(--t2); font-size: 12px; }
.ex-steps li > span { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line-3); color: var(--t1); font: var(--osd); }
.ex-fragment-label { margin-bottom: 8px; color: var(--intel); }
.ex-fragment-title { font: 600 30px/1.15 var(--font-display); margin-bottom: 20px; }
.ex-story { color: var(--t2); font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.ex-story p { margin-bottom: 1em; }
.ex-story .ex-story-echo { padding: 14px 16px; border-left: 2px solid var(--intel); background: var(--a2-soft); color: var(--t1); }
.ex-evidence { margin: 24px 0; padding: 16px 18px; border: 1px solid var(--line-2); border-left: 2px solid var(--intel); background: var(--s0); }
.ex-evidence .osd { display: block; color: var(--intel); margin-bottom: 9px; }
.ex-evidence p { font: 12px/1.85 var(--font-mono); color: var(--t1); white-space: pre-wrap; overflow-wrap: anywhere; }
.ex-puzzle { margin-top: 22px; }
.ex-puzzle fieldset, .ex-choices { padding: 0; margin: 0; border: 0; min-width: 0; }
.ex-puzzle legend, .ex-choices legend { font-weight: 600; line-height: 1.7; margin-bottom: 14px; }
.ex-answer { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 12px; margin: 7px 0; border: 1px solid var(--line-2); font-size: 13px; line-height: 1.6; cursor: pointer; background: var(--s0); }
.ex-answer:has(:checked) { border-color: var(--hot); background: var(--a-soft); }
.ex-answer:hover { border-color: var(--line-3); }
.ex-answer:has(:focus-visible) { outline: 2px solid var(--hot); outline-offset: 2px; }
.ex-answer input { flex-shrink: 0; accent-color: var(--hot); width: 16px; height: 16px; margin: 0; }
.ex-hint { font-size: 12px; color: var(--t2); margin: 15px 0 20px; }
.ex-hint summary { padding: 8px 0; cursor: pointer; color: var(--intel); }
.ex-hint p { padding: 9px 0; line-height: 1.7; }
.ex-puzzle > .btn, .ex-inspection-body > .btn { margin-top: 8px; }
.ex-choices { display: grid; gap: 10px; }
.ex-choice.btn { height: auto; min-height: 48px; white-space: normal; text-align: left; justify-content: start; font: 500 14px/1.6 var(--font-ui); text-transform: none; letter-spacing: 0; padding: 13px 15px; border-left: 2px solid var(--hot); }
.ex-feedback { margin-top: 18px; padding: 12px 0 0; border-top: 1px solid var(--line-2); color: var(--intel); font-size: 13px; line-height: 1.7; }
.ex-completed { color: var(--hot); font-size: 13px; font-weight: 600; margin: 20px 0 12px; }
.ex-tabs { display: flex; border-bottom: 1px solid var(--line-2); padding: 0 12px; }
.ex-tabs button { flex: 1; min-height: 45px; padding: 12px 5px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--t2); font: 600 14px/1.2 var(--font-display); }
.ex-tabs button[aria-selected="true"] { color: var(--t1); border-bottom-color: var(--hot); }
.ex-tabs button:hover { color: var(--hot); }
.ex-journal-content { padding: 22px 20px; }
.ex-journal-content:focus-visible { outline-offset: -3px; }
.ex-objective > .osd, .ex-archive > .osd, .ex-ending > .osd { color: var(--intel); margin-bottom: 10px; }
.ex-objective h2, .ex-archive h2, .ex-ending h2 { font: 600 29px/1.1 var(--font-display); margin-bottom: 16px; }
.ex-brief { color: var(--t2); font-size: 13px; line-height: 1.8; }
.ex-target-location { display: flex; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--line-2); margin: 8px 0 18px; }
.ex-target-location > .ico { color: var(--hot); margin-top: 4px; width: 22px; height: 22px; }
.ex-target-location > div { display: grid; gap: 3px; }
.ex-target-location b { font: 600 20px/1.2 var(--font-display); }
.ex-target-location span { font-size: 12px; color: var(--t3); }
.ex-objective-steps { list-style: none; display: grid; gap: 13px; margin-bottom: 23px; }
.ex-objective-steps li { display: flex; align-items: center; gap: 11px; font-size: 12px; color: var(--t2); }
.ex-step-state { flex-shrink: 0; width: 21px; height: 21px; display: grid; place-items: center; font: var(--osd); border: 1px solid var(--line-3); color: var(--t3); }
.ex-objective-steps .done .ex-step-state { color: var(--hot); border-color: var(--a-line); background: var(--a-soft); }
.ex-objective > .btn { width: 100%; margin-bottom: 9px; }
.ex-choice-pending { border-left: 2px solid var(--hot); padding-left: 10px; font-size: 12px; line-height: 1.7; margin-bottom: 15px; }
.ex-journal-note { margin: 16px 0 0; color: var(--t3); font-size: 11px; line-height: 1.75; }
.ex-journal-empty { color: var(--t2); font-size: 13px; line-height: 1.8; }
.ex-archive label { display: block; margin-bottom: 8px; }
.ex-archive select { margin-bottom: 23px; font-size: 12px; }
.ex-archive .ex-story, .ex-ending .ex-story { font-size: 13px; }
.ex-archive .ex-evidence { padding: 13px; }
.ex-archive .ex-evidence p { font-size: 11px; }
.ex-consequence { padding: 15px 0 15px 14px; border-left: 2px solid var(--hot); margin: 18px 0; }
.ex-consequence > .osd { display: block; color: var(--t3); margin-bottom: 9px; line-height: 1.5; }
.ex-consequence h3, .ex-consequence b { font-size: 14px; line-height: 1.6; font-weight: 600; }
.ex-consequence p { color: var(--t2); font-size: 12px; line-height: 1.85; margin-top: 8px; }
.ex-ending > h3 { font: 600 20px/1.2 var(--font-display); margin-top: 26px; }
.view-explore :is(button, select, summary):focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
@keyframes ex-scan { 0% { opacity: 1; transform: translateY(-105%); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(5%); } }
@keyframes ex-signal { 0% { opacity: .7; transform: scale(.94); } 65%, 100% { opacity: 0; transform: scale(1.45); } }
@media (min-width: 1600px) { .ex-layout { grid-template-columns: minmax(0, 1fr) 370px; } }
@media (max-width: 1190px) { .ex-layout { grid-template-columns: minmax(0, 1fr); } .ex-slot-journal { grid-row: 2; } .ex-journal-content { padding: 24px; } .ex-objective > .btn { width: auto; margin-right: 8px; } .ex-objective-steps { grid-template-columns: repeat(2, 1fr); } .ex-scene { height: 490px; } }
@media (max-width: 767px) { .ex-header { align-items: start; gap: 15px; margin-bottom: 18px; } .ex-header h1 { font-size: 32px; } .ex-campaign-title { font-size: 12px; max-width: 210px; } .ex-progress { min-width: 85px; grid-template-columns: 1fr; gap: 5px; text-align: right; } .ex-progress .osd { font-size: 8px; } .ex-progress-value { font-size: 26px; } .ex-travel { padding: 14px; gap: 13px; } .ex-location { flex-basis: 100%; } .ex-travel-state { flex: 1; } .ex-travel-actions { margin: 0; } .ex-travel-actions .btn { font-size: 12px; } .ex-scene { height: 470px; } .ex-scene-top, .ex-scene-bottom { left: 14px; right: 14px; gap: 10px; } .ex-scene-title { left: 17px; right: 17px; top: 57px; } .ex-scene-title p { font-size: 11px; max-width: 360px; } .ex-hotspot { max-width: 115px; min-width: 96px; padding: 5px; } .ex-hotspot[data-site="relay"] { top: 48%; left: 22%; } .ex-hotspot[data-site="cache"] { top: 62%; left: 78%; } .ex-hotspot[data-site="terminal"] { top: 77%; left: 39%; } .ex-hotspot-reticle { width: 43px; height: 43px; } .ex-hotspot-caption { padding: 6px; } .ex-hotspot-caption b { font-size: 13px; } .ex-hotspot-caption small { font-size: 8px; } .ex-scene-bottom .osd { font-size: 8px; } .ex-panel-head { padding: 14px; } .ex-inspection-body, .ex-journal-content { padding: 18px 15px; } .ex-steps { display: grid; gap: 12px; } .ex-story { font-size: 13px; } .ex-fragment-title { font-size: 27px; } .ex-objective-steps { grid-template-columns: 1fr; } }
.rm .view-explore *, .rm .view-explore *::before, .rm .view-explore *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .view-explore *, .view-explore *::before, .view-explore *::after { animation: none !important; transition: none !important; } }
