/*
 * HH Interactive Galaxy
 * Fourteen product planets orbit one H sun. The scene stays decorative on
 * narrow screens and becomes an explorable category map on desktop.
 */

body.home-neon.auth-locked #authGate > .hh-h-galaxy {
  --galaxy-x: 27vw;
  --galaxy-y: 52%;
  --galaxy-accent: #ffd76b;
  --galaxy-accent-2: #ff6e8f;
  position: fixed !important;
  inset: 0 !important;
  z-index: 11;
  display: block;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  color: #f8fbff;
  clip-path: inset(0 41.5% 0 0);
  isolation: isolate;
  pointer-events: none;
}

body.home-neon.auth-locked #authGate > .hh-h-galaxy::before,
body.home-neon.auth-locked #authGate > .hh-h-galaxy::after {
  position: absolute;
  left: var(--galaxy-x);
  top: var(--galaxy-y);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

body.home-neon.auth-locked #authGate > .hh-h-galaxy::before {
  width: min(70vw, 1040px);
  background:
    conic-gradient(
      from 28deg,
      transparent 0 8%,
      rgba(80, 229, 255, .2) 12%,
      rgba(82, 112, 255, .06) 18%,
      transparent 23% 31%,
      rgba(255, 66, 210, .22) 36%,
      rgba(150, 71, 255, .08) 42%,
      transparent 48% 57%,
      rgba(183, 255, 87, .14) 63%,
      transparent 70% 79%,
      rgba(255, 173, 73, .13) 85%,
      transparent 93%
    );
  filter: blur(25px);
  opacity: .9;
  transform: translate(-50%, -50%);
  animation: hh-galaxy-cloud-spin 68s linear infinite;
  mask-image: radial-gradient(circle, transparent 0 7%, #000 14% 65%, transparent 78%);
}

body.home-neon.auth-locked #authGate > .hh-h-galaxy::after {
  width: min(61vw, 900px);
  background:
    radial-gradient(circle at 31% 27%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 68% 18%, #62edff 0 1px, transparent 2px),
    radial-gradient(circle at 82% 59%, #ff72dd 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 22% 72%, #beff69 0 1px, transparent 2px),
    radial-gradient(circle at 54% 84%, #ffd166 0 1px, transparent 2px);
  background-size: 84px 96px, 132px 118px, 156px 172px, 112px 148px, 178px 126px;
  filter: drop-shadow(0 0 8px rgba(108, 229, 255, .68));
  opacity: .72;
  transform: translate(-50%, -50%);
  animation: hh-galaxy-stars-pulse 5.8s ease-in-out infinite alternate;
}

.hh-galaxy-cloud {
  position: absolute;
  left: var(--galaxy-x);
  top: var(--galaxy-y);
  width: min(59vw, 890px);
  aspect-ratio: 1.9;
  border-radius: 50%;
  opacity: .52;
  filter: blur(54px);
  pointer-events: none;
}

.hh-galaxy-cloud--one {
  background: radial-gradient(ellipse, rgba(255, 57, 196, .5), rgba(117, 75, 255, .15) 48%, transparent 72%);
  transform: translate(-50%, -50%) rotate(-18deg);
  animation: hh-galaxy-nebula-one 16s ease-in-out infinite alternate;
}

.hh-galaxy-cloud--two {
  background: radial-gradient(ellipse, rgba(49, 225, 255, .46), rgba(42, 128, 255, .15) 48%, transparent 72%);
  transform: translate(-50%, -50%) rotate(24deg);
  animation: hh-galaxy-nebula-two 19s ease-in-out infinite alternate;
}

.hh-galaxy-cloud--three {
  width: min(45vw, 680px);
  background: radial-gradient(ellipse, rgba(184, 255, 79, .22), rgba(255, 173, 72, .11) 46%, transparent 72%);
  transform: translate(-50%, -50%) rotate(67deg);
  animation: hh-galaxy-nebula-three 22s ease-in-out infinite alternate;
}

.hh-galaxy-comet {
  --comet-angle: -28deg;
  --comet-x: 48vw;
  --comet-y: -28vw;
  --comet-length: 118px;
  position: absolute;
  z-index: 1;
  width: var(--comet-length);
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--galaxy-accent) 28%, transparent) 54%,
    color-mix(in srgb, var(--galaxy-accent) 74%, #fff) 88%,
    #fff
  );
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--galaxy-accent) 76%, #fff));
  opacity: 0;
  transform: rotate(var(--comet-angle));
  transform-origin: right center;
  pointer-events: none;
}

