:root {
  color-scheme: dark;
  --bg: #030812;
  --bg-soft: #07111f;
  --panel: rgba(8, 21, 37, 0.82);
  --panel-solid: #091728;
  --line: rgba(126, 204, 255, 0.14);
  --line-bright: rgba(86, 210, 255, 0.38);
  --text: #f3f8ff;
  --muted: #8496ab;
  --blue: #259dff;
  --cyan: #4be7ff;
  --green: #53f6a5;
  --amber: #ffc857;
  --red: #ff647c;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 12% 12%, rgba(23, 104, 255, 0.13), transparent 30rem),
    radial-gradient(circle at 85% 35%, rgba(55, 225, 255, 0.08), transparent 26rem),
    var(--bg);
}

button,
a {
  font: inherit;
}

::selection {
  color: #02101c;
  background: var(--cyan);
}

.page-noise {
  position: fixed;
  z-index: 50;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.topbar,
.status-shell,
.page-footer {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.view-panel {
  display: none;
  width: 100%;
  flex: 1;
}

.view-panel.is-active {
  display: flex;
  animation: viewEnter 560ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.side-navigation {
  position: fixed;
  z-index: 30;
  top: 50%;
  left: 24px;
  display: grid;
  width: 176px;
  gap: 8px;
  padding-left: 18px;
  transform: translateY(-50%);
}

.navigation-track {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 2px;
  width: 1px;
  background: rgba(126, 204, 255, 0.14);
}

.navigation-thumb {
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 50%;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(75, 231, 255, 0.65);
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1), background 200ms ease;
}

body[data-view="datacenters"] .navigation-thumb {
  transform: translateY(100%);
}

.navigation-item {
  position: relative;
  display: grid;
  min-height: 64px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #60758b;
  background: transparent;
  cursor: pointer;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  text-align: left;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.navigation-item:hover {
  color: #b8cadb;
  transform: translateX(3px);
}

.navigation-item.is-active {
  border-color: rgba(75, 231, 255, 0.2);
  color: var(--text);
  background: linear-gradient(90deg, rgba(18, 74, 108, 0.28), rgba(5, 16, 29, 0.3));
}

.navigation-item:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 3px;
}

.navigation-index {
  position: absolute;
  top: 7px;
  right: 8px;
  color: rgba(99, 129, 156, 0.5);
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
}

.navigation-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(126, 204, 255, 0.12);
  border-radius: 3px;
  background: rgba(5, 16, 29, 0.58);
}

.navigation-icon svg {
  width: 18px;
  height: 18px;
}

.navigation-item.is-active .navigation-icon {
  color: var(--cyan);
  border-color: rgba(75, 231, 255, 0.3);
  box-shadow: inset 0 0 16px rgba(75, 231, 255, 0.06), 0 0 16px rgba(75, 231, 255, 0.06);
}

.navigation-label {
  overflow: hidden;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.topbar {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-symbol {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--cyan);
  filter: drop-shadow(0 0 14px rgba(75, 231, 255, 0.35));
}

.brand-symbol svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-name span {
  color: var(--blue);
}

.topbar-status {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #8da2b8;
  background: rgba(5, 14, 26, 0.64);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.topbar-pulse,
.status-dot,
.footer-mark {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(75, 231, 255, 0.07), 0 0 14px var(--cyan);
}

.status-page {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  flex-direction: column;
  isolation: isolate;
}

.status-page::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 8, 18, 0.98) 0%, rgba(3, 8, 18, 0.78) 45%, rgba(2, 13, 28, 0.45) 100%),
    radial-gradient(ellipse at 78% 46%, rgba(22, 131, 255, 0.18), transparent 42%);
}

.status-page::after {
  position: absolute;
  z-index: -2;
  right: -15%;
  bottom: -35%;
  width: 80%;
  height: 78%;
  content: "";
  border-radius: 50%;
  background: rgba(14, 117, 255, 0.09);
  filter: blur(80px);
}

.hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(71, 151, 218, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 151, 218, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
  transform: perspective(700px) rotateX(62deg) scale(1.5) translateY(30%);
  transform-origin: 50% 100%;
  animation: gridDrift 18s linear infinite;
}

.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-one {
  top: 18%;
  right: 12%;
  width: 360px;
  height: 360px;
  background: rgba(0, 145, 255, 0.13);
}

.hero-glow-two {
  right: 38%;
  bottom: 8%;
  width: 180px;
  height: 180px;
  background: rgba(72, 229, 255, 0.1);
}

