/* Nothing Here: miniature worlds. Sculpted mechanisms, pastel enamel, brushed
   metal, clockwork animals, delicate lenswork and a self-propelled train.
   Continues the clean white-page stage, no giant background art. */

/* The tiny passenger lift: a miniature architectural model with a moving
   split door, real lintel, floor counter and brass indicator lamp. */
.nc-elevator{perspective:420px}
.nc-lift-frame{position:relative;display:block;width:87px;height:107px;margin:2px auto 0;
 border:4px solid #796656;border-radius:19px 19px 6px 6px;
 background:linear-gradient(100deg,#c49f72 0 10%,#f2dcb0 16% 75%,#b79168 100%);
 box-shadow:inset 0 0 0 3px #fff2d1,3px 5px 0 #4a455029,0 8px 17px #a78d6b26}
.nc-lift-frame::before,.nc-lift-frame::after{content:"";position:absolute;top:9px;bottom:9px;width:4px;border:1px solid #7e6350;
 background:repeating-linear-gradient(#b58f62 0 8px,#efd5a5 8px 15px)}
.nc-lift-frame::before{left:-9px}.nc-lift-frame::after{right:-9px}
.nc-lift-floor{position:absolute;z-index:5;top:6px;left:50%;transform:translateX(-50%);
 font-size:12px;font-weight:900;color:#f3e1b0;text-shadow:0 0 5px #ffc98278;
 width:28px;height:19px;border-radius:4px;background:#4c4144;border:2px solid #927750;
 font-variant-numeric:tabular-nums;text-align:center}
.nc-lift-inner{position:absolute;left:8px;right:8px;bottom:9px;top:32px;
 background:linear-gradient(#6e6466,#aa9aa0);border:2px solid #665354;border-radius:2px;
 overflow:hidden;box-shadow:inset 0 6px 12px #382933a1}
.nc-lift-door{position:absolute;top:0;bottom:0;width:50%;background:
 repeating-linear-gradient(90deg,transparent 0 5px,#765b5a36 5px 7px),
 linear-gradient(90deg,#dcc3a2,#ad8b72 60%,#cfb292);
 border:1px solid #8d715f;transition:transform 1.25s cubic-bezier(.19,.82,.22,1)}
.nc-lift-door-a{left:0;border-right:3px double #74615a}
.nc-lift-door-b{right:0;border-left:3px double #74615a}
.nc-lift-ridge{position:absolute;left:47%;top:13px;height:24px;width:4px;background:#e9d6b5;z-index:2;opacity:.5;pointer-events:none}
.nc-lift-lamp{position:absolute;right:8px;top:9px;width:7px;height:8px;border:1px solid #7c6354;border-radius:50%;background:#977978}
.nc-lift-open .nc-lift-door-a{transform:translateX(-103%)}
.nc-lift-open .nc-lift-door-b{transform:translateX(103%)}
.nc-lift-open .nc-lift-lamp{background:#c4e9ae;box-shadow:0 0 8px 3px #b6e49b}
.nc-lift-open .nc-lift-floor{color:#d6efb8}
.nc-elevator.nc-lift-arrived{animation:ncLiftArrival 1.25s ease-out}
@keyframes ncLiftArrival{0%,100%{transform:translateY(0)}
 15%{transform:translateY(-10px)}36%{transform:translateY(2px)}
 65%{transform:translateY(-3px)}}
.nc-elevator.nc-ticket-stamp{animation:ncTicketStamp 1.1s ease}
@keyframes ncTicketStamp{0%,100%{filter:none;transform:rotate(0)}
 32%{filter:drop-shadow(0 0 12px #c9b6e8);transform:rotate(-5deg) scale(1.1)}
 75%{transform:rotate(2deg)}}
.nc-lift-puzzle{display:grid;grid-template-columns:1fr 1fr;gap:19px;align-items:center;
 margin:22px 0;padding:18px;border:2px solid #d4bf9e;background:linear-gradient(130deg,#fff9ed,#f0e4d3);
 border-radius:14px;box-shadow:inset 0 0 0 5px #fffef0}
.nc-lift-miniature{width:112px;height:154px;margin:auto;position:relative;display:grid;place-items:center;
 border:9px solid #b99a71;border-radius:54px 54px 6px 6px;background:#847b79;
 box-shadow:inset 0 6px 14px #483b3c,0 5px 0 #967c5e}
.nc-lift-glass{position:absolute;inset:10px 6px;background:linear-gradient(135deg,#c9c0b4,#928a90);border:2px solid #6a6064}
.nc-lift-innerdoors{position:absolute;inset:10px 6px;background:repeating-linear-gradient(90deg,#c7ab8c 0 10px,#a98e76 10px 13px);
 border:2px solid #726459}
.nc-lift-miniature>span{position:absolute;top:-1px;border:2px solid #ad8b56;background:#4f4144;border-radius:4px;
 color:#f6dda2;font-weight:900;font-size:12px;letter-spacing:.11em;padding:4px}
.nc-lift-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nc-lift-call{height:57px;border:3px solid #957c68;border-radius:50%;
 background:radial-gradient(circle at 35% 25%,#fff1d7,#d4b68e 65%,#b79a77);
 color:#715b4d;font-size:17px;font-weight:900;box-shadow:0 5px 0 #bda386,inset 0 0 0 4px #f2dbb8}
.nc-lift-call:hover,.nc-lift-call.nc-floor-active{background:#cbe3ba;color:#4f7257;border-color:#749075;
 box-shadow:0 2px 0 #78907b,0 0 16px #bbd99e8c}

/* Precision clockwork moth, with separately hinged paper-thin wings,
   a copper thorax, pin antennae and tiny turning escapement. */
.nc-moth{perspective:340px}
.nc-moth-model{position:relative;display:block;width:100px;height:91px;transform:translateY(5px);
 filter:drop-shadow(4px 8px 4px #74728b21);
 animation:ncMothHover 3.1s ease-in-out infinite}
.nc-moth-body{position:absolute;z-index:5;top:23px;left:45px;height:49px;width:15px;
 background:linear-gradient(90deg,#806e80,#dbc9bc 36%,#c8a9a7 73%,#847082);border:2px solid #7a6a78;
 border-radius:50% 50% 42% 42%;box-shadow:0 3px 3px #49424b36}
.nc-moth-body::before{content:"";position:absolute;left:1px;top:12px;width:8px;height:9px;border-radius:50%;
 background:#e8d5a8;box-shadow:0 12px 0 #d9bda6,0 24px 0 #bc9bab}
.nc-moth-wing{position:absolute;top:12px;width:54px;height:59px;border:2px solid #866d84;
 background:radial-gradient(ellipse at 55% 50%,#d9bedb 0 14%,#ecdfe8 14% 28%,#bfabc8 28% 36%,#efdfdb 37%);
 border-radius:72% 20% 67% 30%;transform-origin:100% 52%;
 box-shadow:inset 0 0 0 5px #d6bdce5e}
.nc-moth-wing-a{left:0;transform:rotate(-18deg);animation:ncMothWingA .23s ease-in-out infinite alternate}
.nc-moth-wing-b{right:0;transform-origin:0 52%;border-radius:20% 72% 30% 67%;
 animation:ncMothWingB .23s ease-in-out infinite alternate}
.nc-moth-antenna{position:absolute;top:5px;left:50px;width:19px;height:27px;border-top:2px solid #75566d;
 border-left:2px solid #75566d;border-radius:100% 0 0 0;transform:rotate(20deg)}
.nc-moth-antenna-b{left:37px;transform:scaleX(-1) rotate(20deg)}
.nc-moth:hover .nc-moth-model{animation-duration:1.5s}
.nc-moth.nc-moth-arrive{animation:ncMothArrival 1.5s ease-out}
.nc-moth.nc-moth-burst{animation:ncMothBurst .8s ease-in-out}
@keyframes ncMothHover{50%{transform:translateY(-11px) rotate(-4deg)}}
@keyframes ncMothWingA{to{transform:rotateY(65deg) rotate(-35deg)}}
@keyframes ncMothWingB{to{transform:rotateY(-65deg) rotate(35deg)}}
@keyframes ncMothArrival{0%{opacity:0;transform:translate(-145px,-95px) scale(.1) rotate(-50deg)}
 60%{opacity:1;transform:translate(14px,-19px) scale(1.2) rotate(10deg)}
 100%{transform:translate(0,0) scale(1)}}
@keyframes ncMothBurst{0%,100%{transform:rotate(0)}30%{transform:rotate(-22deg) scale(1.14)}
 60%{transform:rotate(20deg) scale(.85)}}

/* Tiny astronomical instrument: precision-fitted brass tubing, silver lens,
   adjustable ball joint and three independent wooden tripod legs. */
.nc-scope-model{position:relative;display:block;width:111px;height:115px;perspective:380px;transform:translateY(5px)}
.nc-scope-barrel{position:absolute;left:19px;top:17px;width:83px;height:37px;border:3px solid #74695e;
 border-radius:9px 16px 16px 9px;transform:rotate(-21deg);
 background:repeating-linear-gradient(90deg,#d7bd84 0 13px,#fff2c4 13px 16px,#bb9468 16px 29px);
 box-shadow:inset 0 5px 3px #fff7d280,0 5px 0 #9e866735;z-index:3}
.nc-scope-eyepiece{position:absolute;left:9px;top:46px;width:23px;height:15px;border:3px solid #6e635a;
 border-radius:3px;background:linear-gradient(#f0d49e,#ab8865);transform:rotate(-21deg);z-index:4}
.nc-scope-lens{position:absolute;right:6px;top:2px;width:18px;height:39px;border:3px solid #73675d;
 border-radius:50%;background:linear-gradient(90deg,#d2b27f,#f7e8c7);
 transform:rotate(-20deg);z-index:4}
.nc-scope-hinge{position:absolute;left:48px;top:51px;height:25px;width:24px;border:4px solid #8b795f;
 background:radial-gradient(circle,#e2d2a2,#aa9166);border-radius:50%;z-index:5}
.nc-scope-leg{position:absolute;left:54px;top:70px;width:8px;height:48px;
 border:2px solid #765644;border-radius:4px;background:linear-gradient(90deg,#a06b50,#d7ab84);
 transform-origin:top;z-index:1;box-shadow:2px 0 0 #f1d0a05b}
.nc-scope-leg-a{transform:rotate(-29deg)}.nc-scope-leg-b{transform:rotate(29deg)}
.nc-scope-leg-c{transform:rotate(0);height:45px;z-index:2}
.nc-telescope:not(.nc-scope-zoom) .nc-scope-model{animation:ncScopeObserve 5s ease-in-out infinite alternate}
.nc-observed .nc-scope-lens{background:radial-gradient(circle at 30% 40%,#fff7e3,#c9e7f7 40%,#8ab4cf 75%);
 box-shadow:0 0 11px 5px #bbddea88}
.nc-telescope.nc-scope-zoom .nc-scope-model{animation:ncScopeZoom 1.5s ease both}
@keyframes ncScopeObserve{50%{transform:rotate(-3deg) translateY(2px)}}
@keyframes ncScopeZoom{0%{transform:rotate(0) scale(1)}30%{transform:rotate(-13deg) scale(1.08)}
 65%{transform:rotate(4deg) scale(1.12);filter:drop-shadow(0 0 13px #b2d5e8)}
 100%{transform:rotate(0) scale(1)}}

/* An actual constellation unfurls behind the cube in the otherwise empty
   white scene. The lines are faint, not a busy permanent sky background. */
.nc-constellation{position:absolute;left:8%;top:8%;height:130px;width:158px;pointer-events:none;opacity:0;
 transition:opacity 1.4s ease,transform 1.8s ease;transform:rotate(-17deg) scale(.7);z-index:-1}
.nc-observed .nc-constellation{opacity:1;transform:rotate(-7deg) scale(1)}
.nc-constellation>i{position:absolute;width:12px;height:12px;border:2px solid #afabbf;background:#ffefc4;
 border-radius:50%;box-shadow:0 0 9px 4px #e5dbd37a;animation:ncStarTwinkle 3.1s ease-in-out infinite alternate}
.nc-constellation>i:nth-child(1){left:6%;top:48%;animation-delay:0s}
.nc-constellation>i:nth-child(2){left:30%;top:16%;animation-delay:.7s}
.nc-constellation>i:nth-child(3){left:50%;top:55%;animation-delay:1.1s}
.nc-constellation>i:nth-child(4){left:72%;top:6%;animation-delay:1.6s}
.nc-constellation>i:nth-child(5){left:89%;top:70%;animation-delay:2.2s}
.nc-constellation>span{position:absolute;inset:0;opacity:.62;
 background:linear-gradient(128deg,transparent 36%,#b6aec5 36.6% 37%,transparent 37.3%),
 linear-gradient(54deg,transparent 52%,#b6aec5 52.6% 53%,transparent 53.3%);
 border:1px dashed #d7d4e248;border-radius:50%}
@keyframes ncStarTwinkle{50%{transform:scale(1.5);box-shadow:0 0 12px 6px #e9dabb98}}

/* Inside the music box, a ballerina with an articulated porcelain head,
   brass arms and a pleated skirt slowly spins when moth dust is applied. */
.nc-box{perspective:370px}
.nc-dancer-figure{position:absolute;z-index:8;left:47px;top:19px;width:39px;height:75px;
 transform-origin:50% 95%;transform:translateY(55px) scale(.12);opacity:0;pointer-events:none}
.nc-dancer .nc-dancer-figure{opacity:1;transform:translateY(-10px) scale(.9);
 animation:ncBallerina 4.2s linear infinite}
.nc-dancer-head{position:absolute;top:0;left:13px;width:17px;height:19px;border:2px solid #8a7978;
 border-radius:50%;background:#f4d7c3;box-shadow:inset -5px 0 0 #d6b39e}
.nc-dancer-head::before{content:"";position:absolute;top:-7px;left:2px;width:12px;height:9px;border:2px solid #655a5d;
 border-radius:50%;background:#9a8082}
.nc-dancer-bodice{position:absolute;left:12px;top:18px;width:19px;height:24px;
 background:#e3aebd;border:2px solid #98778b;border-radius:40% 40% 25% 25%}
.nc-dancer-arms{position:absolute;left:0;top:20px;width:38px;height:13px;border:4px solid #e7c4b9;
 border-bottom:0;border-radius:90% 90% 0 0;transform:rotate(-11deg)}
.nc-dancer-skirt{position:absolute;top:35px;left:2px;width:38px;height:27px;border:2px solid #a985a7;
 background:repeating-conic-gradient(from 18deg at 50% 0,#ecc0d5 0 25deg,#d9a0bb 25deg 39deg);
 clip-path:polygon(40% 0,60% 0,100% 85%,90% 100%,8% 100%,0 85%)}
.nc-dancer-feet{position:absolute;bottom:0;left:16px;height:19px;width:8px;border:2px solid #927885;
 border-radius:2px;background:#e8c9bb;box-shadow:6px 0 0 -1px #e8c9bb}
.nc-box.nc-dance-begin{animation:ncMusicBoxBloom 1.35s ease both}
@keyframes ncBallerina{0%{transform:translateY(-10px) scale(.9) rotateY(0)}
 50%{transform:translateY(-14px) scale(.94) rotateY(180deg)}
 100%{transform:translateY(-10px) scale(.9) rotateY(360deg)}}
@keyframes ncMusicBoxBloom{0%,100%{transform:scale(1)}
 35%{transform:scale(1.13) rotate(-6deg)}65%{transform:scale(.94) rotate(3deg)}}

/* A running railway: individual sleepers, red locomotive boiler, chimney,
   copper-capped cabin, spokes and steam, drawn without emoji or stock imagery. */
.nc-railway{position:absolute;left:3px;right:3px;bottom:29px;height:25px;overflow:hidden}
.nc-rail{position:absolute;left:0;right:0;height:3px;border-radius:4px;background:#736765}
.nc-rail-a{top:7px}.nc-rail-b{top:20px}
.nc-rail-ties{position:absolute;inset:0;background:repeating-linear-gradient(90deg,#a28c82 0 6px,transparent 6px 17px)}
.nc-engine{position:absolute;left:0;bottom:46px;width:96px;height:60px;transform:translateX(-110px)}
.nc-train-running .nc-engine{animation:ncTrainTravel 9s linear infinite}
.nc-engine-cab{position:absolute;left:9px;top:0;height:39px;width:35px;border:3px solid #5d6066;
 border-radius:8px 8px 2px 2px;background:#d7a3a3;
 box-shadow:inset 0 6px 0 #f9ddcf,inset 6px 0 0 #ba898f}
.nc-engine-cab::before{content:"";position:absolute;left:7px;top:8px;width:17px;height:12px;border:2px solid #786575;
 background:#d0e6e7;border-radius:3px}
.nc-engine-boiler{position:absolute;left:41px;top:19px;height:26px;width:48px;border:3px solid #5b5361;
 border-radius:10px 17px 11px 6px;
 background:repeating-linear-gradient(90deg,#c8908b 0 17px,#f0b9a3 17px 22px);z-index:2}
.nc-engine-chimney{position:absolute;right:12px;top:4px;width:12px;height:25px;border:3px solid #5a5864;
 background:#8c8692;border-radius:3px 3px 1px 1px}
.nc-engine-chimney::before{content:"";position:absolute;left:-5px;top:-5px;width:16px;height:7px;
 border:2px solid #5b5363;background:#ab9aa3;border-radius:60%}
.nc-engine-wheel{position:absolute;bottom:1px;width:18px;height:18px;border:4px solid #58545f;
 border-radius:50%;background:#e7cfaf;z-index:4}
.nc-wheel-a{left:17px}.nc-wheel-b{left:47px}.nc-wheel-c{left:70px}
.nc-train-running .nc-engine-wheel{animation:ncTrainWheel .4s linear infinite}
.nc-engine-smoke{position:absolute;right:6px;top:-10px;width:20px;height:18px;border-radius:50%;
 background:#e4e5ed99;opacity:0;box-shadow:-6px -14px 0 #d8e1e599,2px -26px 0 #e2e3ec82}
.nc-train-running .nc-engine-smoke{animation:ncTrainSteam 1s ease-out infinite}
.nc-train.nc-train-whistle{animation:ncWhistle 1s ease-in-out}
@keyframes ncTrainTravel{0%{transform:translateX(-118px)}85%{transform:translateX(130px)}
 100%{transform:translateX(144px)}}
@keyframes ncTrainWheel{to{transform:rotate(360deg)}}
@keyframes ncTrainSteam{0%{opacity:0;transform:translateY(0) scale(.6)}
 40%{opacity:.95}100%{opacity:0;transform:translate(-12px,-28px) scale(1.25)}}
@keyframes ncWhistle{50%{filter:drop-shadow(0 0 11px #ecb79c);transform:translateY(-5px)}}

/* A postcard physically changes the cube: a contained little diorama behind
   glass, with a sun/moon, hills and stippled landscape. */
.nc-portal-view .nc-front .nc-face-symbol{font-size:0;background:linear-gradient(#f8d5bf 0 44%,#c8d7cd 45% 65%,#95b7aa 65%);
 border:3px solid #b48e86;border-radius:11px;overflow:hidden;box-shadow:inset 0 0 0 3px #fff5e7,0 3px 0 #91797f}
.nc-portal-view .nc-front .nc-face-symbol::before{content:"";position:absolute;z-index:2;bottom:0;left:-9px;
 width:125%;height:51%;border-radius:100% 100% 0 0;
 background:linear-gradient(#aab5c7,#869a9e);transform:rotate(9deg)}
.nc-portal-view .nc-front .nc-face-symbol::after{content:"";position:absolute;right:12px;top:11px;
 width:22px;height:22px;background:#fff0b0;border:2px solid #d8ad84;border-radius:50%;
 box-shadow:0 0 9px 7px #f8e3b7b5}
.nc-portal-view .nc-front .nc-face-frame{border-color:#d1a68a;box-shadow:0 0 14px #f6d7ae96}
.nc-portal-view .nc-front .nc-front-panel-engraving{box-shadow:inset 0 0 15px #b6cca6aa}
.nc-portal-view .nc-front .nc-face-symbol:hover{transform:scale(1.04) rotate(0)}

/* Stage composition grows as the user unlocks miniature worlds; still pure white. */
.nc-world .nc-constellation{mix-blend-mode:multiply}
.nc-lift-open .nc-overline button{border-color:#ded3e2}
.nc-page .nc-prop[hidden]{display:none!important}
.nc-elevator,.nc-telescope,.nc-moth,.nc-train{transform-style:preserve-3d}
.nc-page .nc-prop small{text-transform:none;letter-spacing:.02em}
@media(max-width:760px){
 .nc-constellation{left:3%;top:10%;transform-origin:top left}
 .nc-lift-puzzle{gap:12px}
 .nc-moth-model{transform-origin:center center}
}
@media(max-width:450px){
 .nc-lift-frame{transform:scale(.88)}
 .nc-scope-model{transform:scale(.9)}
 .nc-engine{transform-origin:center bottom}
 .nc-constellation{left:0;top:8%;transform:scale(.6)}
 .nc-observed .nc-constellation{transform:scale(.67)}
 .nc-lift-puzzle{padding:12px}
 .nc-lift-call{height:49px;font-size:14px}
 .nc-lift-miniature{transform:scale(.81);margin-left:-3px}
 .nc-dancer-figure{left:32px}
}
@media(prefers-reduced-motion:reduce){
 .nc-lift-door,.nc-constellation,.nc-front .nc-face-symbol{transition:none}
 .nc-moth-model,.nc-moth-wing,.nc-scope-model,.nc-constellation i,
 .nc-dancer-figure,.nc-engine,.nc-engine-wheel,.nc-engine-smoke{animation:none!important}
 .nc-train-running .nc-engine{transform:translateX(3px)}
 .nc-dancer .nc-dancer-figure{transform:translateY(-10px) scale(.9);opacity:1}
 .nc-moth-model{transform:translateY(5px)}
}
