/* The Infinite Archive interactive layer */
.xbadge{display:inline-block;font-size:9.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:3px 9px;border-radius:12px;border:1px solid;white-space:nowrap}
.xb-ESTABLISHED{color:#8fe0b0;border-color:#3f8f63;background:#0e2a1d}.xb-CONTESTED{color:#ffc978;border-color:#a8762c;background:#2c1f0b}.xb-UNRESOLVED{color:#9cc9ff;border-color:#3c6ea8;background:#0e1f33}.xb-LEGENDARY{color:#d9b3ff;border-color:#7c4fb0;background:#221333}.xb-SPECULATIVE{color:#ffaaa0;border-color:#a54d43;background:#2e1210}
.xmeta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:11px;color:#b9c3c8;margin:6px 0 10px}
.xsmall{font-size:11px;color:#9fb0bc}
a.goldbtn,a.outline{display:inline-block;text-decoration:none}
a.outline{border:1px solid #6d7d8b;color:#e4e8eb;border-radius:28px;padding:12px 18px;font-size:10px;letter-spacing:.09em;font-weight:700;margin:10px 10px 10px 0}
/* Open cases */
.cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.casecard{display:grid;grid-template-columns:200px minmax(0,1fr);background:#0c1621;border:1px solid #3a4a35;border-radius:10px;overflow:hidden}
.caseimg{background:#0b1520 center/cover;min-height:100%}
.casebody{padding:16px 18px}.casebody h3{font:500 25px/1.15 'Cormorant Garamond',Georgia,serif;margin:2px 0 8px}.casebody h3 a{color:#fff;text-decoration:none}
.casebody p{font-size:12.5px;line-height:1.6;color:#d4dbe0;margin:0 0 10px}
.livedot{color:#ffd65c;font-size:9.5px;letter-spacing:.16em;font-weight:700}.livedot:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#ffd65c;margin-right:6px;box-shadow:0 0 8px #ffd65c;animation:mmpulse 2s infinite}
.caselatest{font-size:12px;color:#e9dfcc;border-left:2px solid #b18d57;padding:4px 0 4px 10px;margin:8px 0}.caselatest span{display:block;font-size:9.5px;letter-spacing:.14em;color:#b18d57;font-weight:700;margin-bottom:3px}
.caseactions .goldbtn,.caseactions .outline{margin:8px 8px 0 0}
@keyframes mmpulse{0%,100%{opacity:1}50%{opacity:.35}}
/* Network */
.netgrid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:start}.netswipe{display:none;font-size:11px;color:#9fb0bc;padding:8px 12px 0}
.netwrap{border:1px solid #33485a;border-radius:10px;background:radial-gradient(ellipse at 50% 45%,#0d2033 0%,#050b12 75%);position:relative;overflow:hidden}
#netsvg{width:100%;height:auto;display:block;aspect-ratio:1000/620}
.nedge{stroke:#56708a;stroke-width:1;opacity:.45}.nedge.on{stroke:#f1cf97;opacity:1;stroke-width:2}.nedge.dim{opacity:.08}
.nedge.t-same_question{stroke-dasharray:5 4}.nedge.t-contrasts_with{stroke-dasharray:1 4;stroke-linecap:round}
.nnode{cursor:pointer;transition:opacity .25s}.nnode circle{stroke:#050b12;stroke-width:2;transition:r .2s}.nnode text{fill:#e9eef2;font:600 16px Inter,system-ui,sans-serif;paint-order:stroke;stroke:#050b12;stroke-width:4px;pointer-events:none}
.nnode text.big{font-size:21px;fill:#fff}.nnode.focus circle:not(.pulse){stroke:#fff;stroke-width:3}.nnode.dim{opacity:.18}.nnode:focus{outline:none}.nnode:focus-visible circle:not(.pulse){stroke:#fff;stroke-width:3}
.nnode .pulse{fill:none;stroke:#ffd65c;stroke-width:1.5;opacity:.7;animation:mmpulse 2.2s infinite}
.netlegend{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.netlegend button{background:#0c1621;border:1px solid #2c4357;color:#d5dbe0;border-radius:16px;padding:6px 11px;font-size:11px;display:flex;align-items:center;gap:6px}.netlegend button i{width:9px;height:9px;border-radius:50%;display:inline-block}.netlegend button.active{border-color:#f1cf97;color:#fff}.netlegend .reset{color:#9fb0bc}
.netkey{display:flex;gap:16px;flex-wrap:wrap;font-size:10.5px;color:#9fb0bc;padding:8px 12px;border-top:1px solid #1e303f}.netkey svg{vertical-align:middle;margin-right:4px}
.netpanel{border:1px solid #33485a;border-radius:10px;background:#08121c;padding:16px;max-height:680px;overflow:auto}
.netpanel h3{font:500 26px/1.15 'Cormorant Garamond',Georgia,serif;margin:6px 0 4px}.netpanel p{font-size:12.5px;line-height:1.6;color:#d4dbe0}
.netimg{height:130px;border-radius:7px;background:#0b1520 center/cover;margin-bottom:12px}
.netlinks{list-style:none;padding:0;margin:8px 0 6px}.netlinks button{display:block;width:100%;text-align:left;background:#0c1826;border:1px solid #213547;border-radius:8px;padding:8px 10px;margin:6px 0;color:#f3efe7}.netlinks button:hover{border-color:#b18d57}.netlinks strong{display:block;font-size:13px}.netlinks span{display:block;font-size:11px;color:#9fb0bc;margin-top:2px}
.netactions .goldbtn,.netactions .outline{margin:8px 8px 0 0}
/* Expeditions */
.exps{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:13px}
.expcard{background:#0c1621;border:1px solid #293b4b;border-radius:10px;overflow:hidden;display:flex;flex-direction:column}
.expimg{height:120px;background:#0b1520 center/cover}.expbody{padding:14px 16px;display:flex;flex-direction:column;flex:1}.expbody h3{font:500 23px/1.15 'Cormorant Garamond',Georgia,serif;margin:6px 0}.expbody p{font-size:12px;color:#d4dbe0;line-height:1.6;margin:0 0 8px}
.exproute{font-size:10.5px;color:#b9c3c8;line-height:1.7;margin-bottom:auto}.exproute span{color:#b18d57}.expbody .goldbtn{align-self:flex-start;margin-top:12px}
.expmodal{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center}.expmodal[hidden]{display:none}
.expveil{position:absolute;inset:0;background:#000b}.expwrap{position:relative;width:min(760px,96vw);max-height:92vh;overflow:auto;background:#07111c;border:1px solid #3a5065;border-radius:12px}
.expclose{position:absolute;right:10px;top:10px;z-index:2;background:#07111ccc;border:1px solid #6d7d8b;color:#fff;border-radius:50%;width:36px;height:36px;font-size:20px}
.exphero{height:220px;background:#0b1520 center/cover}.expinner{padding:20px 24px 26px}.expinner h2{font:500 34px/1.1 'Cormorant Garamond',Georgia,serif;margin:6px 0 2px}.expinner p{font-size:13.5px;line-height:1.65;color:#d4dbe0}
.expprog{display:flex;gap:6px;margin-bottom:12px}.expprog i{flex:1;height:4px;border-radius:2px;background:#22364a}.expprog i.past{background:#b18d57}.expprog i.now{background:#f1cf97}
.expq{border-top:1px solid #1e303f;margin-top:14px;padding-top:14px}.expq h3{font-size:18px;margin:6px 0 12px;color:#fff}
.expopts{display:grid;gap:8px}.expopts button{text-align:left;background:#0c1826;border:1px solid #2c4357;border-radius:8px;padding:12px 14px;color:#f3efe7;font-size:14px}.expopts button:hover:not(:disabled){border-color:#f1cf97}
.expopts button.right{border-color:#3f8f63;background:#0e2a1d}.expopts button.wrong{border-color:#a54d43;background:#2e1210}.expopts button:disabled{cursor:default}
.reveal{margin-top:14px;border-radius:8px;padding:14px;background:#0b1826;border:1px solid #2c4357;font-size:13.5px}.reveal.ok strong{color:#8fe0b0}.reveal.no strong{color:#ffc978}
.revclaim{margin:10px 0;padding:10px 12px;border-left:3px solid #b18d57;background:#08121c}.revclaim p{margin:6px 0;color:#f3efe7}.revclaim a{font-size:12px;color:#efc27f;overflow-wrap:anywhere}
.revactions .goldbtn,.revactions .outline{margin:10px 10px 0 0}
.expdone{text-align:center;padding:40px 24px}.expdone .score{font:500 64px/1 'Cormorant Garamond',Georgia,serif;color:#f1cf97;margin:16px 0 0}
/* Timeline */
.tlzoom{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.tlzoom button{background:#0c1621;border:1px solid #2c4357;color:#d5dbe0;border-radius:16px;padding:6px 12px;font-size:11px}.tlzoom button.active{border-color:#f1cf97;color:#fff;background:#1a1610}
.tlscroll{overflow-x:auto;border:1px solid #1e303f;border-radius:10px;background:#06101a}
.tlseg{fill:#07121d}.tlseg.odd{fill:#0a1724}.tlsegt{fill:#c9a36a;font:700 10px Inter,system-ui,sans-serif;letter-spacing:.14em}.tlsegy{fill:#7f93a3;font:500 10px Inter,system-ui,sans-serif}
.tlaxis{stroke:#b18d57;stroke-width:1.5}.tlstem{stroke:#2c4357;stroke-width:1}
.tlitem{cursor:pointer}.tlitem text{fill:#e4e9ed;font:500 11.5px Inter,system-ui,sans-serif}.tlitem:hover text,.tlitem:focus text{fill:#f1cf97}.tlitem:focus{outline:none}.tlitem:focus-visible circle{stroke:#fff;stroke-width:2}
.tlnote{font-size:11px;color:#9fb0bc;margin-top:8px}
@media(max-width:1100px){.cases{grid-template-columns:1fr}.netgrid{grid-template-columns:1fr}.netpanel{max-height:none}}
@media(max-width:620px){.casecard{grid-template-columns:1fr}.caseimg{height:150px}.netscroll{overflow-x:auto}.netscroll #netsvg{width:760px;min-width:760px;height:471px}.netswipe{display:block}.exphero{height:150px}.expinner{padding:16px}.expinner h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){.livedot:before,.nnode .pulse{animation:none}}
.toplinks{min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.toplinks::-webkit-scrollbar{display:none}.toplinks a{white-space:nowrap}
@media(max-width:1100px){.toplinks{gap:14px}.searchwrap{flex:0 1 220px;min-width:150px}}
@media(max-width:1100px){.toplinks{-webkit-mask-image:linear-gradient(90deg,#000 80%,transparent);mask-image:linear-gradient(90deg,#000 80%,transparent);padding-right:24px}.searchwrap{flex:0 1 190px}}
