:root {
  color-scheme: dark;
  --night-0: #020611;
  --night-1: #061128;
  --night-2: #0a1a39;
  --ink: #f4f6ff;
  --muted: #aab6d0;
  --dim: #697996;
  --line: rgba(175, 205, 255, .18);
  --line-bright: rgba(190, 218, 255, .38);
  --glass: rgba(7, 18, 40, .68);
  --purple: #b293ff;
  --blue: #7facff;
  --mint: #65dfb1;
  --gold: #efd889;
  --pink: #e99dc9;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--night-0);
  font-family: Inter, ui-sans-serif, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 1px solid #dbe8ff;
  outline-offset: 4px;
}

.jc-cosmos {
  position: fixed;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 62%, rgba(67, 101, 174, .22), transparent 34%),
    radial-gradient(circle at 12% 28%, rgba(89, 69, 157, .17), transparent 31%),
    linear-gradient(148deg, #02050e 0%, #051026 47%, #091a39 100%);
}

.jc-cosmos::before,
.jc-cosmos::after {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: .7;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .95) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(174, 205, 255, .86) 0 1px, transparent 1.35px),
    radial-gradient(circle, rgba(255, 224, 150, .72) 0 1px, transparent 1.3px);
  background-position: 0 0, 43px 71px, 113px 29px;
  background-size: 127px 127px, 181px 181px, 239px 239px;
  animation: jc-sky-drift 150s linear infinite;
}

.jc-cosmos::after {
  opacity: .3;
  transform: scale(1.32);
  animation-duration: 220s;
  animation-direction: reverse;
}

.jc-nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .2;
}

.jc-nebula-one {
  width: 40vw;
  height: 40vw;
  left: -18vw;
  top: 18vh;
  background: #526fd7;
}

.jc-nebula-two {
  width: 35vw;
  height: 35vw;
  right: -5vw;
  bottom: -14vw;
  background: #5e4caa;
}

.jc-starfield {
  position: absolute;
  inset: 0;
}

.jc-star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  opacity: var(--opacity);
  background: hsl(var(--hue) 90% 92%);
  box-shadow: 0 0 calc(var(--size) * 3) hsl(var(--hue) 90% 80% / .7);
  animation: jc-twinkle var(--duration) ease-in-out var(--delay) infinite;
}

.jc-star.jc-cross::before,
.jc-star.jc-cross::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(235, 244, 255, .78);
  transform: translate(-50%, -50%);
}

.jc-star.jc-cross::before {
  width: calc(var(--size) * 5);
  height: 1px;
}

.jc-star.jc-cross::after {
  width: 1px;
  height: calc(var(--size) * 5);
}

.jc-shooting-star {
  position: absolute;
  width: 140px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, #fff);
  transform: rotate(35deg);
  filter: drop-shadow(0 0 5px #a7c8ff);
  animation: jc-shooting 15s ease-in-out infinite;
}

.jc-shooting-star::after {
  content: "";
  position: absolute;
  right: 0;
  top: -1.5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.jc-shooting-star-one {
  left: 8%;
  top: 18%;
  animation-delay: 1s;
}

.jc-shooting-star-two {
  left: 68%;
  top: 9%;
  animation-delay: 8s;
  animation-duration: 19s;
}

.jc-horizon {
  position: absolute;
  inset: auto 0 0;
  height: 25vh;
  opacity: .45;
  background: linear-gradient(166deg, transparent 0 53%, rgba(2, 9, 22, .86) 53.2% 100%), linear-gradient(194deg, transparent 0 62%, rgba(1, 6, 16, .92) 62.2% 100%);
  mask-image: linear-gradient(to bottom, transparent, #000 48%);
}

.jc-screen-shell {
  position: relative;
  width: calc(100% - 34px);
  height: calc(100dvh - 34px);
  max-width: 1600px;
  margin: 17px auto;
  overflow: hidden;
  border: 1px solid rgba(177, 205, 255, .2);
  background:
    linear-gradient(rgba(129, 169, 226, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 169, 226, .018) 1px, transparent 1px),
    linear-gradient(145deg, rgba(5, 15, 35, .78), rgba(3, 10, 25, .65));
  background-size: 38px 38px, 38px 38px, auto;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .35), inset 0 0 90px rgba(103, 145, 220, .03);
  backdrop-filter: blur(15px) saturate(115%);
}

.jc-screen-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .16;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(157, 193, 255, .055) 4px);
  mix-blend-mode: screen;
}

.jc-corner {
  position: absolute;
  z-index: 22;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.jc-corner::before,
.jc-corner::after {
  content: "";
  position: absolute;
  background: rgba(199, 222, 255, .65);
}

.jc-corner::before {
  width: 24px;
  height: 1px;
}

.jc-corner::after {
  width: 1px;
  height: 24px;
}

.jc-corner-tl {
  left: 7px;
  top: 7px;
}

.jc-corner-tr {
  right: 7px;
  top: 7px;
  transform: rotate(90deg);
}

.jc-corner-br {
  right: 7px;
  bottom: 7px;
  transform: rotate(180deg);
}

.jc-corner-bl {
  left: 7px;
  bottom: 7px;
  transform: rotate(270deg);
}

.jc-system-bar {
  height: 58px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 14, 32, .5);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
}

.jc-system-id,
.jc-system-status,
.jc-jump-links {
  display: flex;
  align-items: center;
}

.jc-system-id {
  gap: 11px;
  min-width: 0;
}

.jc-system-mark {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(239, 216, 137, .7);
}

.jc-system-id strong {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.jc-system-id small {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--dim);
  font-size: 8px;
  white-space: nowrap;
}

.jc-system-status {
  gap: 22px;
  color: #a8b7d2;
  font-size: 8px;
}

.jc-system-status span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.jc-system-status i,
.jc-screen-footer i {
  width: 5px;
  height: 5px;
  display: inline-block;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: jc-pulse 2.5s ease-in-out infinite;
}

.jc-system-status time {
  color: #dae5f8;
  font-size: 10px;
}

.jc-jump-links {
  justify-content: flex-end;
  gap: 6px;
}

.jc-jump-links a {
  padding: 7px 5px;
  border: 1px solid transparent;
  color: #8f9db7;
  font-size: 9px;
  transition: .25s ease;
}

.jc-jump-links a span {
  color: #bcd1f5;
}

.jc-jump-links a:hover {
  border-color: var(--line);
  color: #eef4ff;
  background: rgba(124, 163, 229, .07);
}

.jc-hub-viewport {
  height: calc(100% - 88px);
  min-height: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(245px, .72fr) minmax(520px, 1.75fr) minmax(250px, .73fr);
  grid-template-rows: minmax(340px, 1fr) auto;
  grid-template-areas: "identity map rail" "mission mission rail";
  gap: 18px 22px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(159, 190, 239, .3) transparent;
}

.jc-identity-beacon {
  grid-area: identity;
  position: relative;
  min-width: 0;
  padding: 12px 0 0 8px;
  align-self: center;
}

.jc-identity-beacon::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 19%;
  width: 65%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-bright));
  transform: rotate(-17deg);
  transform-origin: left;
}

.jc-greeting {
  width: max-content;
  max-width: 100%;
  margin: 0 0 11px 32%;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 12px 12px 12px 2px;
  color: #d8d1ff;
  background: rgba(12, 25, 54, .75);
  font-size: 10px;
}

.jc-greeting span:first-child {
  margin-right: 6px;
  color: var(--gold);
}

.jc-identity-core {
  display: grid;
  grid-template-columns: minmax(105px, 42%) 1fr;
  align-items: center;
  gap: 14px;
}

.jc-avatar-system {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.jc-avatar-system img {
  width: 68%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(225, 237, 255, .8);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(121, 158, 225, .07), 0 0 28px rgba(125, 170, 255, .25);
}

.jc-avatar-orbit {
  position: absolute;
  inset: 4%;
  border: 1px solid rgba(151, 187, 250, .27);
  border-radius: 50%;
}

.jc-avatar-orbit::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9dcff;
  box-shadow: 0 0 9px #9cc1ff;
}

.jc-orbit-a {
  border-left-color: transparent;
  transform: rotate(-12deg);
  animation: jc-orbit 18s linear infinite;
}

.jc-orbit-a::before {
  top: 17%;
  right: 8%;
}

.jc-orbit-b {
  inset: 15%;
  border-right-color: transparent;
  transform: rotate(25deg);
  animation: jc-orbit 12s linear infinite reverse;
}

.jc-orbit-b::before {
  bottom: 6%;
  left: 20%;
  background: var(--gold);
}

.jc-orbit-label {
  position: absolute;
  left: -1px;
  bottom: 13%;
  padding: 3px 5px;
  color: var(--dim);
  background: #071128;
  font: 7px ui-monospace, monospace;
  letter-spacing: .1em;
}

.jc-identity-copy {
  min-width: 0;
}

.jc-micro-label,
.jc-map-heading>span,
.jc-mission-heading span,
.jc-rail-label {
  color: #71829f;
  font: 7px ui-monospace, monospace;
  letter-spacing: .18em;
}

.jc-identity-copy h1 {
  margin: 4px 0 0;
  font: 300 clamp(36px, 4vw, 66px)/.95 Georgia, "Times New Roman", serif;
  letter-spacing: -.06em;
}

.jc-identity-copy h1 sup {
  margin-left: 5px;
  color: var(--gold);
  font: 12px sans-serif;
}

.jc-identity-copy p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 11px;
}

.jc-location {
  color: #6f82a2;
  font: 7px ui-monospace, monospace;
  letter-spacing: .11em;
}

.jc-tags {
  margin-top: 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.jc-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(175, 205, 255, .12);
  color: #97a5be;
  background: rgba(12, 26, 53, .45);
  font-size: 8px;
}

.jc-tags .jc-hot {
  color: #d1b8ff;
  border-color: rgba(178, 147, 255, .25);
}

.jc-contacts {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.jc-contact-link {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: #9aabc8;
  background: rgba(8, 19, 41, .45);
  font: 10px ui-monospace, monospace;
  transition: .25s ease;
}

.jc-contact-link:hover {
  color: #fff;
  border-color: var(--line-bright);
  transform: translateY(-2px);
}

.jc-navigation-map {
  grid-area: map;
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid rgba(175, 205, 255, .11);
  background: radial-gradient(circle at 50% 52%, rgba(94, 125, 194, .1), transparent 33%), rgba(3, 11, 27, .22);
}

.jc-navigation-map::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(175, 205, 255, .045);
  pointer-events: none;
}

.jc-map-heading {
  position: absolute;
  z-index: 4;
  left: 25px;
  top: 20px;
}

.jc-map-heading h2 {
  margin: 5px 0 3px;
  font: 400 19px Georgia, "Noto Serif SC", serif;
  letter-spacing: .03em;
}

.jc-map-heading p {
  margin: 0;
  color: #8594ad;
  font-size: 9px;
}

.jc-route-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.jc-route-lines path {
  fill: none;
  stroke: rgba(138, 178, 240, .22);
  stroke-width: 1;
  stroke-dasharray: 5 8;
  animation: jc-route-flow 18s linear infinite;
}

.jc-route-lines path.jc-route-ghost {
  opacity: .23;
}

.jc-route-lines circle {
  fill: #dce9ff;
  filter: drop-shadow(0 0 6px #a7c7ff);
}

.jc-hub-core {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
}

.jc-hub-core i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(166, 201, 255, .25);
  border-radius: 50%;
  animation: jc-orbit 16s linear infinite;
}

.jc-hub-core i:nth-child(2) {
  inset: 9px;
  border-style: dashed;
  animation-duration: 10s;
  animation-direction: reverse;
}

.jc-hub-core i:nth-child(3) {
  inset: 25px;
  border: 0;
  background: #dbe8ff;
  box-shadow: 0 0 15px #8eb7ff;
}

.jc-hub-core span {
  position: absolute;
  top: calc(100% + 6px);
  color: #7184a3;
  font: 7px ui-monospace, monospace;
  letter-spacing: .2em;
}

.jc-site-node {
  --accent: #8eb7ff;
  position: absolute;
  z-index: 5;
  width: min(235px, 31%);
  min-width: 180px;
  padding: 12px 13px 11px;
  border: 1px solid rgba(175, 205, 255, .17);
  background: linear-gradient(135deg, rgba(13, 29, 60, .84), rgba(5, 15, 35, .72));
  box-shadow: 0 14px 35px rgba(0, 0, 0, .2);
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.jc-site-node::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 30%;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 9px color-mix(in srgb, var(--accent), transparent 35%);
}

.jc-site-node::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.jc-site-node:hover {
  z-index: 7;
  border-color: color-mix(in srgb, var(--accent), white 15%);
  background: linear-gradient(135deg, rgba(19, 40, 78, .93), rgba(6, 18, 41, .87));
  transform: translateY(-5px);
}

.jc-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.jc-node-index {
  color: var(--accent);
  font: 8px ui-monospace, monospace;
  letter-spacing: .15em;
}

.jc-node-arrow {
  color: #92a3bf;
  font-size: 12px;
  transition: transform .25s ease;
}

.jc-site-node:hover .jc-node-arrow {
  transform: translate(3px, -3px);
}

.jc-site-node strong {
  margin-top: 8px;
  display: block;
  font-size: 13px;
  font-weight: 520;
}