.coordinate {
  position: absolute;
  z-index: 0;
  top: 50%;
  color: rgba(116, 153, 184, 0.42);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.coordinate-left {
  display: none;
}

.coordinate-right {
  right: 18px;
  transform: translateY(-50%);
}

.status-shell {
  display: grid;
  flex: 1;
  padding: 142px 0 94px;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr);
  align-items: center;
  gap: clamp(44px, 5vw, 78px);
}

@media (min-width: 981px) {
  .status-shell {
    width: min(1240px, calc(100% - 260px));
    margin-right: auto;
    margin-left: max(210px, calc((100% - 1240px) / 2));
  }
}

.status-copy {
  position: relative;
  z-index: 3;
}

.system-label,
.eyebrow,
.panel-kicker,
.panel-index,
.node-kicker,
.signal-card,
.page-footer {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 9px 12px;
  border: 1px solid rgba(75, 231, 255, 0.2);
  border-radius: 3px;
  color: #91aebd;
  background: rgba(9, 40, 57, 0.28);
  font-size: 10px;
  font-weight: 600;
}

.status-dot {
  flex: 0 0 auto;
  animation: statusPulse 2s ease-out infinite;
}

body[data-status="online"] .system-label {
  border-color: rgba(83, 246, 165, 0.2);
  color: #91b3a4;
  background: rgba(8, 43, 32, 0.28);
}

body[data-status="online"] .status-dot,
body[data-status="online"] .topbar-pulse,
body[data-status="online"] .footer-mark {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(83, 246, 165, 0.08), 0 0 14px var(--green);
}

body[data-status="warning"] .system-label {
  border-color: rgba(255, 200, 87, 0.24);
  color: #cdb47a;
  background: rgba(58, 42, 12, 0.3);
}

body[data-status="warning"] .status-dot,
body[data-status="warning"] .topbar-pulse,
body[data-status="warning"] .footer-mark {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 200, 87, 0.08), 0 0 14px var(--amber);
}

body[data-status="offline"] .system-label {
  border-color: rgba(255, 100, 124, 0.24);
  color: #c99aa4;
  background: rgba(63, 15, 27, 0.3);
}

body[data-status="offline"] .status-dot,
body[data-status="offline"] .topbar-pulse,
body[data-status="offline"] .footer-mark {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 100, 124, 0.08), 0 0 14px var(--red);
}

.eyebrow {
  margin: 0 0 15px;
  color: #5f7c98;
  font-size: 10px;
}

