/*
 * Xingchen homepage visual refresh.
 * Direction: exact image-one layout, blue stellar ocean and pearl-gold Sun.
 * Loaded after the production bundle so behavior, routing, auth and tool links stay intact.
 */

:root {
  --stellar-ocean-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/stellar-ocean-v2.png");
}

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

.site-shell {
  background-color: #01040b;
  background-image:
    linear-gradient(90deg, rgba(1, 4, 12, 0.44) 0%, rgba(1, 5, 14, 0.08) 43%, rgba(2, 5, 15, 0.04) 100%),
    var(--stellar-ocean-image);
  background-position: center center;
  background-size: cover;
}

/* Keep the selected three-item navigation centered while preserving the
 * platform account entry at the right edge. Search remains intentionally out
 * of this simplified homepage header. */
.site-shell .header-actions {
  visibility: visible;
  pointer-events: auto;
}

.site-shell .header-actions .search-button,
.site-shell .header-divider {
  display: none;
}

.site-shell .profile-button {
  min-width: 96px;
  max-width: min(180px, 18vw);
  height: 40px;
  gap: 8px;
  padding: 3px 12px 3px 4px;
  border: 1px solid rgba(169, 196, 243, 0.2);
  border-radius: 20px;
  color: rgba(247, 250, 255, 0.94);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.site-shell .profile-button:hover,
.site-shell .profile-button[aria-expanded="true"] {
  color: #fff;
  border-color: rgba(132, 171, 255, 0.48);
  background: rgba(101, 139, 232, 0.13);
}

.site-shell .profile-button > span:not(.avatar) {
  min-width: 0;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .site-shell .profile-button {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 4px;
    border-radius: 50%;
  }
}

.site-shell::after {
  background:
    radial-gradient(ellipse at 54% 50%, transparent 0 34%, rgba(0, 3, 12, 0.025) 62%, rgba(0, 2, 8, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 3, 11, 0.01), rgba(0, 2, 8, 0.08));
}

.department-page {
  background-color: #01040b;
  background-image:
    linear-gradient(180deg, rgba(1, 4, 12, 0.12), rgba(1, 4, 12, 0.42)),
    var(--stellar-ocean-image);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.department-page::after {
  background:
    radial-gradient(ellipse at 67% 38%, transparent 0 28%, rgba(0, 3, 12, 0.08) 62%, rgba(0, 2, 8, 0.35) 100%),
    linear-gradient(90deg, rgba(1, 4, 12, 0.42), transparent 48%, rgba(1, 4, 12, 0.1));
}

.department-header {
  background: rgba(4, 9, 21, 0.7);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  backdrop-filter: blur(22px) saturate(120%);
}

.tool-grid > button {
  background: linear-gradient(145deg, rgba(12, 23, 45, 0.84), rgba(5, 11, 24, 0.9));
  -webkit-backdrop-filter: blur(14px) saturate(116%);
  backdrop-filter: blur(14px) saturate(116%);
}

.topbar {
  top: 24px;
  left: 4.05%;
  right: 4.05%;
  height: 68px;
  padding-inline: 24px;
  border-color: rgba(184, 207, 255, 0.2);
  border-radius: 22px;
  background: linear-gradient(110deg, rgba(7, 12, 25, 0.69), rgba(5, 10, 23, 0.46));
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.36),
    inset 0 1px rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(26px) saturate(126%);
  backdrop-filter: blur(26px) saturate(126%);
}

.brand {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.main-nav {
  gap: 48px;
}

.main-nav button {
  font-size: 16px;
}

.hero {
  min-height: 800px;
}

.hero::before {
  inset: 92px auto 0 0;
  width: 38%;
  background: linear-gradient(90deg, rgba(1, 4, 12, 0.34) 0%, rgba(1, 4, 12, 0.16) 58%, transparent 100%);
}

.hero-copy {
  top: 28.8%;
  left: 4.45%;
  width: 39%;
}

.hero h1 {
  font-size: clamp(49px, 3.65vw, 68px);
  line-height: 1.36;
  font-weight: 400;
  letter-spacing: -0.047em;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.8);
}

.primary-cta {
  min-width: 208px;
  height: 58px;
  margin-top: 30px;
  border-radius: 13px;
  border-color: rgba(188, 215, 255, 0.45);
  background: linear-gradient(135deg, #7ea4ff 0%, #5078ef 100%);
  box-shadow:
    0 18px 42px rgba(56, 102, 230, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.3);
}

.cosmic-backdrop {
  opacity: 1;
  mix-blend-mode: screen;
}

.cosmic-depth-glow {
  background:
    radial-gradient(ellipse at 77% 22%, rgba(65, 109, 207, 0.2), transparent 29%),
    radial-gradient(ellipse at 67% 66%, rgba(113, 69, 177, 0.13), transparent 37%),
    linear-gradient(180deg, rgba(1, 4, 13, 0.02), rgba(0, 2, 8, 0.18));
  filter: blur(18px);
  opacity: 0.82;
}

.stellar-field {
  filter: brightness(1.38) saturate(1.08);
}

/*
 * Three source-aligned optical layers sit exactly over stars in the backdrop.
 * Their offset rhythms make the still galaxy breathe instead of pulsing as one flat sheet.
 */
.stellar-field::before,
.stellar-field::after,
.meteor-field::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  mix-blend-mode: screen;
  will-change: opacity, filter;
}

.stellar-field::before {
  background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/stellar-twinkle-1.png");
  animation: xingchenStarLayerOne 3.8s ease-in-out -1.1s infinite;
}

.stellar-field::after {
  background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/stellar-twinkle-2.png");
  animation: xingchenStarLayerTwo 5.2s ease-in-out -3.4s infinite;
}

.meteor-field::before {
  background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/stellar-twinkle-3.png");
  animation: xingchenStarLayerThree 4.45s ease-in-out -2.2s infinite;
}

.stellar-field i {
  min-width: 1.4px;
  min-height: 1.4px;
  box-shadow:
    0 0 calc(var(--star-size) * 3.2) rgba(var(--star-color), 0.78),
    0 0 calc(var(--star-size) * 7) rgba(var(--star-color), 0.22);
  animation-duration: calc(var(--star-duration) * 0.68);
}

.meteor {
  height: 1.4px;
  background: linear-gradient(90deg, transparent, rgba(115, 158, 255, 0.08) 11%, rgba(137, 182, 255, 0.3) 46%, rgba(224, 241, 255, 0.98) 92%, #ffffff);
  box-shadow: 18px 0 24px rgba(122, 172, 255, 0.52), 0 0 8px rgba(189, 215, 255, 0.24);
  filter: brightness(calc(var(--meteor-brightness) * 1.58));
  animation-name: xingchenMeteorFlow;
  animation-duration: calc(var(--meteor-duration) * 0.58);
  animation-timing-function: linear;
}

.solar-stage {
  top: 92px;
  bottom: 0;
}

.asteroid-belt {
  display: none;
}

.sun {
  left: 54%;
  top: 44%;
  width: clamp(300px, 23.5vw, 380px);
  border-radius: 50%;
  isolation: isolate;
  background: transparent;
  animation: xingchenSunBreath 7.4s ease-in-out infinite;
}

.sun::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -15.7%;
  pointer-events: none;
  background: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/sun-reference-image1-alpha.png") center / contain no-repeat;
  filter: brightness(1.01) drop-shadow(0 0 18px rgba(255, 249, 226, 0.28));
  animation: xingchenSolarActivity 8.6s ease-in-out infinite;
}

.sun img {
  display: none;
}

.sun-radiance {
  display: none;
}

.planet-node {
  width: calc(var(--planet-size) * 1.42);
  height: calc(var(--planet-size) * 1.42);
  transform: translate(-50%, -50%) !important;
  animation: xingchenAnchorOrbit var(--anchor-duration, 36s) ease-in-out var(--anchor-delay, 0s) infinite;
}

/*
 * Fixed composition anchors measured from the selected reference image.
 * The small independent drift preserves the live solar-system feeling while
 * preventing planets from crossing, stacking or abandoning the target layout.
 */
.planet-mercury { left: 17.5% !important; top: 70.3% !important; --anchor-x: 14px; --anchor-y: 8px; --anchor-duration: 42s; --anchor-delay: -8s; }
.planet-venus   { left: 23.8% !important; top: 50.7% !important; --anchor-x: 12px; --anchor-y: 9px; --anchor-duration: 38s; --anchor-delay: -18s; }
.planet-earth   { left: 41.7% !important; top: 74.9% !important; --anchor-x: 15px; --anchor-y: 8px; --anchor-duration: 46s; --anchor-delay: -25s; }
.planet-mars    { left: 42.1% !important; top: 22% !important; --anchor-x: 13px; --anchor-y: 7px; --anchor-duration: 41s; --anchor-delay: -31s; }
.planet-jupiter { left: 67.9% !important; top: 14.8% !important; --anchor-x: 16px; --anchor-y: 8px; --anchor-duration: 48s; --anchor-delay: -14s; }
.planet-saturn  { left: 86.7% !important; top: 30.2% !important; --anchor-x: 13px; --anchor-y: 7px; --anchor-duration: 52s; --anchor-delay: -37s; }
.planet-uranus  { left: 83.3% !important; top: 56.8% !important; --anchor-x: 15px; --anchor-y: 9px; --anchor-duration: 44s; --anchor-delay: -21s; }
.planet-neptune { left: 67.3% !important; top: 74.5% !important; --anchor-x: 14px; --anchor-y: 8px; --anchor-duration: 47s; --anchor-delay: -34s; }

.planet-mercury,
.planet-venus,
.planet-mars,
.planet-jupiter { z-index: 26 !important; }

.planet-earth,
.planet-saturn,
.planet-uranus,
.planet-neptune { z-index: 34 !important; }

.planet-image {
  top: -6%;
  right: -6%;
  bottom: -6%;
  left: -6%;
  width: 112%;
  height: 112%;
  filter:
    drop-shadow(-9px 10px 20px rgba(0, 0, 0, 0.75))
    drop-shadow(1px 0 12px rgba(103, 153, 255, 0.36));
}

/* Keep Saturn's ring plane physically stable; its orbital drift remains active. */
.planet-saturn .planet-image {
  animation: none;
}

.planet-halo {
  opacity: 0.44;
}

.planet-label {
  left: calc(100% + 12px) !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
}

.planet-mercury .planet-label {
  left: auto !important;
  right: calc(100% + 12px) !important;
}

.planet-saturn .planet-label {
  left: 72% !important;
}

.planet-label strong {
  padding: 8px 12px 9px;
  border-color: rgba(167, 198, 255, 0.34);
  border-radius: 10px;
  color: rgba(252, 253, 255, 0.98);
  background: linear-gradient(130deg, rgba(17, 25, 60, 0.8), rgba(8, 14, 38, 0.68));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42), 0 0 20px rgba(105, 123, 255, 0.15), inset 0 1px rgba(235, 244, 255, 0.1);
  font-size: clamp(15px, 1.04vw, 18px);
  -webkit-backdrop-filter: blur(16px) saturate(118%);
  backdrop-filter: blur(16px) saturate(118%);
}