.hh-galaxy-comet::before {
  position: absolute;
  right: 12%;
  top: -1px;
  width: 34%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--galaxy-accent-2) 48%, #fff));
  content: "";
  filter: blur(2px);
  opacity: .7;
}

.hh-galaxy-comet::after {
  position: absolute;
  right: -2px;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 7px #fff,
    0 0 16px color-mix(in srgb, var(--galaxy-accent) 78%, #fff),
    0 0 28px color-mix(in srgb, var(--galaxy-accent-2) 45%, transparent);
  content: "";
}

.hh-galaxy-comet--one {
  --comet-angle: -30deg;
  --comet-x: 50vw;
  --comet-y: -29vw;
  --comet-length: 126px;
  left: -7%;
  top: 76%;
  animation: hh-galaxy-comet 8.2s .4s ease-in infinite;
}

.hh-galaxy-comet--two {
  --comet-angle: -24deg;
  --comet-x: 48vw;
  --comet-y: -21vw;
  --comet-length: 98px;
  left: 4%;
  top: 54%;
  animation: hh-galaxy-comet 9.6s 2.2s ease-in infinite;
}

.hh-galaxy-comet--three {
  --comet-angle: -34deg;
  --comet-x: 43vw;
  --comet-y: -29vw;
  --comet-length: 142px;
  left: 12%;
  top: 88%;
  animation: hh-galaxy-comet 11.4s 4.3s ease-in infinite;
}

.hh-galaxy-comet--four {
  --comet-angle: -20deg;
  --comet-x: 52vw;
  --comet-y: -19vw;
  --comet-length: 84px;
  left: -10%;
  top: 42%;
  animation: hh-galaxy-comet 7.4s 5.8s ease-in infinite;
}

.hh-galaxy-comet--five {
  --comet-angle: -38deg;
  --comet-x: 39vw;
  --comet-y: -31vw;
  --comet-length: 112px;
  left: 24%;
  top: 94%;
  animation: hh-galaxy-comet 10.2s 1.1s ease-in infinite;
}

.hh-galaxy-system {
  position: absolute;
  left: var(--galaxy-x);
  top: var(--galaxy-y);
  z-index: 3;
  width: min(49vw, 720px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transform-origin: center;
  filter: drop-shadow(0 34px 48px rgba(0, 0, 0, .46));
}

.hh-galaxy-orbits {
  position: absolute;
  inset: 0;
  transform: rotateZ(-9deg);
  transform-style: flat;
}

.hh-galaxy-orbit {
  --orbit-color: rgba(101, 226, 255, .25);
  --orbit-speed: 26s;
  --orbit-half-speed: 13s;
  --orbit-delay: 0s;
  --orbit-direction: normal;
  --static-start: 0%;
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: var(--orbit-size);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transform-origin: center;
  transform-style: flat;
}

.hh-galaxy-orbit::before {
  position: absolute;
  left: 0;
  top: 22%;
  width: 100%;
  height: 56%;
  border: 1px solid transparent;
  border-color: var(--orbit-color);
  border-top-color: color-mix(in srgb, var(--orbit-color) 82%, white 18%);
  border-right-color: color-mix(in srgb, var(--orbit-color) 64%, transparent);
  border-radius: 50%;
  content: "";
  filter: drop-shadow(0 0 5px var(--orbit-color));
  box-shadow:
    0 0 18px color-mix(in srgb, var(--orbit-color) 42%, transparent),
    inset 0 0 12px color-mix(in srgb, var(--orbit-color) 28%, transparent);
  pointer-events: none;
}

.hh-galaxy-orbit.is-selected-orbit::before {
  border-color: color-mix(in srgb, var(--orbit-color) 72%, white);
}

.hh-galaxy-orbit.is-selected-orbit .hh-galaxy-planet,
.hh-galaxy-orbit:has(.hh-galaxy-planet:hover) .hh-galaxy-planet {
  animation-play-state: paused;
}

.hh-galaxy-orbit--one { --orbit-size: 20%; --orbit-speed: 22s; --orbit-half-speed: 11s; --orbit-delay: -4s; --static-start: 4%; --orbit-color: rgba(255, 199, 86, .38); }
.hh-galaxy-orbit--two { --orbit-size: 30%; --orbit-speed: 28s; --orbit-half-speed: 14s; --orbit-delay: -12s; --static-start: 12%; --orbit-direction: reverse; --orbit-color: rgba(255, 92, 210, .34); }
.hh-galaxy-orbit--three { --orbit-size: 41%; --orbit-speed: 34s; --orbit-half-speed: 17s; --orbit-delay: -21s; --static-start: 20%; --orbit-color: rgba(84, 231, 255, .31); }
.hh-galaxy-orbit--four { --orbit-size: 52%; --orbit-speed: 41s; --orbit-half-speed: 20.5s; --orbit-delay: -33s; --static-start: 28%; --orbit-direction: reverse; --orbit-color: rgba(179, 121, 255, .32); }
.hh-galaxy-orbit--five { --orbit-size: 64%; --orbit-speed: 48s; --orbit-half-speed: 24s; --orbit-delay: -9s; --static-start: 36%; --orbit-color: rgba(157, 255, 102, .29); }
.hh-galaxy-orbit--six { --orbit-size: 77%; --orbit-speed: 57s; --orbit-half-speed: 28.5s; --orbit-delay: -42s; --static-start: 42%; --orbit-direction: reverse; --orbit-color: rgba(255, 135, 80, .28); }
.hh-galaxy-orbit--seven { --orbit-size: 92%; --orbit-speed: 66s; --orbit-half-speed: 33s; --orbit-delay: -18s; --static-start: 8%; --orbit-color: rgba(108, 161, 255, .3); }

.hh-galaxy-planet {
  --planet-a: #54e7ff;
  --planet-b: #165cff;
  --planet-size: 28px;
  --planet-tilt: -12deg;
  --planet-texture:
    radial-gradient(circle at 28% 34%, rgba(255, 255, 255, .74) 0 4%, transparent 5%),
    radial-gradient(circle at 66% 60%, rgba(0, 0, 0, .55) 0 8%, transparent 10%);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  width: var(--planet-size);
  min-width: 0;
  max-width: var(--planet-size);
  height: var(--planet-size);
  min-height: 0;
  max-height: var(--planet-size);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  outline: none;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 1) 0 5%, rgba(255, 255, 255, .48) 8%, transparent 19%),
    radial-gradient(circle at 70% 74%, rgba(0, 0, 0, .56) 0 14%, transparent 48%),
    conic-gradient(from 215deg at 38% 34%, var(--planet-a), var(--planet-b) 44%, color-mix(in srgb, var(--planet-b) 58%, #050713) 72%, var(--planet-a));
  box-shadow:
    0 0 3px rgba(255, 255, 255, .94),
    0 0 10px var(--planet-a),
    0 0 27px color-mix(in srgb, var(--planet-a) 68%, transparent),
    inset 5px 4px 8px rgba(255, 255, 255, .22),
    inset -8px -9px 13px rgba(0, 0, 0, .72);
  color: #fff;
  cursor: pointer;
  font: inherit;
  filter: brightness(1.08) saturate(1.25);
  opacity: .98;
  offset-path: ellipse(50% 28% at 50% 50%);
  offset-distance: 0%;
  offset-rotate: 0deg;
  transform: rotateZ(var(--planet-tilt)) scale(.92);
  transform-style: flat;
  transition: border-color .22s ease, box-shadow .22s ease, filter .22s ease, opacity .22s ease, transform .22s ease;
  animation: hh-galaxy-planet-orbit var(--orbit-speed) linear infinite;
  animation-delay: var(--orbit-delay);
  animation-direction: var(--orbit-direction);
  will-change: offset-distance;
  pointer-events: auto;
}

.hh-galaxy-planet::after {
  position: absolute;
  inset: 7%;
  z-index: 1;
  border-radius: inherit;
  background:
    var(--planet-texture),
    linear-gradient(118deg, rgba(255, 255, 255, .38), transparent 35% 64%, rgba(0, 0, 0, .58));
  box-shadow:
    inset 2px 2px 4px rgba(255, 255, 255, .24),
    inset -3px -4px 6px rgba(0, 0, 0, .46);
  content: "";
  opacity: .58;
  transform: translateZ(2px) rotate(0);
  animation: hh-galaxy-planet-surface 12s linear infinite;
  mix-blend-mode: normal;
  pointer-events: none;
}

.hh-galaxy-planet:nth-of-type(2) {
  offset-distance: 50%;
  animation-delay: calc(var(--orbit-delay) - var(--orbit-half-speed));
}

.hh-galaxy-planet:nth-of-type(3) {
  offset-distance: 75%;
  animation-delay: calc(var(--orbit-delay) - (var(--orbit-half-speed) * 1.5));
}

.hh-galaxy-planet > span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, .96);
  font-size: clamp(8px, calc(var(--planet-size) * .37), 13px);
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .74), 0 0 8px #fff;
}