.jc-site-node small {
  margin-top: 4px;
  display: block;
  overflow: hidden;
  color: #8896af;
  font-size: 8px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.jc-maintenance {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  max-width: 250px;
  padding: 8px 10px;
  border: 1px solid rgba(175, 205, 255, .12);
  background: rgba(4, 13, 31, .75);
  transition: border-color .2s ease;
}

.jc-maintenance:hover {
  border-color: var(--line-bright);
}

.jc-maintenance-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

.jc-maintenance span:nth-child(2) {
  min-width: 0;
}

.jc-maintenance small,
.jc-maintenance strong {
  display: block;
}

.jc-maintenance small {
  color: #657590;
  font: 6px ui-monospace, monospace;
  letter-spacing: .12em;
}

.jc-maintenance strong {
  margin-top: 2px;
  overflow: hidden;
  color: #aebbd0;
  font-size: 7px;
  font-weight: 400;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jc-maintenance time {
  color: #7485a2;
  font: 7px ui-monospace, monospace;
  white-space: nowrap;
}

.jc-utility-rail {
  grid-area: rail;
  min-width: 0;
  padding-left: 17px;
  border-left: 1px solid rgba(175, 205, 255, .1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jc-rail-label {
  display: block;
  margin: 1px 0 2px;
}

.jc-sound-module,
.jc-support-module {
  border: 1px solid rgba(175, 205, 255, .14);
  background: rgba(7, 18, 40, .47);
}

.jc-sound-module {
  padding: 14px;
}

.jc-sound-module>header {
  display: flex;
  align-items: center;
  gap: 9px;
}

.jc-sound-module>header>span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(178, 147, 255, .26);
  color: var(--purple);
  font-size: 11px;
}

.jc-sound-module header div {
  min-width: 0;
}

.jc-sound-module header small,
.jc-sound-module header strong {
  display: block;
}

.jc-sound-module header small {
  color: #6d7e99;
  font: 6px ui-monospace, monospace;
  letter-spacing: .14em;
}

.jc-sound-module header strong {
  margin-top: 2px;
  font: 400 12px Georgia, serif;
}

.jc-equalizer {
  margin-left: auto;
  height: 17px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.jc-equalizer b {
  width: 2px;
  height: 45%;
  background: var(--purple);
  animation: jc-equalize .85s ease-in-out infinite alternate;
}

.jc-equalizer b:nth-child(2) {
  height: 90%;
  animation-delay: -.25s;
}

.jc-equalizer b:nth-child(3) {
  height: 65%;
  animation-delay: -.5s;
}

.jc-equalizer b:nth-child(4) {
  height: 35%;
  animation-delay: -.7s;
}

#jc-playlist-card {
  margin-top: 8px;
  padding: 10px 0 8px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(175, 205, 255, .1);
}

.jc-record {
  width: 35px;
  height: 35px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(178, 147, 255, .3);
  border-radius: 50%;
  color: #f1eaff;
  background: repeating-radial-gradient(circle, #111b35 0 2px, #070e20 3px 4px);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.jc-record::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple);
}

.jc-record i {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
  animation: jc-spin 9s linear infinite;
  animation-play-state: paused;
}

.jc-record b {
  position: absolute;
  z-index: 1;
  font: 8px ui-monospace, monospace;
  text-shadow: 0 0 7px #080f24;
}

.jc-record:hover {
  border-color: rgba(193, 169, 255, .65);
  box-shadow: 0 0 15px rgba(178, 147, 255, .17);
  transform: scale(1.05);
}

.jc-sound-module.jc-is-playing .jc-record i {
  animation-play-state: running;
}

.jc-playlist-copy {
  min-width: 0;
}

.jc-playlist-copy small,
.jc-playlist-copy strong,
.jc-playlist-copy em {
  display: block;
}

.jc-playlist-copy small {
  color: #64738e;
  font: 5px ui-monospace, monospace;
  letter-spacing: .11em;
}

.jc-playlist-copy strong {
  margin-top: 3px;
  overflow: hidden;
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jc-playlist-copy em {
  margin-top: 2px;
  overflow: hidden;
  color: #7889a6;
  font-size: 7px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jc-playlist-shuffle {
  width: 29px;
  height: 33px;
  display: grid;
  place-items: center;
  padding: 2px 0 0;
  border: 1px solid rgba(175, 205, 255, .13);
  color: #8fa1bd;
  background: rgba(9, 23, 49, .55);
  cursor: pointer;
  transition: .2s ease;
}

.jc-playlist-shuffle span,
.jc-playlist-shuffle small {
  display: block;
  line-height: 1;
}

.jc-playlist-shuffle span {
  font-size: 12px;
}

.jc-playlist-shuffle small {
  margin-top: -2px;
  font: 5px ui-monospace, monospace;
  letter-spacing: .08em;
}

.jc-playlist-shuffle:hover {
  color: #e8ddff;
  border-color: rgba(178, 147, 255, .42);
  background: rgba(26, 38, 74, .72);
}

.jc-playlist-shuffle:hover span {
  transform: rotate(90deg);
  transition: transform .25s ease;
}

.jc-playlist-progress {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(175, 205, 255, .1);
}

.jc-playlist-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  box-shadow: 0 0 8px var(--purple);
  transition: width .2s linear;
}

.jc-playlist-readout {
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #667995;
  font: 5px ui-monospace, monospace;
  letter-spacing: .06em;
}

.jc-playlist-readout span:first-child {
  display: flex;
  align-items: center;
  gap: 4px;
}

.jc-playlist-readout span:first-child i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #70839e;
  box-shadow: 0 0 5px currentColor;
}

.jc-sound-module.jc-is-playing .jc-playlist-readout span:first-child i {
  color: var(--mint);
  background: var(--mint);
}

.jc-playlist-readout b {
  font-weight: 400;
}

.jc-playlist-readout>span:nth-child(2) {
  margin-left: auto;
  white-space: nowrap;
}

.jc-playlist-readout a {
  display: block;
  color: #8aa5ca;
  white-space: nowrap;
}

.jc-sound-module.jc-is-playing .jc-equalizer b,
.jc-sound-module.jc-is-loading .jc-equalizer b {
  animation-play-state: running;
}

.jc-sound-module:not(.jc-is-playing):not(.jc-is-loading) .jc-equalizer b {
  animation-play-state: paused;
  opacity: .42;
}

.jc-sound-module>p {
  margin: 10px 0 0;
  color: #63738f;
  font-size: 7px;
  line-height: 1.7;
}

.jc-support-module {
  width: 100%;
  padding: 13px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: .25s ease;
}

.jc-support-module:hover {
  border-color: rgba(121, 172, 255, .38);
  background: rgba(13, 30, 59, .66);
  transform: translateY(-2px);
}

.jc-support-heart {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(121, 172, 255, .25);
  color: var(--blue);
  font-size: 15px;
}

.jc-support-module small,
.jc-support-module strong {
  display: block;
}

.jc-support-module small {
  color: #657692;
  font: 6px ui-monospace, monospace;
  letter-spacing: .12em;
}

.jc-support-module strong {
  margin-top: 3px;
  font-size: 8px;
  font-weight: 450;
}

.jc-support-module>i {
  color: #7083a1;
  font: 6px ui-monospace, monospace;
  font-style: normal;
}

.jc-utility-rail blockquote {
  position: relative;
  margin: auto 0 0;
  padding: 18px 5px 13px 19px;
  border-left: 1px solid rgba(239, 216, 137, .28);
  color: #9eaac0;
}

.jc-utility-rail blockquote span {
  position: absolute;
  left: 8px;
  top: -7px;
  color: rgba(239, 216, 137, .45);
  font: 34px Georgia, serif;
}

.jc-utility-rail blockquote p {
  margin: 0;
  font: 10px/1.8 Georgia, "Noto Serif SC", serif;
}

.jc-mission-deck {
  grid-area: mission;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(155px, .42fr) 1.58fr;
  grid-template-rows: auto auto;
  gap: 10px 18px;
}

.jc-mission-heading {
  padding: 12px 0 0 8px;
}

.jc-mission-heading h2 {
  margin: 4px 0 0;
  font: 400 18px Georgia, serif;
}

.jc-mission-heading p {
  margin: 9px 0 0;
  color: #7b8aa5;
  font-size: 8px;
}

.jc-mission-heading p i {
  width: 35px;
  height: 1px;
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--line-bright), transparent);
}

.jc-mission-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.jc-mission-card {
  --accent: #8eb7ff;
  min-width: 0;
  position: relative;
  padding: 11px 12px 10px;
  border: 1px solid rgba(175, 205, 255, .13);
  background: linear-gradient(135deg, rgba(10, 24, 51, .62), rgba(5, 15, 34, .45));
  transition: transform .25s ease, border-color .25s ease;
}

.jc-mission-card:nth-child(2) {
  transform: translateY(6px);
}

.jc-mission-card:nth-child(2):hover {
  transform: translateY(2px);
}

.jc-mission-card:hover {
  border-color: color-mix(in srgb, var(--accent), transparent 45%);
  transform: translateY(-4px);
}

.jc-mission-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(var(--accent), transparent);
  opacity: .75;
}

.jc-mission-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #657590;
  font: 6px ui-monospace, monospace;
  letter-spacing: .1em;
}

.jc-mission-meta i {
  color: var(--accent);
  font-style: normal;
}

.jc-mission-card strong {
  margin-top: 8px;
  display: block;
  overflow: hidden;
  font-size: 10px;
  font-weight: 520;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jc-mission-card p {
  margin: 4px 0 8px;
  height: 2.8em;
  overflow: hidden;
  color: #7c8ba5;
  font-size: 7px;
  line-height: 1.45;
}

.jc-mission-card>span:last-child {
  color: #7283a0;
  font: 7px ui-monospace, monospace;
}

.jc-journey-log {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(175, 205, 255, .1);
}

.jc-journey-log summary {
  padding: 7px 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  list-style: none;
  cursor: pointer;
}

.jc-journey-log summary::-webkit-details-marker {
  display: none;
}

.jc-journey-log summary>span {
  color: var(--gold);
}

.jc-journey-log summary small {
  color: #687995;
  font: 6px ui-monospace, monospace;
  letter-spacing: .14em;
}

.jc-journey-log summary strong {
  font-size: 8px;
  font-weight: 450;
}

.jc-journey-log summary i {
  margin-left: auto;
  color: #61728f;
  font: 6px ui-monospace, monospace;
  font-style: normal;
}

.jc-journey-list {
  padding: 8px 8px 14px;
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 7px;
  overflow-x: auto;
}

.jc-journey-item {
  --accent: #8eb7ff;
  min-width: 130px;
  padding: 9px;
  border: 1px solid rgba(175, 205, 255, .1);
  background: rgba(5, 15, 34, .5);
}

.jc-journey-item time {
  color: var(--accent);
  font: 7px ui-monospace, monospace;
}

.jc-journey-item strong {
  margin-top: 5px;
  display: block;
  font-size: 8px;
}

.jc-journey-item p {
  margin: 3px 0 0;
  color: #75849e;
  font-size: 7px;
  line-height: 1.55;
}

.jc-journey-log footer {
  padding: 0 8px 11px;
  color: #74849f;
  font-size: 7px;
}

.jc-screen-footer {
  position: absolute;
  inset: auto 0 0;
  height: 30px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #53637e;
  background: rgba(4, 12, 28, .72);
  font: 6px ui-monospace, monospace;
  letter-spacing: .11em;
}

.jc-screen-footer span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.jc-icp-gov {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  vertical-align: middle;
}

.jc-icp-gov img {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.jc-support-dialog {
  width: min(490px, calc(100% - 28px));
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.jc-support-dialog::backdrop {
  background: rgba(1, 5, 15, .78);
  backdrop-filter: blur(8px);
}

.jc-support-dialog-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(178, 205, 255, .28);
  background: linear-gradient(145deg, rgba(13, 29, 60, .97), rgba(4, 13, 31, .97));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}

.jc-support-dialog-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(178, 205, 255, .07);
  pointer-events: none;
}

.jc-dialog-close {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 12px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  color: #9dacC4;
  background: rgba(4, 12, 29, .6);
  cursor: pointer;
}

.jc-support-dialog header>span {
  color: var(--gold);
  font: 7px ui-monospace, monospace;
  letter-spacing: .17em;
}

.jc-support-dialog h2 {
  margin: 8px 0 4px;
  font: 400 23px Georgia, "Noto Serif SC", serif;
}

.jc-support-dialog header p {
  margin: 0;
  color: #8e9bb2;
  font-size: 9px;
}

.jc-method-switch {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.jc-method-button {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  color: #94a2ba;
  background: rgba(7, 18, 39, .55);
  text-align: left;
  cursor: pointer;
}

.jc-method-button.jc-is-active {
  color: #fff;
  border-color: rgba(108, 172, 255, .48);
  background: rgba(30, 76, 139, .2);
}

.jc-method-button>i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 10px;
  font-style: normal;
}

.jc-method-button strong,
.jc-method-button small {
  display: block;
}

.jc-method-button strong {
  font-size: 9px;
}

.jc-method-button small {
  margin-top: 2px;
  color: #6d7c96;
  font: 5px ui-monospace, monospace;
  letter-spacing: .1em;
}

.jc-qr-stage {
  margin: 18px auto 0;
  width: 210px;
  position: relative;
  text-align: center;
}

.jc-qr-stage img {
  width: 180px;
  height: 180px;
  padding: 6px;
  display: block;
  margin: auto;
  object-fit: cover;
  border: 1px solid rgba(187, 215, 255, .25);
  background: #fff;
  animation: jc-image-in .28s ease;
}

.jc-qr-stage>span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: #8eb7ff;
}

.jc-qr-stage>span:first-child {
  left: 0;
  top: -8px;
  border-left: 1px solid;
  border-top: 1px solid;
}

