/* Calm, readable presentation layer for every AR scheme. */
#arSchemeRoot {
  background:
    linear-gradient(180deg, rgba(4, 8, 16, 0.72), rgba(4, 8, 16, 0.9)),
    radial-gradient(circle at 50% 15%, rgba(0, 212, 255, 0.12), transparent 46%) !important;
}

#arSchemeRoot::before {
  opacity: 0.45;
  animation: none !important;
  background-size: 56px 56px !important;
}

#killChainScrollContainer {
  padding: 92px 18px 130px !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.45) transparent;
}

#killChainNodes {
  width: min(100%, 460px);
  margin-inline: auto;
}

.ar-stage-item {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(100%, 420px) !important;
  min-height: 68px;
  padding: 8px 14px 8px 8px !important;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  background: rgba(12, 19, 32, 0.86);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.ar-killchain-node {
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  border-width: 2px !important;
  background: linear-gradient(145deg, rgba(20, 31, 49, 0.98), rgba(8, 14, 25, 0.98)) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 0 18px rgba(0, 212, 255, 0.16) !important;
  filter: none !important;
  animation: none !important;
}

.ar-killchain-node::after { display: none !important; }
.ar-killchain-node:hover { transform: translateY(-1px) scale(1.04) !important; filter: none !important; }
.ar-killchain-node > div:first-child { font-size: 18px !important; text-shadow: none !important; }

.ar-stage-name {
  color: #f4f7fb !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  letter-spacing: 0.01em;
}

.ar-chain-link.vertical {
  width: 2px !important;
  height: 18px !important;
  margin: -4px 0 !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: linear-gradient(#00d4ff, #7c3aed) !important;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.28) !important;
}

#arSchemeRoot button[id^="arNode"]:not(.ar-killchain-node) {
  min-height: 56px !important;
  border-radius: 14px !important;
  background: rgba(12, 19, 32, 0.9) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24) !important;
}

#arStageHint {
  padding: 8px 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px !important;
  background: rgba(6, 11, 20, 0.82) !important;
  color: rgba(226, 232, 240, 0.82) !important;
  backdrop-filter: blur(14px);
}

@media (min-width: 1024px) {
  .ar-stage-item { grid-template-columns: 64px minmax(0, 1fr); min-height: 76px; }
  .ar-killchain-node { width: 58px !important; height: 58px !important; }
  .ar-stage-name { font-size: 14px !important; }
}

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