.hh-galaxy-planet > em {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  z-index: 12;
  width: max-content;
  max-width: 150px;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--planet-a) 46%, rgba(255, 255, 255, .22));
  border-radius: 999px;
  background: rgba(4, 8, 19, .9);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .42), 0 0 16px color-mix(in srgb, var(--planet-a) 22%, transparent);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.15;
  opacity: 0;
  transform: translate(-50%, -4px);
  transition: opacity .18s ease, transform .18s ease;
  white-space: nowrap;
  pointer-events: none;
}

.hh-galaxy-planet:is(:hover, :focus-visible, .is-active) {
  z-index: 15;
  border-color: #fff;
  filter: brightness(1.24) saturate(1.2);
  opacity: 1;
  box-shadow:
    0 0 10px #fff,
    0 0 28px var(--planet-a),
    0 0 52px color-mix(in srgb, var(--planet-a) 54%, transparent),
    inset 6px 5px 9px rgba(255, 255, 255, .25),
    inset -9px -10px 15px rgba(0, 0, 0, .56);
  transform: rotateZ(var(--planet-tilt)) scale(1.14);
}

.hh-galaxy-planet:is(:hover, :focus-visible, .is-active) > em {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hh-galaxy-planet:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

[data-hh-planet="1"] { --planet-a: #ffe781; --planet-b: #ff7a21; --planet-size: 29px; --planet-tilt: -8deg; --planet-texture: radial-gradient(ellipse at 36% 54%, rgba(119, 55, 21, .7) 0 13%, transparent 15%), radial-gradient(ellipse at 70% 33%, rgba(255, 242, 141, .62) 0 10%, transparent 12%); }
[data-hh-planet="2"] { --planet-a: #ff72dc; --planet-b: #a518e7; --planet-size: 27px; --planet-tilt: 17deg; --planet-texture: repeating-linear-gradient(76deg, transparent 0 4px, rgba(255, 255, 255, .36) 5px, transparent 7px); }
[data-hh-planet="3"] { --planet-a: #65efff; --planet-b: #0876d7; --planet-size: 33px; --planet-tilt: -22deg; --planet-texture: radial-gradient(ellipse at 30% 68%, rgba(9, 43, 124, .74) 0 16%, transparent 18%), radial-gradient(ellipse at 70% 32%, rgba(136, 255, 245, .54) 0 14%, transparent 16%); }
[data-hh-planet="4"] { --planet-a: #ffab63; --planet-b: #df304a; --planet-size: 35px; --planet-tilt: 11deg; --planet-texture: repeating-linear-gradient(0deg, rgba(255, 239, 151, .38) 0 2px, transparent 3px 6px); }
[data-hh-planet="5"] { --planet-a: #b8ff72; --planet-b: #15a765; --planet-size: 31px; --planet-tilt: -14deg; --planet-texture: radial-gradient(ellipse at 32% 35%, rgba(8, 87, 70, .72) 0 18%, transparent 20%), radial-gradient(ellipse at 69% 66%, rgba(229, 255, 133, .44) 0 15%, transparent 17%); }
[data-hh-planet="6"] { --planet-a: #bf93ff; --planet-b: #5c32d8; --planet-size: 37px; --planet-tilt: 21deg; --planet-texture: repeating-radial-gradient(ellipse at center, transparent 0 4px, rgba(255, 255, 255, .24) 5px, transparent 7px); }
[data-hh-planet="7"] { --planet-a: #ffffff; --planet-b: #338bff; --planet-size: 29px; --planet-tilt: -19deg; --planet-texture: linear-gradient(90deg, transparent 46%, rgba(28, 43, 89, .7) 48% 52%, transparent 54%), linear-gradient(0deg, transparent 46%, rgba(28, 43, 89, .7) 48% 52%, transparent 54%); }
[data-hh-planet="8"] { --planet-a: #ff6fcf; --planet-b: #7c1cd5; --planet-size: 39px; --planet-tilt: 9deg; --planet-texture: radial-gradient(circle at 31% 32%, rgba(255, 215, 246, .42) 0 7%, transparent 9%), radial-gradient(circle at 67% 63%, rgba(48, 8, 94, .7) 0 12%, transparent 14%); }
[data-hh-planet="9"] { --planet-a: #64ffd3; --planet-b: #037e87; --planet-size: 33px; --planet-tilt: -25deg; --planet-texture: repeating-linear-gradient(18deg, transparent 0 5px, rgba(204, 255, 248, .37) 6px, transparent 8px); }
[data-hh-planet="10"] { --planet-a: #ffd26d; --planet-b: #d43b27; --planet-size: 31px; --planet-tilt: 15deg; --planet-texture: radial-gradient(circle at 35% 38%, rgba(91, 24, 20, .64) 0 9%, transparent 11%), radial-gradient(circle at 68% 64%, rgba(255, 237, 156, .42) 0 12%, transparent 14%); }
[data-hh-planet="11"] { --planet-a: #72cbff; --planet-b: #1641c8; --planet-size: 37px; --planet-tilt: -12deg; --planet-texture: repeating-linear-gradient(-8deg, rgba(217, 246, 255, .28) 0 2px, transparent 3px 7px); }
[data-hh-planet="12"] { --planet-a: #f899ff; --planet-b: #9622a9; --planet-size: 29px; --planet-tilt: 23deg; --planet-texture: radial-gradient(ellipse at 36% 62%, rgba(74, 13, 83, .66) 0 16%, transparent 18%), radial-gradient(ellipse at 70% 30%, rgba(255, 218, 255, .4) 0 12%, transparent 14%); }
[data-hh-planet="13"] { --planet-a: #dfff7b; --planet-b: #459129; --planet-size: 39px; --planet-tilt: -16deg; --planet-texture: repeating-linear-gradient(4deg, transparent 0 4px, rgba(247, 255, 189, .3) 5px, transparent 8px); }
[data-hh-planet="14"] { --planet-a: #ff896b; --planet-b: #8d183a; --planet-size: 33px; --planet-tilt: 18deg; --planet-texture: radial-gradient(circle at 29% 40%, rgba(72, 11, 40, .68) 0 10%, transparent 12%), radial-gradient(circle at 68% 60%, rgba(255, 212, 190, .38) 0 13%, transparent 15%); }

[data-hh-planet="4"]::before,
[data-hh-planet="8"]::before,
[data-hh-planet="13"]::before {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 165%;
  height: 38%;
  border: 1px solid color-mix(in srgb, var(--planet-a) 72%, white 28%);
  border-radius: 50%;
  content: "";
  opacity: .88;
  transform: translate(-50%, -50%) rotate(-18deg);
  box-shadow: 0 0 8px color-mix(in srgb, var(--planet-a) 60%, transparent);
}

.hh-galaxy-sun {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 20;
  display: grid;
  place-items: center;
  width: clamp(78px, 7vw, 104px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 25%, #fff 0 5%, #fff8c4 10%, transparent 20%),
    radial-gradient(circle, #fffbd5 0 7%, #ffdd65 20%, #ff7b27 52%, #d82b7d 76%, #390d66 100%);
  box-shadow:
    0 0 12px #fff,
    0 0 32px rgba(255, 201, 73, .94),
    0 0 76px rgba(255, 78, 185, .68),
    0 0 132px rgba(101, 93, 255, .38),
    inset -12px -16px 22px rgba(99, 14, 103, .38);
  transform: translate(-50%, -50%);
  animation: hh-galaxy-sun-breathe 4.8s ease-in-out infinite;
  pointer-events: none;
}

.hh-galaxy-sun::before,
.hh-galaxy-sun::after {
  position: absolute;
  inset: -26%;
  border: 1px solid rgba(255, 222, 109, .28);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 30px rgba(255, 99, 173, .2);
  animation: hh-galaxy-corona 6s linear infinite;
}

.hh-galaxy-sun::after {
  inset: -47%;
  border-style: dashed;
  border-color: rgba(100, 235, 255, .18);
  animation-duration: 12s;
  animation-direction: reverse;
}

.hh-galaxy-sun span {
  position: relative;
  z-index: 2;
  color: #321334;
  font-size: clamp(40px, 4.4vw, 66px);
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0 0 14px rgba(255, 255, 255, .76);
}

.hh-galaxy-sun small {
  position: absolute;
  top: calc(100% + 15px);
  width: max-content;
  color: rgba(255, 238, 180, .86);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .2em;
  text-shadow: 0 0 12px rgba(255, 159, 93, .8);
}

.hh-galaxy-signature {
  position: absolute;
  left: 50%;
  top: 84%;
  z-index: 6;
  display: grid;
  justify-items: center;
  gap: 4px;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.hh-galaxy-signature span {
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .28em;
  text-shadow: 0 0 14px #58e8ff;
}

.hh-galaxy-signature b {
  color: rgba(177, 198, 225, .67);
  font-size: 6px;
  letter-spacing: .18em;
}

.hh-galaxy-inspector {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  gap: 9px;
  width: min(360px, calc(40vw - 38px));
  padding: 14px 15px 13px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 17px;
  background:
    radial-gradient(circle at 94% 5%, color-mix(in srgb, var(--galaxy-accent-2) 16%, transparent), transparent 38%) padding-box,
    linear-gradient(145deg, rgba(8, 12, 27, .92), rgba(8, 9, 19, .97)) padding-box,
    linear-gradient(115deg, var(--galaxy-accent), var(--galaxy-accent-2), color-mix(in srgb, var(--galaxy-accent) 55%, white)) border-box;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, .46),
    0 0 38px color-mix(in srgb, var(--galaxy-accent) 16%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(19px) saturate(1.25);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
  pointer-events: auto;
}

.hh-galaxy-inspector::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--galaxy-accent) 11%, transparent), transparent 42%, color-mix(in srgb, var(--galaxy-accent-2) 12%, transparent)),
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--galaxy-accent-2) 21%, transparent), transparent 34%);
  content: "";
  pointer-events: none;
}

.hh-galaxy-inspector > * {
  position: relative;
  z-index: 1;
}

.hh-galaxy-inspector > header,
.hh-galaxy-inspector > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hh-galaxy-inspector > header {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.hh-galaxy-inspector > header span {
  color: var(--galaxy-accent);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .11em;
}

.hh-galaxy-inspector > header small {
  color: #69768c;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .07em;
}

.hh-galaxy-inspector > div {
  display: grid;
  grid-template-columns: 43px 1fr auto;
  align-items: center;
  gap: 10px;
}

.hh-galaxy-inspector > div > i {
  display: grid;
  place-items: center;
  width: 43px;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--galaxy-accent) 58%, transparent);
  border-radius: 13px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--galaxy-accent) 22%, transparent), color-mix(in srgb, var(--galaxy-accent-2) 15%, transparent));
  box-shadow: 0 0 24px color-mix(in srgb, var(--galaxy-accent) 18%, transparent), inset 0 0 15px color-mix(in srgb, var(--galaxy-accent-2) 10%, transparent);
  color: #fff;
  font-size: 18px;
  font-style: normal;
  text-shadow: 0 0 12px var(--galaxy-accent);
}

.hh-galaxy-inspector > div > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.hh-galaxy-inspector > div small {
  overflow: hidden;
  color: #8a97aa;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hh-galaxy-inspector > div strong {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hh-galaxy-inspector > div > b {
  padding: 5px 7px;
  border: 1px solid color-mix(in srgb, var(--galaxy-accent-2) 45%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--galaxy-accent-2) 11%, transparent);
  color: color-mix(in srgb, var(--galaxy-accent-2) 76%, white);
  font-size: 7px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.hh-galaxy-inspector > p {
  min-height: 34px;
  margin: 0;
  color: #aab6c8;
  font-size: 10px;
  line-height: 1.55;
}

.hh-galaxy-detail {
  display: grid;
  gap: 4px;
  padding: 8px 9px;
  border: 1px solid color-mix(in srgb, var(--galaxy-accent) 20%, rgba(255, 255, 255, .06));
  border-radius: 10px;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--galaxy-accent) 9%, transparent), color-mix(in srgb, var(--galaxy-accent-2) 7%, transparent));
}

.hh-galaxy-detail > span {
  color: var(--galaxy-accent);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .12em;
}

.hh-galaxy-detail > p {
  margin: 0;
  color: #909eb3;
  font-size: 8px;
  line-height: 1.5;
}

.hh-galaxy-inspector > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hh-galaxy-inspector > ul li {
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--galaxy-accent) 23%, rgba(255, 255, 255, .07));
  border-radius: 7px;
  background: color-mix(in srgb, var(--galaxy-accent) 8%, rgba(6, 10, 20, .78));
  color: #c5d6e9;
  font-size: 7px;
  font-weight: 750;
}

.hh-galaxy-inspector > footer {
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.hh-galaxy-inspector > footer span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #77859a;
  font-size: 7px;
}

.hh-galaxy-inspector > footer span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--galaxy-accent);
  box-shadow: 0 0 10px var(--galaxy-accent);
}

