/* This stylesheet is injected only into the preview copy of the current homepage. */
.nav-star.object-nav{--callout-left:110px;--callout-top:34px;height:158px;overflow:visible}
.nav-star.object-nav .constellation{display:none}
.nav-star.object-nav .nav-callout{position:absolute;z-index:3;left:var(--callout-left);top:var(--callout-top);min-width:154px;padding:10px 14px 10px 13px;border-left:1px solid color-mix(in srgb,var(--tone) 78%,transparent);background:linear-gradient(90deg,rgba(3,7,13,.9),rgba(3,7,13,.36) 74%,transparent);opacity:.92;transform:none;transition:opacity .25s ease,filter .25s ease,translate .25s ease;pointer-events:none}
.nav-star.object-nav .nav-index{display:block;margin:0 0 6px;color:color-mix(in srgb,var(--tone) 86%,#fff 14%);font:italic 7px/1 Georgia;letter-spacing:.14em}
.nav-star.object-nav .nav-callout .label{position:static;display:block;color:#f3f1ea;font-size:18px;font-weight:900;letter-spacing:.05em;text-shadow:0 4px 18px rgba(0,0,0,.9)}
.nav-star.object-nav .nav-callout small{position:static;display:block;width:auto;margin-top:6px;color:#919c99;font:8px/1.45 "Microsoft YaHei UI";letter-spacing:.04em;opacity:1;transform:none}
.nav-star.object-nav:hover .nav-callout,.nav-star.object-nav:focus-visible .nav-callout{opacity:1;filter:drop-shadow(0 0 12px color-mix(in srgb,var(--tone) 24%,transparent));translate:3px 0}
.nav-star.object-nav.asset-missing .space-object{opacity:.14}
.nav-star.object-nav.asset-missing .nav-callout:after{content:"SIGNAL ASSET OFFLINE";display:block;margin-top:5px;color:#ff8f75;font:6px/1 Arial;letter-spacing:.12em}
.space-object{position:absolute;left:0;top:0;display:block;transform-origin:50% 55%;will-change:transform;animation:space-object-drift 7.4s ease-in-out infinite;filter:drop-shadow(0 13px 18px rgba(0,0,0,.58));transition:filter .35s ease,scale .35s ease}
.space-object svg{display:block;width:100%;height:100%;overflow:visible}
.nav-star.object-nav:before{left:58px;top:56px}
.nav-star.object-nav:hover .space-object,.nav-star.object-nav:focus-visible .space-object{filter:drop-shadow(0 0 12px color-mix(in srgb,var(--tone) 62%,transparent)) drop-shadow(0 18px 22px rgba(0,0,0,.6));scale:1.035}

/* The four objects intentionally use different visual mass. */
.nav-star[data-object="astronaut"]{width:278px;--callout-left:112px;--callout-top:36px}.nav-star[data-object="astronaut"] .space-object{left:0;top:-4px;width:100px;height:130px;animation-duration:8.7s}
.nav-star[data-object="spacecraft"]{width:382px;--callout-left:218px;--callout-top:39px}.nav-star[data-object="spacecraft"] .space-object{left:-24px;top:-2px;width:225px;height:132px;animation-delay:-2.1s;animation-duration:7.1s}
.nav-star[data-object="station"]{width:470px;--callout-left:268px;--callout-top:50px;translate:0 118px}.nav-star[data-object="station"] .space-object{left:-56px;top:-18px;width:290px;height:170px;animation-delay:-3.7s;animation-duration:9.2s}
.nav-star[data-object="space-transmitter"]{width:350px;--callout-left:176px;--callout-top:46px}.nav-star[data-object="space-transmitter"] .space-object{left:-16px;top:-38px;width:175px;height:215px;animation-delay:-1.2s;animation-duration:8s}.nav-star[data-object="space-transmitter"] img{filter:saturate(1.02) contrast(1.06) brightness(1.18) drop-shadow(0 0 8px rgba(112,168,255,.24))}.nav-star[data-object="space-transmitter"] .signal-ring{left:68%;top:29%;width:36px;height:36px;margin:-18px 0 0 -18px;border-color:rgba(132,185,255,.9);box-shadow:0 0 9px rgba(71,118,255,.16)}

.realistic-object img{display:block;width:100%;height:100%;object-fit:contain;filter:saturate(.9) contrast(1.05);user-select:none;-webkit-user-drag:none}
.realistic-object .asset-effect{position:absolute;display:block;pointer-events:none}
.realistic-object .visor-sheen{left:24%;top:14%;width:34%;height:28%;border-radius:50%;background:radial-gradient(ellipse at 74% 38%,rgba(255,222,183,.46),rgba(255,166,117,.12) 28%,transparent 62%);mix-blend-mode:screen;animation:real-visor-breathe 4.4s ease-in-out infinite}
.realistic-object .thruster-glow{left:-3%;top:47%;width:38%;height:27%;border-radius:50%;background:radial-gradient(ellipse at 76% 50%,rgba(255,249,214,.95),rgba(255,133,84,.46) 28%,rgba(255,86,65,.12) 58%,transparent 76%);filter:blur(4px);mix-blend-mode:screen;transform-origin:78% 50%;animation:real-thruster-pulse .38s ease-in-out infinite alternate}
.realistic-object .station-nav{width:4px;height:4px;border-radius:50%;background:#a7c8ff;box-shadow:0 0 5px 2px #7aa7ff,0 0 13px 5px rgba(71,118,255,.28);animation:station-beacon 2.8s steps(1,end) infinite}.realistic-object .station-nav.nav-a{left:37%;top:44%}.realistic-object .station-nav.nav-b{right:31%;top:47%;animation-delay:1.35s}
.realistic-object .signal-ring{left:50%;top:5%;width:40px;height:40px;margin:-20px 0 0 -20px;border:1px solid rgba(229,255,87,.9);border-radius:50%;fill:none;stroke:none;transform-origin:50% 50%;animation:real-signal-expand 2.55s ease-out infinite}.realistic-object .signal-ring.r2{animation-delay:.85s}.realistic-object .signal-ring.r3{animation-delay:1.7s}

/* Astronaut: compact, cool-white EVA suit with a warm reflected visor. */
.astronaut-suit{fill:url(#astronaut-suit);stroke:#fff9ed;stroke-width:1.4}.astronaut-pack{fill:url(#astronaut-pack);stroke:#b8c4cd;stroke-width:1}.astronaut-visor{fill:url(#astronaut-visor);stroke:#f6e9d5;stroke-width:2.2}.astronaut-glint{fill:#fff8de;opacity:.74;animation:astronaut-glint 4.6s ease-in-out infinite}.astronaut-joint{fill:#aab5bd;stroke:#f8f5ed;stroke-width:1}.astronaut-detail{fill:none;stroke:#778695;stroke-width:.8}.astronaut-tether{fill:none;stroke:rgba(243,240,231,.42);stroke-width:.8;stroke-dasharray:3 4}.astronaut-patch{fill:#ff715f;opacity:.82}

/* Spacecraft: larger than the astronaut, with restrained engine motion. */
.ship-hull{fill:url(#ship-hull);stroke:#ffe2d2;stroke-width:1.15}.ship-belly{fill:url(#ship-belly);stroke:#aab5c4;stroke-width:.8}.ship-glass{fill:url(#ship-glass);stroke:#bfe3ff;stroke-width:1}.ship-panel{fill:#737f91;stroke:#f2d7c8;stroke-width:.8}.ship-seam{fill:none;stroke:rgba(255,255,255,.38);stroke-width:.65}.ship-engine{fill:#ffccb3;filter:drop-shadow(0 0 5px #ff725b)}.ship-flame{fill:url(#ship-flame);transform-origin:39px 63px;animation:ship-engine-pulse .32s ease-in-out infinite alternate;filter:drop-shadow(0 0 11px rgba(255,112,83,.9))}.ship-running-light{fill:#ffcfb7;animation:ship-running-light 2.15s steps(1,end) infinite}

/* Station: the largest object, broad but optically light through open trusswork. */
.station-panel{fill:url(#station-panel);stroke:#7eaeff;stroke-width:1}.station-grid{fill:none;stroke:rgba(160,197,255,.48);stroke-width:.55}.station-module{fill:url(#station-module);stroke:#eff6ff;stroke-width:.85}.station-shadow{fill:#576678}.station-port{fill:#15283d;stroke:#dcecff;stroke-width:1}.station-truss{fill:none;stroke:#d3dce5;stroke-width:3}.station-brace{fill:none;stroke:#8697a8;stroke-width:1}.station-light{fill:#a6c8ff;animation:station-beacon 2.8s steps(1,end) infinite;filter:drop-shadow(0 0 4px #70a2ff)}

/* Base station: stable tower; only its signal field expands. */
.tower-leg{fill:none;stroke:url(#tower-metal);stroke-width:3}.tower-brace{fill:none;stroke:#82909a;stroke-width:1.25}.tower-dish{fill:url(#tower-dish);stroke:#eaf0ed;stroke-width:1}.tower-light{fill:#e8ff86;filter:drop-shadow(0 0 6px #dfff57)}.signal-ring{fill:none;stroke:#e5ff57;stroke-width:1.3;transform-origin:70px 29px;animation:signal-expand 2.55s ease-out infinite}.signal-ring.r2{animation-delay:.85s}.signal-ring.r3{animation-delay:1.7s}

/* Use the exact confirmed brand artwork; screen blending removes its black plate on the deep-space background. */
.brand-signature.brand-reference-active{display:block;width:244px;height:83px;pointer-events:auto}.brand-signature.brand-reference-active:before,.brand-signature.brand-reference-active:after{content:none!important}.brand-reference-active>.brand-glyph,.brand-reference-active>span{display:none}.brand-reference-image{display:block;width:244px;height:auto;filter:saturate(1.06) drop-shadow(0 0 12px rgba(255,170,120,.13));user-select:none;-webkit-user-drag:none}.logo-breath{position:absolute;z-index:2;left:73.8%;top:12%;width:6px;height:6px;border-radius:50%;background:#fff9df;box-shadow:0 0 6px 2px #fff4da,0 0 18px 7px rgba(255,151,101,.34);pointer-events:none;animation:logo-breathe 2.45s ease-in-out infinite}
.headline{bottom:32px;transform:scale(.82);transform-origin:left bottom}

/* Dim continuation of the main galaxy, using the same blue/orange/white palette. */
.left-galaxy-arm{position:absolute;z-index:5;left:10px;top:150px;width:760px;height:420px;pointer-events:none;overflow:hidden;opacity:.78;transform:translateZ(0);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 9%,#000 78%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 9%,#000 78%,transparent 100%)}
.galaxy-arm-webgl,.galaxy-arm-fallback{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;background:transparent}
.galaxy-arm-fallback{display:none}
.galaxy-arm-renderer-fallback .galaxy-arm-webgl{display:none}.galaxy-arm-renderer-fallback .galaxy-arm-fallback{display:block}

/* Case results now uses the same object + label + description system as the four primary navigation nodes. */
.nav-star.case-comet-entry{--tone:#ffb48b;--comet-callout-left:448px;z-index:22;left:680px;top:380px;width:660px;height:220px;color:#9aa39f}
.nav-star.case-comet-entry .case-comet-object{left:-28px;top:10px;width:520px;height:190px;animation-delay:-2.8s;animation-duration:8.4s;transform-origin:86% 52%}
.nav-star.case-comet-entry .case-comet-image{filter:saturate(1.08) contrast(1.08) brightness(1.06) drop-shadow(0 0 10px rgba(103,164,255,.18))}
.nav-star.case-comet-entry .nav-callout{left:var(--comet-callout-left);top:76px;min-width:138px;max-width:148px;padding:8px 10px}
.nav-star.case-comet-entry .nav-callout small{margin-top:4px}

/* Client labels and pop-up directory are replaced by quiet stars and one button. */
.client-layer{pointer-events:none}.client-glint{position:absolute;left:var(--x);top:var(--y);width:var(--s);height:var(--s);border-radius:50%;background:#f5f1e8;box-shadow:0 0 5px 2px rgba(243,240,231,.82),0 0 19px 7px color-mix(in srgb,var(--tone) 28%,transparent);animation:client-star-twinkle var(--speed) ease-in-out infinite;animation-delay:var(--delay)}
.client-workbench-entry{width:368px;height:54px}.client-workbench-entry .workbench-link{display:flex;width:100%;height:100%;align-items:center;justify-content:center;border:1px solid rgba(243,240,231,.18);background:rgba(4,7,13,.66);backdrop-filter:blur(12px);color:#d7d9d4;font-size:12px;font-weight:700;letter-spacing:.06em;box-shadow:inset 0 0 28px rgba(71,118,255,.035);transition:transform .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease}
.client-workbench-entry .workbench-link:after{content:"↗";margin-left:12px;color:#ff9074}.client-workbench-entry .workbench-link:hover,.client-workbench-entry .workbench-link:focus-visible{transform:translateY(-2px);border-color:rgba(255,144,116,.65);color:#fff;box-shadow:0 0 24px rgba(255,113,95,.12),inset 0 0 28px rgba(71,118,255,.06);outline:none}.client-workbench-entry .workbench-link:active{transform:translateY(0) scale(.985)}

.scene-paused *{animation-play-state:paused!important}
@keyframes space-object-drift{0%,100%{transform:translate3d(0,-3px,0) rotate(-.55deg)}50%{transform:translate3d(6px,5px,0) rotate(.85deg)}}
@keyframes astronaut-glint{0%,100%{opacity:.24;transform:translateX(-3px)}48%{opacity:.95;transform:translateX(3px)}}
@keyframes ship-engine-pulse{to{transform:scaleX(1.24) scaleY(.72)}}
@keyframes ship-running-light{0%,74%,100%{opacity:.26}78%,86%{opacity:1}}
@keyframes station-beacon{0%,38%,58%,100%{opacity:.24}42%,54%{opacity:1}}
@keyframes signal-expand{0%{opacity:.72;transform:scale(.3)}100%{opacity:0;transform:scale(1.45)}}
@keyframes real-visor-breathe{0%,100%{opacity:.42;transform:translateX(-1px) scale(.94)}50%{opacity:.9;transform:translateX(2px) scale(1.04)}}
@keyframes real-thruster-pulse{to{opacity:.72;transform:scaleX(1.17) scaleY(.82)}}
@keyframes real-signal-expand{0%{opacity:.68;transform:scale(.28)}100%{opacity:0;transform:scale(1.72)}}
@keyframes logo-breathe{0%,100%{opacity:.58;transform:scale(.78)}50%{opacity:1;transform:scale(1.78);box-shadow:0 0 9px 3px #ffe8c8,0 0 28px 11px rgba(255,132,90,.4)}}
@keyframes client-star-twinkle{0%,100%{opacity:.28;transform:scale(.65)}50%{opacity:1;transform:scale(1.28)}}

@media(max-width:760px),(pointer:coarse){
  .scene{--canvas-pad:32px!important;--canvas-fade:28px!important}
  .comet-pointer{display:none!important}
  .scene.portrait-layout .brand-signature{left:22px;top:22px}
  .scene.portrait-layout .headline{left:12px;bottom:164px;transform:scale(.54);transform-origin:left bottom}
  .scene.portrait-layout .nav-star.object-nav{min-width:150px;min-height:92px}
  .scene.portrait-layout .nav-star.object-nav .nav-callout{padding:8px 10px 8px 9px;min-width:150px}
  .scene.portrait-layout .nav-star.object-nav .nav-callout .label{font-size:27px}
  .scene.portrait-layout .nav-star.object-nav .nav-callout small{font-size:10px;margin-top:4px}
  .scene.portrait-layout .nav-star.object-nav .nav-index{font-size:8px;margin-bottom:5px}
  .scene.portrait-layout .nav-star[data-object="astronaut"]{--callout-left:102px;--callout-top:38px}
  .scene.portrait-layout .nav-star[data-object="spacecraft"]{--callout-left:175px;--callout-top:43px}
  .scene.portrait-layout .nav-star[data-object="station"]{--callout-left:215px;--callout-top:53px}
  .scene.portrait-layout .nav-star[data-object="space-transmitter"]{--callout-left:157px;--callout-top:49px}
  .scene.portrait-layout .nav-star.case-comet-entry{left:-34px;top:350px;width:690px;height:210px;--comet-callout-left:478px;transform:scale(.62);transform-origin:left top}
  .scene.portrait-layout .nav-star.case-comet-entry .case-comet-object{top:5px;width:620px;height:198px}
  .scene.portrait-layout .nav-star.case-comet-entry .nav-callout{min-width:220px}
  .scene.portrait-layout .nav-star.case-comet-entry .nav-callout .label{font-size:35px}
  .scene.portrait-layout .nav-star.case-comet-entry .nav-callout small{font-size:10px}
  .scene.portrait-layout .nav-star.case-comet-entry .nav-index{font-size:8px}
  .scene.portrait-layout .left-galaxy-arm{left:-42px;top:140px;width:700px;height:340px;opacity:.54;transform:scale(.72);transform-origin:left top}
  .scene.portrait-layout .client-search{left:28px;right:28px;bottom:30px}
  .scene.portrait-layout .client-workbench-entry{width:auto;height:58px}
  .nebula-flare:nth-child(n+8){display:none}
}
@media(prefers-reduced-motion:reduce){.space-object,.astronaut-glint,.ship-flame,.ship-running-light,.station-light,.signal-ring,.logo-breath,.client-glint{animation:none!important}.nav-star.object-nav:hover .space-object,.nav-star.object-nav:focus-visible .space-object{scale:1.015}}