.jc-qr-stage>span:nth-of-type(2) {
  right: 0;
  bottom: 16px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.jc-qr-stage p {
  margin: 10px 0 0;
  color: #6f7e98;
  font-size: 9px;
}

@keyframes jc-sky-drift {
  to {
    transform: translate3d(4%, 3%, 0);
  }
}

@keyframes jc-twinkle {

  0%,
  100% {
    opacity: calc(var(--opacity) * .4);
    transform: scale(.75);
  }

  50% {
    opacity: var(--opacity);
    transform: scale(1.2);
  }
}

@keyframes jc-shooting {

  0%,
  81% {
    opacity: 0;
    transform: translate3d(-70px, -45px, 0) rotate(35deg);
  }

  84% {
    opacity: 1;
  }

  91%,
  100% {
    opacity: 0;
    transform: translate3d(280px, 180px, 0) rotate(35deg);
  }
}

@keyframes jc-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes jc-route-flow {
  to {
    stroke-dashoffset: -130;
  }
}

@keyframes jc-pulse {

  0%,
  100% {
    opacity: .45;
  }

  50% {
    opacity: 1;
  }
}

@keyframes jc-equalize {
  to {
    height: 100%;
  }
}

@keyframes jc-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes jc-image-in {
  from {
    opacity: 0;
    transform: scale(.97);
  }
}

@media (max-width: 1180px) {
  body {
    overflow: auto;
  }

  .jc-screen-shell {
    height: auto;
    min-height: calc(100dvh - 24px);
    margin: 12px auto;
  }

  .jc-hub-viewport {
    height: auto;
    min-height: calc(100dvh - 88px);
    grid-template-columns: minmax(220px, .7fr) minmax(500px, 1.5fr);
    grid-template-rows: auto auto auto;
    grid-template-areas: "identity map" "mission mission" "rail rail";
    padding-bottom: 54px;
  }

  .jc-utility-rail {
    padding: 15px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(175, 205, 255, .1);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }

  .jc-rail-label {
    grid-column: 1/-1;
  }

  .jc-utility-rail blockquote {
    margin: 0;
  }

  .jc-screen-footer {
    position: absolute;
  }
}

@media (max-width: 820px) {
  .jc-screen-shell {
    width: calc(100% - 16px);
    margin: 8px;
  }

  .jc-system-bar {
    height: auto;
    min-height: 54px;
    padding: 10px 16px;
    grid-template-columns: 1fr auto;
  }

  .jc-system-status {
    display: none;
  }

  .jc-jump-links {
    gap: 0;
  }

  .jc-system-id small {
    display: none;
  }

  .jc-hub-viewport {
    grid-template-columns: 1fr;
    grid-template-areas: "identity" "map" "mission" "rail";
    padding: 16px;
  }

  .jc-identity-beacon {
    max-width: 430px;
    padding-left: 0;
  }

  .jc-identity-core {
    grid-template-columns: 140px 1fr;
  }

  .jc-navigation-map {
    min-height: 460px;
  }

  .jc-mission-deck {
    grid-template-columns: 1fr;
  }

  .jc-mission-heading {
    padding-left: 0;
  }

  .jc-mission-list {
    grid-template-columns: 1fr;
  }

  .jc-mission-card:nth-child(2) {
    transform: none;
  }

  .jc-journey-log {
    grid-column: auto;
  }

  .jc-utility-rail {
    grid-template-columns: 1fr 1fr;
  }

  .jc-utility-rail blockquote {
    grid-column: 1/-1;
  }

  .jc-screen-footer span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 560px) {
  .jc-screen-shell {
    width: 100%;
    min-height: 100dvh;
    margin: 0;
    border-left: 0;
    border-right: 0;
  }

  .jc-system-id strong {
    font-size: 9px;
  }

  .jc-jump-links a {
    padding-inline: 7px;
    font-size: 8px;
  }

  .jc-hub-viewport {
    padding: 13px;
    gap: 16px;
  }

  .jc-identity-core {
    grid-template-columns: 116px 1fr;
  }

  .jc-identity-copy h1 {
    font-size: 43px;
  }

  .jc-greeting {
    margin-left: 26%;
  }

  .jc-navigation-map {
    min-height: 530px;
    overflow: visible;
  }

  .jc-map-heading {
    left: 16px;
    top: 16px;
  }

  .jc-route-lines,
  .jc-hub-core {
    display: none;
  }

  .jc-site-nodes {
    padding: 95px 12px 75px;
    display: grid;
    gap: 9px;
  }

  .jc-site-node,
  .jc-site-node:nth-child(n) {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
  }

  .jc-maintenance {
    left: 12px;
    right: 12px;
    bottom: 13px;
    max-width: none;
  }

  .jc-utility-rail {
    grid-template-columns: 1fr;
  }

  .jc-utility-rail blockquote {
    grid-column: auto;
  }

  .jc-screen-footer {
    padding: 0 14px;
  }

  .jc-screen-footer span:first-child {
    display: none;
  }

  .jc-screen-footer {
    justify-content: flex-end;
  }

  .jc-support-dialog-card {
    padding: 22px 16px;
  }

  .jc-method-switch {
    grid-template-columns: 1fr;
  }

  .jc-qr-stage {
    width: 195px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Spatial terminal v2 ----------------------------------------------------- */

.jc-screen-shell {
  width: calc(100% - 16px);
  height: calc(100dvh - 16px);
  max-width: none;
  margin: 8px;
}

.jc-spatial-stage {
  --focus-shift: 0px;
  --parallax-x: 0px;
  --parallax-y: 0px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  height: calc(100% - 88px);
  min-height: 580px;
  overflow: hidden;
  perspective: 1500px;
  perspective-origin: 50% 48%;
  isolation: isolate;
}

.jc-spatial-stage::before,
.jc-spatial-stage::after {
  content: "";
  position: absolute;
  z-index: 8;
  pointer-events: none;
}

.jc-spatial-stage::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 20, .73), transparent 9% 91%, rgba(2, 8, 20, .73)),
    linear-gradient(180deg, rgba(2, 8, 20, .4), transparent 11% 88%, rgba(2, 8, 20, .45));
}

.jc-spatial-stage::after {
  left: 50%;
  top: 18px;
  width: 1px;
  height: 18px;
  background: rgba(193, 218, 255, .35);
  box-shadow: 0 calc(100dvh - 145px) 0 rgba(193, 218, 255, .35);
}

.jc-depth-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .4;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 21%, rgba(131, 173, 236, .06) 21.2% 21.4%, transparent 21.7%),
    linear-gradient(rgba(112, 155, 218, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 155, 218, .025) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  transform: translate3d(calc(var(--parallax-x) * -.15), calc(var(--parallax-y) * -.15), 0) scale(1.08);
  will-change: transform;
}

.jc-spatial-stage[data-focus="left"] {
  --focus-shift: 25vw;
}

.jc-spatial-stage[data-focus="right"] {
  --focus-shift: -22vw;
}

.jc-camera-rig {
  position: absolute;
  left: -25%;
  top: 0;
  width: 150%;
  height: 100%;
  transform-style: preserve-3d;
  transform:
    translate3d(calc(var(--focus-shift) + var(--parallax-x)), var(--parallax-y), 0) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: none;
  will-change: transform;
}

.jc-spatial-zone {
  position: absolute;
  top: 0;
  height: 100%;
  min-height: 0;
  opacity: .28;
  pointer-events: none;
  transform-style: preserve-3d;
  transition:
    opacity 650ms ease,
    transform 900ms cubic-bezier(.18, .78, .16, 1);
  will-change: transform, opacity;
}

.jc-zone-coordinate {
  position: absolute;
  left: 2px;
  top: 11%;
  color: #61728d;
  font: 7px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

/* Left: operator beacon */

.jc-identity-zone {
  left: 0;
  width: 32%;
  padding: 8vh 3.2vw 5vh 4.4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translate3d(-2vw, 0, -110px) rotateY(8deg) scale(.82);
  transform-origin: 30% 50%;
}

.jc-spatial-stage[data-focus="left"] .jc-identity-zone {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(1.8vw, 0, 70px) rotateY(0) scale(1.1);
}

.jc-identity-halo {
  position: absolute;
  left: 3.8vw;
  top: 50%;
  width: min(31vw, 440px);
  aspect-ratio: 1;
  opacity: .3;
  transform: translateY(-50%);
  pointer-events: none;
}

.jc-identity-halo i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(152, 190, 247, .13);
  border-radius: 50%;
}

.jc-identity-halo i:nth-child(2) {
  inset: 13%;
  border-style: dashed;
  animation: jc-orbit 50s linear infinite;
}

.jc-identity-halo i:nth-child(3) {
  inset: 29%;
  border-color: rgba(239, 216, 137, .12);
}

.jc-identity-zone .jc-greeting {
  position: absolute;
  left: 42%;
  top: 18%;
  z-index: 3;
  margin: 0;
  padding: 9px 14px;
  font-size: 11px;
  transform: translateY(12px);
  opacity: .2;
  transition: opacity .5s ease .15s, transform .6s ease .15s;
}

.jc-spatial-stage[data-focus="left"] .jc-identity-zone .jc-greeting {
  opacity: 1;
  transform: none;
}

.jc-identity-zone .jc-identity-core {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(185px, 47%) 1fr;
  gap: clamp(18px, 2vw, 36px);
}

.jc-identity-zone .jc-avatar-system {
  min-width: 185px;
}

.jc-identity-zone .jc-avatar-system img {
  width: 82%;
  box-shadow:
    0 0 0 8px rgba(121, 158, 225, .06),
    0 0 0 17px rgba(121, 158, 225, .025),
    0 0 52px rgba(125, 170, 255, .29);
}

.jc-avatar-scan {
  position: absolute;
  z-index: 4;
  left: 16%;
  top: 20%;
  width: 68%;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(191, 224, 255, .85), transparent);
  box-shadow: 0 0 8px rgba(118, 189, 255, .65);
}

.jc-spatial-stage[data-focus="left"] .jc-avatar-scan {
  opacity: .7;
  animation: jc-avatar-scan 4.8s ease-in-out infinite;
}

.jc-identity-zone .jc-orbit-label {
  left: 5%;
  bottom: 12%;
  font-size: 8px;
}

.jc-identity-zone .jc-micro-label {
  font-size: 8px;
}

.jc-identity-zone .jc-identity-copy h1 {
  margin-top: 7px;
  font-size: clamp(62px, 7vw, 108px);
  line-height: .83;
}

.jc-identity-zone .jc-identity-copy h1 sup {
  font-size: 16px;
}

.jc-identity-zone .jc-identity-copy p {
  margin: 15px 0 16px;
  font-size: 13px;
}

.jc-identity-zone .jc-location {
  font-size: 8px;
}

.jc-identity-details {
  position: relative;
  z-index: 2;
  width: 88%;
  margin: 28px 0 0 7%;
  opacity: .15;
  transform: translate3d(-18px, 0, 0);
  transition: opacity .5s ease .18s, transform .7s ease .18s;
}

.jc-spatial-stage[data-focus="left"] .jc-identity-details {
  opacity: 1;
  transform: none;
}

.jc-identity-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  color: #6c7d98;
  font: 7px ui-monospace, monospace;
  letter-spacing: .14em;
}

.jc-identity-line i {
  height: 1px;
  background: linear-gradient(90deg, rgba(159, 193, 242, .35), transparent);
}

.jc-identity-line strong {
  color: var(--mint);
  font-size: 7px;
  font-weight: 400;
}

.jc-identity-zone .jc-tags {
  margin-top: 13px;
  gap: 6px;
}

.jc-identity-zone .jc-tags span {
  padding: 6px 10px;
  font-size: 9px;
}

.jc-identity-zone .jc-contacts {
  margin-top: 13px;
}

.jc-identity-zone .jc-contact-link {
  width: 36px;
  height: 36px;
  font-size: 10px;
}

.jc-identity-readout {
  position: absolute;
  right: 6%;
  bottom: 11%;
  width: 128px;
  padding: 10px;
  border-right: 1px solid rgba(174, 205, 255, .18);
  text-align: right;
  opacity: .15;
  transform: translateX(-10px);
  transition: opacity .45s ease .32s, transform .6s ease .32s;
}

.jc-spatial-stage[data-focus="left"] .jc-identity-readout {
  opacity: 1;
  transform: none;
}

.jc-identity-readout span,
.jc-identity-readout small {
  display: block;
  color: #60718c;
  font: 6px ui-monospace, monospace;
  letter-spacing: .12em;
}

.jc-identity-readout strong {
  display: block;
  margin: 4px 0;
  color: #dce9ff;
  font: 20px Georgia, serif;
  font-weight: 400;
}

.jc-identity-readout i {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: linear-gradient(90deg, transparent, var(--mint));
}

/* Center: world map */

.jc-universe-zone {
  left: 29%;
  width: 42%;
  border: 1px solid rgba(175, 205, 255, .08);
  background: radial-gradient(circle at 50% 51%, rgba(90, 129, 202, .1), transparent 38%);
  transform: translate3d(0, 0, -60px) scale(.92);
}

.jc-universe-zone::before,
.jc-universe-zone::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.jc-universe-zone::before {
  inset: 13px;
  border: 1px solid rgba(175, 205, 255, .045);
}

.jc-universe-zone::after {
  inset: 8% 7%;
  border-radius: 50%;
  border: 1px solid rgba(136, 177, 241, .055);
}

.jc-spatial-stage[data-focus="center"] .jc-universe-zone {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 65px) scale(1.04);
}

.jc-universe-zone .jc-map-heading {
  left: 5%;
  top: 6%;
}

.jc-universe-zone .jc-map-heading>span {
  font-size: 8px;
}

.jc-universe-zone .jc-map-heading h2 {
  margin-top: 8px;
  font-size: clamp(26px, 2.4vw, 40px);
}

.jc-universe-zone .jc-map-heading p {
  margin-top: 5px;
  font-size: 10px;
}

.jc-universe-sphere {
  position: absolute;
  left: 50%;
  top: 51%;
  width: min(42vw, 610px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: .38;
}

.jc-universe-sphere i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(141, 181, 242, .11);
  border-radius: 50%;
}

.jc-universe-sphere i:nth-child(1) {
  transform: rotateX(70deg);
}

.jc-universe-sphere i:nth-child(2) {
  transform: rotateY(72deg);
}

.jc-universe-sphere i:nth-child(3) {
  inset: 15%;
  border-style: dashed;
  animation: jc-orbit 80s linear infinite;
}