.hh-galaxy-inspector > footer small {
  color: var(--galaxy-accent);
  font-size: 7px;
  font-weight: 800;
}

body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-gate-card {
  border-color: transparent !important;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--auth-planet-accent-2) 16%, transparent), transparent 42%) padding-box,
    radial-gradient(circle at 0 100%, color-mix(in srgb, var(--auth-planet-accent) 10%, transparent), transparent 38%) padding-box,
    linear-gradient(145deg, rgba(22, 24, 44, .98), rgba(7, 13, 23, .98)) padding-box,
    linear-gradient(125deg, var(--auth-planet-accent), var(--auth-planet-accent-2), color-mix(in srgb, var(--auth-planet-accent) 55%, white)) border-box !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, .58),
    -18px 18px 58px color-mix(in srgb, var(--auth-planet-accent) 17%, transparent),
    18px -12px 54px color-mix(in srgb, var(--auth-planet-accent-2) 15%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .07) !important;
  transition: background .32s ease, box-shadow .32s ease, border-color .32s ease;
}

body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-gate-card::before {
  background: linear-gradient(90deg, var(--auth-planet-accent), var(--auth-planet-accent-2), var(--auth-planet-accent)) !important;
  box-shadow: 0 0 24px color-mix(in srgb, var(--auth-planet-accent) 34%, transparent);
}

