/* Atlas nocturne d’Echo : navigation orbitale et pages de lecture. */
.echo-atlas{--paper:#050607;--ink:#eeeef0;--line:#35373a;background:#050607;color:var(--ink)}
.echo-atlas .frame{min-height:100svh;border-color:#747474}.echo-atlas .orbit-background{border-color:#414348;width:86vw;height:86vw;top:calc(48svh - 43vw)}.echo-atlas .orbit-background:after{background:#eee}.echo-atlas .frame:before,.echo-atlas .frame:after{border-color:#323437}.echo-atlas .brand span{font-size:8px;letter-spacing:2px}.echo-atlas header{z-index:5;height:112px}.echo-atlas .edge-note{top:130px;font-size:8px;right:25px}.echo-atlas .edge-note i{background:#aaa}
.atlas-main{position:relative;min-height:700px;height:calc(100svh - 224px)}.atlas-heading{position:absolute;top:-36px;left:12%;z-index:2}.atlas-heading h1{position:static;transform:none;font-size:32px;font-weight:300;letter-spacing:.36em;padding-left:0;white-space:normal;line-height:1.5}.atlas-heading p{font-size:10px;letter-spacing:.35em;margin:17px 0}.atlas-heading p:before{content:'';display:block;width:20px;height:1px;background:#aaa;margin-bottom:16px}
.atlas-back{position:absolute;top:170px;left:0;font-size:9px;letter-spacing:2px;line-height:1.9;z-index:3}.atlas-back>span{display:block;font-size:32px;line-height:1.4;margin-bottom:8px}.atlas-map{position:absolute;left:50%;top:30px;width:min(1060px,78vw);height:670px;transform:translateX(-50%)}
.atlas-map #galaxy{left:12%;top:0;width:76%;height:100%;min-height:0;z-index:0;filter:invert(1);opacity:.9}.atlas-ring{position:absolute;left:50%;top:50%;width:620px;height:620px;max-width:74%;aspect-ratio:1;border:1px solid #45464a;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.atlas-ring:after{content:'';position:absolute;inset:32px;border:1px solid #292b30;border-radius:50%;border-top-color:#aaa;animation:atlas-orbit 38s linear infinite}@keyframes atlas-orbit{to{rotate:360deg}}
.atlas-categories{position:absolute;inset:0;display:block;margin:0;padding:0;background:none;border:0;z-index:2}.atlas-categories .atlas-node{position:absolute;display:flex;align-items:center;gap:20px;text-transform:none;padding:0;letter-spacing:normal}.atlas-categories .atlas-node:after{display:none}.node-icon{display:grid;place-items:center;width:78px;height:78px;border:1px solid #ccc;border-radius:50%;background:#050607c9;flex-shrink:0;transition:background .4s,box-shadow .4s,transform .4s}.node-icon svg{width:41px;height:41px}.node-copy strong{display:block;font-size:12px;letter-spacing:3px;font-weight:400;line-height:1.6}.node-copy small{display:block;font-size:8px;line-height:1.9;letter-spacing:2px;margin-top:9px;color:#bcbec2}.node-copy:after{content:'';display:block;width:18px;height:1px;background:#777;margin-top:14px}.atlas-node:hover .node-icon,.atlas-node:focus-visible .node-icon{background:#24262b;box-shadow:0 0 30px #ffffff15;transform:scale(1.08)}.atlas-node:hover .node-copy{color:white}.node-lore,.node-races,.node-factions{flex-direction:row-reverse;text-align:right}.node-lore .node-copy:after,.node-races .node-copy:after,.node-factions .node-copy:after{margin-left:auto}.node-lore{right:calc(50% + 240px);top:82px}.node-races{right:calc(50% + 300px);top:265px}.node-factions{right:calc(50% + 255px);top:450px}.node-personnages{left:calc(50% + 240px);top:82px}.node-regles{left:calc(50% + 300px);top:265px}.node-ressources{left:calc(50% + 255px);top:450px}.node-demain{left:calc(50% - 39px);top:590px}.node-demain .node-icon{width:78px}.node-demain .node-copy{min-width:180px}.atlas-main .page-index{left:0;top:54%}.echo-atlas .page-index span{color:#888}.echo-atlas .page-index .current{color:white}.echo-atlas .page-index .current:after{background:white}.echo-atlas footer{min-height:112px}.echo-atlas footer .annotation{font-size:8px;letter-spacing:2px}.echo-atlas #motion{bottom:17px}.echo-atlas #motion>span{display:none}.echo-atlas dialog{border-color:#666}.echo-atlas .outline-button{border-color:#ccc;display:inline-block}.echo-atlas .outline-button:hover{background:#eee;color:#111}.atlas-map{animation:atlas-arrive 1.5s both}@keyframes atlas-arrive{from{opacity:0;scale:.93}to{opacity:1;scale:1}}
.archive-main{max-width:1080px;margin:30px auto 70px;padding:0 28px;min-height:65svh}.archive-back{font-size:10px;letter-spacing:2px;border-bottom:1px solid #666;padding-bottom:8px;display:inline-block}.archive-eyebrow{font-size:9px;letter-spacing:3px;color:#aaa;margin-top:45px}.archive-main h1{position:static;transform:none;padding:0;font-size:clamp(28px,4vw,54px);letter-spacing:.16em;white-space:normal;font-weight:300}.archive-main>p:not(.archive-eyebrow){font-size:16px;color:#b9bbc1;line-height:1.8;max-width:720px}.archive-tabs{position:static;display:flex;flex-wrap:wrap;gap:12px 25px;margin:30px 0 45px;background:none;border:0;padding:0;align-items:center}.archive-tabs a{font-size:9px;letter-spacing:1.8px}.archive-tabs a[aria-current=page]:after{width:100%}#archive-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.archive-section{border:1px solid #36383b;padding:25px;animation:portal-arrive .7s both}.archive-section .section-number{font-size:10px;color:#82858a;letter-spacing:3px}.archive-section h2{font-weight:300;letter-spacing:2px;font-size:20px}.archive-section p{font-size:14px;color:#b7bac0;line-height:1.8}.archive-status{display:inline-block;font-size:9px;letter-spacing:1.5px;color:#a2a5aa;border-top:1px solid #45474b;padding-top:13px}.echo-archive .edge-note{display:none}
@media(max-width:1350px) and (min-width:1001px){.atlas-map{width:900px}.node-lore{right:calc(50% + 185px)}.node-races{right:calc(50% + 220px)}.node-factions{right:calc(50% + 195px)}.node-personnages{left:calc(50% + 185px)}.node-regles{left:calc(50% + 220px)}.node-ressources{left:calc(50% + 195px)}.node-copy strong{font-size:10px;letter-spacing:2px}.node-icon{width:68px;height:68px}.atlas-heading{left:10%}.atlas-heading h1{font-size:26px}.atlas-ring{width:540px;height:540px}}
@media(max-width:1000px){.echo-atlas header{height:125px}.atlas-main{height:auto;min-height:1150px}.atlas-heading{position:relative;top:0;left:0;text-align:center}.atlas-heading h1{font-size:25px;letter-spacing:.23em}.atlas-heading p:before{margin-inline:auto}.atlas-heading p{font-size:8px}.atlas-back{position:relative;display:block;top:0;margin:25px 0;text-align:center}.atlas-back>span{display:inline;font-size:22px;margin-right:12px}.atlas-back br{display:none}.atlas-map{position:relative;left:0;top:0;transform:none;width:100%;height:auto;padding-top:330px}.atlas-map #galaxy{left:0;top:-20px;width:100%;height:360px}.atlas-ring{top:155px;width:290px;height:290px;max-width:none}.atlas-categories{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;padding:15px 7%}.atlas-categories .atlas-node{position:static;flex-direction:row;text-align:left;gap:16px}.node-copy strong{font-size:10px;letter-spacing:2px}.node-copy small{font-size:8px;letter-spacing:1px}.node-copy:after{margin-left:0!important}.node-icon,.node-demain .node-icon{width:58px;height:58px}.node-icon svg{width:31px;height:31px}.node-demain{grid-column:1/-1;justify-self:center}.atlas-main .page-index{display:none}.echo-atlas .edge-note{display:none}.echo-atlas footer{min-height:140px}.echo-atlas #motion{bottom:65px}}
@media(max-width:550px){.atlas-heading h1{font-size:19px}.atlas-categories{grid-template-columns:1fr;padding:15px 8%;gap:28px}.atlas-categories .atlas-node{gap:24px}.node-copy small{display:none}.node-copy strong{font-size:11px}.node-copy:after{margin-top:10px}.node-demain{grid-column:auto;justify-self:stretch}.node-demain .node-copy{min-width:0}.atlas-main{min-height:0}.archive-main{padding:0 8px}.archive-tabs{gap:18px}.archive-main h1{font-size:29px}#archive-sections{grid-template-columns:1fr}.echo-atlas footer .annotation{font-size:7px;letter-spacing:1px}}
body.paused .atlas-map{animation:none;opacity:1;scale:1}body.paused .archive-section{animation:none;opacity:1;translate:none;filter:none}