.jc-universe-sphere b {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 167, 240, .1), transparent 68%);
  box-shadow: 0 0 70px rgba(87, 133, 216, .14);
}

.jc-universe-zone .jc-route-lines {
  inset: 0;
}

.jc-universe-zone .jc-hub-core {
  width: 94px;
  height: 94px;
}

.jc-universe-zone .jc-hub-core i:nth-child(2) {
  inset: 13px;
}

.jc-universe-zone .jc-hub-core i:nth-child(3) {
  inset: 36px;
}

.jc-universe-zone .jc-hub-core span {
  top: calc(100% + 12px);
  width: 130px;
  text-align: center;
  line-height: 1.7;
}

.jc-universe-zone .jc-site-node {
  width: min(270px, 31%);
  min-width: 190px;
  padding: 15px 16px 14px;
}

.jc-universe-zone .jc-site-node strong {
  margin-top: 10px;
  font-size: 15px;
}

.jc-universe-zone .jc-site-node small {
  margin-top: 6px;
  font-size: 9px;
}

.jc-universe-zone .jc-node-index {
  font-size: 8px;
}

.jc-universe-zone .jc-maintenance {
  right: 4%;
  bottom: 3%;
  max-width: 270px;
}

.jc-map-scale {
  position: absolute;
  left: 5%;
  bottom: 3%;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #53657f;
  font: 6px ui-monospace, monospace;
  letter-spacing: .1em;
}

.jc-map-scale i {
  width: 80px;
  height: 4px;
  border-left: 1px solid #7185a3;
  border-right: 1px solid #7185a3;
  background: linear-gradient(180deg, transparent 1px, rgba(128, 160, 207, .25) 1px 2px, transparent 2px);
}

/* Right: loose holographic panels */

.jc-channels-zone {
  right: 0;
  width: 33%;
  padding: 5vh 3.6vw 5vh 2.4vw;
  transform: translate3d(2vw, 0, -120px) rotateY(-9deg) scale(.82);
  transform-origin: 72% 50%;
}

.jc-spatial-stage[data-focus="right"] .jc-channels-zone {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-1.5vw, 0, 65px) rotateY(0) scale(1.08);
}

.jc-channels-heading {
  position: absolute;
  left: 8%;
  top: 5%;
  z-index: 5;
}

.jc-channels-heading>span {
  color: #667892;
  font: 7px ui-monospace, monospace;
  letter-spacing: .17em;
}

.jc-channels-heading h2 {
  margin: 7px 0 4px;
  font: 400 clamp(22px, 2vw, 32px) Georgia, "Noto Serif SC", serif;
}

.jc-channels-heading p {
  margin: 0;
  color: #7888a2;
  font-size: 9px;
}

.jc-holo-card {
  --float-x: 0px;
  --float-y: 0px;
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(161, 206, 255, .18);
  background:
    linear-gradient(115deg, rgba(80, 150, 220, .055), transparent 35%),
    rgba(6, 20, 44, .58);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .22), inset 0 0 30px rgba(108, 172, 255, .018);
  backdrop-filter: blur(10px) saturate(120%);
  transition: border-color .25s ease, background .25s ease, opacity .45s ease;
  will-change: transform;
}

.jc-holo-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 34%;
  height: 1px;
  background: #7fb9ff;
  box-shadow: 0 0 10px rgba(105, 179, 255, .7);
}

.jc-holo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background: repeating-linear-gradient(180deg, transparent 0 4px, rgba(140, 205, 255, .07) 5px);
}

.jc-holo-card:hover {
  border-color: rgba(163, 211, 255, .4);
  background-color: rgba(11, 32, 66, .78);
}

.jc-channels-zone .jc-sound-module {
  left: 2%;
  top: 20%;
  width: 43%;
  padding: 15px;
  transform: translate3d(var(--float-x), var(--float-y), 25px) rotateY(5deg) rotateZ(-.6deg);
}

.jc-channels-zone .jc-sound-module>header>span {
  width: 32px;
  height: 32px;
}

.jc-channels-zone #jc-playlist-card {
  grid-template-columns: 42px 1fr auto;
}

.jc-channels-zone .jc-record {
  width: 40px;
  height: 40px;
}

.jc-mission-module {
  left: 24%;
  top: 40%;
  width: 66%;
  padding: 15px;
  transform: translate3d(var(--float-x), var(--float-y), 55px) rotateY(-4deg) rotateZ(.35deg);
}

.jc-mission-module>header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.jc-mission-module>header span {
  color: #657792;
  font: 6px ui-monospace, monospace;
  letter-spacing: .13em;
}

.jc-mission-module>header h2 {
  margin: 4px 0 0;
  font: 400 17px Georgia, serif;
}

.jc-mission-module>header>i {
  color: var(--mint);
  font: 6px ui-monospace, monospace;
  font-style: normal;
}