h1 {
  max-width: 650px;
  margin: 0;
  overflow-wrap: normal;
  color: transparent;
  background: linear-gradient(100deg, var(--cyan), var(--blue) 56%, #6e84ff);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 24px rgba(37, 157, 255, 0.12));
  font-size: clamp(54px, 5.3vw, 78px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.status-panel {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-line {
  display: grid;
  min-height: 63px;
  align-items: center;
  grid-template-columns: minmax(150px, 1fr) auto;
  gap: 24px;
}

.status-line + .status-line {
  border-top: 1px solid var(--line);
}

.status-line-label {
  color: #6f8197;
  font-size: 12px;
}

.status-line strong {
  color: #eaf4ff;
  font-size: 14px;
  font-weight: 600;
}

.mono-value,
.status-pill {
  font-family: "JetBrains Mono", monospace;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-pill::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.status-pill.status-online {
  color: var(--green);
}

.status-pill.status-warning {
  color: var(--amber);
}

.status-pill.status-offline {
  color: var(--red);
}

.status-pill.status-pending {
  color: var(--cyan);
}

.status-actions {
  display: grid;
  margin-top: 32px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.refresh-button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 51px 0 20px;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  color: #03101d;
  background: linear-gradient(110deg, #44ecff, #2e9fff);
  box-shadow: 0 12px 38px rgba(35, 164, 255, 0.22);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.refresh-button::after {
  position: absolute;
  top: 50%;
  right: 19px;
  width: 15px;
  height: 15px;
  content: "";
  transform: translateY(-50%);
  border: 1.8px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
}

.refresh-button::before {
  position: absolute;
  top: calc(50% - 8px);
  right: 18px;
  width: 5px;
  height: 5px;
  content: "";
  transform: rotate(12deg);
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.refresh-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 46px rgba(35, 164, 255, 0.34);
}

.refresh-button:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}

.refresh-button:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.refresh-button:disabled::after {
  animation: buttonSpin 0.8s linear infinite;
}

.hint {
  color: #74879d;
  font-size: 12px;
  line-height: 1.55;
}

.connection-card {
  position: relative;
  z-index: 2;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(12, 36, 61, 0.76), rgba(4, 14, 26, 0.86));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.connection-card::before {
  position: absolute;
  top: 0;
  left: -70%;
  width: 55%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: panelScan 5s ease-in-out infinite;
}

.panel-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 16, 29, 0.48);
}

.panel-kicker {
  display: block;
  margin-bottom: 7px;
  color: #56718b;
  font-size: 8px;
}

.panel-header strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
}

.panel-index {
  color: rgba(75, 231, 255, 0.2);
  font-size: 38px;
  font-weight: 700;
}

.network-stage {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background:
    linear-gradient(rgba(71, 151, 218, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 151, 218, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  perspective: 1000px;
}

.network-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 15, 26, 0.75), transparent 22% 78%, rgba(5, 15, 26, 0.75)),
    linear-gradient(0deg, rgba(5, 15, 26, 0.9), transparent 38%);
}

.stage-platform {
  position: absolute;
  z-index: 1;
  right: 4%;
  bottom: 8px;
  left: 4%;
  height: 155px;
  transform: perspective(450px) rotateX(64deg);
  border: 1px solid rgba(62, 183, 255, 0.2);
  border-radius: 50%;
  background:
    repeating-radial-gradient(ellipse at center, transparent 0 29px, rgba(58, 178, 255, 0.1) 30px 31px),
    radial-gradient(ellipse at center, rgba(28, 142, 255, 0.22), transparent 68%);
  box-shadow: 0 0 70px rgba(19, 128, 255, 0.12);
}

.stage-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(51, 182, 255, 0.16);
  border-radius: 50%;
}

.stage-orbit::after {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.stage-orbit-one {
  top: 30px;
  right: 2%;
  width: 420px;
  height: 420px;
  transform: rotateX(68deg) rotateZ(22deg);
  animation: orbitMove 14s linear infinite;
}

.stage-orbit-two {
  top: 112px;
  right: 19%;
  width: 270px;
  height: 270px;
  transform: rotateX(62deg) rotateZ(-18deg);
  animation: orbitMove 10s linear reverse infinite;
}

.scan-beam {
  position: absolute;
  z-index: 2;
  top: 48%;
  left: 10%;
  width: 80%;
  height: 1px;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, rgba(75, 231, 255, 0.75), transparent);
  box-shadow: 0 0 9px rgba(75, 231, 255, 0.5);
  animation: beamPulse 4s ease-in-out infinite;
}

.connection-status {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  padding: 60px 54px 56px;
  grid-template-columns: 126px minmax(80px, 1fr) 184px;
  align-items: center;
}

.endpoint {
  position: relative;
  color: var(--cyan);
}

.node-kicker {
  position: absolute;
  top: -30px;
  left: 50%;
  color: #63819c;
  font-size: 8px;
  transform: translateX(-50%);
}

.endpoint-cloud {
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  border: 1px solid rgba(86, 210, 255, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 167, 255, 0.14), rgba(4, 15, 28, 0.86) 70%);
  box-shadow: 0 0 40px rgba(49, 175, 255, 0.12);
}

.endpoint-cloud::before,
.endpoint-cloud::after {
  position: absolute;
  content: "";
  border: 1px dashed rgba(75, 231, 255, 0.16);
  border-radius: 50%;
}

.endpoint-cloud::before {
  inset: -13px;
  animation: spin 18s linear infinite;
}

.endpoint-cloud::after {
  inset: 14px;
}

.icon-cloud {
  width: 68px;
  height: 68px;
  filter: drop-shadow(0 0 15px rgba(75, 231, 255, 0.28));
}

.endpoint-server {
  width: 184px;
  height: 300px;
  transform-style: preserve-3d;
  animation: serverFloat 5s ease-in-out infinite;
}

.server-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(80, 189, 255, 0.42);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 12% 88%, rgba(255, 255, 255, 0.04)),
    linear-gradient(140deg, #0d263f, #06121f 44%, #0a1d30);
  box-shadow:
    inset 0 0 40px rgba(19, 124, 255, 0.12),
    inset -16px 0 34px rgba(0, 0, 0, 0.32),
    0 28px 70px rgba(0, 0, 0, 0.44),
    0 0 50px rgba(34, 154, 255, 0.1);
  clip-path: polygon(8% 0, 92% 0, 100% 4%, 100% 96%, 92% 100%, 8% 100%, 0 96%, 0 4%);
}

.server-face::before {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: -90%;
  width: 70%;
  content: "";
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(82, 224, 255, 0.12), transparent);
  animation: serverScan 5s ease-in-out infinite;
}

.server-face::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.5;
  background: repeating-linear-gradient(to bottom, transparent 0 9px, rgba(66, 160, 226, 0.04) 10px 11px);
}

.server-cap {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: 8%;
  left: 8%;
  height: 27px;
  transform: rotateX(65deg);
  border: 1px solid rgba(83, 211, 255, 0.42);
  background: #112e4d;
  box-shadow: 0 0 20px rgba(75, 231, 255, 0.18);
}

