.map-header{max-width:none;min-height:86px;gap:28px;border-bottom:1px solid var(--line)}.map-header .language-menu{margin-left:auto}.map-current{color:var(--blue)}.map-main{max-width:1640px;margin:auto;padding:48px 4.5% 70px}.map-intro{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:32px}.map-intro h1{font-family:var(--serif);font-size:clamp(36px,4.5vw,65px);line-height:1.1;font-weight:400;margin:16px 0}.map-intro p{color:var(--muted);margin-bottom:0}.map-instruction{max-width:330px;font-size:14px}.map-tools{position:relative;display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);padding:20px 0}.map-tools input{background:#121412;border:1px solid var(--line);border-radius:6px;color:var(--ink);font:inherit;font-size:14px;padding:11px 16px;width:260px}.map-tools button,.genre-card button{background:transparent;border:1px solid var(--line);border-radius:6px;color:var(--ink);padding:11px 16px;font:inherit;font-size:14px;cursor:pointer}.map-tools button:hover,.genre-card button:hover{background:#ffffff0c}.map-tools>span{margin-left:auto;color:var(--muted);font:12px Mono,monospace}.atlas-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:start;gap:24px}.map-scroll{overflow:auto;border:1px solid var(--line);border-radius:12px;background:radial-gradient(ellipse at 60% 50%,#17202755,transparent 70%);scrollbar-color:#4b4e46 #10120f}.map-scroll svg{display:block;width:100%;height:auto;min-width:730px}.column-title{font:11px Mono,monospace;fill:#92988c;letter-spacing:1px}.node-bg{fill:#0d100fe8;stroke:#ffffff10}.node-label{font:14px -apple-system,BlinkMacSystemFont,sans-serif;fill:#d2d6ce}.genre-node{cursor:pointer;outline:none}.genre-node .node-bg{transition:fill .2s,stroke .2s}.genre-node.chosen .node-bg,.genre-node.hovered .node-bg,.genre-node:hover .node-bg{fill:#232923;stroke:#ffffff38}.genre-node:focus-visible .node-bg{stroke:#e5dfd3;stroke-width:2}.flow{opacity:.3;transition:opacity .25s;animation:flow-in .5s ease both}.selected-flow{opacity:.6}.genre-card{position:sticky;top:110px;min-height:310px;border-top:3px solid var(--family);padding:22px 5px;transition:border-color .2s}.genre-card h2{font-family:var(--serif);font-weight:400;font-size:32px;line-height:1.2;margin:14px 0 22px}.genre-card p{font-size:16px;color:#b9bdb4}.genre-card .eyebrow{color:var(--family);font-size:12px}.genre-card a{font-size:14px;color:var(--family);display:block;margin:25px 0}.genre-card button{width:100%;text-align:left}.genre-card #card-parent{font-size:13px;color:var(--muted)}.map-note{max-width:1000px;color:var(--muted);font-size:13px;margin:25px 0 45px}.genre-directory{border-top:1px solid var(--line);padding-top:22px}.genre-directory>summary{font-size:18px;cursor:pointer}.genre-directory>p{font-size:14px;color:var(--muted)}.genre-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.genre-notes details{padding:18px;background:#111410;border:1px solid var(--line);border-radius:6px}.genre-notes summary{cursor:pointer}.genre-notes p{font-size:14px}.genre-notes a{font-size:13px;color:var(--blue)}#search-results{position:absolute;left:0;top:74px;z-index:10;background:#151914;border:1px solid var(--line);box-shadow:0 20px 50px #000a;max-height:340px;overflow:auto;width:340px;max-width:90vw;padding:8px;border-radius:8px}#search-results button{border:0;display:block;width:100%;text-align:left}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.mobile-hint{display:none}@keyframes flow-in{from{opacity:0}to{}}
@media(max-width:1100px){.atlas-layout{grid-template-columns:minmax(0,1fr) 230px}.map-intro{display:block}.map-instruction{max-width:none}.map-main{padding-left:4%;padding-right:4%}header>.header-links{gap:14px}}
@media(max-width:700px){.map-header{gap:14px;padding:14px 5%;min-height:75px}.map-header>a:not(.brand){display:none}.map-header .map-current{font-size:14px}.map-main{padding-top:28px}.map-intro h1{font-size:38px}.map-tools{flex-wrap:wrap;gap:10px}.map-tools input{width:200px}.map-tools>span{width:100%;margin:0}.atlas-layout{display:flex;flex-direction:column;gap:14px}.map-scroll{width:100%;max-height:520px}.genre-card{position:static;width:100%;min-height:0;padding:18px;background:#101410;border-radius:7px}.genre-card h2{font-size:27px;margin:10px 0}.genre-card p{margin:12px 0}.genre-card a{margin:15px 0}.genre-notes{grid-template-columns:1fr}.mobile-hint{display:block;font-size:13px;color:var(--muted)}header>.header-links{gap:14px;flex-wrap:wrap}.map-note{font-size:13px}.map-intro{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.flow{animation:none}.genre-node .node-bg,.flow,.genre-card{transition:none}}

.mobile-hint{display:block;font-size:13px;color:var(--muted)}

.map-peer-nav{display:flex;align-items:center;gap:24px}.map-peer-nav [aria-current=page]{color:var(--ink)}.map-peer-nav a{white-space:nowrap}#map-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:13px;color:var(--muted);min-height:38px}#map-breadcrumb button{background:none;color:var(--ink);border:0;padding:5px;cursor:pointer;font:inherit}.map-legend{font-size:12px;color:var(--muted);line-height:1.8}.cross-flow{opacity:.65;transition:opacity .2s,stroke-width .2s}.cross-flow.highlight{opacity:1;stroke-width:3}.flow.highlight{opacity:.85}.page-node{cursor:pointer}.page-node[aria-disabled=true]{opacity:.25;cursor:default}.page-node:focus-visible rect{stroke:var(--ink)}#card-relations{max-height:245px;overflow:auto;font-size:13px;color:var(--muted);margin:18px 0}#card-relations button{margin:0 0 6px;font-size:12px;padding:9px;line-height:1.5}#card-credit{font-size:11px;color:var(--muted)}.map-scroll svg{width:auto;height:760px}.map-scroll{max-height:790px}.genre-card{max-height:calc(100vh - 130px);overflow:auto}.map-peer-nav a[aria-current=page]{border-bottom:1px solid var(--blue)}@media(max-width:700px){.map-header{flex-wrap:wrap}.map-peer-nav{order:3;width:100%;gap:22px;font-size:14px}.map-header .language-menu{margin-left:auto}.map-scroll{max-height:530px}.genre-card{max-height:none}.map-scroll svg{height:760px}.map-tools input{width:min(240px,70vw)}}

.map-stage{min-width:0;width:100%}.map-zoom{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:10px}.map-zoom button{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:7px;background:#141914;color:var(--ink);font:14px inherit;cursor:pointer}.map-zoom button:hover{background:#252b24}.map-zoom button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.map-zoom button:disabled{opacity:.3;cursor:default}.map-zoom .zoom-percent{min-width:60px;font:12px monospace}.zoom-hint{margin-left:auto;font-size:11px;color:var(--muted)}.map-stage .map-scroll{height:560px;max-height:65vh;cursor:grab;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom}.map-scroll.panning{cursor:grabbing;user-select:none}.map-scroll .genre-node,.map-scroll .page-node{cursor:pointer}.map-stage .map-scroll svg{max-width:none;min-width:0}@media(max-width:700px){.map-stage .map-scroll{height:490px;max-height:62vh}.map-zoom button{height:44px;min-width:44px}.zoom-hint{width:100%;margin:3px 0;line-height:1.5}}

.universe-stage{min-width:0;width:100%}.universe-tools,.universe-pager{display:flex;align-items:center;gap:8px;margin:0 0 12px}.universe-tools button,.universe-pager button{height:40px;min-width:40px;border:1px solid var(--line);border-radius:50px;color:var(--ink);background:#161d19;cursor:pointer}.universe-tools output{font:12px monospace;min-width:48px;text-align:center}.universe-tools>span{margin-left:auto;font-size:11px;color:var(--muted)}.universe-pager{margin-top:12px;justify-content:center;font-size:12px;color:var(--muted)}.universe-pager button{padding:0 15px}.universe-pager button:disabled{opacity:.3;cursor:default}.map-scroll.universe-viewport{width:100%;height:640px;max-height:75vh;overflow:hidden;cursor:grab;touch-action:none;background:radial-gradient(ellipse at 45% 40%,#19241f 0%,#0c1210 55%,#080d0b 100%)}.universe-viewport:active{cursor:grabbing}.universe-viewport #genre-map{width:100%;height:100%;min-width:0;max-width:none;display:block;user-select:none}.family-nebula{opacity:.075;stroke:#ffffff0b;stroke-width:1}.constellation-link{stroke-width:1.4;opacity:.32;pointer-events:none}.base-links .constellation-link{stroke-width:.7;opacity:.13}.constellation-link.origin{stroke-dasharray:4 5}.constellation-link.grouping{stroke-dasharray:2 5}.hover-links .constellation-link{stroke-width:2.4;opacity:.9}.universe-node{cursor:pointer;outline:none}.node-core{stroke:#ffffff99;stroke-width:.7}.universe-node.hub .node-core{stroke-width:2}.universe-label{fill:#e6e4da;font:18px -apple-system,BlinkMacSystemFont,sans-serif;paint-order:stroke;stroke:#0b130f;stroke-width:4px;stroke-linejoin:round;pointer-events:none}.hub .universe-label{font-size:29px;font-family:var(--serif)}.star .universe-label{display:none;font-size:14px}.star.connected .universe-label,.close-up .star .universe-label{display:block}.universe-node.connected .node-core,.universe-node:hover .node-core,.universe-node:focus-visible .node-core{stroke:#fff;stroke-width:3}.universe-node:focus-visible .node-hit{stroke:var(--ink)}.universe-tools button:focus-visible,.universe-pager button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.mobile-hint:empty{display:none}.map-intro{margin-bottom:22px}.map-intro h1{font-size:clamp(34px,4vw,52px)}@media(max-width:700px){.map-scroll.universe-viewport{height:540px;max-height:70vh}.universe-tools{flex-wrap:wrap}.universe-tools button{height:44px;min-width:44px}.universe-tools>span{width:100%;margin:3px 0}.universe-pager{flex-wrap:wrap}.universe-pager span{font-size:11px}.atlas-layout{gap:16px}}

/* The canvas fills the window; interface elements float above it. */
body.immersive-atlas{height:100dvh;overflow:hidden;background:#080d0b}.immersive-atlas .map-main{padding:0;margin:0;max-width:none}.immersive-atlas .atlas-layout{display:block}.immersive-atlas .universe-stage{position:fixed;inset:0}.immersive-atlas .map-scroll.universe-viewport{height:100dvh;max-height:none;width:100vw;border:0;border-radius:0}.immersive-atlas .map-header{position:fixed;top:16px;left:24px;right:24px;z-index:30;min-height:58px;height:58px;padding:0 20px;border:1px solid #e9f4de14;border-radius:16px;background:#0b130fd9;backdrop-filter:blur(20px);gap:24px}.immersive-atlas .map-header .brand{font-size:30px}.immersive-atlas .map-peer-nav{margin-left:auto}.immersive-atlas .map-header .language-menu{margin-left:20px}.immersive-atlas .map-intro,.immersive-atlas .map-note,.immersive-atlas .mobile-hint,.immersive-atlas footer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.immersive-atlas .map-tools{position:fixed;z-index:21;top:90px;left:24px;margin:0;padding:0;border:0;gap:8px;max-width:calc(100vw - 48px)}.immersive-atlas .map-tools input{width:230px;background:#0c1510e8;backdrop-filter:blur(16px);height:44px;border-radius:12px}.immersive-atlas .map-tools>button{height:44px;border-radius:12px;background:#0c1510e8;backdrop-filter:blur(16px)}.immersive-atlas #map-count{display:none}.immersive-atlas #search-results{top:52px;background:#101a15f5;max-height:min(50dvh,400px)}.immersive-atlas #map-breadcrumb{position:fixed;top:145px;left:24px;z-index:20;max-width:calc(100vw - 390px);padding:2px 9px;border-radius:12px;background:#08110caa;backdrop-filter:blur(12px);font-size:12px}.immersive-atlas .genre-card{position:fixed;right:24px;top:94px;width:300px;max-height:calc(100dvh - 195px);min-height:0;padding:22px;border:1px solid #d8edda25;border-top:2px solid var(--family);border-radius:18px;background:#101914ed;backdrop-filter:blur(24px);box-shadow:0 16px 60px #0006;z-index:25;overflow:auto}.immersive-atlas .genre-card[hidden]{display:none}.immersive-atlas .genre-card h2{font-size:28px;margin:14px 0}.immersive-atlas .genre-card p{font-size:14px;line-height:1.7}.immersive-atlas .genre-card .eyebrow{padding-right:30px;font-size:10px}.immersive-atlas .genre-card .card-close{position:absolute;right:9px;top:9px;width:36px;height:36px;padding:0;text-align:center;font-size:23px;border:0;border-radius:50%;background:#ffffff09}.immersive-atlas #card-relations{max-height:190px}.immersive-atlas .universe-tools{position:fixed;z-index:22;bottom:24px;right:24px;margin:0;padding:7px;border:1px solid #e9f4de1c;border-radius:50px;background:#0b150feb;backdrop-filter:blur(20px)}.immersive-atlas .universe-tools>span{display:none}.immersive-atlas .universe-pager{position:fixed;z-index:22;left:24px;bottom:75px;max-width:calc(100vw - 390px);padding:6px;border-radius:24px;background:#0b150fe8;backdrop-filter:blur(16px);margin:0}.immersive-atlas .universe-pager:empty{display:none}.immersive-atlas .map-legend{position:fixed;left:72px;bottom:29px;z-index:20;font-size:10px;color:#a2b2a6;max-width:calc(100vw - 380px);pointer-events:none;margin:0;text-shadow:0 1px 4px #000}.atlas-info{position:fixed;z-index:35;bottom:27px;left:24px;width:38px;height:38px;border:1px solid #ffffff24;border-radius:50%;background:#101b14ed;color:var(--ink);font-size:19px;cursor:pointer}.immersive-atlas .genre-directory{display:none}.immersive-atlas .genre-directory[open]{display:block;position:fixed;z-index:40;inset:90px 24px 84px;padding:24px;border:1px solid var(--line);border-radius:18px;background:#0e1812fa;backdrop-filter:blur(24px);overflow:auto}.immersive-atlas .genre-directory>summary{position:sticky;top:-24px;background:#0e1812;padding:20px 0;z-index:1}.immersive-atlas .map-header a{font-size:13px}.immersive-atlas .map-header a.brand{font-size:30px}
@media(max-width:700px){.immersive-atlas .map-header{top:10px;left:10px;right:10px;height:76px;min-height:76px;padding:8px 12px;gap:4px 14px;align-content:center}.immersive-atlas .map-header .brand{font-size:26px}.immersive-atlas .map-header .map-peer-nav{order:3;width:100%;justify-content:center;margin:0;gap:23px}.immersive-atlas .map-header .language-menu{margin-left:auto}.immersive-atlas .map-header a{font-size:12px}.immersive-atlas .map-tools{top:97px;left:12px;right:12px;max-width:none;flex-wrap:nowrap}.immersive-atlas .map-tools label{min-width:0;flex:1}.immersive-atlas .map-tools input{width:100%;min-width:0}.immersive-atlas .map-tools>button{font-size:11px;padding:0 10px;white-space:nowrap}.immersive-atlas #map-breadcrumb{top:149px;left:12px;max-width:calc(100vw - 24px);font-size:11px;max-height:70px;overflow:auto}.immersive-atlas .genre-card{top:auto;bottom:83px;left:12px;right:12px;width:auto;max-height:32dvh;padding:17px;border-radius:18px;min-height:0}.immersive-atlas .genre-card h2{font-size:24px}.immersive-atlas .genre-card p{font-size:13px}.immersive-atlas .genre-card #card-relations{max-height:none}.immersive-atlas .universe-tools{right:12px;bottom:max(14px,env(safe-area-inset-bottom));flex-wrap:nowrap;gap:5px}.immersive-atlas .universe-tools button{height:38px;min-width:38px}.immersive-atlas .universe-pager{top:224px;bottom:auto;left:12px;max-width:calc(100vw - 24px);gap:5px;padding:5px;flex-wrap:nowrap}.immersive-atlas .universe-pager span{font-size:9px}.immersive-atlas .universe-pager button{font-size:10px;min-width:36px;height:32px;padding:0 7px}.immersive-atlas .map-legend{display:none}.atlas-info{left:14px;bottom:22px}.immersive-atlas .genre-directory[open]{inset:94px 12px 82px;padding:16px}.immersive-atlas .genre-notes{grid-template-columns:1fr}}

/* A continuous graph with quiet surfaces, inspired by the reference. */
.immersive-atlas .map-scroll.universe-viewport{background:#232524}.immersive-atlas .map-header{background:#252827c9;border-color:#ffffff0b;box-shadow:none}.immersive-atlas .family-nebula{display:none}.immersive-atlas .base-links .constellation-link{stroke:#7e857e;stroke-width:.65;opacity:.22}.immersive-atlas .node-core{stroke:none}.immersive-atlas .universe-node.hub .node-core{stroke:none}.immersive-atlas .universe-label{font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-weight:400;stroke:#232524;stroke-width:3px;fill:#b9bdb9}.immersive-atlas .hub .universe-label{font-size:16px}.immersive-atlas .star .universe-label{font-size:11px}.immersive-atlas .notable .universe-label{display:block}.immersive-atlas .has-highlight .universe-node:not(.connected){opacity:.3}.immersive-atlas .universe-node{transition:opacity .15s}.immersive-atlas .connected .node-core{fill:#c1d9a3;stroke:none}.immersive-atlas .connected .universe-label{fill:#f1f3ef}.immersive-atlas .hover-links .constellation-link{stroke:#bdd49f;stroke-width:1.25;opacity:.85}.immersive-atlas .genre-card{background:#292e2af2;border-radius:12px;box-shadow:0 10px 40px #0004}.immersive-atlas .universe-tools,.immersive-atlas .map-tools input,.immersive-atlas .map-tools>button{background:#292d2ae8}.immersive-atlas .universe-tools button{background:transparent;border-color:#ffffff16}.immersive-atlas .map-legend{color:#969e95}@media(prefers-reduced-motion:reduce){.immersive-atlas .universe-node{transition:none}}

/* Quiet local exploration: screen-sized strokes, locked selection and gentle transitions. */
.immersive-atlas .base-links .constellation-link{stroke-width:.7;transition:opacity .28s ease;pointer-events:none}
.immersive-atlas .hover-links .constellation-link{stroke-width:1.15;opacity:.85;animation:atlas-link-in .3s ease both;pointer-events:none}
.immersive-atlas .universe-node{transition:opacity .28s ease}
.immersive-atlas .has-highlight .universe-node:not(.connected){opacity:.12}
.immersive-atlas .universe-label{paint-order:stroke;stroke-width:3px;vector-effect:non-scaling-stroke}
@keyframes atlas-link-in{from{opacity:0}to{opacity:.85}}
@media(prefers-reduced-motion:reduce){.immersive-atlas .constellation-link,.immersive-atlas .universe-node{transition:none!important;animation:none!important}.immersive-atlas #genre-card{animation:none!important}}

/* Family roots retain their color and visual prominence in every selection. */
.immersive-atlas .universe-node.hub .node-core{fill:var(--node-family)}
.immersive-atlas .has-highlight .universe-node.hub:not(.connected){opacity:.75}

/* Hover focus fades the surrounding graph while preserving family colors. */
.immersive-atlas .universe-node{transition:opacity .48s cubic-bezier(.22,1,.36,1)}
.immersive-atlas .has-highlight .universe-node:not(.connected){opacity:.16}
.immersive-atlas .has-highlight .universe-node.hub:not(.connected){opacity:.32}
.immersive-atlas .connected:not(.hub) .node-core{fill:#b9bdb9}
.immersive-atlas .active-node:not(.hub) .node-core{fill:#12b88c;transform:scale(1.7)}
.immersive-atlas .node-core{transform-box:fill-box;transform-origin:center;transition:fill .3s ease,transform .3s cubic-bezier(.22,1,.36,1)}
.immersive-atlas .hover-links{opacity:0;transition:opacity .42s ease;pointer-events:none}
.immersive-atlas .has-highlight .hover-links{opacity:1}
.immersive-atlas .hover-links .constellation-link{stroke:#16b88c;animation:none;opacity:.85}
.immersive-atlas .base-links .constellation-link{transition:opacity .48s ease}
@media(prefers-reduced-motion:reduce){.immersive-atlas .hover-links,.immersive-atlas .node-core{transition:none!important}}

/* Lamp-like focus: a measured dim-down and gentle illumination. */
.immersive-atlas .universe-node,.immersive-atlas .base-links .constellation-link{transition:opacity .7s cubic-bezier(.4,0,.2,1)}
.immersive-atlas .hover-links{transition:opacity .65s cubic-bezier(.4,0,.2,1)}
.immersive-atlas .node-core{transition:fill .6s ease,transform .6s cubic-bezier(.4,0,.2,1),filter .65s ease}
.immersive-atlas .active-node .node-core{filter:drop-shadow(0 0 3px #54d6aa55)}
.immersive-atlas .hover-links .constellation-link{animation:atlas-light-on .65s cubic-bezier(.4,0,.2,1) both}
@keyframes atlas-light-on{from{opacity:0}to{opacity:.85}}

/* Labels settle gently after a continuous camera gesture. */
.immersive-atlas .universe-label{transition:opacity .25s ease}
@media(prefers-reduced-motion:reduce){.immersive-atlas .universe-label{transition:none}}

/* Keep SVG circles on the normal paint path while the camera moves. */
.immersive-atlas .node-core{filter:none!important;transform:none!important;transition:fill .6s ease}
.immersive-atlas .universe-node.hub{visibility:visible!important}

/* Persistent graph layers: hover only changes paint, never geometry or visibility. */
.immersive-atlas .hover-links,.immersive-atlas .has-highlight .hover-links{opacity:1;transition:none}
.immersive-atlas .hover-links .constellation-link{opacity:0;animation:none!important;transition:opacity .6s cubic-bezier(.4,0,.2,1)}
.immersive-atlas .hover-links .constellation-link.active-line{opacity:.85}
.immersive-atlas .base-links{opacity:1;transition:opacity .6s cubic-bezier(.4,0,.2,1)}
.immersive-atlas .has-highlight .base-links{opacity:.08}
.immersive-atlas .connected .universe-label{opacity:1!important}
@media(prefers-reduced-motion:reduce){.immersive-atlas .base-links{transition:none}}

/* One paint surface; SVG remains only as an off-screen keyboard-accessible index. */
.immersive-atlas .universe-viewport #genre-map{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);pointer-events:none}
.immersive-atlas .atlas-canvas{display:block;width:100%;height:100%;touch-action:none}

/* Frosted detail panel with a geometrically centered close control. */
.immersive-atlas .genre-card{
 background:linear-gradient(135deg,#ffffff09,#ffffff00 55%),rgba(28,34,30,.62);
 -webkit-backdrop-filter:blur(26px) saturate(135%);
 backdrop-filter:blur(26px) saturate(135%);
 border:1px solid #e4efdf26;border-top:2px solid var(--family);border-radius:20px;
 box-shadow:0 20px 60px #0005,inset 0 1px 0 #ffffff0a;
 scrollbar-width:thin;scrollbar-color:#e4efdf33 transparent;
}
.immersive-atlas .genre-card .eyebrow{padding-right:42px}
.immersive-atlas .genre-card h2{padding-right:20px}
.immersive-atlas .genre-card p{color:#c6ccc3}
.immersive-atlas .genre-card .eyebrow{color:var(--family)}
.immersive-atlas .genre-card .card-close{
 top:12px;right:12px;width:36px;height:36px;min-width:36px;padding:0;margin:0;
 display:grid;place-items:center;line-height:1;box-sizing:border-box;
 color:#e4e7df;background:#ffffff0a;border:1px solid #ffffff10;border-radius:50%;
 transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.immersive-atlas .genre-card .card-close svg{display:block;width:20px;height:20px;pointer-events:none}
.immersive-atlas .genre-card .card-close:hover{background:#ffffff19;border-color:#ffffff2b;color:#fff}
.immersive-atlas .genre-card .card-close:focus-visible{outline:2px solid var(--family);outline-offset:3px}
.immersive-atlas .genre-card #card-relations{scrollbar-width:thin;scrollbar-color:#e4efdf33 transparent;padding-right:4px}
.immersive-atlas .genre-card #card-relations button{background:#ffffff04;border-color:#ffffff14;border-radius:9px;transition:background .18s ease,border-color .18s ease}
.immersive-atlas .genre-card #card-relations button:hover{background:#ffffff0c;border-color:#ffffff2b}
.immersive-atlas .genre-card #card-explore{background:#ffffff07;border-color:#ffffff24;border-radius:10px}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.immersive-atlas .genre-card{background:rgba(28,34,30,.94)}}
@media(max-width:700px){.immersive-atlas .genre-card .card-close{top:8px;right:8px;width:44px;height:44px;min-width:44px}}
@media(prefers-reduced-motion:reduce){.immersive-atlas .genre-card .card-close,.immersive-atlas .genre-card #card-relations button{transition:none}}

/* Listening notes share the panel's scroll area; no nested list scrolling. */
.immersive-atlas .genre-card{width:344px;max-height:calc(100dvh - 122px);overscroll-behavior:contain}
.immersive-atlas #card-listening{border-top:1px solid #ffffff17;margin-top:22px;padding-top:20px}
.immersive-atlas .listening-section+.listening-section{margin-top:23px}
.immersive-atlas .genre-card .listening-heading{margin:0 0 11px;color:#ced3ca;font:500 11px/1.5 var(--sans,system-ui,sans-serif);letter-spacing:.12em;text-transform:uppercase}
.immersive-atlas .genre-card .listening-artists,.immersive-atlas .genre-card .listening-albums{list-style:none;margin:0;padding:0}
.immersive-atlas .listening-artists{display:flex;flex-wrap:wrap;gap:7px}
.immersive-atlas .genre-card a.listening-artist{display:flex;align-items:center;gap:9px;margin:0;padding:7px 10px;min-height:34px;border:1px solid #ffffff14;border-radius:8px;color:#e8e9e2;background:#ffffff05;font-size:12px;line-height:1.5;text-decoration:none}
.immersive-atlas .genre-card a.listening-album{display:flex;align-items:center;gap:11px;margin:0;padding:11px 0;border-bottom:1px solid #ffffff0e;color:#ecece5;text-decoration:none;font-size:13px;line-height:1.5}
.immersive-atlas .listening-albums li:last-child .listening-album{border-bottom:0}
.immersive-atlas .listening-album-detail{min-width:0;flex:1}
.immersive-atlas .listening-album-title{display:block;font-weight:500;overflow-wrap:anywhere}
.immersive-atlas .listening-album-meta{display:block;margin-top:3px;font-size:11px;line-height:1.5;color:#a8afa5;overflow-wrap:anywhere}
.immersive-atlas .listening-record{position:relative;flex:0 0 32px;width:32px;height:32px;border:1px solid #ffffff1a;border-radius:50%;background:repeating-radial-gradient(circle,#171c18 0 2px,#31372f 2px 3px);box-shadow:0 2px 7px #0003}
.immersive-atlas .listening-record:after{content:'';position:absolute;inset:10px;border-radius:50%;background:var(--family);box-shadow:inset 0 0 0 4px #0003}
.immersive-atlas .listening-arrow{flex:none;font-size:14px;color:var(--family);opacity:.8}
.immersive-atlas .genre-card a.listening-artist:hover{background:#ffffff10;border-color:#ffffff30}
.immersive-atlas .genre-card a.listening-album:hover .listening-album-title{color:var(--family)}
.immersive-atlas .genre-card a.listening-artist:focus-visible,.immersive-atlas .genre-card a.listening-album:focus-visible{outline:2px solid var(--family);outline-offset:3px;border-radius:7px}
.immersive-atlas .genre-card .listening-empty,.immersive-atlas .genre-card .listening-note{color:#aab1a7;font-size:11px;line-height:1.7;margin:6px 0 0}
.immersive-atlas .genre-card .listening-note{margin-top:18px}
@media(max-width:700px){.immersive-atlas .genre-card{width:auto;max-height:50dvh}.immersive-atlas .genre-card a.listening-artist{min-height:44px}}

/* Keep Close available while the longer listening card scrolls. */
.immersive-atlas .card-close-bar{position:sticky;top:-10px;height:0;margin-top:-10px;margin-bottom:10px;z-index:2;pointer-events:none}
.immersive-atlas .genre-card .card-close-bar .card-close{top:0;right:-10px;pointer-events:auto;background:rgba(47,54,48,.94)}
@media(max-width:700px){.immersive-atlas .card-close-bar{top:-9px;margin-top:-9px;margin-bottom:9px}.immersive-atlas .genre-card .card-close-bar .card-close{right:-9px}}

/* Edge-docked detail drawer. Its own content scrolls without moving the map. */
body.immersive-atlas{--genre-sidebar-width:clamp(340px,30vw,420px);--genre-sidebar-top:90px}
.immersive-atlas #genre-card{
 inset:var(--genre-sidebar-top) 0 0 auto;width:var(--genre-sidebar-width);
 height:calc(100dvh - var(--genre-sidebar-top));max-height:none;min-height:0;
 display:flex;flex-direction:column;padding:0;overflow:hidden;
 border:0;border-left:1px solid #e4efdf26;border-top:2px solid var(--family);
 border-radius:16px 0 0 0;background:linear-gradient(135deg,#ffffff08,transparent 65%),rgba(28,34,30,.86);
 box-shadow:-16px 0 55px #0003;z-index:26;
 transform:translateX(100%);pointer-events:none;animation:none;will-change:transform;
 transition:transform .32s cubic-bezier(.22,.8,.25,1),border-color .18s ease;
}
.immersive-atlas #genre-card[hidden]{display:none}
.immersive-atlas #genre-card.is-open{transform:translateX(0);pointer-events:auto}
.immersive-atlas .genre-sidebar-header{position:relative;flex:none;padding:26px 28px 22px;border-bottom:1px solid #ffffff12}
.immersive-atlas .genre-sidebar-header .eyebrow{margin:0;padding-right:48px}
.immersive-atlas .genre-sidebar-header h2{font-size:30px;line-height:1.25;margin:12px 0 0;padding-right:42px;overflow-wrap:anywhere}
.immersive-atlas #genre-card .genre-sidebar-header .card-close{top:18px;right:18px;width:40px;height:40px;min-width:40px;margin:0;background:#ffffff09}
.immersive-atlas .genre-sidebar-content{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:24px 28px max(30px,env(safe-area-inset-bottom));overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#e4efdf33 transparent;overflow-anchor:none}
.immersive-atlas .genre-sidebar-content:focus-visible{outline:1px solid var(--family);outline-offset:-4px}
.immersive-atlas .genre-sidebar-content #card-description{margin-top:0}
.immersive-atlas .genre-sidebar-content #card-parent:empty,.immersive-atlas .genre-sidebar-content #card-credit:empty{display:none}
.immersive-atlas .genre-sidebar-content #card-listening{margin-top:26px;padding-top:24px}
.immersive-atlas .universe-tools{transition:right .32s cubic-bezier(.22,.8,.25,1),opacity .2s ease}
.immersive-atlas.genre-sidebar-open .universe-tools{right:calc(var(--genre-sidebar-width) + 20px)}
.immersive-atlas.genre-sidebar-open #map-breadcrumb{max-width:calc(100vw - var(--genre-sidebar-width) - 48px)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.immersive-atlas #genre-card{background:#1c221e}}
@media(max-width:700px){
 body.immersive-atlas{--genre-sidebar-top:94px;--genre-sidebar-width:min(400px,calc(100vw - 16px))}
 .immersive-atlas .map-header .map-peer-nav{gap:clamp(12px,4vw,23px);overflow-x:auto;justify-content:center}
 .immersive-atlas .genre-sidebar-header{padding:22px 22px 20px}
 .immersive-atlas .genre-sidebar-header h2{font-size:26px}
 .immersive-atlas #genre-card .genre-sidebar-header .card-close{top:13px;right:13px;width:44px;height:44px;min-width:44px}
 .immersive-atlas .genre-sidebar-content{padding:22px 22px max(26px,env(safe-area-inset-bottom))}
 .immersive-atlas.genre-sidebar-open .universe-tools{right:12px;opacity:0;visibility:hidden;pointer-events:none}
 .immersive-atlas.genre-sidebar-open #map-breadcrumb,.immersive-atlas.genre-sidebar-open .atlas-info,.immersive-atlas.genre-sidebar-open .map-tools{visibility:hidden}
}
@media(prefers-reduced-motion:reduce){.immersive-atlas #genre-card,.immersive-atlas .universe-tools{transition:none}}

/* Relationship key beside the map navigation. */
.immersive-atlas .map-legend{display:flex;flex-direction:column;gap:7px;top:196px;bottom:auto;left:24px;max-width:calc(100vw - 48px);padding:10px 12px;border:1px solid #ffffff12;border-radius:10px;background:#252827cc;backdrop-filter:blur(12px);font-size:12px;line-height:1.5;color:#d1d5cf;text-shadow:none}
.direction-legend-item{display:flex;align-items:center;gap:10px}
.direction-legend-line{display:block;width:30px;flex:0 0 30px;border-top:2px dashed}
.direction-legend-line.incoming{border-color:#e8b56b}
.direction-legend-line.outgoing{border-color:#78b9f2}
.direction-legend-line.subgenre{border-top-style:solid;border-color:#889187}
@media(max-width:700px){.immersive-atlas .map-legend{left:12px;top:230px;font-size:11px;gap:5px;padding:8px 10px}.immersive-atlas.genre-sidebar-open .map-legend{visibility:hidden}}

 .genre-blog-links{margin:20px 0 24px;padding:0;border:0}.genre-blog-links h3{font-size:14px;font-weight:500;margin:0 0 12px}.genre-card .genre-blog-links .genre-blog-card{display:block;margin:10px 0;padding:16px;border:1px solid #ffffff1a;border-radius:12px;background:#ffffff05;text-decoration:none;transition:background .2s,border-color .2s}.genre-card .genre-blog-links .genre-blog-card:hover{background:#ffffff0b;border-color:var(--family);text-decoration:none}.genre-blog-card:focus-visible{outline:2px solid var(--family);outline-offset:3px}.genre-blog-title{display:block;font-size:15px;line-height:1.5;color:var(--family)}.genre-blog-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;margin-top:9px;font-size:13px;line-height:1.7;color:#b9bdb4}


.genre-blog-image{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin:0 0 14px;background:#ffffff05}

/* Full-height details with a navigation bar that makes room for the drawer. */
body.immersive-atlas{--genre-sidebar-top:0px}
.immersive-atlas #genre-card{border-radius:0;z-index:32}
.immersive-atlas .map-header{transition:right .32s cubic-bezier(.22,.8,.25,1),opacity .2s ease}
.immersive-atlas.genre-sidebar-open .map-header{right:calc(var(--genre-sidebar-width) + 24px);gap:16px}
.immersive-atlas.genre-sidebar-open .map-header .map-peer-nav{gap:16px;min-width:0}
.immersive-atlas.genre-sidebar-open .map-header .language-menu{margin-left:0}
@media(min-width:701px) and (max-width:1100px){.immersive-atlas.genre-sidebar-open .map-header{padding:0 12px;gap:10px}.immersive-atlas.genre-sidebar-open .map-header .map-peer-nav{gap:10px}.immersive-atlas.genre-sidebar-open .map-header a{font-size:11px}.immersive-atlas.genre-sidebar-open .map-header a.brand{font-size:24px}}
@media(max-width:700px){body.immersive-atlas{--genre-sidebar-top:0px}.immersive-atlas.genre-sidebar-open .map-header{opacity:0;visibility:hidden;pointer-events:none}.immersive-atlas .genre-sidebar-header{padding-top:max(22px,env(safe-area-inset-top))}}
@media(prefers-reduced-motion:reduce){.immersive-atlas .map-header{transition:none}}

/* Keep the graph viewport fixed while the details drawer overlays it. */
.immersive-atlas .universe-stage{width:auto;right:0}
.immersive-atlas .map-scroll.universe-viewport{width:100%;overflow:hidden}
.immersive-atlas #genre-card{box-shadow:none;background:#1c221e;backdrop-filter:none;-webkit-backdrop-filter:none}

/* Minimize details without clearing the selected genre. */
.immersive-atlas .genre-sidebar-header{padding-top:68px}
.immersive-atlas .genre-sidebar-collapse{position:absolute;top:18px;left:24px;min-height:40px;padding:0 12px;border:1px solid #ffffff24;border-radius:20px;background:#ffffff08;color:var(--ink);cursor:pointer;font:inherit;font-size:13px}
.genre-sidebar-restore{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:33;max-width:min(200px,55vw);min-height:48px;padding:12px 18px;border:1px solid #ffffff30;border-right:0;border-radius:24px 0 0 24px;background:#26332ef2;color:#e5ecdf;box-shadow:0 4px 20px #0003;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:inherit;font-size:13px}
.genre-sidebar-restore[hidden]{display:none}
.genre-sidebar-restore:focus-visible,.genre-sidebar-collapse:focus-visible{outline:2px solid var(--family,#baca92);outline-offset:-3px}

/* Header wordmark replaced by the logo. The atlas header is a fixed 58px pill, so the logo is sized to fit it. */
.map-header a.brand .brand-logo{display:block;height:38px;width:auto}
@media(max-width:700px){.map-header a.brand .brand-logo{height:44px}}
