/* Revision05: four physical creative objects, one continuous source. */
.nexus-stage{--source-red:rgba(255,91,113,.5);--source-blue:rgba(100,216,255,.5)}
.nexus-hud{top:105px}.nexus-hud>div{top:0}.nexus-hud h2{font-size:30px}.nexus-hud .eyebrow,.nexus-instruction{display:none}.nexus-vignette{opacity:.4}.forge-core img{filter:drop-shadow(-9px 0 20px var(--source-red)) drop-shadow(9px 0 20px var(--source-blue))}.core-outer{border-color:#c9f1ff55;box-shadow:0 0 45px #83dbff22}.core-inner{border:0;box-shadow:none}
.world-portal{width:285px;filter:drop-shadow(0 22px 14px #0008);perspective:900px}.world-portal .portal-frame{position:relative;width:100%;height:180px;overflow:visible;border:0;box-shadow:none;background:none;clip-path:none;border-radius:0;transition:transform .45s var(--ease),filter .45s}.portal-glass,.portal-glyph{display:none}.portal-frame:after{border:0;box-shadow:none}.portal-text{background:none;padding:18px 0 0;text-align:center}.portal-kicker{font-size:10px;letter-spacing:1.3px;color:#b6c7d5}.portal-text strong{font-size:22px;margin:3px 0 0;line-height:1.3;font-weight:500}.portal-caption{font-size:12px;line-height:1.5;color:#bfd1df}.portal-caption b{display:none}.world-portal:hover .portal-frame,.world-portal:focus-visible .portal-frame{border-color:transparent;box-shadow:none;filter:drop-shadow(0 0 20px color-mix(in srgb,var(--realm-light),transparent 60%))}.world-portal:focus-visible{outline:2px solid #d9f4ff;outline-offset:15px;border-radius:12px}
/* An open illustrated volume, not an image monitor. */
.portal-books .portal-frame{transform:rotateY(16deg) rotateX(10deg) rotateZ(-6deg);height:170px;filter:drop-shadow(0 12px 0 #9e816c)}.portal-books .portal-frame:before{content:'';position:absolute;left:0;top:0;width:48%;height:100%;background:linear-gradient(90deg,#f4ead3,#fff8e8 85%,#d6c4a0);clip-path:polygon(3% 0,95% 6%,100% 100%,0 94%);border-radius:4px 0 0 5px;box-shadow:inset 0 -9px #d9c9ac}.portal-books .portal-frame:after{content:'';position:absolute;left:7%;top:22%;width:30%;height:47%;background:repeating-linear-gradient(transparent 0 13px,#c6b79777 14px 15px);opacity:.7;transform:rotate(3deg)}.portal-books .portal-frame>img{position:absolute;right:0;top:3%;width:54%;height:100%;object-fit:contain;padding:6px;background:#fffdf5;clip-path:polygon(0 3%,98% 0,100% 94%,0 100%);border-radius:0 5px 5px 0;box-shadow:inset 8px 0 15px #b3a189}.portal-books:hover .portal-frame,.portal-books:focus-visible .portal-frame{transform:rotateY(2deg) rotateX(0) rotateZ(-3deg)}
/* A cold, open aperture into a world still in development. */
.portal-games .portal-frame{width:190px;height:190px;margin:auto;border:8px solid #b9d4e2;border-radius:50%;transform:rotateY(-18deg) rotateX(8deg);background:#051324;box-shadow:8px 6px 0 #1f3b4a,inset 0 0 0 3px #142d3d,0 0 0 2px #ffffff66}.portal-games .frontier-art{position:absolute;inset:5px;border-radius:50%;overflow:hidden;background-image:url('assets/frontier-window.svg');background-size:cover;background-position:center}.portal-games .frontier-art b{display:none}.portal-games .portal-frame:after{content:'';position:absolute;inset:-19px;border:1px solid #8cd8ff66;border-radius:50%;transform:rotateX(55deg) rotateZ(-30deg)}.portal-games:hover .portal-frame,.portal-games:focus-visible .portal-frame{transform:rotateY(-5deg) rotateX(0);box-shadow:8px 6px 0 #1f3b4a,inset 0 0 0 3px #142d3d,0 0 0 2px #fff,0 0 40px #6ad4ff55}
/* A projected character specimen on a translucent plinth. */
.portal-art .portal-frame{width:220px;height:190px;margin:auto;transform:rotateY(12deg)}.portal-art .portal-frame>img{position:absolute;width:115px;height:180px;left:50%;bottom:15px;transform:translateX(-50%);object-fit:contain;opacity:.95;clip-path:polygon(42% 0,62% 2%,76% 17%,88% 50%,81% 76%,91% 100%,6% 100%,23% 72%,17% 42%,23% 20%);filter:drop-shadow(0 0 15px #9ecfff77)}.portal-art .portal-frame:before{content:'';position:absolute;left:10%;right:10%;bottom:0;height:55px;border-radius:50%;background:linear-gradient(#bad8e329,#173843cc);border:1px solid #b7e8f488;box-shadow:0 8px 0 #06121d,0 0 28px #a1c8ff22;transform:rotateX(35deg)}.portal-art .portal-frame:after{content:'';position:absolute;left:18%;right:18%;top:10px;bottom:20px;border-left:1px solid #b4d2ff66;border-right:1px solid #b4d2ff66;transform:skewY(-7deg);background:linear-gradient(transparent,#819df80d)}.portal-art:hover .portal-frame>img,.portal-art:focus-visible .portal-frame>img{transform:translateX(-50%);filter:drop-shadow(0 0 22px #b4ccff)}
/* An inclined drafting plane with a browser layout assembled in its layers. */
.portal-services .portal-frame{width:270px;height:170px;transform:rotateY(-14deg) rotateX(20deg) rotateZ(5deg);border:1px solid #bdeeff66;background:linear-gradient(135deg,#b9f2ff22,#83dfff08);box-shadow:8px 11px 0 #071623,9px 12px 0 #91d6df88}.portal-services .workshop-art{inset:0;background:transparent url('assets/workshop-window.svg') center/cover}.portal-services .workshop-art b{display:none}.portal-services .portal-frame:before{content:'';position:absolute;inset:16px;border:1px solid #b3e9f344;transform:translate3d(16px,-25px,35px);background:linear-gradient(135deg,#9bedff15,transparent)}.portal-services .portal-frame:after{content:'';position:absolute;left:28%;right:-8%;height:8px;bottom:-28px;background:#abcad466;filter:blur(4px)}.portal-services:hover .portal-frame,.portal-services:focus-visible .portal-frame{transform:rotateY(-4deg) rotateX(8deg) rotateZ(2deg);box-shadow:8px 11px 0 #071623,9px 12px 0 #c7f4ff}
/* The destination changes material before entry; no information depends on hover. */
.nexus-stage[data-preview="books"]{--source-red:rgba(255,201,135,.8)}.nexus-stage[data-preview="games"]{--source-blue:rgba(113,217,255,.9)}.nexus-stage[data-preview="art"]{--source-blue:rgba(198,164,255,.8)}.nexus-stage[data-preview="services"]{--source-blue:rgba(145,240,226,.8)}
.view-settings{position:absolute;bottom:46px;left:50%;transform:translateX(-50%);z-index:40;text-align:center}.view-settings summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid #a3d6f044;border-radius:24px;background:#06121cbb;color:#c1d9e7;min-height:44px;padding:8px 22px;font-size:12px}.view-settings summary:after{content:'+';font-size:17px}.view-settings[open] summary:after{content:'−'}.view-settings[open] .nexus-controls{display:flex}.view-settings .nexus-controls{display:none;position:static;transform:none;white-space:nowrap;margin:12px 0 0}.mobile-world-rail{display:none}#forge-canvas{touch-action:pan-y pinch-zoom}.nexus-footer .realm-status{display:none}.constellation-link{font-size:12px}.nexus-footer{bottom:5px}.arriving .view-settings{pointer-events:none;opacity:0}
/* Full-scene articles retain context, with distinctive readable material. */
dialog[data-entry-mode="immersive"]{background-color:#040a12;background-image:linear-gradient(#04101ce8,#07101cf5),url('assets/future-atelier-v005.webp');background-size:cover;background-position:center;background-attachment:fixed}dialog[data-world="books"][data-entry-mode="immersive"]{background-image:radial-gradient(ellipse at 80% 20%,#dcebd1,transparent 60%),linear-gradient(#f7f4e9f5,#f2f0e5f5),url('assets/future-atelier-v005.webp')}.dialog-top{background:#07101de8;backdrop-filter:blur(20px)}.dialog-shell{padding-bottom:35px}.game-window{border-radius:50% 50% 8px 8px;box-shadow:0 0 0 1px #99ddff55,0 0 0 14px #071725,0 0 50px #65c6ff17}
@media(min-width:1500px){.world-portal{width:320px}.portal-books .portal-frame{height:195px}.portal-games .portal-frame{width:220px;height:220px}.portal-art .portal-frame{height:220px}.portal-art .portal-frame>img{height:205px}.portal-services .portal-frame{width:300px;height:190px}}
@media(min-width:721px) and (max-width:1000px){.world-portal{width:210px}.portal-books .portal-frame{height:135px}.portal-games .portal-frame{width:150px;height:150px}.portal-art .portal-frame{width:170px;height:150px}.portal-art .portal-frame>img{height:145px;width:95px}.portal-services .portal-frame{width:200px;height:135px}.portal-text strong{font-size:18px}.portal-caption{font-size:11px}.nexus-hud h2{font-size:25px}}
@media(max-width:720px) and (orientation:portrait){.in-forge .site-header{background:#050912d9}.nexus-hud{top:126px}.nexus-hud>div{display:none}.nexus-hud .back-button{width:44px;min-width:44px;padding:0;font-size:0!important}.nexus-hud .back-button:before{content:'←';font-size:20px}.nexus-footer .constellation-link{top:126px;width:44px;padding:0;justify-content:center;font-size:0!important}.nexus-footer .constellation-link>svg{width:21px;height:21px}.world-portal{width:290px;display:none!important}.nexus-stage[data-featured-world="books"] .portal-books,.nexus-stage[data-featured-world="games"] .portal-games,.nexus-stage[data-featured-world="art"] .portal-art,.nexus-stage[data-featured-world="services"] .portal-services{display:block!important}.world-portal .portal-frame{margin:auto}.portal-books .portal-frame{height:195px}.portal-games .portal-frame{width:215px;height:215px}.portal-art .portal-frame{width:240px;height:215px}.portal-art .portal-frame>img{height:210px;width:140px}.portal-services .portal-frame{width:270px;height:180px}.portal-text{padding:22px 0 0}.portal-text strong{font-size:25px}.portal-kicker{display:none}.portal-caption{font-size:14px;margin-top:5px}.mobile-world-rail{position:absolute;display:grid;grid-template-columns:repeat(4,1fr);gap:3px;left:5%;right:5%;bottom:110px;z-index:35;border:1px solid #b1e0f544;padding:5px;border-radius:28px;background:#071725dd}.mobile-world-rail button{font-size:14px;min-height:44px;padding:4px 6px;border-radius:24px;color:#c4d8e5}.mobile-world-rail button:hover,.mobile-world-rail button:focus-visible{background:#315366;color:#fff;outline:2px solid #c6f5ff}.view-settings{bottom:43px}.view-settings[open]{background:#05111ff5;border:1px solid #a3d6f044;border-radius:22px;padding:9px}.view-settings summary{font-size:12px}.view-settings .nexus-controls{margin-top:8px}.nexus-footer{bottom:0}.has-selection .world-portal.is-selected{display:block!important}.has-selection .forge-core{opacity:1!important}}
@media(max-width:720px) and (max-height:680px) and (orientation:portrait){.world-portal{width:230px}.portal-books .portal-frame{height:133px}.portal-games .portal-frame{width:145px;height:145px}.portal-art .portal-frame{width:170px;height:140px}.portal-art .portal-frame>img{height:135px;width:90px}.portal-services .portal-frame{width:210px;height:130px}.portal-text{padding-top:13px}.portal-text strong{font-size:20px}.portal-caption{font-size:12px}.mobile-world-rail{bottom:101px}.view-settings{bottom:33px}}
@media(max-height:620px) and (min-width:721px){.world-portal{width:145px}.portal-books .portal-frame{height:90px}.portal-games .portal-frame{width:100px;height:100px}.portal-art .portal-frame{width:120px;height:100px}.portal-art .portal-frame>img{height:95px;width:60px}.portal-services .portal-frame{width:140px;height:90px}.portal-text{padding-top:12px}.portal-kicker,.portal-caption{display:none}.portal-text strong{font-size:14px}.nexus-hud h2{font-size:21px}.view-settings{bottom:13px}.nexus-footer{bottom:5px}}
@media(prefers-reduced-motion:reduce){.portal-frame,.world-portal{transition:none!important}}
/* The art collection is visible, not hidden inside a single dropdown. */
.concept-journey{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:70px 0 15px}.concept-journey>div{grid-column:1/-1;max-width:700px}.concept-journey h3{font:400 34px/1.25 Sora,Arial,sans-serif;margin:15px 0}.concept-journey p{font-size:15px;color:#b8c8d7;line-height:1.9}.concept-journey figure{margin:0;background:#111b28;border:1px solid #a1c8e133}.concept-journey img{width:100%;height:330px;object-fit:contain;background:#182130}.concept-journey figcaption{padding:16px 20px;font-size:13px;color:#c5d4df}.concept-journey .collection-overview{grid-column:1/-1}.concept-journey .collection-overview img{height:auto;max-height:540px}.prop-archive{display:block!important;background:none;border:0;padding:0;border-radius:0}.archive-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin:30px 0 42px}.archive-object{padding:0 0 16px;background:#142030;border:1px solid #a6c4df33;overflow:hidden;min-height:44px;text-align:left;transition:border-color .2s,transform .2s}.archive-object:hover,.archive-object[aria-pressed="true"]{border-color:#a7dcff;transform:translateY(-4px)}.archive-object:focus-visible{outline:3px solid #ecfaff;outline-offset:4px}.archive-object img{display:block;width:100%;aspect-ratio:4/3;height:auto;object-fit:contain;background:#53606b}.archive-object span,.archive-object small{display:block;padding:0 13px}.archive-object span{font-size:13px;color:#e2eef6;margin:13px 0 6px;line-height:1.4;min-height:36px}.archive-object small{font-size:9px;color:#a1bdcd;letter-spacing:1px}.archive-inspector{display:grid;grid-template-columns:1.2fr 1fr;gap:20px 30px;padding:26px;background:linear-gradient(145deg,#1b2d42,#0b1320);border:1px solid #a1d4f255;border-radius:4px 24px 4px 24px}.archive-inspector>label,.archive-inspector>select,.archive-inspector>.view-buttons,.archive-inspector>.archive-description,.archive-inspector>.archive-stats{grid-column:2}.archive-inspector>label{font-size:10px;color:#bdd5e6;letter-spacing:1.3px}.archive-inspector>.archive-stage{grid-column:1;grid-row:1/7;min-height:340px;margin:0;background:#101b2b;border:1px solid #a4cde533}.archive-stage:focus-visible{outline:3px solid #e7faff;outline-offset:5px}.archive-stage img{width:100%;height:100%;max-height:450px;object-fit:contain}.archive-inspector select{font-size:14px;min-height:48px}.archive-inspector .view-buttons{gap:5px}.archive-inspector .view-buttons button{min-height:44px;font-size:12px}.archive-description{font-size:15px!important;line-height:1.8}.archive-stats{font-size:12px!important;color:#a7c4d8}
.workbench-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:24px 0 14px}.workbench-controls button{min-height:44px;padding:8px 20px;border:1px solid #a5d9eb55;border-radius:24px;font-size:13px}.workbench-controls button[aria-pressed="true"]{background:#b9e9f6;color:#102533}.workbench-controls>span{font-size:9px;letter-spacing:1px;margin-left:auto;color:#a1c3d6}.website-preview{transition:max-width .4s var(--ease),border-radius .4s;margin-left:auto;margin-right:auto;max-width:100%;width:100%}.website-preview[data-workbench-view="phone"]{max-width:240px;border-radius:25px;min-height:380px}.website-preview[data-workbench-view="phone"] .browser-dots{font-size:7px;padding:15px 10px}.website-preview[data-workbench-view="phone"] .browser-dots span{display:none}.website-preview[data-workbench-view="phone"] .website-skeleton{min-height:320px;padding:30px 20px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.website-preview[data-workbench-view="phone"] .website-skeleton>span{font-size:24px}.website-preview[data-workbench-view="phone"] .website-skeleton>i{position:relative;width:100%;height:110px;right:auto;top:auto;transform:none;opacity:.5}.website-preview[data-workbench-view="phone"] .website-skeleton>b{position:static;font-size:8px}
@media(max-width:900px){.archive-grid{grid-template-columns:repeat(3,1fr)}.archive-inspector{grid-template-columns:1fr;gap:20px}.archive-inspector>.archive-stage{grid-column:1;grid-row:3;min-height:300px}.archive-inspector>label,.archive-inspector>select,.archive-inspector>.view-buttons,.archive-inspector>.archive-description,.archive-inspector>.archive-stats{grid-column:1}.concept-journey img{height:260px}}
@media(max-width:620px){.concept-journey{grid-template-columns:1fr;gap:22px;margin-top:45px}.concept-journey h3{font-size:27px}.concept-journey .collection-overview,.concept-journey>div{grid-column:1}.concept-journey img{height:auto}.archive-grid{grid-template-columns:repeat(2,1fr);gap:12px}.archive-object span{font-size:13px}.archive-inspector{padding:17px}.archive-inspector>.archive-stage{min-height:220px}.archive-inspector .view-buttons button{font-size:11px;min-width:0;padding:8px}.workbench-controls>span{flex-basis:100%;margin:6px 0 0}.workbench-controls button{flex:1}.concept-journey p{font-size:14px}}
/* Travel changes the selected object's material and shape, not only the backdrop. */
.arriving .nexus-stage[data-destination="books"] .portal-books .portal-frame{transform:rotateY(0) rotateX(0) rotateZ(0) scale(1.12)}.arriving .nexus-stage[data-destination="games"] .portal-games .portal-frame{transform:rotateY(0) rotateX(0) scale(1.14);box-shadow:0 0 0 3px #d0f7ff,0 0 70px #73d8ff66}.arriving .nexus-stage[data-destination="art"] .portal-art .portal-frame{transform:rotateY(0) scale(1.12);filter:drop-shadow(0 0 30px #a7b5ff55)}.arriving .nexus-stage[data-destination="services"] .portal-services .portal-frame{transform:rotateY(0) rotateX(0) rotateZ(0) scale(1.12)}.arriving .nexus-stage[data-destination="books"] .world-portal:not(.portal-books),.arriving .nexus-stage[data-destination="games"] .world-portal:not(.portal-games),.arriving .nexus-stage[data-destination="art"] .world-portal:not(.portal-art),.arriving .nexus-stage[data-destination="services"] .world-portal:not(.portal-services){opacity:0!important}.arriving .portal-text{opacity:0;transition:opacity .25s}.arriving .forge-core{opacity:.3!important}
.sound-button{display:flex;gap:8px;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 10px;border:1px solid #83b4cc44;background:#06111b9c;color:#b6cfde}.sound-button .sound-label{font-size:8px;letter-spacing:.6px;white-space:nowrap}.sound-button[aria-pressed="true"]{color:#d8f8ff;border-color:#b3e8f2;background:#163044}.sound-button:focus-visible{outline:3px solid #fff;outline-offset:4px}.site-header{gap:16px}.site-header nav{gap:24px}.site-header .quality-label{margin-left:auto}
@media(max-width:900px){.sound-button .sound-label{display:none}.sound-button{padding:0;width:44px}.site-header{gap:10px}.site-header nav{gap:17px}.motion-button{display:none}}
@media(max-width:720px){.quality-label select{max-width:92px}.site-header .brand{gap:6px}.brand>span{letter-spacing:1.5px}.sound-button{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.arriving .world-portal,.arriving .portal-frame,.arriving .portal-text{transition:none!important}}
/* Keep floating labels legible across projected material seams. */
.portal-text strong,.portal-caption{position:relative;text-shadow:0 2px 8px #000,0 0 18px #02070b}.portal-caption{display:block}.world-portal .portal-text{background:radial-gradient(ellipse,#040b14b3,transparent 75%)}
/* Independent review: small landscape needs its own object scale, not portrait rules. */
@media(max-height:620px) and (orientation:landscape){.world-portal{width:145px}.portal-books .portal-frame{height:90px}.portal-games .portal-frame{width:100px;height:100px}.portal-art .portal-frame{width:120px;height:100px}.portal-art .portal-frame>img{height:95px;width:60px}.portal-services .portal-frame{width:140px;height:90px}.portal-text{padding-top:10px}.portal-kicker,.world-portal .portal-caption{display:none}.portal-text strong{font-size:14px}.nexus-hud h2{font-size:21px}.view-settings{bottom:13px}.nexus-footer{bottom:5px}}
@media(max-width:720px) and (orientation:landscape){.in-forge .site-header{height:60px}.in-forge .site-header nav{display:none}.nexus-hud{top:72px;left:4%;right:4%}.nexus-hud>div{position:absolute;display:block;top:0;left:50%;transform:translateX(-50%);width:280px;margin:0;text-align:center}.nexus-hud h2{font-size:19px!important}.nexus-hud .back-button{width:44px;min-width:44px;padding:0;font-size:0!important}.nexus-hud .back-button:before{content:'←';font-size:20px}.world-portal{width:115px}.portal-books .portal-frame{height:75px}.portal-games .portal-frame{width:85px;height:85px}.portal-art .portal-frame{width:105px;height:85px}.portal-art .portal-frame>img{height:80px;width:50px}.portal-services .portal-frame{width:110px;height:75px}.portal-text strong{font-size:13px}.nexus-footer .constellation-link{position:absolute;top:auto;right:auto;left:0;bottom:0;width:auto;font-size:10px;padding:0 6px;background:#06131e99}.nexus-footer .constellation-link>svg{width:14px;height:14px}.view-settings{bottom:13px}.view-settings summary{font-size:11px}.nexus-footer{left:3%;right:3%;bottom:5px}}
.dialog-top .sound-button{margin-left:auto;margin-right:18px;min-width:44px;gap:8px}.dialog-top .sound-button svg{flex-shrink:0}.dialog-top .sound-button .sound-label{font-size:8px}@media(max-width:720px){.dialog-top #world-index{display:none}.dialog-top .sound-button{margin-left:0;margin-right:12px}.dialog-top{justify-content:space-between}}
.sound-button[data-sound="unavailable"]{border-color:#ff8d9c;color:#ffd0d5}.sound-button[data-sound="unavailable"]:after{content:'!';font-size:15px;font-weight:700}.sound-button[data-sound="starting"]{border-color:#d1ebf9}

/* Native access to the complete existing Art images, without leaving the realm. */
dialog[data-world="art"] .art-source-link {
 display:inline-flex; align-items:center; min-height:44px; min-width:44px; max-width:100%;
 margin-top:12px; padding:9px 12px; box-sizing:border-box;
 border:1px solid #8ccfea80; border-radius:4px; background:#102637; color:#d8f1ff;
 font-size:14px; line-height:1.5; white-space:normal; overflow-wrap:anywhere;
 text-decoration:underline; text-underline-offset:3px;
 scroll-margin-block:155px 12px; scroll-margin-inline:12px;
}
dialog[data-world="art"] .art-source-link:hover { background:#1b3c50; border-color:#b5e6ff; }
dialog[data-world="art"] .art-source-link:focus-visible { outline:3px solid #e5f5ff; outline-offset:4px; }
@media(forced-colors:active){
 dialog[data-world="art"] .art-source-link { color:LinkText; border-color:LinkText; background:Canvas; }
}
@media(max-height:620px) and (orientation:landscape){
 dialog[data-world="art"] .art-source-link { scroll-margin-block-start:12px; }
}