.server-emblem {
  position: relative;
  z-index: 3;
  display: grid;
  width: 86px;
  height: 86px;
  margin: 66px auto 0;
  place-items: center;
  border: 1px solid rgba(72, 208, 255, 0.3);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 167, 255, 0.16), transparent 70%);
  box-shadow: 0 0 34px rgba(49, 175, 255, 0.16);
}

.server-emblem::after {
  position: absolute;
  inset: -9px;
  content: "";
  border: 1px dashed rgba(75, 231, 255, 0.24);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.server-emblem svg {
  width: 52px;
}

.server-slots {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 24px;
  left: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.server-slots i {
  position: relative;
  display: block;
  height: 17px;
  border: 1px solid rgba(103, 183, 234, 0.19);
  background: rgba(1, 8, 15, 0.68);
}

.server-slots i::after {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 3px;
  height: 3px;
  content: "";
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: ledBlink 1.8s steps(2, end) infinite;
}

.server-slots i:nth-child(3n)::after {
  background: var(--green);
  animation-delay: 0.7s;
}

.connector {
  position: relative;
  z-index: 2;
  height: 30px;
  margin: 0 -2px;
}

.connector-line,
.traffic-flow {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  transform: translateY(-50%);
}

.connector-line {
  background: rgba(75, 231, 255, 0.25);
  box-shadow: 0 0 13px rgba(75, 231, 255, 0.15);
}

.traffic-flow {
  opacity: 0.45;
  background: repeating-linear-gradient(90deg, transparent 0 18px, var(--cyan) 18px 28px, transparent 28px 48px);
  background-size: 48px 100%;
  animation: trafficMove 1.3s linear infinite;
}

.connector-node {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid var(--cyan);
  background: #07111f;
  box-shadow: 0 0 10px rgba(75, 231, 255, 0.5);
}

.connector-node-one {
  left: 28%;
}

.connector-node-two {
  right: 28%;
}

.connector-cross {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.connector-cross::before,
.connector-cross::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 26px;
  content: "";
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 100, 124, 0.55);
}

.connector-cross::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.connector-cross::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.connection-active .connector-line {
  background: rgba(83, 246, 165, 0.38);
  box-shadow: 0 0 13px rgba(83, 246, 165, 0.22);
}

.connection-active .traffic-flow {
  opacity: 1;
  background-image: repeating-linear-gradient(90deg, transparent 0 18px, var(--green) 18px 28px, transparent 28px 48px);
}

.connection-active .endpoint {
  color: var(--green);
}

.connection-active .connector-node {
  border-color: var(--green);
  box-shadow: 0 0 10px rgba(83, 246, 165, 0.55);
}

.connection-failed .connector-line {
  background: rgba(255, 100, 124, 0.35);
}

.connection-failed .traffic-flow {
  opacity: 0;
  animation: none;
}

.connection-failed .connector-node {
  border-color: var(--red);
  box-shadow: 0 0 10px rgba(255, 100, 124, 0.5);
}

.connection-failed .connector-cross {
  opacity: 1;
}

.connection-failed .endpoint {
  color: var(--red);
}

.signal-card {
  position: absolute;
  z-index: 7;
  bottom: 30px;
  left: 28px;
  display: flex;
  min-height: 42px;
  align-items: flex-end;
  gap: 4px;
  padding: 10px 13px;
  border: 1px solid rgba(86, 210, 255, 0.24);
  border-radius: 4px;
  color: #66819c;
  background: rgba(4, 14, 26, 0.78);
  font-size: 7px;
}

.signal-card span {
  margin-right: 8px;
  align-self: center;
}

.signal-card i {
  display: block;
  width: 3px;
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(75, 231, 255, 0.4);
}

.signal-card i:nth-child(2) { height: 7px; }
.signal-card i:nth-child(3) { height: 12px; }
.signal-card i:nth-child(4) { height: 17px; }
.signal-card i:nth-child(5) { height: 22px; }

.connection-footer {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 13px;
  padding: 0 26px;
  border-top: 1px solid var(--line);
  background: rgba(5, 16, 29, 0.66);
}

.footer-mark {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
}

.connection-label {
  color: #8296aa;
  font-size: 12px;
}

.page-footer {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: rgba(104, 132, 158, 0.5);
  font-size: 7px;
}

.infrastructure-heading {
  font-size: clamp(42px, 4vw, 60px);
}

.infrastructure-card {
  overflow: hidden;
}

.cluster-stage {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(37, 157, 255, 0.2), transparent 18%),
    radial-gradient(ellipse at 50% 50%, transparent 34%, rgba(75, 231, 255, 0.055) 34.5%, transparent 35.2%),
    rgba(3, 12, 23, 0.38);
}