.all-systems {
  display: none;
}

.side-progress {
  display: none;
}

@keyframes xingchenAnchorOrbit {
  0%, 100% { translate: calc(var(--anchor-x) * -1) 0; }
  25% { translate: 0 calc(var(--anchor-y) * -1); }
  50% { translate: var(--anchor-x) 0; }
  75% { translate: 0 var(--anchor-y); }
}

@keyframes xingchenSunBreath {
  0%, 100% { transform: translate(-50%, -50%) scale(0.985); }
  50% { transform: translate(-50%, -50%) scale(1.02); }
}

@keyframes xingchenSolarActivity {
  0%, 100% { opacity: 0.97; filter: brightness(0.99) drop-shadow(0 0 15px rgba(255, 249, 226, 0.2)); }
  52% { opacity: 1; filter: brightness(1.055) drop-shadow(0 0 22px rgba(255, 249, 226, 0.34)); }
}

@keyframes xingchenStarLayerOne {
  0%, 100% { opacity: 0.2; filter: brightness(0.8); }
  38% { opacity: 0.88; filter: brightness(1.55); }
  63% { opacity: 0.36; filter: brightness(0.94); }
}

@keyframes xingchenStarLayerTwo {
  0%, 100% { opacity: 0.3; filter: brightness(0.94); }
  47% { opacity: 0.98; filter: brightness(1.72); }
  74% { opacity: 0.24; filter: brightness(0.82); }
}

@keyframes xingchenStarLayerThree {
  0%, 100% { opacity: 0.15; filter: brightness(0.72); }
  31% { opacity: 0.56; filter: brightness(1.18); }
  66% { opacity: 0.94; filter: brightness(1.62); }
}

@keyframes xingchenMeteorFlow {
  0%, 8% {
    opacity: 0;
    transform: translate3d(var(--meteor-start-x), var(--meteor-start-y), 0) rotate(var(--meteor-angle)) scaleX(0.28);
  }
  13% { opacity: 0.98; }
  82% { opacity: 0.9; }
  100% {
    opacity: 0;
    transform: translate3d(var(--meteor-end-x), var(--meteor-end-y), 0) rotate(var(--meteor-angle)) scaleX(1);
  }
}

@media (max-width: 1440px) and (min-width: 901px) {
  .hero-copy {
    top: 27%;
  }

  .hero h1 {
    font-size: clamp(44px, 3.6vw, 58px);
  }

  .sun {
    width: clamp(245px, 20.5vw, 320px);
  }

  .planet-label strong {
    font-size: clamp(14px, 1.08vw, 17px);
  }
}