body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-card-heading > span {
  border-color: color-mix(in srgb, var(--auth-planet-accent) 52%, transparent) !important;
  box-shadow:
    0 0 28px color-mix(in srgb, var(--auth-planet-accent) 22%, transparent),
    -7px 8px 24px color-mix(in srgb, var(--auth-planet-accent-2) 18%, transparent) !important;
}

body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-card-heading small,
body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-mode-tabs button.active i,
body.home-neon.auth-locked #authGate[data-hh-planet-theme] [data-forgot-open] {
  color: var(--auth-planet-accent) !important;
}

body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-secure-badge {
  border-color: color-mix(in srgb, var(--auth-planet-accent) 35%, transparent) !important;
  background: color-mix(in srgb, var(--auth-planet-accent) 8%, transparent) !important;
  color: color-mix(in srgb, var(--auth-planet-accent) 78%, white) !important;
}

body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-secure-badge i {
  background: var(--auth-planet-accent) !important;
  box-shadow: 0 0 10px var(--auth-planet-accent) !important;
}

body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-gate-status:not(.is-error) {
  border-color: color-mix(in srgb, var(--auth-planet-accent) 32%, transparent) !important;
  background: linear-gradient(90deg, color-mix(in srgb, var(--auth-planet-accent) 10%, transparent), color-mix(in srgb, var(--auth-planet-accent-2) 5%, transparent)) !important;
  color: color-mix(in srgb, var(--auth-planet-accent) 72%, white) !important;
}