.cluster-stage::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(75, 231, 255, 0.035) 49.5%, transparent 63%);
  transform: translateX(-80%);
  animation: clusterSweep 7s ease-in-out infinite;
}

.cluster-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(71, 151, 218, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 151, 218, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  animation: clusterGrid 12s linear infinite;
}

.cluster-links,
.cluster-services {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cluster-links {
  overflow: visible;
}

.cluster-link {
  fill: none;
  stroke: rgba(75, 231, 255, 0.32);
  stroke-dasharray: 3 7;
  stroke-width: 1;
  animation: clusterLinkFlow 2.8s calc(var(--link-index) * -0.35s) linear infinite;
}

.cluster-link.is-up {
  stroke: rgba(83, 246, 165, 0.42);
}

.cluster-link.is-down {
  stroke: rgba(255, 100, 124, 0.68);
  animation-duration: 1.5s;
}

.cluster-link.is-unknown {
  stroke: rgba(132, 150, 171, 0.34);
}

.cluster-service-position {
  position: absolute;
  z-index: 4;
  top: var(--node-y);
  left: var(--node-x);
  transform: translate(-50%, -50%);
  animation: clusterNodeEnter 520ms calc(var(--node-index) * 80ms) cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.cluster-service-node {
  display: flex;
  min-width: 112px;
  max-width: 150px;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(75, 231, 255, 0.2);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(10, 32, 51, 0.94), rgba(3, 13, 24, 0.92));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 0 18px rgba(75, 231, 255, 0.035);
  animation: clusterNodeFloat var(--float-duration) var(--float-delay) ease-in-out infinite;
}

.cluster-service-node.is-up {
  border-color: rgba(83, 246, 165, 0.28);
}

.cluster-service-node.is-down {
  border-color: rgba(255, 100, 124, 0.44);
  box-shadow: 0 0 22px rgba(255, 100, 124, 0.09), inset 0 0 18px rgba(255, 100, 124, 0.045);
}

.cluster-service-marker {
  position: relative;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--muted);
  box-shadow: 0 0 9px currentColor;
}

.cluster-service-marker::after {
  position: absolute;
  inset: 2px;
  content: "";
  border-radius: inherit;
  background: currentColor;
}

.is-up .cluster-service-marker {
  color: var(--green);
}

.is-down .cluster-service-marker {
  color: var(--red);
  animation: statusPulse 1.4s ease-out infinite;
}

.cluster-service-copy {
  display: block;
  min-width: 0;
}

.cluster-service-copy strong,
.cluster-service-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cluster-service-copy strong {
  color: #dceeff;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.cluster-service-copy small {
  margin-top: 4px;
  color: #647f99;
  font-family: "JetBrains Mono", monospace;
  font-size: 6px;
  text-transform: uppercase;
}

.cluster-service-node.is-up small {
  color: rgba(83, 246, 165, 0.7);
}

.cluster-service-node.is-down small {
  color: rgba(255, 100, 124, 0.82);
}

.cluster-core {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  transform: translate(-50%, -50%);
  color: var(--cyan);
}

.cluster-core-icon {
  position: relative;
  z-index: 3;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(75, 231, 255, 0.4);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, rgba(75, 231, 255, 0.3), transparent 12%),
    radial-gradient(circle, rgba(37, 157, 255, 0.2), rgba(4, 14, 26, 0.96) 68%);
  box-shadow: 0 0 42px rgba(75, 231, 255, 0.22), inset 0 0 24px rgba(75, 231, 255, 0.08);
  animation: corePulse 2.8s ease-in-out infinite;
}

.cluster-core-icon::before {
  position: absolute;
  inset: 8px;
  content: "";
  border: 1px solid currentColor;
  border-radius: 42% 58% 63% 37% / 45% 39% 61% 55%;
  opacity: 0.65;
  animation: coreMorph 5.5s ease-in-out infinite alternate, spin 15s linear infinite;
}

.cluster-core-icon b {
  position: relative;
  z-index: 3;
  color: #c8f9ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
}

.core-shape {
  position: absolute;
  border: 1px solid currentColor;
  opacity: 0.42;
}

.core-shape-one {
  width: 27px;
  height: 27px;
  transform: rotate(45deg);
  animation: coreShapeOne 6s ease-in-out infinite;
}

.core-shape-two {
  width: 37px;
  height: 18px;
  border-radius: 50%;
  animation: coreShapeTwo 4.8s ease-in-out infinite;
}