@media (max-width: 900px) {
  .topbar {
    top: 12px;
    left: 12px;
    right: 12px;
    height: 60px;
    padding-inline: 16px;
  }

  .hero-copy {
    top: 13%;
    left: 6%;
    width: 88%;
  }

  .hero h1 {
    font-size: clamp(38px, 9vw, 55px);
  }

  .solar-stage {
    top: 280px;
  }

  .sun {
    width: clamp(220px, 40vw, 300px);
  }

  .planet-node {
    width: var(--planet-size);
    height: var(--planet-size);
    animation-duration: calc(var(--anchor-duration, 36s) * 1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sun,
  .sun img,
  .sun::before,
  .planet-node,
  .stellar-field::before,
  .stellar-field::after,
  .meteor-field::before,
  .meteor {
    animation: none !important;
  }
}

/*
 * Exact-reference homepage mode.
 * The approved 1487×1058 golden-Sun composition is the visual truth; real controls remain
 * as transparent interaction hit areas, while star and meteor motion sits above it.
 */
.site-shell .hero {
  background-color: #02050b;
  background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/home-approved-clean-dynamic-v1.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.site-shell::after,
.site-shell .hero::before {
  display: none;
}

.site-shell .topbar {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-shell .brand,
.site-shell .main-nav {
  opacity: 0;
}

.home-scrolled .site-shell .topbar {
  border-color: rgba(184, 207, 255, 0.2);
  background: linear-gradient(110deg, rgba(7, 12, 25, 0.76), rgba(5, 10, 23, 0.58));
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(26px) saturate(126%);
  backdrop-filter: blur(26px) saturate(126%);
}

.home-scrolled .site-shell .brand,
.home-scrolled .site-shell .main-nav {
  opacity: 1;
}

.site-shell .hero-copy {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*
 * Repaint the approved headline/CTA region above the moving planets. This uses
 * the same source pixels, so planets can pass naturally behind the foreground
 * copy without obscuring or duplicating any of the approved typography.
 */
.site-shell .hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/home-approved-clean-dynamic-v1.png") center top / 100% 100% no-repeat;
  clip-path: polygon(0 27%, 39% 27%, 39% 44%, 0 44%);
}

.site-shell .hero-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/home-approved-clean-dynamic-v1.png") center top / 100% 100% no-repeat;
  clip-path: polygon(0 45%, 20% 45%, 20% 54%, 0 54%);
}

/* The video reference has no rectangular foreground plate behind the title.
 * Keep the exact title/CTA pixels from the hero artwork, but remove the two
 * clipped repaint panels that could cover planets passing through this area. */
.site-shell .hero-copy::before,
.site-shell .hero-copy::after {
  content: none;
  display: none;
}

.site-shell .hero-copy h1,
.site-shell .primary-cta {
  opacity: 0;
}

.site-shell .primary-cta {
  position: absolute;
  top: 45.7%;
  left: 4.45%;
  width: 13.9%;
  min-width: 0;
  height: 5.6%;
  margin: 0;
  pointer-events: auto;
}

.site-shell .cosmic-depth-glow,
.site-shell .orbit-lines,
.site-shell .sun::before,
.site-shell .sun img,
.site-shell .sun-radiance,
.site-shell .planet-image,
.site-shell .planet-halo,
.site-shell .moon-system,
.site-shell .planet-label,
.site-shell .planet-button::before,
.site-shell .planet-button::after {
  display: none;
}

.site-shell .sun,
.site-shell .planet-node {
  animation: none;
}

.site-shell .stellar-field i {
  display: none;
}

.site-shell .stellar-field::before {
  background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/reference-star-twinkle-1.png");
  animation: exactStarPulseOne 4.1s ease-in-out -1.2s infinite;
}

.site-shell .stellar-field::after {
  background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/reference-star-twinkle-2.png");
  animation: exactStarPulseTwo 5.35s ease-in-out -3.1s infinite;
}

.site-shell .meteor-field::before {
  background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/reference-star-twinkle-3.png");
  animation: exactStarPulseThree 4.7s ease-in-out -2.4s infinite;
}

@keyframes exactStarPulseOne {
  0%, 100% { opacity: 0.05; filter: brightness(0.9); }
  43% { opacity: 0.58; filter: brightness(1.5); }
}

@keyframes exactStarPulseTwo {
  0%, 100% { opacity: 0.08; filter: brightness(0.92); }
  51% { opacity: 0.62; filter: brightness(1.58); }
}

@keyframes exactStarPulseThree {
  0%, 100% { opacity: 0.04; filter: brightness(0.86); }
  36% { opacity: 0.44; filter: brightness(1.34); }
  69% { opacity: 0.16; filter: brightness(1); }
}

/*
 * Restore independent moving planets above the exact reference frame.
 * A feathered real-image patch removes only the baked foreground planets and
 * labels; the original nebula, Sun, navigation and hero typography stay intact.
 */
.site-shell .hero::after {
  display: none;
}

.site-shell .solar-stage {
  top: 0;
  bottom: 0;
}

.site-shell .hero {
  /* The approved background is centered, placing the photographic Sun close
   * to the visual midline. Every live orbit and the Sun hit target share it. */
  --solar-origin-x: 56.57%;
  --solar-origin-y: 48.1%;
  --orbit-max-radius: clamp(210px, 32vmin, 560px);
}

.site-shell .planet-mercury { top: 72.9% !important; }
.site-shell .planet-venus   { top: 55% !important; }
.site-shell .planet-earth   { top: 77% !important; }
.site-shell .planet-mars    { top: 28.7% !important; }
.site-shell .planet-jupiter { top: 22.2% !important; }
.site-shell .planet-saturn  { top: 36.3% !important; }
.site-shell .planet-uranus  { top: 60.6% !important; }
.site-shell .planet-neptune { top: 76.8% !important; }

.site-shell .planet-node {
  --revolution-duration: 48s;
  --orbit-angle: 0deg;
  --orbit-radius: calc(var(--orbit-max-radius) * var(--orbit-factor));
  left: var(--solar-origin-x) !important;
  top: var(--solar-origin-y) !important;
  width: calc(var(--planet-size) * var(--planet-ui-scale, 1.25));
  height: calc(var(--planet-size) * var(--planet-ui-scale, 1.25));
  scale: clamp(0.68, min(calc(100vw / 1487px), calc(100vh / 1058px)), 1.3);
  translate:
    calc(var(--orbit-radius) * cos(calc(var(--orbit-angle) + var(--orbit-phase))))
    calc(var(--orbit-radius) * sin(calc(var(--orbit-angle) + var(--orbit-phase))));
  animation: exactPlanetRevolution 48s linear 1.2s infinite both;
  animation-play-state: running !important;
}

.site-shell .planet-mercury { --orbit-factor: 0.58; --orbit-phase: 180deg; --planet-ui-scale: 1.18; --planet-depth-delay: 0s; }
.site-shell .planet-venus   { --orbit-factor: 0.64; --orbit-phase: 225deg; --planet-ui-scale: 1.25; --planet-depth-delay: 0s; }
.site-shell .planet-earth   { --orbit-factor: 0.70; --orbit-phase: 135deg; --planet-ui-scale: 1.28; --planet-depth-delay: 0s; }
.site-shell .planet-mars    { --orbit-factor: 0.76; --orbit-phase: 270deg; --planet-ui-scale: 1.08; --planet-depth-delay: 0s; }
.site-shell .planet-jupiter { --orbit-factor: 0.82; --orbit-phase: 315deg; --planet-ui-scale: 1.25; --planet-depth-delay: 0s; }
.site-shell .planet-saturn  { --orbit-factor: 0.88; --orbit-phase: 0deg;   --planet-ui-scale: 1.42; --planet-depth-delay: 0s; }
.site-shell .planet-uranus  { --orbit-factor: 0.94; --orbit-phase: 45deg;  --planet-ui-scale: 1.22; --planet-depth-delay: 0s; }
.site-shell .planet-neptune { --orbit-factor: 1;    --orbit-phase: 90deg;  --planet-ui-scale: 1.28; --planet-depth-delay: 0s; }

.site-shell .planet-image {
  display: block;
  animation: planetSelfSpin var(--spin-duration) linear infinite;
  animation-direction: var(--spin-direction, normal);
}

.site-shell .planet-saturn .planet-image {
  animation: planetSelfSpin 90s linear infinite;
}

.site-shell .planet-label {
  display: flex;
}

.site-shell .planet-mercury .planet-label {
  top: 112% !important;
  right: 70% !important;
}

.site-shell .planet-venus .planet-label { top: 42% !important; }
.site-shell .planet-earth .planet-label { top: 78% !important; }
.site-shell .planet-mars .planet-label { left: 90% !important; top: 11% !important; }
.site-shell .planet-jupiter .planet-label { left: 96% !important; top: 38% !important; }
.site-shell .planet-saturn .planet-label { top: 26% !important; }
.site-shell .planet-uranus .planet-label { top: 34% !important; }
.site-shell .planet-neptune .planet-label { top: 55% !important; }

.site-shell .planet-label strong {
  padding: 7px 11px 8px;
  font-size: clamp(13px, 0.94vw, 15px);
}

@property --orbit-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes exactPlanetRevolution {
  from { --orbit-angle: 0deg; }
  to { --orbit-angle: 360deg; }
}

/*
 * Spatial depth pass: keep the supplied photographic planet assets intact,
 * but let each body subtly travel toward/away from the camera while orbiting.
 * Directional silhouette shadows and planet-specific rim light make the
 * bodies read as suspended spheres instead of flat rotating discs.
 */
.site-shell .planet-node {
  --planet-rim-rgb: 128, 174, 255;
  --planet-depth-delay: 0s;
  transform-style: preserve-3d;
}

.site-shell .planet-button {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  animation: planetSpatialDepth var(--revolution-duration, 72s) ease-in-out var(--planet-depth-delay) infinite;
  will-change: transform;
}

.site-shell .planet-image {
  filter:
    saturate(1.04)
    contrast(1.12)
    brightness(0.9)
    drop-shadow(12px 17px 25px rgba(0, 0, 0, 0.76))
    drop-shadow(-5px -4px 12px rgba(var(--planet-rim-rgb), 0.32))
    drop-shadow(-1px 0 3px rgba(227, 239, 255, 0.24));
  backface-visibility: hidden;
}

.site-shell .planet-mercury { --planet-rim-rgb: 181, 204, 255; --planet-depth-delay: -7s; }
.site-shell .planet-venus   { --planet-rim-rgb: 255, 190, 100; --planet-depth-delay: -13s; }
.site-shell .planet-earth   { --planet-rim-rgb: 109, 179, 255; --planet-depth-delay: -19s; }
.site-shell .planet-mars    { --planet-rim-rgb: 255, 125, 81;  --planet-depth-delay: -29s; }
.site-shell .planet-jupiter { --planet-rim-rgb: 255, 209, 157; --planet-depth-delay: -37s; }
.site-shell .planet-saturn  { --planet-rim-rgb: 255, 202, 133; --planet-depth-delay: -43s; }
.site-shell .planet-uranus  { --planet-rim-rgb: 111, 230, 255; --planet-depth-delay: -53s; }
.site-shell .planet-neptune { --planet-rim-rgb: 99, 142, 255;  --planet-depth-delay: -61s; }

@keyframes planetSpatialDepth {
  0%, 100% {
    transform: translateZ(-38px) scale(0.94) rotateX(2deg) rotateY(-2.8deg);
    opacity: 0.9;
  }
  25% {
    transform: translateZ(7px) scale(0.995) rotateX(-1deg) rotateY(1.5deg);
    opacity: 0.97;
  }
  50% {
    transform: translateZ(56px) scale(1.075) rotateX(-2.1deg) rotateY(2.8deg);
    opacity: 1;
  }
  75% {
    transform: translateZ(7px) scale(0.995) rotateX(0.9deg) rotateY(-1.4deg);
    opacity: 0.97;
  }
}

/*
 * High-definition source-image mode.
 * The approved lossless 1487×1058 artwork is the visible composition; the
 * supplied video is used only as motion reference. Planets remain independent
 * WebP layers so revolution and self-rotation can run forever without a video
 * seam, duplicated bodies or compression softness.
 */
.site-shell .hero {
  height: 100vh;
  min-height: 100vh !important;
  background-color: #02050b !important;
  background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/home-approved-clean-dynamic-v1.png") !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

.site-shell .planet-node {
  --revolution-duration: 64s;
  animation-name: exactPlanetRevolution !important;
  animation-duration: var(--revolution-duration) !important;
  animation-delay: 0s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-fill-mode: both !important;
  animation-play-state: running !important;
  will-change: translate, scale;
  contain: layout style;
  backface-visibility: hidden;
}

.site-shell .planet-button {
  animation-name: planetSpatialDepth !important;
  animation-duration: var(--revolution-duration) !important;
  animation-delay: var(--planet-depth-delay, 0s) !important;
  animation-timing-function: ease-in-out !important;
  animation-iteration-count: infinite !important;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.site-shell .planet-image {
  display: block !important;
  opacity: 0.98;
  image-rendering: auto;
  transform-origin: 50% 50%;
  will-change: transform;
  backface-visibility: hidden;
}

.site-shell .planet-label {
  display: flex !important;
  will-change: transform;
}

.site-shell .sun {
  animation: referenceSunBreath 6.8s ease-in-out infinite !important;
  will-change: transform;
}

.site-shell .sun img {
  display: block !important;
}

@media (prefers-reduced-motion: reduce) {
  .site-shell .planet-node,
  .site-shell .planet-button,
  .site-shell .planet-image,
  .site-shell .sun,
  .site-shell .sun img,
  .site-shell .stellar-field::before,
  .site-shell .stellar-field::after,
  .site-shell .meteor-field::before,
  .site-shell .meteor {
    animation: none !important;
  }
}

/* Final homepage composition and restrained department-sky motion. */
.site-shell .hero-copy {
  top: clamp(112px, 14.5vh, 154px);
  width: 42%;
  max-width: 620px;
}

.site-shell .hero-copy h1 {
  font-size: clamp(30px, 2.65vw, 42px);
  line-height: 1.46;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.site-shell .primary-cta {
  margin-top: 24px;
}

.site-shell .planet-node {
  --revolution-duration: 84s;
  animation: exactPlanetRevolution var(--revolution-duration) linear 0s infinite both !important;
}

.department-space-motion {
  display: none;
}

.department-info-open .site-shell .department-space-motion {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.department-info-open .site-shell .department-section-heading,
.department-info-open .site-shell .planet-rail {
  position: relative;
  z-index: 2;
}

.department-info-open .site-shell .department-space-motion::before,
.department-info-open .site-shell .department-space-motion::after {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  mix-blend-mode: screen;
  will-change: opacity, transform;
}

.department-info-open .site-shell .department-space-motion::before {
  background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/reference-star-twinkle-1.png");
  animation: departmentStarPulseA 5.8s ease-in-out -1.6s infinite;
}

.department-info-open .site-shell .department-space-motion::after {
  background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/reference-star-twinkle-2.png");
  animation: departmentStarPulseB 7.2s ease-in-out -4.3s infinite;
}

.department-info-open .site-shell .department-shooting-star {
  --meteor-angle: -27deg;
  position: absolute;
  right: var(--meteor-right);
  top: var(--meteor-top);
  width: var(--meteor-width);
  height: 1px;
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(184, 215, 255, 0.72) 22%, rgba(104, 156, 255, 0.12) 74%, transparent 100%);
  box-shadow: -18px 0 24px rgba(100, 157, 255, 0.42);
  transform-origin: 0 50%;
  animation: departmentMeteorGlide var(--meteor-duration) linear var(--meteor-delay) infinite;
  will-change: transform, opacity;
}

.department-info-open .site-shell .department-shooting-star:nth-child(1) {
  --meteor-right: -14%;
  --meteor-top: 8%;
  --meteor-width: 210px;
  --meteor-duration: 13.5s;
  --meteor-delay: -3.4s;
}

.department-info-open .site-shell .department-shooting-star:nth-child(2) {
  --meteor-right: 8%;
  --meteor-top: 24%;
  --meteor-width: 154px;
  --meteor-duration: 17.5s;
  --meteor-delay: -11.2s;
}

.department-info-open .site-shell .department-shooting-star:nth-child(3) {
  --meteor-right: 34%;
  --meteor-top: 4%;
  --meteor-width: 235px;
  --meteor-duration: 15.8s;
  --meteor-delay: -7.7s;
}

.department-info-open .site-shell .department-shooting-star:nth-child(4) {
  --meteor-right: -2%;
  --meteor-top: 54%;
  --meteor-width: 176px;
  --meteor-duration: 19.2s;
  --meteor-delay: -14.8s;
}

@keyframes departmentStarPulseA {
  0%, 100% { opacity: 0.1; transform: translate3d(0, 0, 0) scale(1); }
  46% { opacity: 0.52; transform: translate3d(0.08%, -0.06%, 0) scale(1.004); }
  72% { opacity: 0.2; transform: translate3d(0, 0, 0) scale(1.002); }
}

@keyframes departmentStarPulseB {
  0%, 100% { opacity: 0.08; transform: translate3d(0, 0, 0); }
  55% { opacity: 0.42; transform: translate3d(-0.1%, 0.08%, 0); }
}

@keyframes departmentMeteorGlide {
  0%, 66% {
    opacity: 0;
    transform: translate3d(10vw, -6vh, 0) rotate(var(--meteor-angle)) scaleX(0.24);
  }
  70% { opacity: 0; }
  74% { opacity: 0.86; }
  88% { opacity: 0.58; }
  100% {
    opacity: 0;
    transform: translate3d(-64vw, 34vh, 0) rotate(var(--meteor-angle)) scaleX(1);
  }
}

@media (max-width: 1100px) {
  .site-shell .hero-copy {
    top: clamp(108px, 14vh, 140px);
    width: 46%;
  }

  .site-shell .hero-copy h1 {
    font-size: clamp(29px, 3.3vw, 36px);
  }
}

@media (max-width: 700px) {
  .site-shell .hero-copy {
    top: clamp(98px, 14vh, 116px);
    left: 6%;
    width: 88%;
  }

  .site-shell .hero-copy h1 {
    font-size: clamp(26px, 6.8vw, 34px);
    line-height: 1.42;
  }
}

@media (prefers-reduced-motion: reduce) {
  .department-info-open .site-shell .department-space-motion::before,
  .department-info-open .site-shell .department-space-motion::after,
  .department-info-open .site-shell .department-shooting-star {
    animation: none !important;
  }
}

/*
 * Crisp interface and standalone department-information view.
 * The photographic layer contains no baked UI; all copy below is native HTML
 * so glyphs remain sharp at the browser's current device pixel ratio.
 */
.site-shell .hero {
  background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/home-star-ocean-round-sun-v3.webp") !important;
  background-position: center center !important;
  background-size: cover !important;
}

.site-shell .topbar,
.home-scrolled .site-shell .topbar {
  border-color: rgba(184, 207, 255, 0.24) !important;
  background: linear-gradient(110deg, rgba(7, 12, 25, 0.76), rgba(5, 10, 23, 0.54)) !important;
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.36),
    inset 0 1px rgba(255, 255, 255, 0.065) !important;
  -webkit-backdrop-filter: blur(24px) saturate(124%) !important;
  backdrop-filter: blur(24px) saturate(124%) !important;
}

.site-shell .brand,
.site-shell .main-nav,
.home-scrolled .site-shell .brand,
.home-scrolled .site-shell .main-nav {
  opacity: 1 !important;
}

.site-shell .brand,
.site-shell .main-nav button,
.site-shell .hero-copy h1,
.site-shell .primary-cta,
.site-shell .department-section-heading,
.site-shell .planet-card {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

.site-shell .brand {
  font-weight: 600;
  letter-spacing: 0.045em;
  text-shadow: 0 0 18px rgba(187, 213, 255, 0.16);
}

.site-shell .brand-mark svg,
.site-shell .main-nav button {
  shape-rendering: geometricPrecision;
}

.site-shell .main-nav button {
  color: rgba(242, 247, 255, 0.86);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.site-shell .main-nav button:hover,
.site-shell .main-nav button[aria-current="page"] {
  color: #ffffff;
}

.site-shell .main-nav button.active::after {
  opacity: 0;
}

.site-shell .main-nav button[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  opacity: 1;
  background: #779eff;
  box-shadow: 0 0 13px rgba(119, 158, 255, 0.9);
}

.site-shell .hero-copy {
  z-index: 46;
  top: 30.2%;
  left: 4.45%;
  width: 44%;
  height: auto;
  pointer-events: none;
}

.site-shell .hero-copy h1 {
  max-width: 100%;
  margin: 0;
  opacity: 0;
  color: #f8faff;
  font-size: clamp(36px, 3.2vw, 52px);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.74), 0 0 2px rgba(255, 255, 255, 0.26);
  transition: opacity 180ms ease;
}

.site-shell .hero-copy h1[data-crisp-copy="true"] {
  opacity: 1;
}

.site-shell .hero-copy .hero-line {
  display: block;
  white-space: nowrap;
}

.site-shell .primary-cta {
  position: relative;
  top: auto;
  left: auto;
  width: max-content;
  min-width: 208px;
  height: 58px;
  margin-top: 30px;
  opacity: 1;
  pointer-events: auto;
}

/* The requested slower orbit: 64s -> 84s, still constant-rate and seamless. */
.site-shell .planet-node {
  --revolution-duration: 84s;
  animation-duration: var(--revolution-duration) !important;
}

/* Remove the card rail from the scrolling homepage. It reappears only as the
 * dedicated department-information screen opened from the top navigation. */
.site-shell .department-section {
  display: none !important;
}

.department-info-open,
.department-info-open body {
  min-height: 100%;
  background: #02050b;
}

.department-info-open .site-shell {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #02050b;
}

.department-info-open .site-shell .hero {
  display: none !important;
}

.department-info-open .site-shell .department-section {
  position: relative;
  isolation: isolate;
  display: block !important;
  min-height: 100vh;
  padding: 142px 4.05% 74px;
  overflow: hidden;
  background-color: #02050b;
  background-image:
    linear-gradient(180deg, rgba(1, 4, 12, 0.08), rgba(1, 4, 12, 0.42)),
    url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/home-star-ocean-round-sun-v3.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.department-info-open .site-shell .department-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 51% 44%, rgba(255, 204, 109, 0.13), transparent 24%),
    radial-gradient(ellipse at 78% 19%, rgba(65, 111, 222, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(0, 3, 10, 0.06), rgba(0, 3, 10, 0.58));
}

.department-info-open .site-shell .department-section-heading {
  width: min(760px, 92vw);
  margin: 0 auto 38px;
  text-align: center;
}

.department-info-open .site-shell .department-section-heading .eyebrow {
  color: #8fb0ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.department-info-open .site-shell .department-section-heading h2 {
  margin: 11px 0 10px;
  color: #f8faff;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 450;
  letter-spacing: -0.045em;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.58);
}

.department-info-open .site-shell .department-section-heading p {
  margin: 0;
  color: rgba(224, 234, 251, 0.7);
  font-size: 16px;
  line-height: 1.75;
}

.department-info-open .site-shell .planet-rail {
  position: relative;
  inset: auto;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
}

.department-info-open .site-shell .planet-card {
  position: relative;
  min-width: 0;
  min-height: 246px;
  padding: 25px 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(159, 190, 249, 0.2);
  border-radius: 22px;
  color: #f8faff;
  background:
    radial-gradient(circle at 82% 12%, rgba(104, 139, 239, 0.15), transparent 34%),
    linear-gradient(145deg, rgba(12, 23, 48, 0.82), rgba(5, 10, 24, 0.76));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  transition: transform 280ms cubic-bezier(0.2, 0.78, 0.2, 1), border-color 220ms ease, box-shadow 220ms ease;
}

.department-info-open .site-shell .planet-card:hover,
.department-info-open .site-shell .planet-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(148, 184, 255, 0.48);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.4), 0 0 34px rgba(84, 126, 238, 0.13), inset 0 1px rgba(255, 255, 255, 0.09);
}

.department-info-open .site-shell .planet-card img {
  width: 108px;
  height: 108px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(12px 16px 22px rgba(0, 0, 0, 0.58));
  animation: departmentPlanetFloat 7.6s ease-in-out infinite;
}

.department-info-open .site-shell .planet-card:nth-child(2n) img {
  animation-delay: -2.6s;
}

.department-info-open .site-shell .planet-card:nth-child(3n) img {
  animation-delay: -4.8s;
}

.department-info-open .site-shell .planet-card strong,
.department-info-open .site-shell .planet-card span {
  display: block;
  text-align: left;
}

.department-info-open .site-shell .planet-card strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.department-info-open .site-shell .planet-card > span {
  margin-top: 8px;
  color: rgba(218, 230, 250, 0.58);
  font-size: 13px;
}

.department-info-open .site-shell .planet-card .card-arrow {
  position: absolute;
  right: 22px;
  bottom: 24px;
  color: rgba(205, 220, 248, 0.72);
}

.department-info-open .site-shell .rail-pagination {
  display: none;
}

@keyframes departmentPlanetFloat {
  0%, 100% { transform: translate3d(0, 1px, 0) scale(0.985); }
  50% { transform: translate3d(0, -7px, 0) scale(1.02); }
}

@media (max-width: 1100px) {
  .site-shell .hero-copy {
    top: 26%;
    width: 52%;
  }

  .site-shell .hero-copy h1 {
    font-size: clamp(34px, 4.2vw, 48px);
  }

  .department-info-open .site-shell .planet-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-shell .hero-copy {
    top: 18%;
    left: 6%;
    width: 88%;
  }

  .site-shell .hero-copy h1 {
    font-size: clamp(30px, 8vw, 43px);
  }

  .site-shell .hero-copy .hero-line {
    white-space: normal;
  }

  .site-shell .primary-cta {
    min-width: 176px;
    height: 52px;
  }

  .department-info-open .site-shell .department-section {
    padding: 112px 14px 46px;
    background-position: 61% top;
  }

  .department-info-open .site-shell .planet-rail {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .department-info-open .site-shell .planet-card img {
    animation: none !important;
  }
}

/*
 * Frame-exact video composition.
 * The supplied 1112×834 reference clip is the homepage visual source of truth.
 * Existing React controls stay above it as transparent interaction hotspots.
 */
.reference-hero-video {
  position: absolute;
  z-index: 0;
  inset: 0 auto auto 0;
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: fill;
  object-position: center top;
  pointer-events: none;
  background: #02050b;
}

.reference-hero-video[hidden] {
  display: none;
}

#root {
  position: relative;
  z-index: 1;
}

.exact-video-home body,
.exact-video-home .site-shell,
.exact-video-home .site-shell .hero {
  background: transparent !important;
}

.exact-video-home .site-shell .hero {
  min-height: 100vh !important;
  height: 100vh;
}

.exact-video-home .site-shell::before,
.exact-video-home .site-shell::after,
.exact-video-home .site-shell .hero::before,
.exact-video-home .site-shell .hero::after,
.exact-video-home .site-shell .cosmic-backdrop,
.exact-video-home .site-shell .asteroid-belt,
.exact-video-home .site-shell .orbit-lines,
.exact-video-home .site-shell .cosmic-depth-glow,
.exact-video-home .site-shell .stellar-field,
.exact-video-home .site-shell .meteor-field {
  display: none !important;
}

.exact-video-home .site-shell .topbar {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.exact-video-home:not(.home-scrolled) .site-shell .brand,
.exact-video-home:not(.home-scrolled) .site-shell .main-nav,
.exact-video-home .site-shell .hero-copy h1,
.exact-video-home .site-shell .primary-cta {
  opacity: 0 !important;
}

.exact-video-home .site-shell .hero-copy::before,
.exact-video-home .site-shell .hero-copy::after {
  content: none !important;
  display: none !important;
}

.exact-video-home .site-shell .sun {
  left: 54% !important;
  top: 43% !important;
  width: clamp(260px, 24vw, 390px) !important;
  height: clamp(260px, 24vw, 390px) !important;
  transform: translate(-50%, -50%) !important;
  animation: none !important;
  background: transparent !important;
}

.exact-video-home .site-shell .sun::before,
.exact-video-home .site-shell .sun::after,
.exact-video-home .site-shell .sun img,
.exact-video-home .site-shell .sun-radiance,
.exact-video-home .site-shell .planet-image,
.exact-video-home .site-shell .planet-halo,
.exact-video-home .site-shell .moon-system,
.exact-video-home .site-shell .planet-label,
.exact-video-home .site-shell .planet-button::before,
.exact-video-home .site-shell .planet-button::after {
  display: none !important;
}

.exact-video-home .site-shell .planet-node {
  width: max(72px, calc(var(--planet-size) * 1.38)) !important;
  height: max(72px, calc(var(--planet-size) * 1.38)) !important;
  translate: none !important;
  scale: 1 !important;
  transform: translate(-50%, -50%) !important;
  animation: none !important;
  opacity: 1 !important;
}

.exact-video-home .site-shell .planet-button {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  animation: none !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .reference-hero-video {
    animation: none !important;
  }
}

/*
 * Motion reference pass (33a59ded0abd5ada3e9685feff49b3f6.mp4).
 * Keep the approved first-frame composition, then reproduce the video's
 * continuous clockwise orbit, independent surface rotation and liquid-gold
 * solar activity. All motion stays on the same projected solar-system plane.
 */
.site-shell .planet-node {
  --revolution-duration: 56s;
  animation-duration: var(--revolution-duration);
  animation-delay: 0.24s;
  animation-timing-function: linear;
}

.site-shell .planet-button {
  animation-duration: var(--revolution-duration);
  animation-timing-function: ease-in-out;
}

.site-shell .planet-image {
  opacity: 0.96;
  filter:
    saturate(0.92)
    contrast(1.08)
    brightness(0.92)
    blur(0.14px)
    drop-shadow(11px 16px 25px rgba(0, 0, 0, 0.72))
    drop-shadow(-5px -4px 13px rgba(var(--planet-rim-rgb), 0.4))
    drop-shadow(0 0 4px rgba(220, 236, 255, 0.22));
}

/* The approved Sun remains in the background; this real transparent asset
 * contributes only moving filaments and glow, so no outlined circle appears. */
.site-shell .sun {
  overflow: visible;
  animation: referenceSunBreath 6.8s ease-in-out infinite;
}

.site-shell .sun img {
  display: block;
  inset: -25%;
  width: 150%;
  height: 150%;
  object-fit: contain;
  opacity: 0.2;
  mix-blend-mode: screen;
  filter:
    saturate(0.82)
    brightness(1.08)
    blur(0.42px)
    drop-shadow(0 0 16px rgba(255, 207, 111, 0.34));
  transform-origin: 50% 50%;
  animation: referenceSolarFilaments 18s linear infinite;
}

@keyframes referenceSunBreath {
  0%, 100% { transform: translate(-50%, -50%) scale(0.986); }
  46% { transform: translate(-50%, -50%) scale(1.018); }
  72% { transform: translate(-50%, -50%) scale(1.004); }
}

@keyframes referenceSolarFilaments {
  0% {
    opacity: 0.13;
    transform: rotate(-2deg) scale(0.985);
    filter: saturate(0.8) brightness(0.98) blur(0.55px) drop-shadow(0 0 13px rgba(255, 202, 103, 0.26));
  }
  36% {
    opacity: 0.27;
    transform: rotate(2.4deg) scale(1.018);
    filter: saturate(0.86) brightness(1.12) blur(0.32px) drop-shadow(0 0 20px rgba(255, 216, 139, 0.4));
  }
  68% {
    opacity: 0.18;
    transform: rotate(5.2deg) scale(1.006);
    filter: saturate(0.82) brightness(1.04) blur(0.44px) drop-shadow(0 0 16px rgba(255, 197, 86, 0.32));
  }
  100% {
    opacity: 0.13;
    transform: rotate(8deg) scale(0.985);
    filter: saturate(0.8) brightness(0.98) blur(0.55px) drop-shadow(0 0 13px rgba(255, 202, 103, 0.26));
  }
}

@keyframes planetSpatialDepth {
  0%, 100% {
    transform: translateZ(-48px) scale(0.91) rotateX(2.3deg) rotateY(-3.2deg);
    opacity: 0.88;
  }
  25% {
    transform: translateZ(10px) scale(0.995) rotateX(-1.2deg) rotateY(1.8deg);
    opacity: 0.97;
  }
  50% {
    transform: translateZ(68px) scale(1.105) rotateX(-2.5deg) rotateY(3.1deg);
    opacity: 1;
  }
  75% {
    transform: translateZ(10px) scale(0.995) rotateX(1deg) rotateY(-1.7deg);
    opacity: 0.97;
  }
}

/* Final compositor-only motion contract. Kept last so no legacy experiment
 * can reintroduce a delay, video softness or a shorter/non-seamless cycle. */
.site-shell .planet-node {
  --revolution-duration: 64s;
  animation: exactPlanetRevolution var(--revolution-duration) linear 0s infinite both !important;
  will-change: translate, scale;
}

.site-shell .planet-button {
  animation: planetSpatialDepth var(--revolution-duration) ease-in-out var(--planet-depth-delay, 0s) infinite !important;
  will-change: transform, opacity;
}

.site-shell .planet-image {
  display: block !important;
  opacity: 0.98;
  filter:
    saturate(1.02)
    contrast(1.1)
    brightness(0.96)
    drop-shadow(11px 16px 24px rgba(0, 0, 0, 0.7))
    drop-shadow(-4px -3px 11px rgba(var(--planet-rim-rgb), 0.38));
  will-change: transform;
  backface-visibility: hidden;
}

.site-shell .planet-label {
  display: flex !important;
}

@media (prefers-reduced-motion: reduce) {
  .site-shell .planet-node,
  .site-shell .planet-button,
  .site-shell .planet-image,
  .site-shell .sun,
  .site-shell .sun img,
  .site-shell .stellar-field::before,
  .site-shell .stellar-field::after,
  .site-shell .meteor-field::before,
  .site-shell .meteor {
    animation: none !important;
  }
}

/* Requested final scale, placement and orbit pace. */
.site-shell .hero-copy {
  top: clamp(112px, 14.5vh, 154px);
  width: 42%;
  max-width: 620px;
}

.site-shell .hero-copy h1 {
  font-size: clamp(30px, 2.65vw, 42px);
  line-height: 1.46;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.site-shell .primary-cta {
  margin-top: 24px;
}

.site-shell .planet-node {
  --revolution-duration: 84s;
  animation: exactPlanetRevolution var(--revolution-duration) linear 0s infinite both !important;
}

@media (max-width: 1100px) {
  .site-shell .hero-copy {
    top: clamp(108px, 14vh, 140px);
    width: 46%;
  }

  .site-shell .hero-copy h1 {
    font-size: clamp(29px, 3.3vw, 36px);
  }
}

@media (max-width: 700px) {
  .site-shell .hero-copy {
    top: clamp(98px, 14vh, 116px);
    left: 6%;
    width: 88%;
  }

  .site-shell .hero-copy h1 {
    font-size: clamp(26px, 6.8vw, 34px);
    line-height: 1.42;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-shell .planet-node {
    animation: none !important;
  }
}

/* The approved background already contains the complete Sun. Hiding the
 * duplicate live texture removes the offset shadow while retaining its glow. */
.site-shell .sun {
  left: var(--solar-origin-x) !important;
  top: var(--solar-origin-y) !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  animation: none !important;
}

.site-shell .sun::before,
.site-shell .sun::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 47%;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 34%, #ffe2a1 0%, #f8b94d 30%, #e58b20 58%, #b95e0d 82%, rgba(135, 55, 5, 0.98) 94%, transparent 100%);
  box-shadow:
    0 0 28px rgba(255, 201, 102, 0.72),
    0 0 72px rgba(255, 139, 34, 0.36);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.site-shell .sun img,
.site-shell .sun-radiance {
  display: none !important;
}

/* Restore clearly visible, asynchronously phased star scintillation over the
 * photographic galaxy. Individual stars and three optical dust layers pulse
 * independently so the background never flashes as one flat image. */
.site-shell .stellar-field i {
  display: block !important;
  min-width: 1.8px;
  min-height: 1.8px;
  filter: brightness(1.35);
  box-shadow:
    0 0 calc(var(--star-size) * 4.2) rgba(var(--star-color), 0.96),
    0 0 calc(var(--star-size) * 9) rgba(var(--star-color), 0.38);
  animation: stellarTwinkleVisible calc(var(--star-duration) * 0.72) ease-in-out var(--star-delay) infinite !important;
}

.site-shell .stellar-field::before {
  animation: exactStarPulseOneVisible 3.4s ease-in-out -1.2s infinite !important;
}

.site-shell .stellar-field::after {
  animation: exactStarPulseTwoVisible 4.6s ease-in-out -3.1s infinite !important;
}

.site-shell .meteor-field::before {
  animation: exactStarPulseThreeVisible 4s ease-in-out -2.4s infinite !important;
}

@keyframes stellarTwinkleVisible {
  0%, 100% {
    opacity: max(0.06, var(--star-opacity-low));
    transform: translate3d(-50%, -50%, 0) scale(0.58);
    filter: brightness(0.78);
  }
  43% {
    opacity: min(1, calc(var(--star-opacity) * 1.45));
    transform: translate3d(-50%, -50%, 0) scale(1.24);
    filter: brightness(2.15);
  }
  66% {
    opacity: var(--star-opacity-mid);
    transform: translate3d(-50%, -50%, 0) scale(0.82);
    filter: brightness(1.12);
  }
}

@keyframes exactStarPulseOneVisible {
  0%, 100% { opacity: 0.03; filter: brightness(0.72); }
  42% { opacity: 0.82; filter: brightness(2.05); }
}

@keyframes exactStarPulseTwoVisible {
  0%, 100% { opacity: 0.04; filter: brightness(0.76); }
  53% { opacity: 0.88; filter: brightness(2.18); }
}

@keyframes exactStarPulseThreeVisible {
  0%, 100% { opacity: 0.025; filter: brightness(0.68); }
  35% { opacity: 0.68; filter: brightness(1.94); }
  71% { opacity: 0.12; filter: brightness(0.92); }
}

.site-shell .planet-node.is-orbit-paused {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  .site-shell .stellar-field i,
  .site-shell .stellar-field::before,
  .site-shell .stellar-field::after,
  .site-shell .meteor-field::before {
    animation: none !important;
  }
}

/*
 * Local review pass: scientific projected orbits + high-definition hero.
 *
 * The solar system is viewed obliquely from above its north ecliptic pole:
 * every planet travels counter-clockwise, each orbital circle is projected as
 * a shallow ellipse, and the Sun stays at the ellipse focus.  The orbital
 * periods are visually compressed but retain the real inner-fast/outer-slow
 * ordering.  Depth is expressed by scale, opacity and stacking as each body
 * passes behind or in front of the Sun's ecliptic plane.
 */
.site-shell .hero {
  --solar-origin-x: 56.57%;
  --solar-origin-y: 45.8%;
  /* A 66vmin presentation radius gives every projected orbit its own safety
   * lane.  The 0.48 vertical projection corresponds to an oblique view of the
   * ecliptic instead of a flat top-down diagram. */
  --orbit-max-radius: clamp(430px, 66vmin, 920px);
  --ecliptic-compression: 0.58;
  background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260829-u/assets/home-star-ocean-round-sun-v4-4k.jpg") !important;
  background-position: center 54% !important;
  background-size: cover !important;
  image-rendering: auto;
}

.site-shell .solar-stage {
  perspective: 1500px;
  perspective-origin: var(--solar-origin-x) var(--solar-origin-y);
}

.site-shell .planet-node {
  --orbit-theta: calc(var(--orbit-angle) + var(--orbit-phase));
  --orbit-x-flat: calc(
    var(--orbit-radius) *
    (cos(var(--orbit-theta)) - var(--orbit-eccentricity, 0))
  );
  --orbit-y-flat: calc(
    var(--orbit-radius) *
    var(--ecliptic-compression) *
    var(--semi-minor-factor, 1) *
    sin(var(--orbit-theta)) * -1
  );
  --orbit-x-projected: calc(
    var(--orbit-x-flat) * cos(var(--orbit-tilt)) -
    var(--orbit-y-flat) * sin(var(--orbit-tilt))
  );
  --orbit-y-projected: calc(
    var(--orbit-x-flat) * sin(var(--orbit-tilt)) +
    var(--orbit-y-flat) * cos(var(--orbit-tilt))
  );
  --viewport-planet-scale: clamp(0.68, min(calc(100vw / 1487px), calc(100vh / 1058px)), 1.3);
  left: var(--solar-origin-x) !important;
  top: var(--solar-origin-y) !important;
  transform: none !important;
  scale: 1 !important;
  translate:
    calc(-50% + var(--orbit-x-projected) + var(--orbit-avoid-x, 0px))
    calc(-50% + var(--orbit-y-projected) + var(--orbit-avoid-y, 0px));
  animation:
    exactPlanetRevolution var(--revolution-duration) linear 0s infinite both,
    scientificDepthOrder var(--revolution-duration) steps(1, end) var(--depth-phase-delay) infinite !important;
  z-index: var(--orbit-depth-index, 24) !important;
  will-change: translate;
}

/* Log-compressed orbital radii; eccentricity and inclination retain the
 * relative astronomical character without pushing Neptune off-screen.
 *
 * The homepage is a legibility-first solar-system presentation rather than a
 * live ephemeris. Eight true-anomaly sectors are reserved at exact 45°
 * intervals and every planet shares one counter-clockwise mean motion, so the
 * reserved sectors never collapse into a conjunction. The 0.58 projection
 * keeps the orbit spatially elliptical without visually crushing adjacent
 * sectors at the left and right extremes. Individual scientific character
 * remains in radius, eccentricity, inclination, depth and spin. */
.site-shell .planet-mercury {
  --orbit-factor: 0.43; --orbit-phase: 225deg; --orbit-eccentricity: 0.206;
  --semi-minor-factor: 0.979; --orbit-tilt: 0deg;
  --revolution-duration: 168s; --depth-phase-delay: -105s;
  --spin-duration: 88s;
}
.site-shell .planet-venus {
  --orbit-factor: 0.54; --orbit-phase: 270deg; --orbit-eccentricity: 0.007;
  --semi-minor-factor: 1; --orbit-tilt: -3.6deg;
  --revolution-duration: 168s; --depth-phase-delay: -126s;
  --spin-duration: 120s;
}
.site-shell .planet-earth {
  --orbit-factor: 0.65; --orbit-phase: 315deg; --orbit-eccentricity: 0.017;
  --semi-minor-factor: 1; --orbit-tilt: -7deg;
  --revolution-duration: 168s; --depth-phase-delay: -147s;
  --spin-duration: 64s;
}
.site-shell .planet-mars {
  --orbit-factor: 0.76; --orbit-phase: 0deg; --orbit-eccentricity: 0.093;
  --semi-minor-factor: 0.996; --orbit-tilt: -5.15deg;
  --revolution-duration: 168s; --depth-phase-delay: 0s;
  --spin-duration: 66s;
}
.site-shell .planet-jupiter {
  --orbit-factor: 0.86; --orbit-phase: 45deg; --orbit-eccentricity: 0.049;
  --semi-minor-factor: 0.999; --orbit-tilt: -5.7deg;
  --revolution-duration: 168s; --depth-phase-delay: -21s;
  --spin-duration: 32s;
}
.site-shell .planet-saturn {
  --orbit-factor: 0.94; --orbit-phase: 90deg; --orbit-eccentricity: 0.057;
  --semi-minor-factor: 0.998; --orbit-tilt: -4.5deg;
  --revolution-duration: 168s; --depth-phase-delay: -42s;
  --spin-duration: 36s;
}
.site-shell .planet-uranus {
  --orbit-factor: 1.01; --orbit-phase: 135deg; --orbit-eccentricity: 0.046;
  --semi-minor-factor: 0.999; --orbit-tilt: -6.2deg;
  --revolution-duration: 168s; --depth-phase-delay: -63s;
  --spin-duration: 42s;
}
.site-shell .planet-neptune {
  --orbit-factor: 1.07; --orbit-phase: 180deg; --orbit-eccentricity: 0.011;
  --semi-minor-factor: 1; --orbit-tilt: -5.2deg;
  --revolution-duration: 168s; --depth-phase-delay: -84s;
  --spin-duration: 38s;
}

.site-shell .planet-button {
  animation: scientificPlanetDepth var(--revolution-duration) ease-in-out var(--depth-phase-delay) infinite !important;
  opacity: 1;
  isolation: isolate;
  transform: translateZ(0);
  transform-origin: 50% 50%;
  will-change: scale, filter;
}

.site-shell .planet-image {
  opacity: 1;
  image-rendering: auto;
  filter:
    saturate(1.07)
    contrast(1.18)
    brightness(1.01)
    drop-shadow(9px 13px 20px rgba(0, 0, 0, 0.66))
    drop-shadow(-3px -2px 8px rgba(var(--planet-rim-rgb), 0.34));
}

@keyframes scientificPlanetDepth {
  0%, 50%, 100% {
    scale: var(--viewport-planet-scale);
    opacity: 1;
    filter: brightness(1);
  }
  25% {
    scale: calc(var(--viewport-planet-scale) - 0.08);
    opacity: 1;
    filter: brightness(0.78) saturate(0.9);
  }
  75% {
    scale: calc(var(--viewport-planet-scale) + 0.11);
    opacity: 1;
    filter: brightness(1.12) saturate(1.06);
  }
}

@keyframes scientificDepthOrder {
  0%, 49.999% { --orbit-depth-index: 24; }
  50%, 100% { --orbit-depth-index: 38; }
}

/* Native HTML and controls remain pixel-sharp over the 4K photographic layer. */
.site-shell .topbar {
  -webkit-backdrop-filter: blur(14px) saturate(132%) !important;
  backdrop-filter: blur(14px) saturate(132%) !important;
}

.site-shell .brand,
.site-shell .main-nav button,
.site-shell .hero-copy h1,
.site-shell .primary-cta,
.site-shell .planet-label strong {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-shell .main-nav button,
.site-shell .brand {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}

.site-shell .hero-copy h1 {
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.68);
}

/* Move the message to the bottom edge as a light typographic rail. Keeping it
 * free of any card/panel preserves the open star-ocean composition. */
.site-shell .hero-copy {
  top: auto !important;
  bottom: clamp(38px, 6.2vh, 62px);
  left: 4.45%;
  width: 91.1%;
  max-width: none;
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 40px);
  z-index: 52;
  pointer-events: none;
}

.site-shell .hero-copy h1 {
  flex: 0 1 auto;
  position: relative;
  margin: 0;
  padding-left: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: clamp(30px, 2.75vw, 46px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
  white-space: normal;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.9);
}

.site-shell .hero-copy .hero-line {
  display: block !important;
}

.site-shell .hero-copy .hero-line:first-child {
  color: rgba(250, 252, 255, 0.98);
  background: none;
  font-weight: 700;
}

.site-shell .hero-copy .hero-line:last-child {
  --signal-line-length: clamp(92px, 10.5vw, 176px);
  position: relative;
  width: max-content;
  margin-top: clamp(8px, 0.7vw, 11px);
  color: rgba(226, 234, 252, 0.9);
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-shadow: 0 2px 16px rgba(25, 61, 142, 0.56);
}

/* Option 2: the subtitle resolves into a horizontal light signal. It reads as
 * a divider rather than a container, so the star field remains unobstructed. */
.site-shell .hero-copy .hero-line:last-child::after {
  content: "";
  position: absolute;
  left: calc(100% + 18px);
  top: 50%;
  width: var(--signal-line-length);
  height: 1px;
  background: linear-gradient(90deg, rgba(114, 155, 255, 0.18), rgba(176, 204, 255, 0.8));
  box-shadow: 0 0 10px rgba(89, 132, 255, 0.35);
  transform: translateY(-50%);
  transform-origin: left center;
  animation: hero-signal-line 4.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.site-shell .hero-copy .hero-line:last-child::before {
  content: "";
  position: absolute;
  left: calc(100% + 14px + var(--signal-line-length));
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f8fbff;
  box-shadow: 0 0 7px rgba(255, 255, 255, 0.95), 0 0 18px rgba(100, 145, 255, 0.78);
  transform: translateY(-50%);
  will-change: transform, opacity;
  animation: hero-signal-star 4.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes hero-signal-line {
  0%, 16%, 100% {
    opacity: 0.36;
    transform: translateY(-50%) scaleX(0.86);
  }
  54%, 82% {
    opacity: 0.95;
    transform: translateY(-50%) scaleX(1);
  }
}

@keyframes hero-signal-star {
  0%, 16% {
    opacity: 0;
    transform: translate3d(calc(var(--signal-line-length) * -1), -50%, 0) scale(0.56);
  }
  24% {
    opacity: 0.72;
  }
  72% {
    opacity: 1;
    transform: translate3d(-8px, -50%, 0) scale(0.9);
  }
  82% {
    opacity: 1;
    transform: translate3d(0, -50%, 0) scale(1.28);
  }
  90% {
    opacity: 0.78;
    transform: translate3d(0, -50%, 0) scale(0.92);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -50%, 0) scale(0.72);
  }
}

.site-shell .hero-copy h1::before,
.site-shell .hero-copy h1::after {
  content: none;
}

.site-shell .primary-cta {
  flex: 0 0 auto;
  margin-left: auto;
  margin-top: 0 !important;
  pointer-events: auto;
}

.site-shell .planet-node.is-orbit-paused {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  .site-shell .planet-node,
  .site-shell .planet-button {
    animation: none !important;
  }

  .site-shell .hero-copy .hero-line:last-child::before,
  .site-shell .hero-copy .hero-line:last-child::after {
    animation: none !important;
  }
}

@media (max-width: 1100px) {
  .site-shell .hero {
    --orbit-max-radius: clamp(360px, 58vmin, 620px);
  }

  .site-shell .hero-copy {
    top: auto !important;
    bottom: clamp(28px, 5.2vh, 48px);
    left: 4.5%;
    width: 91%;
    gap: 20px;
  }

  .site-shell .hero-copy h1 {
    font-size: clamp(27px, 3.25vw, 36px);
  }
}

@media (max-width: 700px) {
  .site-shell .hero {
    --orbit-max-radius: clamp(250px, 50vmin, 360px);
  }

  .site-shell .hero-copy {
    top: auto !important;
    bottom: max(18px, env(safe-area-inset-bottom));
    left: 6%;
    width: 88%;
    display: block;
  }

  .site-shell .hero-copy h1 {
    font-size: clamp(24px, 6.8vw, 30px);
    line-height: 1.22;
    white-space: normal;
  }

  .site-shell .hero-copy .hero-line:last-child {
    margin-top: 7px;
    font-size: 0.62em;
    letter-spacing: 0.11em;
  }

  .site-shell .hero-copy .hero-line:last-child::before,
  .site-shell .hero-copy .hero-line:last-child::after {
    content: none;
  }

  .site-shell .hero-copy .hero-line {
    display: block !important;
  }

  .site-shell .hero-copy .hero-line + .hero-line::before {
    content: none;
  }

  .site-shell .primary-cta {
    margin-left: 0;
    margin-top: 14px !important;
  }
}

/* Department arrival: preserve the original planet-led transition and enlarge the destination. */
.department-page .department-hero {
  min-height: 630px;
}

.department-page .department-planet {
  min-height: 560px;
}

.department-page .department-planet > img {
  width: min(460px, 51vw);
  filter:
    drop-shadow(0 0 34px rgba(108, 158, 255, 0.34))
    drop-shadow(0 34px 48px rgba(0, 0, 0, 0.72));
}

.department-page .department-orbit {
  width: min(680px, 66vw);
}

/* Every department route shares one quiet, fixed night-sky layer. */
.department-night-sky,
.department-night-stars,
.department-night-meteors {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.department-night-sky {
  z-index: 0;
  overflow: hidden;
  contain: layout paint style;
}

.department-night-stars,
.department-night-meteors {
  overflow: hidden;
}

.department-night-star {
  position: absolute;
  left: var(--night-star-x);
  top: var(--night-star-y);
  width: var(--night-star-size);
  height: var(--night-star-size);
  border-radius: 50%;
  background: rgb(var(--night-star-hue));
  box-shadow:
    0 0 calc(var(--night-star-size) * 3.2) rgba(var(--night-star-hue), 0.88),
    0 0 calc(var(--night-star-size) * 7.5) rgba(102, 158, 255, 0.24);
  opacity: var(--night-star-alpha);
  transform: translate3d(-50%, -50%, 0) scale(0.72);
  animation: departmentNightTwinkle var(--night-star-duration) ease-in-out var(--night-star-delay) infinite;
}

.department-night-star:nth-child(9n) {
  background: #ffffff;
  box-shadow:
    0 0 7px rgba(255, 255, 255, 0.95),
    0 0 17px rgba(100, 158, 255, 0.62);
}

.department-night-meteor {
  position: absolute;
  left: 104vw;
  top: var(--night-meteor-top);
  width: var(--night-meteor-width);
  height: 1.5px;
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(224, 240, 255, 0.92) 3%, rgba(118, 171, 255, 0.34) 42%, transparent 100%);
  box-shadow: -8px 0 16px rgba(151, 197, 255, 0.44);
  transform-origin: left center;
  will-change: transform, opacity;
  animation: departmentNightMeteor var(--night-meteor-duration) linear var(--night-meteor-delay) infinite;
}

.department-night-meteor::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 9px rgba(230, 244, 255, 0.98),
    0 0 22px rgba(98, 157, 255, 0.78);
  transform: translateY(-50%);
}

@keyframes departmentNightTwinkle {
  0%, 100% {
    opacity: calc(var(--night-star-alpha) * 0.34);
    transform: translate3d(-50%, -50%, 0) scale(0.68);
    filter: brightness(0.84);
  }
  46% {
    opacity: var(--night-star-alpha);
    transform: translate3d(-50%, -50%, 0) scale(1.08);
    filter: brightness(1.38);
  }
  62% {
    opacity: calc(var(--night-star-alpha) * 0.58);
    transform: translate3d(-50%, -50%, 0) scale(0.86);
    filter: brightness(1);
  }
}

@keyframes departmentNightMeteor {
  0%, 70%, 100% {
    opacity: 0;
    transform: translate3d(0, -8vh, 0) rotate(-28deg) scaleX(0.34);
  }
  73% {
    opacity: 0;
  }
  76% {
    opacity: 0.92;
  }
  91% {
    opacity: 0;
    transform: translate3d(-148vw, 78vh, 0) rotate(-28deg) scaleX(1);
  }
}

@media (max-width: 900px) {
  .department-page .department-hero {
    min-height: 720px;
  }

  .department-page .department-planet {
    min-height: 500px;
  }

  .department-page .department-planet > img {
    width: min(360px, 76vw);
  }

  .department-page .department-orbit {
    width: min(560px, 94vw);
  }
}

@media (max-width: 600px) {
  .department-page .department-planet {
    transform: none;
  }

  .department-page .department-planet > img {
    width: min(320px, 78vw);
  }

}

@media (prefers-reduced-motion: reduce) {
  .department-night-star {
    animation: none;
    opacity: var(--night-star-alpha);
    transform: translate3d(-50%, -50%, 0);
    filter: none;
  }

  .department-night-meteor {
    display: none;
  }
}

/*
 * Exhibition-grade 4K homepage plate (v8).
 * The original approved Sun remains unchanged inside the photographic plate;
 * only the surrounding deep-space detail has been refined. The eight planets
 * stay as independent animated DOM layers. Retina and native 4K screens use
 * the pixel-lossless master; standard-density screens retain a lighter source
 * that already exceeds their rendered pixel requirement.
 */
.site-shell .hero {
  background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260901-showcase-v8/assets/home-star-ocean-showcase-v8-2560.webp") !important;
  background-position: center center !important;
  background-size: cover !important;
}

@media (min-width: 2561px),
       (min-width: 1200px) and (min-resolution: 1.5dppx) {
  .site-shell .hero {
    background-image: url("https://xczz-oss.oss-cn-beijing.aliyuncs.com/saas/portal/v20260901-showcase-v8/assets/home-star-ocean-showcase-v8-3840-lossless.webp") !important;
  }
}

/* Preserve the already approved Sun exactly; do not composite a replacement. */
.site-shell .sun {
  left: var(--solar-origin-x) !important;
  top: var(--solar-origin-y) !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  animation: none !important;
}

.site-shell .sun::before,
.site-shell .sun::after,
.site-shell .sun img,
.site-shell .sun-radiance {
  display: none !important;
}

/*
 * External-showcase clarity pass.
 *
 * The orbit script exposes a depth opacity variable for atmospheric effects;
 * keeping that variable on the node made the transparent PNG planets reveal
 * the star field. Depth is now expressed with restrained scale and light only,
 * so every planet remains optically solid throughout its orbit.
 */
.site-shell .planet-node {
  opacity: 1 !important;
}

.site-shell .planet-button {
  opacity: 1 !important;
  backface-visibility: hidden;
  animation: scientificPlanetDepthSolid var(--revolution-duration) ease-in-out var(--depth-phase-delay) infinite !important;
  will-change: scale, filter;
}

.site-shell .planet-image {
  opacity: 1 !important;
  backface-visibility: hidden;
  filter:
    saturate(1.09)
    contrast(1.22)
    brightness(1.025)
    drop-shadow(6px 8px 12px rgba(0, 0, 0, 0.72))
    drop-shadow(-2px -1px 5px rgba(var(--planet-rim-rgb), 0.38)) !important;
}

@keyframes scientificPlanetDepthSolid {
  0%, 50%, 100% {
    scale: var(--viewport-planet-scale);
    opacity: 1;
    filter: brightness(1) saturate(1);
  }
  25% {
    scale: calc(var(--viewport-planet-scale) - 0.055);
    opacity: 1;
    filter: brightness(0.96) saturate(0.98);
  }
  75% {
    scale: calc(var(--viewport-planet-scale) + 0.075);
    opacity: 1;
    filter: brightness(1.045) saturate(1.025);
  }
}