.jc-mission-module .jc-mission-list {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.jc-mission-module .jc-mission-card {
  padding: 9px 10px 8px;
}

.jc-mission-module .jc-mission-card:nth-child(2) {
  transform: none;
}

.jc-mission-module .jc-mission-card:hover,
.jc-mission-module .jc-mission-card:nth-child(2):hover {
  transform: translateX(3px);
}

.jc-mission-module .jc-mission-card p {
  height: auto;
  margin-bottom: 4px;
}

.jc-mission-module .jc-mission-card>span:last-child {
  display: none;
}

.jc-channels-zone .jc-support-module {
  right: 4%;
  top: 16%;
  width: 36%;
  padding: 14px;
  transform: translate3d(var(--float-x), var(--float-y), 90px) rotateY(-7deg) rotateZ(.9deg);
}

.jc-channels-zone .jc-journey-log {
  left: 0;
  bottom: 7%;
  z-index: 3;
  width: 44%;
  transform: translate3d(var(--float-x), var(--float-y), 5px) rotateY(5deg) rotateZ(.45deg);
}

.jc-channels-zone .jc-journey-log[open] {
  z-index: 9;
  width: 82%;
}

.jc-channels-zone .jc-journey-log summary {
  padding: 13px;
}

.jc-channels-zone .jc-journey-list {
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  max-height: 210px;
}

.jc-holo-quote {
  --float-x: 0px;
  --float-y: 0px;
  position: absolute;
  right: 3%;
  bottom: 8%;
  width: 33%;
  margin: 0;
  padding: 21px 12px 18px 27px;
  border-left: 1px solid rgba(239, 216, 137, .32);
  color: #a9b4c7;
  background: linear-gradient(90deg, rgba(239, 216, 137, .035), transparent);
  transform: translate3d(var(--float-x), var(--float-y), 42px) rotateY(-4deg);
  will-change: transform;
}

.jc-holo-quote span {
  position: absolute;
  left: 9px;
  top: -4px;
  color: rgba(239, 216, 137, .55);
  font: 34px Georgia, serif;
}

.jc-holo-quote p {
  margin: 0;
  font: 11px/1.8 Georgia, "Noto Serif SC", serif;
}

/* Focus navigator */

.jc-focus-dock {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: 14px;
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(174, 205, 255, .13);
  background: rgba(4, 13, 31, .8);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.jc-focus-dock button {
  min-width: 104px;
  padding: 8px 11px;
  border: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6c7c96;
  background: transparent;
  font-size: 8px;
  cursor: pointer;
  transition: color .25s ease, background .25s ease;
}

.jc-focus-dock button:hover {
  color: #cddbf1;
}

.jc-focus-dock button.jc-is-active {
  color: #f1f6ff;
  background: rgba(104, 155, 226, .1);
}

.jc-focus-dock button i {
  color: #7589aa;
  font: 6px ui-monospace, monospace;
  font-style: normal;
}

.jc-focus-dock button.jc-is-active i {
  color: var(--gold);
}

.jc-focus-hint {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 12px;
  color: #53647e;
  font: 6px ui-monospace, monospace;
  letter-spacing: .16em;
  transform: translateX(-50%);
  transition: opacity .5s ease;
}

.jc-focus-hint span {
  margin: 0 5px;
  color: #8194b2;
}

.jc-spatial-stage.jc-has-moved .jc-focus-hint {
  opacity: 0;
}

@keyframes jc-avatar-scan {

  0%,
  100% {
    top: 20%;
    opacity: 0;
  }

  12% {
    opacity: .72;
  }

  80% {
    opacity: .4;
  }

  90% {
    top: 78%;
    opacity: 0;
  }
}

@media (max-width: 1120px) and (min-width: 821px) {
  .jc-identity-zone {
    width: 34%;
    padding-left: 3.5vw;
  }

  .jc-identity-zone .jc-identity-core {
    grid-template-columns: minmax(150px, 46%) 1fr;
  }

  .jc-identity-zone .jc-avatar-system {
    min-width: 150px;
  }

  .jc-identity-zone .jc-identity-copy h1 {
    font-size: 68px;
  }

  .jc-identity-zone .jc-identity-copy p {
    font-size: 10px;
  }

  .jc-identity-readout {
    display: none;
  }

  .jc-universe-zone {
    left: 30%;
    width: 40%;
  }

  .jc-universe-zone .jc-site-node {
    min-width: 165px;
    padding: 11px;
  }

  .jc-channels-zone {
    width: 36%;
  }

  .jc-channels-zone .jc-sound-module {
    width: 47%;
  }

  .jc-channels-zone .jc-support-module {
    width: 41%;
  }

  .jc-mission-module {
    left: 18%;
    width: 76%;
  }
}

.jc-cockpit-stage .jc-universe-zone .jc-site-node:nth-child(1) {
  left: 5%;
  top: 35%;
}

.jc-cockpit-stage .jc-universe-zone .jc-site-node:nth-child(2) {
  right: 4%;
  top: 29%;
}

.jc-cockpit-stage .jc-universe-zone .jc-site-node:nth-child(3) {
  left: 14%;
  bottom: 9%;
}

@media (max-width: 820px) {
  body {
    overflow: hidden;
  }

  .jc-screen-shell {
    width: 100%;
    height: 100dvh;
    min-height: 0;
    margin: 0;
  }

  .jc-spatial-stage {
    height: calc(100% - 84px);
    min-height: 0;
    perspective: none;
  }

  .jc-spatial-stage[data-focus="left"],
  .jc-spatial-stage[data-focus="right"] {
    --focus-shift: 0px;
  }

  .jc-camera-rig {
    left: 0;
    width: 100%;
    transform: none !important;
    transition: none;
  }

  .jc-spatial-zone {
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 54px 20px 76px;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transform: translate3d(20px, 0, 0) scale(.98) !important;
    transition: opacity .35s ease, transform .45s ease, visibility .35s;
  }

  .jc-spatial-stage[data-focus="left"] .jc-identity-zone,
  .jc-spatial-stage[data-focus="center"] .jc-universe-zone,
  .jc-spatial-stage[data-focus="right"] .jc-channels-zone {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none !important;
  }

  .jc-zone-coordinate {
    display: none;
  }

  .jc-focus-hint {
    display: none;
  }

  .jc-focus-dock {
    bottom: 10px;
    width: calc(100% - 24px);
    justify-content: stretch;
  }

  .jc-focus-dock button {
    min-width: 0;
    flex: 1;
    justify-content: center;
    padding: 9px 5px;
  }

  .jc-focus-dock button span {
    font-size: 8px;
  }

  .jc-identity-zone {
    display: block;
  }

  .jc-identity-halo {
    left: 50%;
    top: 45%;
    width: min(92vw, 490px);
    transform: translate(-50%, -50%);
  }

  .jc-identity-zone .jc-greeting {
    left: 50%;
    top: 8%;
    opacity: 1;
    transform: translateX(-50%);
  }

  .jc-identity-zone .jc-identity-core {
    max-width: 520px;
    margin: 6vh auto 0;
    grid-template-columns: minmax(160px, 45%) 1fr;
  }

  .jc-identity-zone .jc-identity-copy h1 {
    font-size: clamp(58px, 16vw, 86px);
  }

  .jc-identity-details {
    max-width: 460px;
    margin: 25px auto 0;
    opacity: 1;
    transform: none;
  }

  .jc-identity-readout {
    display: none;
  }

  .jc-universe-zone {
    border: 0;
    background: radial-gradient(circle at 50% 50%, rgba(90, 129, 202, .12), transparent 42%);
  }

  .jc-universe-zone::before {
    inset: 14px;
  }

  .jc-universe-zone .jc-map-heading {
    left: 20px;
    top: 22px;
  }

  .jc-universe-zone .jc-map-heading h2 {
    font-size: 28px;
  }

  .jc-universe-zone .jc-universe-sphere {
    width: min(92vw, 580px);
  }

  .jc-universe-zone .jc-route-lines {
    display: block;
  }

  .jc-universe-zone .jc-hub-core {
    display: grid;
  }

  .jc-universe-zone .jc-site-nodes {
    position: absolute;
    inset: 0;
    padding: 0;
    display: block;
  }

  .jc-universe-zone .jc-site-node {
    position: absolute;
    width: min(245px, 44%);
    min-width: 150px;
  }

  .jc-universe-zone .jc-site-node:nth-child(1) {
    left: 4%;
    top: 25%;
  }

  .jc-universe-zone .jc-site-node:nth-child(2) {
    right: 4%;
    top: 41%;
  }

  .jc-universe-zone .jc-site-node:nth-child(3) {
    left: 14% !important;
    bottom: 28% !important;
  }

  .jc-universe-zone .jc-maintenance {
    left: auto;
    right: 4%;
    bottom: 12%;
    max-width: 240px;
  }

  .jc-universe-zone .jc-map-scale {
    display: none;
  }

  .jc-channels-zone {
    display: block;
    padding-top: 86px;
  }

  .jc-channels-heading {
    left: 20px;
    top: 25px;
  }

  .jc-channels-heading h2 {
    font-size: 25px;
  }

  .jc-holo-card,
  .jc-channels-zone .jc-sound-module,
  .jc-channels-zone .jc-support-module,
  .jc-channels-zone .jc-journey-log,
  .jc-mission-module,
  .jc-holo-quote {
    position: relative;
    inset: auto;
    width: 100%;
    margin: 0 0 12px;
    transform: none !important;
  }

  .jc-channels-zone .jc-sound-module {
    padding: 15px;
  }

  .jc-mission-module {
    padding: 15px;
  }

  .jc-channels-zone .jc-journey-list {
    max-height: none;
  }

  .jc-holo-quote {
    padding: 20px 16px 18px 30px;
  }

  .jc-screen-footer {
    height: 30px;
  }
}

@media (max-width: 520px) {
  .jc-system-bar {
    min-height: 54px;
  }

  .jc-jump-links a span {
    display: none;
  }

  .jc-identity-zone .jc-identity-core {
    grid-template-columns: 125px 1fr;
    gap: 12px;
  }

  .jc-identity-zone .jc-avatar-system {
    min-width: 125px;
  }

  .jc-identity-zone .jc-identity-copy h1 {
    font-size: 54px;
  }

  .jc-identity-zone .jc-identity-copy p {
    font-size: 10px;
  }

  .jc-identity-zone .jc-tags span {
    padding: 5px 7px;
    font-size: 8px;
  }

  .jc-universe-zone .jc-site-node {
    width: 46%;
    min-width: 135px;
    padding: 10px;
  }

  .jc-universe-zone .jc-site-node strong {
    font-size: 12px;
  }

  .jc-universe-zone .jc-site-node small {
    font-size: 7px;
  }

  .jc-universe-zone .jc-maintenance {
    left: 8%;
    right: 8%;
    bottom: 11%;
    max-width: none;
  }

  .jc-focus-dock button {
    gap: 5px;
  }

  .jc-focus-dock button i {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .jc-camera-rig,
  .jc-spatial-zone {
    transition: none !important;
  }

  .jc-avatar-scan {
    display: none;
  }
}

/* Spatial dashboard v3: fixed cockpit + lockable holograms ---------------- */

.jc-cockpit-stage {
  --far-x: 0px;
  --far-y: 0px;
  --mid-x: 0px;
  --mid-y: 0px;
  --near-x: 0px;
  --near-y: 0px;
  min-height: 560px;
  perspective: none;
}

.jc-cockpit-stage .jc-depth-grid {
  z-index: 0;
  opacity: .55;
  transform: translate3d(var(--far-x), var(--far-y), 0) scale(1.04);
  transition: transform 180ms linear;
}

.jc-cockpit-stage .jc-camera-rig {
  left: 0;
  width: 100%;
  transform: none;
  transition: none;
  will-change: auto;
}

.jc-cockpit-stage .jc-spatial-zone {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: filter .38s ease, opacity .38s ease, transform .18s linear;
}

.jc-cockpit-stage .jc-identity-zone {
  z-index: 6;
  left: 4.5%;
  top: 50%;
  width: 39%;
  height: 76%;
  padding: 4vh 2.5vw 3vh;
  justify-content: center;
  border-left: 1px solid rgba(174, 205, 255, .1);
  background:
    radial-gradient(circle at 35% 48%, rgba(93, 132, 207, .11), transparent 42%),
    linear-gradient(90deg, rgba(6, 19, 43, .38), transparent 86%);
  transform: translate3d(var(--near-x), calc(-50% + var(--near-y)), 0);
  transform-origin: center;
}

.jc-cockpit-stage .jc-identity-zone::after {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  width: 1px;
  height: 76%;
  background: linear-gradient(transparent, rgba(179, 209, 255, .5), transparent);
  box-shadow: 0 0 11px rgba(121, 172, 255, .22);
}

.jc-cockpit-stage .jc-identity-zone .jc-zone-coordinate {
  left: -18px;
  top: 12%;
}

.jc-cockpit-stage .jc-identity-halo {
  left: -2%;
  top: 46%;
  width: min(35vw, 500px);
  opacity: .45;
}

.jc-cockpit-stage .jc-identity-zone .jc-greeting {
  left: 44%;
  top: 5%;
  opacity: 1;
  transform: none;
}

.jc-cockpit-stage .jc-identity-zone .jc-identity-core {
  grid-template-columns: minmax(240px, 58%) 1fr;
  gap: clamp(12px, 1.5vw, 25px);
}

.jc-cockpit-stage .jc-identity-zone .jc-avatar-system {
  min-width: 240px;
}

.jc-cockpit-stage .jc-identity-zone .jc-avatar-system img {
  width: 86%;
}

.jc-cockpit-stage .jc-identity-zone .jc-avatar-scan {
  left: 12%;
  width: 76%;
  opacity: .7;
  animation: jc-avatar-scan 5.4s ease-in-out infinite;
}

.jc-cockpit-stage .jc-identity-zone .jc-identity-copy h1 {
  font-size: clamp(70px, 7vw, 116px);
  text-shadow: 0 0 34px rgba(170, 200, 255, .1);
}

.jc-cockpit-stage .jc-identity-zone .jc-identity-copy p {
  font-size: 12px;
}

.jc-cockpit-stage .jc-identity-details {
  width: 91%;
  margin: 22px 0 0 2%;
  opacity: 1;
  transform: none;
}

.jc-cockpit-stage .jc-identity-zone .jc-tags span {
  padding: 6px 9px;
  font-size: 8px;
}

.jc-cockpit-stage .jc-identity-readout {
  right: 2%;
  bottom: 5%;
  opacity: .75;
  transform: none;
}

.jc-cockpit-stage .jc-universe-zone {
  z-index: 5;
  left: auto;
  right: 3.5%;
  top: 50%;
  width: 56%;
  height: 84%;
  overflow: hidden;
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(175, 205, 255, .13);
  background:
    linear-gradient(rgba(112, 155, 218, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 155, 218, .022) 1px, transparent 1px),
    radial-gradient(circle at 50% 52%, rgba(90, 129, 202, .13), transparent 40%),
    rgba(3, 12, 29, .29);
  background-size: 42px 42px, 42px 42px, auto, auto;
  transform: translate3d(var(--mid-x), calc(-50% + var(--mid-y)), 0);
}

.jc-cockpit-stage .jc-universe-zone .jc-map-heading {
  left: 5%;
  top: 6%;
}

.jc-cockpit-stage .jc-universe-zone .jc-map-heading h2 {
  font-size: clamp(28px, 2.8vw, 43px);
}

.jc-cockpit-stage .jc-universe-zone .jc-universe-sphere {
  width: min(47vw, 650px);
  opacity: .48;
}

.jc-cockpit-stage .jc-universe-zone .jc-hub-core {
  width: 106px;
  height: 106px;
}

.jc-cockpit-stage .jc-universe-zone .jc-hub-core i:nth-child(2) {
  inset: 15px;
}

.jc-cockpit-stage .jc-universe-zone .jc-hub-core i:nth-child(3) {
  inset: 41px;
}

.jc-cockpit-stage .jc-universe-zone .jc-site-node {
  width: min(285px, 32%);
  padding: 16px 17px 15px;
  border-color: rgba(175, 205, 255, .24);
  background: linear-gradient(135deg, rgba(14, 32, 66, .92), rgba(5, 16, 37, .84));
  box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
}

.jc-cockpit-stage .jc-universe-zone .jc-site-node strong {
  font-size: 16px;
}

.jc-cockpit-stage .jc-universe-zone .jc-site-node small {
  font-size: 9px;
}

.jc-cockpit-stage .jc-universe-zone .jc-maintenance {
  right: 4%;
  bottom: 3.5%;
}

.jc-cockpit-stage .jc-channels-zone {
  z-index: 8;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 1;
  pointer-events: none;
  transform: none;
}

.jc-cockpit-stage .jc-channels-heading {
  display: none;
}

.jc-cockpit-stage .jc-holo-card,
.jc-cockpit-stage .jc-holo-quote {
  opacity: .62;
  pointer-events: auto;
  filter: saturate(.72) brightness(.82);
  transition:
    opacity .28s ease,
    filter .28s ease,
    border-color .28s ease,
    background .28s ease,
    transform .3s cubic-bezier(.2, .78, .18, 1),
    width .3s cubic-bezier(.2, .78, .18, 1);
}

.jc-cockpit-stage .jc-holo-card:hover,
.jc-cockpit-stage .jc-holo-card:focus-within,
.jc-cockpit-stage .jc-holo-quote:hover {
  z-index: 9;
  opacity: 1;
  filter: none;
}

.jc-cockpit-stage .jc-channels-zone .jc-sound-module {
  left: 2.1%;
  top: 2.4%;
  width: min(290px, 22vw);
  padding: 13px 13px 5px;
  transform: translate3d(var(--float-x), var(--float-y), 0) rotateZ(-.3deg);
}

.jc-cockpit-stage .jc-sound-module>p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .3s ease, margin .3s ease;
}

.jc-cockpit-stage .jc-mission-module {
  left: auto;
  right: 1.8%;
  top: auto;
  bottom: 2.6%;
  width: min(350px, 26vw);
  padding: 13px;
  transform: translate3d(var(--float-x), var(--float-y), 0) rotateZ(.25deg);
}

.jc-cockpit-stage .jc-mission-module .jc-mission-card p,
.jc-cockpit-stage .jc-mission-module .jc-mission-card>span:last-child {
  display: none;
}

.jc-cockpit-stage .jc-mission-module.jc-is-expanded .jc-mission-card p,
.jc-cockpit-stage .jc-mission-module.jc-is-expanded .jc-mission-card>span:last-child {
  display: block;
}

.jc-cockpit-stage .jc-channels-zone .jc-support-module {
  left: 43.5%;
  right: auto;
  top: auto;
  bottom: 1.5%;
  width: min(260px, 20vw);
  padding: 12px;
  opacity: .72;
  transform: translate3d(var(--float-x), var(--float-y), 0) rotateZ(-.3deg);
}

.jc-cockpit-stage .jc-channels-zone .jc-journey-log {
  left: auto;
  right: 2.3%;
  top: 2.7%;
  bottom: auto;
  z-index: 3;
  width: min(270px, 21vw);
  transform: translate3d(var(--float-x), var(--float-y), 0) rotateZ(.35deg);
}

.jc-cockpit-stage .jc-channels-zone .jc-journey-log[open] {
  width: min(270px, 21vw);
}

.jc-cockpit-stage .jc-journey-log:not(.jc-is-expanded) .jc-journey-list,
.jc-cockpit-stage .jc-journey-log:not(.jc-is-expanded) footer {
  display: none;
}

.jc-cockpit-stage .jc-holo-quote {
  left: 2.6%;
  right: auto;
  bottom: 2.5%;
  width: min(250px, 20vw);
  transform: translate3d(var(--float-x), var(--float-y), 0) rotateZ(-.2deg);
}

.jc-holo-pin {
  position: relative;
  z-index: 3;
  margin-left: 7px;
  padding: 5px 7px;
  border: 1px solid rgba(161, 202, 255, .17);
  color: #7186a5;
  background: rgba(3, 13, 31, .55);
  font: 5px ui-monospace, monospace;
  letter-spacing: .08em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.jc-holo-pin:hover,
.jc-holo-pin:focus-visible {
  color: #eaf3ff;
  border-color: rgba(161, 202, 255, .45);
  background: rgba(38, 83, 143, .18);
}

.jc-cockpit-stage.jc-has-open-panel .jc-identity-zone,
.jc-cockpit-stage.jc-has-open-panel .jc-universe-zone {
  opacity: .24;
  filter: blur(2px) saturate(.6);
  pointer-events: none;
}

.jc-cockpit-stage.jc-has-open-panel .jc-channels-zone {
  z-index: 30;
}

.jc-cockpit-stage.jc-has-open-panel .jc-holo-card:not(.jc-is-expanded),
.jc-cockpit-stage.jc-has-open-panel .jc-holo-quote {
  opacity: .16;
  pointer-events: none;
}

.jc-cockpit-stage .jc-holo-card.jc-is-expanded {
  position: absolute;
  z-index: 42;
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  width: min(760px, calc(100vw - 100px));
  max-height: min(72vh, 650px);
  padding: 22px;
  overflow: auto;
  opacity: 1;
  filter: none;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  color: #dce9ff;
  border-color: rgba(174, 211, 255, .55);
  background:
    linear-gradient(120deg, rgba(74, 142, 218, .08), transparent 38%),
    rgba(6, 20, 46, .98);
  box-shadow: 0 35px 100px rgba(0, 0, 0, .56), 0 0 34px rgba(95, 160, 255, .08), inset 0 0 55px rgba(106, 178, 255, .04);
}

.jc-cockpit-stage .jc-holo-card.jc-is-expanded header small,
.jc-cockpit-stage .jc-holo-card.jc-is-expanded header span {
  color: #9cb2d3;
}

.jc-cockpit-stage .jc-holo-card.jc-is-expanded header strong,
.jc-cockpit-stage .jc-holo-card.jc-is-expanded header h2 {
  color: #f1f6ff;
}

.jc-cockpit-stage .jc-holo-card.jc-is-expanded .jc-mission-card,
.jc-cockpit-stage .jc-holo-card.jc-is-expanded #jc-playlist-card {
  border-color: rgba(166, 203, 255, .22);
  background: rgba(14, 35, 72, .72);
}

.jc-cockpit-stage .jc-holo-card.jc-is-expanded .jc-mission-card strong,
.jc-cockpit-stage .jc-holo-card.jc-is-expanded #jc-playlist-card strong {
  color: #eef5ff;
}

.jc-cockpit-stage .jc-holo-card.jc-is-expanded .jc-mission-card p,
.jc-cockpit-stage .jc-holo-card.jc-is-expanded #jc-playlist-card em,
.jc-cockpit-stage .jc-holo-card.jc-is-expanded>p {
  color: #9fb0c9;
}

.jc-cockpit-stage .jc-channels-zone .jc-journey-log.jc-is-expanded,
.jc-cockpit-stage .jc-channels-zone .jc-journey-log.jc-is-expanded[open] {
  width: min(760px, calc(100vw - 100px));
}

.jc-cockpit-stage .jc-mission-module.jc-is-expanded .jc-mission-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.jc-cockpit-stage .jc-mission-module.jc-is-expanded .jc-mission-card {
  padding: 14px;
}

.jc-cockpit-stage .jc-mission-module.jc-is-expanded .jc-mission-card p {
  margin: 7px 0 12px;
  font-size: 9px;
  line-height: 1.6;
}

.jc-cockpit-stage .jc-journey-log.jc-is-expanded .jc-journey-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-height: none;
  margin-top: 10px;
  overflow: visible;
}