.core-shape-three {
  width: 13px;
  height: 42px;
  border-radius: 50%;
  animation: coreShapeThree 5.8s ease-in-out infinite;
}

.cluster-ring {
  position: absolute;
  border: 1px solid rgba(75, 231, 255, 0.2);
  border-radius: 50%;
}

.cluster-ring::after {
  position: absolute;
  top: 50%;
  left: -3px;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.cluster-ring-one {
  inset: -10px;
  animation: spin 10s linear infinite;
}

.cluster-ring-two {
  inset: -24px;
  opacity: 0.6;
  animation: spin 16s linear reverse infinite;
}

.cluster-ring-three {
  inset: -40px;
  opacity: 0.3;
  animation: spin 22s linear infinite;
}

.cluster-caption {
  position: absolute;
  z-index: 6;
  right: 22px;
  bottom: 18px;
  display: grid;
  justify-items: end;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.cluster-caption span {
  color: #57728d;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.cluster-caption strong {
  margin-top: 4px;
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.service-list {
  display: grid;
  min-height: 284px;
  padding: 20px;
  background: rgba(3, 12, 23, 0.28);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#datacenter-server-list {
  grid-template-columns: 1fr;
}

.service-status-card {
  position: relative;
  display: grid;
  min-height: 76px;
  align-items: center;
  overflow: hidden;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(11, 33, 54, 0.72), rgba(4, 15, 27, 0.72));
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
}

.service-status-card.has-state-change {
  animation: statusCardChange 560ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.service-status-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  content: "";
  background: var(--muted);
  box-shadow: 0 0 12px currentColor;
}

.service-status-card.is-up::before {
  background: var(--green);
}

.service-status-card.is-down::before {
  background: var(--red);
}

.service-status-card.is-up {
  border-color: rgba(83, 246, 165, 0.16);
}

.service-status-card.is-down {
  border-color: rgba(255, 100, 124, 0.22);
}

.service-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(75, 231, 255, 0.18);
  border-radius: 3px;
  color: var(--cyan);
  background: rgba(37, 157, 255, 0.07);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
}

.service-copy {
  min-width: 0;
}

.service-copy strong,
.service-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-copy strong {
  font-size: 11px;
  font-weight: 600;
}

.service-copy span {
  margin-top: 5px;
  color: #5e758d;
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
}

.service-technical-name[hidden] {
  display: none;
}

.service-metrics {
  display: grid;
  justify-items: end;
  gap: 5px;
  font-family: "JetBrains Mono", monospace;
}

.service-latency {
  color: #9cb0c3;
  font-size: 9px;
}

.service-state {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.is-up .service-state {
  color: var(--green);
}

.is-down .service-state {
  color: var(--red);
}

.service-skeleton {
  grid-template-columns: 38px 1fr 42px;
}

.service-skeleton > span,
.service-skeleton > b,
.service-skeleton i {
  display: block;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(75, 231, 255, 0.05), rgba(75, 231, 255, 0.15), rgba(75, 231, 255, 0.05));
  background-size: 200% 100%;
  animation: skeletonFlow 1.2s linear infinite;
}

.service-skeleton > span {
  width: 38px;
  height: 38px;
}

.service-skeleton > div {
  display: grid;
  gap: 8px;
}

.service-skeleton i:first-child {
  width: 76%;
  height: 8px;
}

.service-skeleton i:last-child {
  width: 52%;
  height: 5px;
}

.service-skeleton > b {
  width: 38px;
  height: 8px;
}

.service-empty-state {
  display: grid;
  min-height: 110px;
  align-content: center;
  justify-items: center;
  border: 1px dashed rgba(255, 100, 124, 0.22);
  border-radius: 4px;
  color: #7890a7;
  background: rgba(44, 10, 20, 0.12);
  grid-column: 1 / -1;
  gap: 12px;
  text-align: center;
}

.service-empty-state span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 100, 124, 0.35);
  border-radius: 50%;
  color: var(--red);
  font-family: "JetBrains Mono", monospace;
  box-shadow: 0 0 18px rgba(255, 100, 124, 0.1);
}

.service-empty-state strong {
  max-width: 280px;
  font-size: 11px;
  font-weight: 500;
}

#infrastructure-view[data-infrastructure-status="degraded"] .cluster-core,
#infrastructure-view[data-infrastructure-status="degraded"] .cluster-caption strong,
#datacenters-view[data-datacenter-status="degraded"] .cluster-core,
#datacenters-view[data-datacenter-status="degraded"] .cluster-caption strong {
  color: var(--red);
}