body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-returning-card {
  border-color: color-mix(in srgb, var(--auth-planet-accent) 23%, rgba(255, 255, 255, .07)) !important;
  background: linear-gradient(110deg, color-mix(in srgb, var(--auth-planet-accent) 9%, transparent), color-mix(in srgb, var(--auth-planet-accent-2) 7%, transparent)) !important;
}

body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-returning-card::before {
  background: linear-gradient(180deg, var(--auth-planet-accent), var(--auth-planet-accent-2)) !important;
  box-shadow: 0 0 18px color-mix(in srgb, var(--auth-planet-accent) 32%, transparent);
}

body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-mode-tabs button.active {
  background: linear-gradient(135deg, color-mix(in srgb, var(--auth-planet-accent) 17%, transparent), color-mix(in srgb, var(--auth-planet-accent-2) 15%, transparent)) !important;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--auth-planet-accent) 30%, transparent),
    0 8px 24px color-mix(in srgb, var(--auth-planet-accent) 9%, transparent) !important;
}

body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-field:focus-within .auth-input-shell {
  border-color: color-mix(in srgb, var(--auth-planet-accent) 72%, white) !important;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--auth-planet-accent) 11%, transparent),
    0 0 25px color-mix(in srgb, var(--auth-planet-accent-2) 14%, transparent) !important;
}