.jc-cockpit-stage .jc-journey-log.jc-is-expanded footer {
  display: block;
}

.jc-panel-scrim {
  position: absolute;
  z-index: 25;
  inset: 0;
  display: block;
  border: 0;
  opacity: 0;
  visibility: hidden;
  background: rgba(1, 6, 17, .66);
  backdrop-filter: blur(6px);
  cursor: default;
  transition: opacity .28s ease, visibility .28s;
}

.jc-cockpit-stage.jc-has-open-panel .jc-panel-scrim {
  opacity: 1;
  visibility: visible;
}

.jc-panel-close {
  position: absolute;
  z-index: 45;
  left: calc(50% + min(380px, calc(50vw - 50px)) - 42px);
  top: calc(6% + 8px);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(174, 205, 255, .2);
  color: #8fa1bc;
  background: rgba(5, 17, 39, .88);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity .25s ease, visibility .25s, color .2s ease;
}

.jc-panel-close span {
  font-size: 15px;
  line-height: 1;
}

.jc-panel-close small {
  font: 5px ui-monospace, monospace;
  letter-spacing: .1em;
}

.jc-panel-close:hover {
  color: #fff;
}

.jc-cockpit-stage.jc-has-open-panel .jc-panel-close {
  opacity: 1;
  visibility: visible;
}

.jc-depth-hint {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4f6079;
  font: 5px ui-monospace, monospace;
  letter-spacing: .14em;
  transform: translateX(-50%);
  pointer-events: none;
}

.jc-depth-hint i {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(134, 168, 218, .3));
}

.jc-depth-hint i:last-child {
  transform: rotate(180deg);
}

.jc-focus-dock,
.jc-focus-hint {
  display: none !important;
}