#infrastructure-view[data-infrastructure-status="warning"] .cluster-core,
#infrastructure-view[data-infrastructure-status="warning"] .cluster-caption strong,
#datacenters-view[data-datacenter-status="warning"] .cluster-core,
#datacenters-view[data-datacenter-status="warning"] .cluster-caption strong {
  color: var(--amber);
}

#infrastructure-view[data-infrastructure-status="degraded"] .cluster-core-icon,
#datacenters-view[data-datacenter-status="degraded"] .cluster-core-icon {
  box-shadow: 0 0 42px rgba(255, 100, 124, 0.2), inset 0 0 24px rgba(255, 100, 124, 0.08);
}

#infrastructure-view[data-infrastructure-status="warning"] .cluster-core-icon,
#datacenters-view[data-datacenter-status="warning"] .cluster-core-icon {
  box-shadow: 0 0 42px rgba(255, 200, 87, 0.16), inset 0 0 24px rgba(255, 200, 87, 0.07);
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 64px, 64px 0; }
}

@keyframes viewEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes clusterGrid {
  to { background-position: 32px 32px, -32px 32px; }
}

@keyframes clusterSweep {
  0%, 18% { transform: translateX(-80%); opacity: 0; }
  45% { opacity: 1; }
  78%, 100% { transform: translateX(80%); opacity: 0; }
}

@keyframes clusterLinkFlow {
  to { stroke-dashoffset: -20; }
}

@keyframes clusterNodeEnter {
  from { opacity: 0; scale: 0.72; }
  to { opacity: 1; scale: 1; }
}

@keyframes clusterNodeFloat {
  0%, 100% { transform: translate3d(0, -3px, 0); }
  50% { transform: translate3d(0, 4px, 0); }
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.05); filter: brightness(1.2); }
}

@keyframes coreMorph {
  0% { border-radius: 42% 58% 63% 37% / 45% 39% 61% 55%; }
  100% { border-radius: 58% 42% 38% 62% / 61% 55% 45% 39%; }
}

@keyframes coreShapeOne {
  0%, 100% { transform: rotate(35deg) scale(0.9); }
  50% { transform: rotate(125deg) scale(1.12); }
}

@keyframes coreShapeTwo {
  0%, 100% { transform: rotate(-18deg) scaleX(0.9); }
  50% { transform: rotate(28deg) scaleX(1.12); }
}

@keyframes coreShapeThree {
  0%, 100% { transform: rotate(12deg) scaleY(0.88); }
  50% { transform: rotate(-38deg) scaleY(1.08); }
}

@keyframes statusCardChange {
  0%, 100% { filter: brightness(1); transform: none; }
  45% { filter: brightness(1.32); transform: translateX(2px); }
}

@keyframes skeletonFlow {
  to { background-position: -200% 0; }
}

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 currentColor; }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes panelScan {
  0%, 20% { left: -70%; }
  65%, 100% { left: 120%; }
}