body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-submit {
  background: linear-gradient(105deg, var(--auth-planet-accent), color-mix(in srgb, var(--auth-planet-accent) 54%, var(--auth-planet-accent-2)), var(--auth-planet-accent-2)) !important;
  background-size: 190% 100% !important;
  box-shadow:
    0 14px 38px color-mix(in srgb, var(--auth-planet-accent-2) 24%, transparent),
    0 0 26px color-mix(in srgb, var(--auth-planet-accent) 16%, transparent) !important;
}

body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-submit:hover,
body.home-neon.auth-locked #authGate[data-hh-planet-theme] .auth-submit:focus-visible {
  box-shadow:
    0 18px 46px color-mix(in srgb, var(--auth-planet-accent-2) 31%, transparent),
    0 0 34px color-mix(in srgb, var(--auth-planet-accent) 24%, transparent) !important;
}

html[data-page-visibility="hidden"] .hh-h-galaxy *,
html[data-motion-level="off"] .hh-h-galaxy *,
body.home-neon.auth-locked #authGate[data-auth-motion="off"] .hh-h-galaxy * {
  animation-play-state: paused !important;
}

html[data-motion-level="soft"] .hh-galaxy-planet {
  animation-duration: 70s;
}

html[data-motion-level="soft"] .hh-galaxy-planet:nth-of-type(2) {
  animation-delay: calc(var(--orbit-delay) - 35s);
}