@media (max-width: 1120px) and (min-width: 821px) {
  .jc-cockpit-stage .jc-identity-zone {
    left: 3%;
    width: 41%;
    padding-inline: 1.8vw;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-identity-core {
    grid-template-columns: minmax(190px, 56%) 1fr;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-avatar-system {
    min-width: 190px;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-identity-copy h1 {
    font-size: 64px;
  }

  .jc-cockpit-stage .jc-identity-readout {
    display: none;
  }

  .jc-cockpit-stage .jc-universe-zone {
    right: 2%;
    width: 57%;
  }

  .jc-cockpit-stage .jc-universe-zone .jc-site-node {
    min-width: 160px;
    padding: 11px;
  }

  .jc-cockpit-stage .jc-channels-zone .jc-sound-module {
    width: 230px;
  }

  .jc-cockpit-stage .jc-mission-module {
    width: 290px;
  }

  .jc-cockpit-stage .jc-channels-zone .jc-journey-log {
    width: 220px;
  }
}

@media (max-width: 820px) {
  .jc-cockpit-stage {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .jc-cockpit-stage .jc-camera-rig {
    position: relative;
    height: auto;
    min-height: 100%;
    padding: 48px 14px 78px;
  }

  .jc-cockpit-stage .jc-spatial-zone {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    padding: 0;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    transform: none !important;
  }

  .jc-cockpit-stage .jc-identity-zone {
    min-height: 440px;
    margin-bottom: 18px;
    display: flex;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-identity-core {
    max-width: 620px;
    width: 100%;
    margin: auto;
    grid-template-columns: minmax(150px, 46%) 1fr;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-avatar-system {
    min-width: 150px;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-identity-copy h1 {
    font-size: clamp(54px, 15vw, 82px);
  }

  .jc-cockpit-stage .jc-identity-halo {
    left: 2%;
    top: 45%;
    width: min(68vw, 430px);
    transform: translateY(-50%);
  }

  .jc-cockpit-stage .jc-identity-zone .jc-greeting {
    left: 45%;
    top: 7%;
  }

  .jc-cockpit-stage .jc-identity-details {
    max-width: 560px;
    margin-inline: auto;
  }

  .jc-cockpit-stage .jc-identity-readout {
    display: none;
  }

  .jc-cockpit-stage .jc-universe-zone {
    min-height: 620px;
    margin-bottom: 18px;
    border: 1px solid rgba(175, 205, 255, .13);
  }

  .jc-cockpit-stage .jc-universe-zone .jc-site-node {
    width: 43%;
    min-width: 145px;
  }

  .jc-cockpit-stage .jc-universe-zone .jc-maintenance {
    left: 8%;
    right: 8%;
    bottom: 8%;
    max-width: none;
  }

  .jc-cockpit-stage .jc-channels-zone {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    pointer-events: auto;
  }

  .jc-cockpit-stage .jc-holo-card,
  .jc-cockpit-stage .jc-channels-zone .jc-sound-module,
  .jc-cockpit-stage .jc-mission-module,
  .jc-cockpit-stage .jc-channels-zone .jc-support-module,
  .jc-cockpit-stage .jc-channels-zone .jc-journey-log,
  .jc-cockpit-stage .jc-holo-quote {
    position: relative;
    inset: auto;
    width: 100%;
    margin: 0;
    opacity: .9;
    filter: none;
    transform: none !important;
  }

  .jc-cockpit-stage .jc-channels-zone .jc-journey-log[open] {
    width: 100%;
  }

  .jc-cockpit-stage .jc-holo-quote {
    order: 5;
  }

  .jc-depth-hint {
    display: none;
  }

  .jc-cockpit-stage .jc-holo-card.jc-is-expanded {
    position: fixed;
    left: 50%;
    top: 50%;
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 110px);
    transform: translate(-50%, -50%) !important;
  }

  .jc-cockpit-stage .jc-channels-zone .jc-journey-log.jc-is-expanded[open] {
    width: calc(100vw - 28px);
  }

  .jc-panel-close {
    position: fixed;
    left: auto;
    right: 22px;
    top: 68px;
  }
}

@media (max-width: 520px) {
  .jc-cockpit-stage .jc-camera-rig {
    padding-inline: 10px;
  }

  .jc-cockpit-stage .jc-identity-zone {
    min-height: 0;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-identity-core {
    grid-template-columns: 50% 1fr;
    gap: 10px;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-avatar-system {
    min-width: 126px;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-identity-copy h1 {
    font-size: 50px;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-identity-copy p {
    font-size: 9px;
  }

  .jc-cockpit-stage .jc-identity-details {
    margin-top: 10px;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-tags span {
    padding: 5px 6px;
    font-size: 7px;
  }

  .jc-cockpit-stage .jc-universe-zone {
    min-height: 560px;
  }

  .jc-cockpit-stage .jc-universe-zone .jc-map-heading h2 {
    font-size: 25px;
  }

  .jc-cockpit-stage .jc-universe-zone .jc-site-node {
    width: 45%;
    min-width: 130px;
    padding: 9px;
  }

  .jc-cockpit-stage .jc-universe-zone .jc-site-node strong {
    font-size: 12px;
  }

  .jc-cockpit-stage .jc-universe-zone .jc-site-node small {
    font-size: 7px;
  }

  .jc-cockpit-stage .jc-mission-module.jc-is-expanded .jc-mission-list,
  .jc-cockpit-stage .jc-journey-log.jc-is-expanded .jc-journey-list {
    grid-template-columns: 1fr;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-greeting {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {

  .jc-cockpit-stage .jc-depth-grid,
  .jc-cockpit-stage .jc-holo-card,
  .jc-cockpit-stage .jc-holo-quote {
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 821px) {

  .jc-cockpit-stage .jc-identity-zone,
  .jc-cockpit-stage .jc-universe-zone {
    transform: translateY(-50%) !important;
    transition: none !important;
  }
}

/* HUB boot sequence + light composited parallax */
:root {
  --sky-x: 0px;
  --sky-y: 0px;
  --nebula-x: 0px;
  --nebula-y: 0px;
  --nebula-two-x: 0px;
  --nebula-two-y: 0px;
}

.jc-boot-sequence {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #cfe5ff;
  background:
    radial-gradient(circle at 50% 47%, rgba(69, 112, 176, .13), transparent 34%),
    #03060d;
  opacity: 1;
  clip-path: inset(0);
  transition: opacity .55s ease, clip-path .7s cubic-bezier(.7, 0, .3, 1);
}

.jc-boot-sequence::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(153, 200, 255, .018) 4px);
  pointer-events: none;
}

.jc-boot-sequence::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(143, 198, 255, .07), transparent);
  animation: jc-boot-scan 1.7s linear infinite;
  pointer-events: none;
}

.jc-boot-sequence.jc-is-complete {
  opacity: 0;
  clip-path: inset(49.7% 0);
  pointer-events: none;
}

.jc-boot-sequence[hidden] {
  display: none;
}

.jc-boot-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(124, 166, 218, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 166, 218, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 0 36%, transparent 73%);
  transform: perspective(800px) rotateX(63deg) translateY(29%);
  transform-origin: center bottom;
}

.jc-boot-console {
  position: relative;
  width: min(520px, calc(100vw - 44px));
  text-align: center;
}

.jc-boot-reticle {
  position: relative;
  width: 148px;
  aspect-ratio: 1;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(155, 205, 255, .16);
  border-radius: 50%;
  box-shadow: 0 0 45px rgba(67, 135, 220, .09), inset 0 0 26px rgba(67, 135, 220, .06);
}

.jc-boot-reticle::before,
.jc-boot-reticle::after,
.jc-boot-reticle i,
.jc-boot-reticle b {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px dashed rgba(157, 209, 255, .28);
  border-radius: 50%;
}

.jc-boot-reticle::after {
  inset: 31px;
  border-style: solid;
  border-color: rgba(216, 184, 113, .28);
}

.jc-boot-reticle i {
  animation: jc-boot-orbit 4s linear infinite;
}

.jc-boot-reticle b {
  inset: -7px;
  border-style: solid;
  border-color: rgba(141, 188, 239, .08);
  transform: scaleX(.72);
}

.jc-boot-reticle span {
  color: #f1cc79;
  font-size: 20px;
  text-shadow: 0 0 16px rgba(241, 204, 121, .58);
}

.jc-boot-kicker,
.jc-boot-console h1,
.jc-boot-status-line,
.jc-boot-log,
.jc-boot-coordinate {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.jc-boot-kicker {
  margin: 0 0 7px;
  color: #667b99;
  font-size: 8px;
  letter-spacing: .34em;
}

.jc-boot-console h1 {
  margin: 0 0 24px;
  color: #e4f1ff;
  font-size: clamp(17px, 3vw, 25px);
  font-weight: 500;
  letter-spacing: .22em;
}

.jc-boot-status-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #7692b5;
  font-size: 8px;
  letter-spacing: .14em;
}

.jc-boot-status-line strong {
  color: #d6eaff;
  font-size: 9px;
  font-weight: 500;
}

.jc-boot-progress {
  height: 2px;
  overflow: hidden;
  background: rgba(156, 198, 245, .1);
}

.jc-boot-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #6e94c4, #d9efff 76%, #f0cb78);
  box-shadow: 0 0 12px rgba(179, 220, 255, .65);
}

.jc-boot-log {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  color: #34455c;
  font-size: 6px;
  letter-spacing: .08em;
  transition: color .2s ease;
}

.jc-boot-log li::before {
  content: "○ ";
  color: #405675;
}

.jc-boot-sequence[data-step="1"] .jc-boot-log li:nth-child(1),
.jc-boot-sequence[data-step="2"] .jc-boot-log li:nth-child(-n+2),
.jc-boot-sequence[data-step="3"] .jc-boot-log li,
.jc-boot-sequence[data-step="4"] .jc-boot-log li {
  color: #8ba9cc;
}

.jc-boot-sequence[data-step="1"] .jc-boot-log li:nth-child(1)::before,
.jc-boot-sequence[data-step="2"] .jc-boot-log li:nth-child(-n+2)::before,
.jc-boot-sequence[data-step="3"] .jc-boot-log li::before,
.jc-boot-sequence[data-step="4"] .jc-boot-log li::before {
  content: "● ";
  color: #efcb79;
}

.jc-boot-coordinate {
  position: absolute;
  right: 24px;
  bottom: 19px;
  color: #33435a;
  font-size: 6px;
  letter-spacing: .18em;
}

.jc-boot-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: rgba(137, 181, 233, .18);
}

.jc-boot-corner-tl {
  left: 20px;
  top: 20px;
  border-left: 1px solid;
  border-top: 1px solid;
}

.jc-boot-corner-tr {
  right: 20px;
  top: 20px;
  border-right: 1px solid;
  border-top: 1px solid;
}

.jc-boot-corner-bl {
  left: 20px;
  bottom: 20px;
  border-left: 1px solid;
  border-bottom: 1px solid;
}

.jc-boot-corner-br {
  right: 20px;
  bottom: 20px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.jc-screen-shell {
  transition: opacity .65s ease, transform .85s cubic-bezier(.2, .8, .2, 1);
}

body.jc-is-booting .jc-screen-shell {
  opacity: .18;
  transform: scale(.982);
}

body.jc-is-booted .jc-screen-shell {
  opacity: 1;
  transform: none;
}

.jc-starfield {
  transform: translate3d(var(--sky-x), var(--sky-y), 0) scale(1.035);
  will-change: transform;
}

.jc-nebula-one {
  transform: translate3d(var(--nebula-x), var(--nebula-y), 0);
}

.jc-nebula-two {
  transform: translate3d(var(--nebula-two-x), var(--nebula-two-y), 0);
}

.jc-cockpit-stage {
  perspective: 1700px;
  perspective-origin: 50% 50%;
}

.jc-cockpit-stage .jc-identity-zone {
  transform: translate3d(var(--near-x), calc(-50% + var(--near-y)), 0) rotateX(var(--identity-rx, 0deg)) rotateY(var(--identity-ry, 0deg));
}

.jc-cockpit-stage .jc-universe-zone {
  transform: translate3d(var(--mid-x), calc(-50% + var(--mid-y)), 0) rotateX(var(--universe-rx, 0deg)) rotateY(var(--universe-ry, 0deg));
}

@keyframes jc-boot-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes jc-boot-scan {
  to {
    transform: translateY(680%);
  }
}

@media (max-width: 820px),
(hover: none),
(pointer: coarse) {

  .jc-starfield,
  .jc-nebula-one,
  .jc-nebula-two {
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 520px) {
  .jc-boot-reticle {
    width: 122px;
    margin-bottom: 20px;
  }

  .jc-boot-console h1 {
    letter-spacing: .13em;
  }

  .jc-boot-log {
    gap: 4px;
    font-size: 5px;
  }

  .jc-boot-coordinate {
    right: 14px;
    bottom: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .jc-boot-sequence,
  .jc-screen-shell {
    transition-duration: .08s !important;
  }

  .jc-boot-sequence::after,
  .jc-boot-reticle i {
    animation: none;
  }

  .jc-starfield,
  .jc-nebula-one,
  .jc-nebula-two {
    transform: none;
    will-change: auto;
  }
}

/* Readability pass: crisp expanded channels + less miniature desktop type */
.jc-cockpit-stage {
  isolation: isolate;
}

.jc-cockpit-stage.jc-has-open-panel .jc-identity-zone,
.jc-cockpit-stage.jc-has-open-panel .jc-universe-zone {
  opacity: .2;
  filter: saturate(.52) brightness(.58);
}

.jc-panel-scrim {
  background:
    radial-gradient(circle at 50% 50%, rgba(18, 43, 81, .12) 0 24%, transparent 48%),
    rgba(1, 6, 17, .76);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.jc-cockpit-stage .jc-holo-card.jc-is-expanded {
  width: min(820px, calc(100vw - 88px));
  max-height: min(78vh, 700px);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
}

.jc-cockpit-stage .jc-channels-zone .jc-journey-log.jc-is-expanded,
.jc-cockpit-stage .jc-channels-zone .jc-journey-log.jc-is-expanded[open] {
  width: min(820px, calc(100vw - 88px));
}

.jc-cockpit-stage .jc-journey-log.jc-is-expanded .jc-journey-list {
  gap: 10px;
}

.jc-cockpit-stage .jc-journey-log.jc-is-expanded .jc-journey-item {
  padding: 13px;
  background: rgba(12, 31, 64, .66);
}

@media (min-width: 821px) {
  .jc-system-id strong {
    font-size: 12px;
  }

  .jc-system-id small {
    font-size: 9px;
  }

  .jc-system-status {
    font-size: 9px;
  }

  .jc-system-status time {
    font-size: 11px;
  }

  .jc-jump-links a {
    font-size: 10px;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-greeting {
    font-size: 12px;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-micro-label,
  .jc-cockpit-stage .jc-identity-zone .jc-location {
    font-size: 9px;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-identity-copy p {
    font-size: 13px;
    line-height: 1.7;
  }

  .jc-cockpit-stage .jc-identity-line,
  .jc-cockpit-stage .jc-identity-line strong {
    font-size: 8px;
  }

  .jc-cockpit-stage .jc-identity-zone .jc-tags span {
    font-size: 9px;
  }

  .jc-cockpit-stage .jc-identity-readout span,
  .jc-cockpit-stage .jc-identity-readout small {
    font-size: 7px;
  }

  .jc-cockpit-stage .jc-universe-zone .jc-map-heading>span {
    font-size: 9px;
  }

  .jc-cockpit-stage .jc-universe-zone .jc-map-heading p {
    font-size: 11px;
  }

  .jc-cockpit-stage .jc-universe-zone .jc-node-index {
    font-size: 9px;
  }

  .jc-cockpit-stage .jc-universe-zone .jc-site-node strong {
    font-size: 17px;
  }

  .jc-cockpit-stage .jc-universe-zone .jc-site-node small {
    font-size: 10.5px;
    line-height: 1.65;
  }

  .jc-cockpit-stage .jc-maintenance small {
    font-size: 7px;
  }

  .jc-cockpit-stage .jc-maintenance strong {
    font-size: 9px;
  }

  .jc-cockpit-stage .jc-maintenance time {
    font-size: 8px;
  }

  .jc-cockpit-stage .jc-holo-pin {
    font-size: 7px;
  }

  .jc-cockpit-stage .jc-sound-module header small {
    font-size: 7px;
  }

  .jc-cockpit-stage .jc-sound-module header strong {
    font-size: 13px;
  }

  .jc-cockpit-stage #jc-playlist-card small {
    font-size: 7px;
  }

  .jc-cockpit-stage #jc-playlist-card strong {
    font-size: 11px;
  }

  .jc-cockpit-stage #jc-playlist-card em {
    font-size: 9px;
  }

  .jc-cockpit-stage .jc-playlist-readout {
    font-size: 7px;
  }

  .jc-cockpit-stage .jc-sound-module>p {
    font-size: 9px;
    line-height: 1.75;
  }

  .jc-cockpit-stage .jc-support-module small {
    font-size: 7px;
  }

  .jc-cockpit-stage .jc-support-module strong {
    font-size: 10px;
    line-height: 1.45;
  }

  .jc-cockpit-stage .jc-support-module>i {
    font-size: 7px;
  }

  .jc-cockpit-stage .jc-mission-module>header span,
  .jc-cockpit-stage .jc-mission-module>header>i,
  .jc-cockpit-stage .jc-mission-meta {
    font-size: 7px;
  }

  .jc-cockpit-stage .jc-mission-card strong {
    font-size: 11px;
  }

  .jc-cockpit-stage .jc-mission-card p {
    font-size: 9px;
    line-height: 1.58;
  }

  .jc-cockpit-stage .jc-mission-card>span:last-child {
    font-size: 8px;
  }

  .jc-cockpit-stage .jc-journey-log summary small {
    font-size: 8px;
  }

  .jc-cockpit-stage .jc-journey-log summary strong {
    font-size: 10px;
  }

  .jc-cockpit-stage .jc-journey-log summary i {
    font-size: 8px;
  }

  .jc-cockpit-stage .jc-journey-item time {
    font-size: 8px;
  }

  .jc-cockpit-stage .jc-journey-item strong {
    font-size: 10px;
    line-height: 1.45;
  }

  .jc-cockpit-stage .jc-journey-item p {
    font-size: 9px;
    line-height: 1.65;
  }

  .jc-cockpit-stage .jc-journey-log footer {
    font-size: 9px;
  }

  .jc-cockpit-stage .jc-holo-quote p {
    font-size: 12px;
  }

  .jc-panel-close small,
  .jc-depth-hint,
  .jc-screen-footer {
    font-size: 7px;
  }
}

@media (max-width: 820px) {

  .jc-cockpit-stage .jc-holo-card.jc-is-expanded,
  .jc-cockpit-stage .jc-channels-zone .jc-journey-log.jc-is-expanded,
  .jc-cockpit-stage .jc-channels-zone .jc-journey-log.jc-is-expanded[open] {
    width: calc(100vw - 28px);
  }
}

/* Interaction repair: decorative 3D planes must not steal real controls */
.jc-cockpit-stage .jc-camera-rig,
.jc-cockpit-stage .jc-spatial-zone {
  pointer-events: none;
}

.jc-cockpit-stage .jc-identity-zone a,
.jc-cockpit-stage .jc-identity-zone button,
.jc-cockpit-stage .jc-universe-zone a,
.jc-cockpit-stage .jc-universe-zone button,
.jc-cockpit-stage .jc-channels-zone .jc-holo-card,
.jc-cockpit-stage .jc-channels-zone .jc-holo-card a,
.jc-cockpit-stage .jc-channels-zone .jc-holo-card button,
.jc-cockpit-stage .jc-channels-zone .jc-holo-card summary {
  pointer-events: auto;
}

.jc-cockpit-stage .jc-holo-card {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background:
    linear-gradient(115deg, rgba(80, 150, 220, .07), transparent 35%),
    rgba(6, 20, 44, .86);
}

.jc-cockpit-stage .jc-holo-card,
.jc-cockpit-stage .jc-holo-quote {
  filter: none;
}

.jc-screen-shell {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background:
    linear-gradient(rgba(129, 169, 226, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 169, 226, .018) 1px, transparent 1px),
    linear-gradient(145deg, rgba(5, 15, 35, .94), rgba(3, 10, 25, .9));
}

.jc-cockpit-stage .jc-depth-grid {
  transition: none;
}

.jc-cockpit-stage .jc-spatial-zone {
  transition: filter .28s ease, opacity .28s ease;
}

.jc-cockpit-stage .jc-holo-card,
.jc-cockpit-stage .jc-holo-quote {
  transition-property: opacity, filter, border-color, background, width;
}

.jc-star {
  animation: none;
}

.jc-star:nth-child(5n) {
  animation: jc-twinkle var(--duration) ease-in-out var(--delay) infinite;
}

.jc-cockpit-stage.jc-is-pointer-locked .jc-holo-card,
.jc-cockpit-stage.jc-is-pointer-locked .jc-holo-quote,
.jc-cockpit-stage.jc-is-pointer-locked .jc-identity-zone,
.jc-cockpit-stage.jc-is-pointer-locked .jc-universe-zone {
  transition-duration: .16s;
}

/* Scalable journey timeline */
.jc-cockpit-stage .jc-journey-log.jc-is-expanded .jc-journey-list {
  position: relative;
  display: block;
  max-height: min(52vh, 470px);
  margin-top: 12px;
  padding: 8px 12px 10px 7px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(143, 186, 245, .32) transparent;
}

.jc-cockpit-stage .jc-journey-log.jc-is-expanded .jc-journey-item {
  position: relative;
  min-width: 0;
  padding: 11px 10px 11px 0;
  display: grid;
  grid-template-columns: 68px 28px minmax(0, 1fr);
  align-items: start;
  border: 0;
  background: transparent;
}

.jc-cockpit-stage .jc-journey-log.jc-is-expanded .jc-journey-item+.jc-journey-item {
  border-top: 1px solid rgba(166, 202, 251, .065);
}

.jc-cockpit-stage .jc-journey-log.jc-is-expanded .jc-journey-item time {
  padding-top: 5px;
  color: var(--accent);
  text-align: right;
  letter-spacing: .08em;
}

.jc-journey-point {
  position: relative;
  min-height: 42px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.jc-journey-point::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -11px;
  bottom: -11px;
  width: 1px;
  background: rgba(146, 190, 249, .28);
  box-shadow: 0 0 10px rgba(106, 169, 255, .1);
  transform: translateX(-50%);
}

.jc-journey-item:first-child .jc-journey-point::before {
  top: 7px;
  background: linear-gradient(transparent, rgba(146, 190, 249, .28) 22%);
}

.jc-journey-item:last-child .jc-journey-point::before {
  bottom: calc(100% - 11px);
}

.jc-journey-point i {
  position: relative;
  z-index: 2;
  width: 7px;
  height: 7px;
  display: block;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: #08142d;
  box-shadow: 0 0 9px color-mix(in srgb, var(--accent), transparent 38%);
}

.jc-cockpit-stage .jc-journey-log.jc-is-expanded .jc-journey-item>div {
  min-width: 0;
  padding: 0 13px 0 10px;
}

.jc-cockpit-stage .jc-journey-log.jc-is-expanded .jc-journey-item strong {
  margin: 0;
  color: #e8f1ff;
  font-size: 12px;
  font-weight: 520;
}

.jc-cockpit-stage .jc-journey-log.jc-is-expanded .jc-journey-item p {
  max-width: 580px;
  margin: 5px 0 0;
  color: #91a3bf;
  font-size: 10px;
  line-height: 1.7;
}

@media (max-width: 520px) {
  .jc-cockpit-stage .jc-journey-log.jc-is-expanded .jc-journey-item {
    grid-template-columns: 48px 24px minmax(0, 1fr);
  }

  .jc-cockpit-stage .jc-journey-log.jc-is-expanded .jc-journey-item>div {
    padding-right: 3px;
  }
}

/* =====================================================================
   博客内容页扩展样式（文章列表 / 文章详情 / 评论 / 404）
   ===================================================================== */

/* —— 滚动容器 —— */
.jc-log-page {
  position: relative;
  height: calc(100% - 88px);
  min-height: 0;
  padding: 34px clamp(18px, 4vw, 52px) 46px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(159, 190, 239, .3) transparent;
}

.jc-log-page::-webkit-scrollbar {
  width: 6px;
}

.jc-log-page::-webkit-scrollbar-thumb {
  background: rgba(159, 190, 239, .22);
}

.jc-log-page-head {
  margin-bottom: 26px;
}

.jc-log-page-head h1 {
  margin: 8px 0 5px;
  font: 400 clamp(24px, 3vw, 34px) Georgia, "Noto Serif SC", serif;
  letter-spacing: .02em;
  color: var(--ink);
}

.jc-log-page-head p {
  margin: 0;
  color: #8594ad;
  font-size: 11px;
}

/* —— 文章列表卡片 —— */
.jc-log-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.jc-log-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(175, 205, 255, .15);
  background: linear-gradient(145deg, rgba(11, 26, 55, .72), rgba(4, 13, 31, .6));
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.jc-log-card:hover {
  transform: translateY(-4px);
  border-color: rgba(175, 205, 255, .32);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}

.jc-log-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-bottom: 1px solid rgba(175, 205, 255, .12);
  background: rgba(20, 38, 74, .35);
}

.jc-log-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.jc-log-card:hover .jc-log-cover img {
  transform: scale(1.05);
}

.jc-log-topflg {
  position: absolute;
  z-index: 2;
  left: 10px;
  top: 10px;
  padding: 4px 8px;
  color: #0a1224;
  background: var(--gold);
  font: 7px ui-monospace, monospace;
  letter-spacing: .14em;
}

.jc-log-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px 16px 13px;
}

.jc-log-sort {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 3px 8px;
  border: 1px solid rgba(139, 185, 255, .3);
  color: #a9c7f5;
  font: 7px ui-monospace, monospace;
  letter-spacing: .1em;
}

.jc-log-title {
  margin: 0 0 8px;
  font: 500 17px "Noto Serif SC", Georgia, serif;
  line-height: 1.45;
}

.jc-log-title a {
  color: #edf3ff;
  transition: color .25s ease;
}

.jc-log-title a:hover {
  color: #b9d2ff;
}

.jc-log-excerpt {
  margin: 0 0 12px;
  color: #8b9ab5;
  font-size: 11px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jc-log-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.jc-tag {
  padding: 3px 8px;
  border: 1px solid rgba(175, 205, 255, .16);
  color: #7f93b4;
  font-size: 9px;
  transition: .2s ease;
}

.jc-tag:hover {
  color: #d9e7ff;
  border-color: rgba(175, 205, 255, .4);
}

.jc-log-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(175, 205, 255, .14);
  color: #5f7090;
  font: 7px ui-monospace, monospace;
}

.jc-log-meta a,
.jc-log-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
}

.jc-log-meta a:hover {
  color: #cfe0ff;
}

.jc-log-author,
.jc-log-views,
.jc-log-comments {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.jc-log-empty {
  padding: 60px 0;
  text-align: center;
  color: #7c8cab;
  font-size: 12px;
}

/* —— 分页 —— */
.jc-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}

.jc-pagination a,
.jc-pagination span {
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(175, 205, 255, .16);
  color: #92a3bf;
  font-size: 11px;
  transition: .2s ease;
}

.jc-pagination a:hover {
  color: #e8f0ff;
  border-color: rgba(175, 205, 255, .42);
}

.jc-pagination .current {
  color: #0b1428;
  background: var(--gold);
  border-color: var(--gold);
}

/* —— 文章详情 —— */
.jc-article-page {
  max-width: 860px;
  margin: 0 auto;
}

.jc-article-head {
  margin-bottom: 24px;
}

.jc-article-head h1.jc-article-title {
  margin: 9px 0 12px;
  font: 400 clamp(24px, 3.2vw, 38px) Georgia, "Noto Serif SC", serif;
  line-height: 1.3;
}

.jc-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #5f7090;
  font: 8px ui-monospace, monospace;
}

.jc-article-meta a {
  color: inherit;
}

.jc-article-meta a:hover {
  color: #cfe0ff;
}

.jc-article-cover {
  margin: 0 0 26px;
}

.jc-article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid rgba(175, 205, 255, .18);
}

/* —— 正文富文本 —— */
.jc-article-content {
  color: #c2cede;
  font-size: 14px;
  line-height: 1.9;
}

.jc-article-content h2,
.jc-article-content h3,
.jc-article-content h4 {
  margin: 1.7em 0 .7em;
  color: #edf3ff;
  font-family: "Noto Serif SC", Georgia, serif;
  font-weight: 500;
  line-height: 1.4;
}

.jc-article-content h2 {
  font-size: 22px;
}

.jc-article-content h3 {
  font-size: 18px;
}

.jc-article-content h4 {
  font-size: 15px;
}

.jc-article-content p {
  margin: 0 0 1.2em;
}

.jc-article-content a {
  color: #a9c7ff;
  border-bottom: 1px solid rgba(169, 199, 255, .35);
  transition: .2s ease;
}

.jc-article-content a:hover {
  color: #dcebff;
  border-color: #a9c7ff;
}

.jc-article-content strong {
  color: #f0f5ff;
  font-weight: 600;
}

.jc-article-content blockquote {
  margin: 1.4em 0;
  padding: 12px 18px;
  border-left: 2px solid var(--gold);
  color: #aeb9ce;
  background: rgba(178, 205, 255, .06);
  font-size: 13px;
}

.jc-article-content code {
  padding: 2px 6px;
  border: 1px solid rgba(175, 205, 255, .16);
  color: #e0d5ff;
  background: rgba(20, 35, 70, .6);
  font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.jc-article-content pre {
  margin: 1.4em 0;
  padding: 16px 18px;
  overflow-x: auto;
  border: 1px solid rgba(175, 205, 255, .14);
  color: #c8d4ea;
  background: rgba(3, 10, 24, .8);
}

.jc-article-content pre code {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
}

.jc-article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.2em auto;
  border: 1px solid rgba(175, 205, 255, .16);
}

.jc-article-content table {
  width: 100%;
  margin: 1.4em 0;
  border-collapse: collapse;
  font-size: 13px;
}

.jc-article-content th,
.jc-article-content td {
  padding: 9px 12px;
  border: 1px solid rgba(175, 205, 255, .16);
  text-align: left;
}

.jc-article-content th {
  color: #edf3ff;
  background: rgba(178, 205, 255, .08);
  font-weight: 500;
}

.jc-article-content ul,
.jc-article-content ol {
  margin: 0 0 1.2em;
  padding-left: 1.5em;
}

.jc-article-content li {
  margin: .35em 0;
}

.jc-article-content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid rgba(175, 205, 255, .18);
}

.jc-article-content iframe {
  max-width: 100%;
}

/* —— 文章标签 / 邻近文章 —— */
.jc-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(175, 205, 255, .14);
}

.jc-article-tags .jc-tag {
  font-size: 10px;
  padding: 4px 10px;
}

.jc-edit-link {
  margin-left: 8px;
  color: #7f93b4;
  font-size: 10px;
}

.jc-edit-link:hover {
  color: #cfe0ff;
}

.jc-neighbor-log {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: 11px;
  color: #7f93b4;
}

.jc-neighbor-log .jc-neighbor-link {
  flex: 1 1 45%;
  min-width: 220px;
  padding: 12px 14px;
  border: 1px solid rgba(175, 205, 255, .14);
  transition: .2s ease;
}

.jc-neighbor-log .jc-neighbor-link:hover {
  border-color: rgba(175, 205, 255, .36);
  color: #e8f0ff;
}

.jc-neighbor-log .jc-neighbor-link small {
  display: block;
  color: #64758f;
  font: 7px ui-monospace, monospace;
  margin-bottom: 4px;
}

/* —— 评论 —— */
.jc-comment-title {
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(175, 205, 255, .16);
  font: 400 19px Georgia, "Noto Serif SC", serif;
  color: var(--ink);
}

.jc-comment-post {
  margin-bottom: 30px;
  padding: 18px;
  border: 1px solid rgba(175, 205, 255, .15);
  background: linear-gradient(145deg, rgba(11, 26, 55, .5), rgba(4, 13, 31, .45));
}

.jc-comment-post h3 {
  margin: 0 0 14px;
  font: 400 15px Georgia, "Noto Serif SC", serif;
  color: #dce6f5;
}

.jc-comment-post form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.jc-comment-info {
  position: relative;
}

.jc-comment-info input,
.jc-comment-post textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(175, 205, 255, .18);
  color: #dbe6f8;
  background: rgba(7, 18, 40, .68);
  font: 13px inherit;
  outline: none;
  transition: border-color .2s ease;
}

.jc-comment-post textarea {
  grid-column: 1 / -1;
  min-height: 110px;
  resize: vertical;
}

.jc-comment-info input:focus,
.jc-comment-post textarea:focus {
  border-color: rgba(175, 205, 255, .42);
}

.jc-comment-captcha {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.jc-comment-captcha input {
  width: 120px;
}

.jc-comment-captcha img {
  height: 34px;
  cursor: pointer;
  border: 1px solid rgba(175, 205, 255, .18);
}

.jc-comment-submit {
  grid-column: 1 / -1;
  justify-self: end;
  padding: 9px 22px;
  border: 1px solid rgba(178, 147, 255, .45);
  color: #f1eaff;
  background: rgba(178, 147, 255, .14);
  font-size: 12px;
  cursor: pointer;
  transition: .25s ease;
}

.jc-comment-submit:hover {
  background: rgba(178, 147, 255, .3);
}

.jc-comment-header {
  margin-bottom: 12px;
  color: #c8d4ea;
  font-size: 12px;
}

.jc-comment-header b {
  font-weight: 600;
}

.jc-comment-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jc-comment {
  display: flex;
  gap: 13px;
  margin-bottom: 15px;
}

.jc-comment-avatar {
  flex: none;
  width: 38px;
  height: 38px;
}

.jc-comment-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(175, 205, 255, .25);
}

.jc-comment-body {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(175, 205, 255, .12);
  background: rgba(7, 18, 39, .4);
}

.jc-comment-body>b {
  color: #dce6f5;
  font-size: 12px;
  font-weight: 600;
}

.jc-comment-body>b a {
  color: inherit;
}

.jc-comment-body>b a:hover {
  color: #cfe0ff;
}

.jc-comment-time {
  margin-left: 10px;
  color: #64758f;
  font: 7px ui-monospace, monospace;
}

.jc-comment-content {
  margin-top: 8px;
  color: #b9c5d8;
  font-size: 13px;
  line-height: 1.8;
}

.jc-comment-content p {
  margin: 0 0 .6em;
}

.jc-comment-reply {
  margin-top: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(175, 205, 255, .16);
  color: #8fa0bc;
  font-size: 10px;
  background: none;
  cursor: pointer;
  transition: .2s ease;
}

.jc-comment-reply:hover {
  color: #e8f0ff;
  border-color: rgba(175, 205, 255, .4);
}

.jc-comment-reply.jc-is-active-reply {
  color: #f1eaff;
  border-color: rgba(178, 147, 255, .5);
  background: rgba(178, 147, 255, .15);
}

.jc-comment-children {
  margin: 12px 0 0 52px;
  padding-left: 16px;
  border-left: 1px dashed rgba(175, 205, 255, .18);
}

.jc-comment-pagenavi {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 22px 0;
}

.jc-comment-pagenavi a {
  padding: 5px 10px;
  border: 1px solid rgba(175, 205, 255, .16);
  color: #92a3bf;
  font-size: 10px;
}

.jc-comment-pagenavi a:hover {
  color: #e8f0ff;
  border-color: rgba(175, 205, 255, .42);
}

/* —— 404 —— */
.jc-404-page {
  text-align: center;
  padding-top: 60px;
}

.jc-404-page h1 {
  margin: 10px 0 8px;
  font: 400 clamp(64px, 10vw, 110px) Georgia, serif;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(239, 216, 137, .35);
}

.jc-404-page p {
  color: #8594ad;
  font-size: 12px;
}

.jc-404-link {
  display: inline-block;
  margin-top: 24px;
  padding: 9px 20px;
  border: 1px solid rgba(175, 205, 255, .3);
  color: #cfe0ff;
  font-size: 11px;
  transition: .25s ease;
}

.jc-404-link:hover {
  background: rgba(124, 163, 229, .1);
  border-color: rgba(175, 205, 255, .55);
}

.jc-pw-page {
    max-width: 860px;
    margin: 100px auto;
}

.jc-pw-card {
  width: min(420px, calc(100% - 32px));
  padding: 34px 30px 28px;
  border: 1px solid var(--jc-line);
  background: linear-gradient(145deg, rgba(5, 15, 35, .78), rgba(3, 10, 25, .65));
  box-shadow: 0 25px 90px rgba(0, 0, 0, .35);
}

.jc-pw-card h1 {
  margin: 0 0 6px;
  font: 400 22px Georgia, "Noto Serif SC", serif;
  letter-spacing: .03em;
}

.jc-pw-card p {
  margin: 0 0 22px;
  color: var(--jc-muted);
  font-size: 12px;
}

.jc-pw-card form {
  display: flex;
  gap: 10px;
}

.jc-pw-card input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--jc-line);
  color: var(--jc-ink);
  background: rgba(7, 18, 40, .68);
  font-size: 13px;
  outline: none;
}

.jc-pw-card input:focus {
  border-color: rgba(190, 218, 255, .38);
}

.jc-pw-card button {
  padding: 10px 18px;
  border: 1px solid rgba(178, 147, 255, .45);
  color: #f1eaff;
  background: rgba(178, 147, 255, .14);
  font-size: 13px;
  cursor: pointer;
  transition: .25s ease;
}

.jc-pw-card button:hover {
  background: rgba(178, 147, 255, .3);
}

.jc-pw-card a {
  display: inline-block;
  margin-top: 18px;
  color: #8aa5ca;
  font-size: 12px;
  text-decoration: none;
}

.jc-pw-card a:hover {
  color: #cfe2ff;
}


/* —— 响应式 —— */
@media (max-width: 1180px) {
  .jc-log-page {
    height: auto;
    min-height: calc(100dvh - 112px);
  }

  .jc-log-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .jc-log-page {
    padding: 24px 16px 40px;
  }

  .jc-log-list {
    grid-template-columns: 1fr;
  }

  .jc-comment-post form {
    grid-template-columns: 1fr;
  }

  .jc-comment-post textarea,
  .jc-comment-captcha,
  .jc-comment-submit {
    grid-column: auto;
  }

  .jc-comment-children {
    margin-left: 0;
  }
}