@keyframes orbitMove {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

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

@keyframes beamPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

@keyframes serverFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes serverScan {
  0%, 20% { left: -90%; }
  65%, 100% { left: 130%; }
}

@keyframes ledBlink {
  0%, 35% { opacity: 1; }
  36%, 55% { opacity: 0.25; }
  56%, 100% { opacity: 1; }
}

@keyframes trafficMove {
  to { background-position: 48px 0; }
}

@keyframes buttonSpin {
  to { transform: translateY(-50%) rotate(360deg); }
}

@media (max-width: 1080px) {
  .status-shell {
    grid-template-columns: minmax(0, 1fr) minmax(470px, 1.08fr);
    gap: 42px;
  }

  .connection-status {
    padding-inline: 36px;
    grid-template-columns: 110px minmax(60px, 1fr) 160px;
  }

  .endpoint-cloud {
    width: 110px;
    height: 110px;
  }

  .endpoint-server {
    width: 160px;
    height: 280px;
  }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .side-navigation {
    width: 62px;
  }

  .navigation-item {
    grid-template-columns: 30px;
  }

  .navigation-label {
    display: none;
  }

  .status-shell {
    width: min(100% - 132px, 1040px);
    margin-left: 104px;
  }
}

@media (max-width: 980px) {
  .status-page {
    overflow: visible;
  }

  .side-navigation {
    position: absolute;
    top: 88px;
    right: 24px;
    left: 24px;
    display: grid;
    width: auto;
    padding: 0 0 4px;
    overflow-x: auto;
    transform: none;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    scrollbar-width: none;
  }

  .side-navigation::-webkit-scrollbar {
    display: none;
  }

  .navigation-track {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 1px;
  }

  .navigation-thumb {
    top: -2px;
    left: 0;
    width: 50%;
    height: 5px;
  }

  body[data-view="datacenters"] .navigation-thumb {
    transform: translateX(100%);
  }

  .navigation-item {
    min-height: 54px;
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .navigation-item:hover {
    transform: translateY(-2px);
  }

  .status-shell {
    display: block;
    flex: 0 0 auto;
    width: min(680px, calc(100% - 48px));
    padding: 180px 0 90px;
  }

  .status-copy {
    margin-bottom: 54px;
  }

  h1 {
    font-size: clamp(58px, 12vw, 82px);
  }

  .connection-card {
    backdrop-filter: none;
  }

  .network-stage {
    min-height: 440px;
  }

  .page-footer {
    position: relative;
    bottom: auto;
    margin-top: -44px;
    padding-bottom: 24px;
  }

  .coordinate {
    display: none;
  }

  .infrastructure-heading {
    font-size: clamp(42px, 9vw, 60px);
  }
}

@media (max-width: 620px) {
  .topbar,
  .status-shell,
  .page-footer {
    width: min(100% - 24px, 560px);
  }

  .topbar {
    min-height: 76px;
  }

  .brand-symbol {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 15px;
  }

  .topbar-status {
    min-height: 36px;
    padding: 0 11px;
    font-size: 7px;
  }

  .status-shell {
    padding-top: 172px;
  }

  .system-label {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 8px;
    line-height: 1.45;
  }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
    line-height: 0.96;
  }

  .infrastructure-heading {
    font-size: clamp(31px, 9.2vw, 42px);
  }

  .status-panel {
    margin-top: 36px;
  }

  .status-line {
    min-height: 58px;
    grid-template-columns: minmax(110px, 1fr) auto;
    gap: 12px;
  }

  .status-line-label,
  .hint {
    font-size: 11px;
  }

  .status-actions {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .refresh-button {
    width: 100%;
  }

  .panel-header {
    min-height: 70px;
    padding-inline: 18px;
  }

  .network-stage {
    min-height: 320px;
  }

  .connection-status {
    padding: 38px 20px 40px;
    grid-template-columns: 82px minmax(34px, 1fr) 105px;
  }

  .endpoint-cloud {
    width: 82px;
    height: 82px;
  }

  .icon-cloud {
    width: 48px;
    height: 48px;
  }

  .endpoint-server {
    width: 105px;
    height: 190px;
  }

  .server-emblem {
    width: 56px;
    height: 56px;
    margin-top: 45px;
  }

  .server-emblem::after {
    inset: -6px;
  }

  .server-emblem svg {
    width: 34px;
  }

  .server-slots {
    right: 14px;
    bottom: 17px;
    left: 14px;
    gap: 5px;
  }

  .server-slots i {
    height: 10px;
  }

  .server-slots i::after {
    right: 4px;
  }

  .stage-orbit-one {
    top: 10px;
    right: -20%;
    width: 300px;
    height: 300px;
  }

  .stage-orbit-two {
    top: 65px;
    right: 8%;
    width: 210px;
    height: 210px;
  }

  .signal-card {
    bottom: 16px;
    left: 14px;
    transform: scale(0.82);
    transform-origin: left bottom;
  }

  .connection-footer {
    min-height: 58px;
    padding-inline: 18px;
  }

  .service-list {
    min-height: 0;
    padding: 12px;
    grid-template-columns: 1fr;
  }

  .service-status-card {
    min-height: 72px;
  }

  .cluster-stage {
    min-height: 260px;
  }

  .cluster-service-node {
    min-width: 104px;
    max-width: 122px;
    padding-inline: 8px;
  }

  .cluster-service-copy strong {
    font-size: 7px;
  }

  .cluster-caption {
    display: none;
  }

  .page-footer {
    font-size: 6px;
  }
}

@media (max-width: 390px) {
  .brand-name {
    font-size: 13px;
  }

  .topbar-status {
    padding-inline: 9px;
    font-size: 6px;
  }

  .side-navigation {
    right: 12px;
    left: 12px;
    grid-template-columns: repeat(2, minmax(145px, 1fr));
  }

  .navigation-label {
    font-size: 7px;
  }

  .connection-status {
    padding-inline: 14px;
    grid-template-columns: 72px minmax(24px, 1fr) 94px;
  }

  .endpoint-cloud {
    width: 72px;
    height: 72px;
  }

  .endpoint-server {
    width: 94px;
    height: 180px;
  }
}

@media (max-width: 860px) and (pointer: coarse), (prefers-reduced-motion: reduce) {
  .page-noise {
    display: none;
  }

  .hero-grid,
  .status-dot,
  .stage-orbit,
  .server-face::before,
  .endpoint-server,
  .traffic-flow,
  .connection-card::before {
    animation: none;
  }

  .connection-card {
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