@keyframes hh-galaxy-planet-orbit {
  to { offset-distance: 100%; }
}

@keyframes hh-galaxy-planet-surface {
  to { transform: translateZ(2px) rotate(1turn); }
}

@keyframes hh-galaxy-cloud-spin {
  to { transform: translate(-50%, -50%) rotate(1turn); }
}

@keyframes hh-galaxy-stars-pulse {
  from { opacity: .42; filter: drop-shadow(0 0 4px rgba(108, 229, 255, .38)); }
  to { opacity: .84; filter: drop-shadow(0 0 12px rgba(255, 111, 217, .7)); }
}

@keyframes hh-galaxy-nebula-one {
  to { opacity: .7; transform: translate(-48%, -52%) rotate(-10deg) scale(1.12); }
}

@keyframes hh-galaxy-nebula-two {
  to { opacity: .65; transform: translate(-52%, -48%) rotate(33deg) scale(.92); }
}

@keyframes hh-galaxy-nebula-three {
  to { opacity: .48; transform: translate(-47%, -51%) rotate(76deg) scale(1.14); }
}

@keyframes hh-galaxy-comet {
  0%, 58% {
    opacity: 0;
    transform: translate(-130px, 78px) rotate(var(--comet-angle));
  }
  63% { opacity: 1; }
  88% { opacity: .82; }
  100% {
    opacity: 0;
    transform: translate(var(--comet-x), var(--comet-y)) rotate(var(--comet-angle));
  }
}

@keyframes hh-galaxy-sun-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(.96); filter: saturate(1); }
  50% { transform: translate(-50%, -50%) scale(1.04); filter: saturate(1.2) brightness(1.08); }
}

@keyframes hh-galaxy-corona {
  to { transform: rotate(1turn) scale(1.06); }
}

@media (max-width: 1100px) {
  body.home-neon.auth-locked #authGate > .hh-h-galaxy {
    --galaxy-x: 50vw;
    --galaxy-y: 39%;
    z-index: 1;
    clip-path: none;
    opacity: .46;
  }

  .hh-galaxy-system {
    width: min(72vw, 660px);
  }

  .hh-galaxy-planet {
    pointer-events: none;
  }

  .hh-galaxy-planet > em,
  .hh-galaxy-inspector,
  .hh-galaxy-signature {
    display: none;
  }
}

@media (max-width: 760px) {
  body.home-neon.auth-locked #authGate > .hh-h-galaxy {
    --galaxy-y: 35%;
    opacity: .34;
  }

  .hh-galaxy-system {
    width: min(126vw, 560px);
  }

  .hh-galaxy-sun {
    width: 74px;
  }

  .hh-galaxy-cloud {
    width: 118vw;
  }

  .hh-galaxy-comet {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 1101px) {
  body.home-neon.auth-locked #authGate > .hh-h-galaxy {
    --galaxy-y: 48%;
  }

  .hh-galaxy-system {
    width: min(45vw, 610px);
  }

  .hh-galaxy-inspector {
    bottom: 10px;
    gap: 7px;
    padding-block: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hh-h-galaxy *,
  .hh-h-galaxy::before,
  .hh-h-galaxy::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }

  .hh-galaxy-orbit {
    transform: translate(-50%, -50%);
  }

  .hh-galaxy-orbit .hh-galaxy-planet {
    offset-distance: var(--static-start);
  }

  .hh-galaxy-orbit .hh-galaxy-planet:nth-of-type(2) {
    offset-distance: calc(var(--static-start) + 50%);
  }

  .hh-galaxy-orbit .hh-galaxy-planet:nth-of-type(3) {
    offset-distance: calc(var(--static-start) + 75%);
  }
}
