/* Scoped Peridea visual system. Mobile image interactions are a release requirement. */
.pe-explorer,.pe-section,.pe-breadcrumbs{--pe-ink:#0f1416;--pe-stone:#d9d3bc;--pe-gold:#d6b87f;--pe-line:#485052;color:#f3f0e7;font-family:inherit;box-sizing:border-box}
.pe-explorer *,.pe-section *{box-sizing:border-box}.pe-explorer{max-width:1600px;margin:0 auto 32px;background:#111719;border:1px solid #485052;border-radius:8px;overflow:hidden;isolation:isolate}
.pe-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px}.pe-kicker{color:#d6b87f!important;font-size:11px!important;font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin:0 0 8px!important}.pe-top h1{font-size:clamp(24px,3vw,40px)!important;line-height:1.15!important;margin:0!important}.pe-explorer button,.pe-section button{font:inherit;font-size:13px;line-height:1.3;min-height:44px;padding:10px 14px;border:1px solid #647071;border-radius:5px;background:#1d292c;color:#f5f1e8;cursor:pointer}
.pe-explorer button:hover,.pe-section button:hover{background:#344143}.pe-explorer button[aria-pressed=true],.pe-section button[aria-pressed=true]{border-color:#e9d4a0;background:#d8c395;color:#131b1e}.pe-top>button{flex-shrink:0}.pe-scenes{display:flex;gap:7px;overflow-x:auto;padding:0 24px 15px;scrollbar-width:thin}.pe-scenes button{flex-shrink:0;white-space:nowrap}.pe-history{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:12px 24px;border-top:1px solid #364145}.pe-history span{font-size:11px;color:#bfc6c4;margin-right:8px}.pe-history button{font-size:12px;padding:7px 11px}
.pe-stage{position:relative;background:#090e10}.pe-art{position:relative;isolation:isolate}.pe-art>img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain}.pe-points{display:block!important;position:absolute;inset:0;z-index:2;pointer-events:none}.pe-explorer .pe-pin{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);pointer-events:auto;max-width:180px;min-width:44px;min-height:44px;padding:8px 12px;background:#0c171de8;color:#fff;border:1px solid #efd5a0;border-radius:5px;font-size:12px;line-height:1.2;text-align:center;box-shadow:0 3px 12px #0009;white-space:normal}.pe-short{display:none}.pe-context{position:absolute;top:10px;right:10px;z-index:3;display:flex;flex-wrap:wrap;gap:5px;max-width:42%;justify-content:flex-end}.pe-context button{background:#192228eb!important;color:#f6efd7!important;min-height:44px;border:1px dashed #c9b77f;font-size:11px;max-width:160px;padding:6px 9px}.pe-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;padding:9px 18px;border-bottom:1px solid #414c4d;color:#c7c6b9;font-size:10px;letter-spacing:.04em}
.pe-scene-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:22px 24px}.pe-scene-intro h2{font-size:clamp(21px,2.4vw,30px)!important;line-height:1.2;margin:0 0 9px!important}.pe-scene-intro p{font-size:15px!important;line-height:1.75!important;max-width:85ch;margin:0!important;color:#c8d0cf}.pe-scene-intro>a,.pe-links a{display:inline-flex;align-items:center;min-height:44px;padding:9px 13px;background:#1a282c;border:1px solid #65716b;border-radius:4px;color:#eed6a1!important;text-decoration:none!important;font-size:13px;line-height:1.4}.pe-scene-intro>a:hover,.pe-links a:hover{background:#34433e}.pe-detail{padding:23px 24px;background:linear-gradient(110deg,#293337,#172125);border-top:1px solid #9e8d67;border-bottom:1px solid #4a5654}.pe-status{font-size:10px!important;letter-spacing:.1em;text-transform:uppercase;color:#d6cda9!important;margin:0 0 7px!important}.pe-detail h3{font-size:clamp(20px,2.5vw,29px)!important;margin:0 0 10px!important;line-height:1.2}.pe-detail p{font-size:15px;line-height:1.8;max-width:90ch;color:#d2d8d4}.pe-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.pe-alternatives{display:flex;flex-wrap:wrap;gap:7px;padding:18px 24px 8px}.pe-alternatives button{font-size:12px}.pe-help{font-size:11px!important;line-height:1.6!important;padding:8px 24px 16px;margin:0!important;color:#b8c3c1}.pe-help span{display:inline-block;margin-left:12px;color:#e1cc9b}
.pe-section{max-width:1400px;margin:42px auto;padding:0 24px;min-width:0}.pe-section h1{font-size:34px}.pe-section h2{font-size:clamp(22px,2.7vw,34px);line-height:1.25;margin:0 0 20px;color:#f3eee1}.pe-section h3{font-size:22px;line-height:1.3}.pe-section p{font-size:16px;line-height:1.9;color:#c2ccca;max-width:88ch}.pe-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.pe-card{border:1px solid #465456;background:#111a1e;border-radius:6px;overflow:hidden;color:#f8f0df;text-decoration:none!important}.pe-card:hover{border-color:#d6b87f}.pe-card>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.pe-card>div{padding:20px}.pe-card h3{margin:0 0 12px}.pe-card p{font-size:14px;line-height:1.6;margin:0 0 16px}.pe-card span{font-size:12px;color:#e2c894}.pe-filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}.pe-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pe-people article{padding:20px;background:#142024;border:1px solid #3d4c4d;border-top:2px solid #a18b62}.pe-people h3{margin:0 0 8px}.pe-people a{color:#eed6a1!important;text-underline-offset:4px;display:inline-flex;align-items:center;min-height:44px}.pe-people p{font-size:14px;line-height:1.7;margin:0 0 12px}.pe-people span{font-size:11px;color:#cbb88d}.pe-people article[hidden]{display:none!important}.pe-evidence{border-top:1px solid #485052;padding-top:30px}.pe-research{background:#121c21;border:1px solid #485052;padding:22px}.pe-research summary{font-size:19px;min-height:44px;cursor:pointer}.pe-research .planet-detail-shell{display:block}.pe-research .planet-rail{display:none}.pe-research .planet-article{max-width:none}.pe-research .planet-section{padding:18px 0}.pe-research .planet-section h2{font-size:24px}
.pe-breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;max-width:1500px;margin:16px auto;padding:0 20px;font-size:12px}.pe-breadcrumbs a{color:#dcc794;min-height:44px;display:inline-flex;align-items:center}.pe-breadcrumbs span{align-self:center}.pe-place{max-width:1600px;margin:auto;min-width:0}.pe-chapter{max-width:1000px}.pe-stations details{background:#152126;border:1px solid #465556;margin-bottom:10px;padding:16px 20px}.pe-stations summary{min-height:44px;cursor:pointer;display:flex;align-items:center;line-height:1.5;font-size:17px}.pe-stations p{font-size:15px}.pe-entity-art{margin:20px 0}.pe-entity-art img{width:100%;height:auto;display:block}.pe-entity-art figcaption{font-size:11px;color:#b8c3c1;margin-top:8px}
.pe-activity{background:#162126;border:1px solid #485956;padding:24px;border-radius:7px}.pe-activity-buttons{display:flex;flex-wrap:wrap;gap:8px}.pe-activity-copy{padding-top:12px}.pe-activity-copy h3{margin:8px 0}.pe-activity-copy p{margin:0 0 10px}.pe-activity-copy small{color:#d0c9b2;font-size:12px;line-height:1.6}.pe-pods{height:160px;position:relative;margin:18px 0;background:radial-gradient(ellipse,#4c4b36,#182125 65%);border:1px solid #4a5750;border-radius:8px;overflow:hidden}.pe-pods i{position:absolute;width:55px;height:36px;left:calc(7% + var(--n)*14%);top:62px;border:2px solid #ddc99b;border-radius:50% 50% 45% 45%;background:linear-gradient(#6d7466,#323c3b)}.pe-pods i:nth-child(1){--n:0}.pe-pods i:nth-child(2){--n:1}.pe-pods i:nth-child(3){--n:2}.pe-pods i:nth-child(4){--n:3}.pe-pods i:nth-child(5){--n:4}.pe-pods i:nth-child(6){--n:5}.pe-activity[data-pe-state="1"] .pe-pods i{background:#7c7e6e;border-color:#fff2c9}.pe-activity[data-pe-state="2"] .pe-pods i:nth-child(1){left:32%;top:26px}.pe-activity[data-pe-state="2"] .pe-pods i:nth-child(2){left:55%;top:26px}.pe-activity[data-pe-state="2"] .pe-pods i:nth-child(3){left:66%;top:62px}.pe-activity[data-pe-state="2"] .pe-pods i:nth-child(4){left:55%;top:98px}.pe-activity[data-pe-state="2"] .pe-pods i:nth-child(5){left:32%;top:98px}.pe-activity[data-pe-state="2"] .pe-pods i:nth-child(6){left:20%;top:62px}.pe-route-visual{display:flex;align-items:center;justify-content:space-around;gap:12px;flex-wrap:wrap;padding:25px 12px;margin-top:18px;background:#0c171c;border:1px solid #465657}.pe-route-visual span{padding:12px;border:1px solid #a28c62;border-radius:5px;font-size:13px}.pe-activity[data-pe-state="1"] .pe-route-visual{border-color:#d6b87f;background:#243337}.pe-activity[data-pe-state="2"] .pe-route-visual{flex-direction:row-reverse;background:#2b2921}.pe-evidence-visual{margin-top:18px;padding:25px;background:#0c171c;border-left:3px solid #d6b87f;color:#d9d0b3;letter-spacing:.08em}.pe-activity[data-pe-state="1"] .pe-evidence-visual{border-left-color:#a6c4c1;background:#203237}.pe-activity[data-pe-state="2"] .pe-evidence-visual{border-left-color:#ccac8b;background:#342a27}
.pe-explorer:fullscreen,.pe-explorer.pe-expanded{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-width:none!important;z-index:2147483646!important;overflow:auto!important;border:0;border-radius:0;margin:0;background:#0c1418}.pe-scroll-lock{overflow:hidden!important}.pe-expanded .pe-art,.pe-explorer:fullscreen .pe-art{max-width:1400px;margin:auto}.pe-explorer :focus-visible,.pe-section :focus-visible{outline:3px solid #ffe0a5;outline-offset:3px}.pe-section [id]{scroll-margin-top:100px}body:has(.pe-explorer){overflow-x:clip}
@media(max-width:1000px){.pe-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.pe-explorer .pe-pin{font-size:11px;max-width:130px}.pe-scene-intro{grid-template-columns:1fr;gap:14px}.pe-scene-intro>a{justify-self:start}}
@media(max-width:750px){.pe-top{padding:16px;align-items:flex-start}.pe-top h1{font-size:25px!important}.pe-top>button{font-size:11px;padding:8px}.pe-kicker{font-size:9px!important}.pe-scenes{padding:0 16px 12px}.pe-scenes button{font-size:12px}.pe-history{padding:10px 16px}.pe-section{padding:0 16px;margin:30px auto}.pe-activity{padding:18px}.pe-scene-intro,.pe-detail{padding:18px 16px}.pe-alternatives{padding:14px 16px 4px}.pe-help{padding:8px 16px 14px}.pe-people{grid-template-columns:1fr}.pe-caption{padding:8px 12px;font-size:9px}.pe-scene-intro p,.pe-detail p{font-size:14px!important}.pe-long{display:none}.pe-short{display:inline}.pe-explorer .pe-pin{font-size:10px;line-height:1.1;max-width:78px;min-height:44px;min-width:44px;padding:5px 6px}.pe-points{display:block!important;pointer-events:none}.pe-explorer .pe-pin{pointer-events:auto}.pe-context{top:6px;right:6px;max-width:40%;gap:4px}.pe-context button{font-size:10px;max-width:100px;min-height:44px;padding:5px}.pe-section p{font-size:15px}.pe-top h1{max-width:22ch}.pe-card>div{padding:16px}}
@media(max-width:480px){.pe-cards{grid-template-columns:1fr}.pe-explorer{border-left:0;border-right:0;border-radius:0}.pe-top{gap:8px;padding:13px 12px}.pe-top h1{font-size:22px!important}.pe-top>button{max-width:115px}.pe-history{gap:5px;padding:8px 12px}.pe-history span{flex-basis:100%}.pe-history button{font-size:10px;padding:7px 8px}.pe-scenes{padding:0 12px 12px}.pe-context{max-width:34%}.pe-context button{max-width:94px;font-size:9px}.pe-research{padding:16px}.pe-route-visual{gap:7px}.pe-route-visual span{font-size:11px;padding:8px}.pe-pods i{width:32px;height:28px}.pe-section h2{font-size:25px}.pe-help span{display:block;margin:6px 0 0}}
@media(prefers-reduced-motion:reduce){.pe-explorer *,.pe-section *{scroll-behavior:auto!important;transition:none!important}}

.pe-explorer[data-pe-scene="graveyard"] .pe-context{left:6px;right:auto;justify-content:flex-start}

body:has(.pe-explorer) .ids-breadcrumbs,body:has(.pe-explorer) .breadcrumbs,body:has(.pe-explorer) .planet-breadcrumbs{display:none}

.pe-card[hidden]{display:none!important}

/* Short context words still require a full touch target. */
.pe-explorer .pe-art button{min-width:44px!important;min-height:44px!important}

.pe-context .pe-topic-link{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;max-width:160px;padding:6px 9px;border:1px dashed #c9b77f;border-radius:5px;background:#192228eb;color:#f6efd7!important;font-size:11px;line-height:1.3;text-decoration:none!important;text-align:center}
.pe-topic-link:hover{background:#344143}.pe-topic-link:focus-visible{outline:3px solid #ffe0a5;outline-offset:3px}
@media(max-width:750px){.pe-context .pe-topic-link{max-width:100px;font-size:10px;padding:5px}}
@media(max-width:480px){.pe-context .pe-topic-link{max-width:94px;font-size:9px}}

.pe-people .pe-person-image{display:block;min-height:44px;margin:-20px -20px 14px;overflow:hidden;border-bottom:1px solid #465456}
.pe-person-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.pe-person-image:hover img{filter:brightness(1.08)}
