/* Acki Nacki Radar — reference-driven public HUD skin.
   Pure presentation layer: backend, auth, API and data hooks remain unchanged. */

:root {
  --hud-black: #010304;
  --hud-black-2: #030708;
  --hud-panel: rgba(4, 10, 12, 0.965);
  --hud-panel-hi: rgba(7, 20, 23, 0.94);
  --hud-lime: #2ff8ff;
  --hud-lime-hot: #72fdff;
  --hud-lime-dim: #2ea3aa;
  --hud-line: rgba(50, 211, 221, 0.34);
  --hud-line-hot: rgba(47, 248, 255, 0.72);
  --hud-grid: rgba(66, 225, 235, 0.038);
  --hud-muted: #6f8488;
  --hud-orange: #ff9418;
  --hud-blue: #229de5;
}

html,
body {
  background: #010303;
}

body {
  padding: 8px 10px 28px;
  font-family: "Rajdhani", "Inter", sans-serif;
  background:
    radial-gradient(ellipse 62% 43% at 50% 32%, rgba(40, 205, 219, 0.065), transparent 72%),
    linear-gradient(#010304, #000202);
}

.bg-field {
  background:
    radial-gradient(ellipse 55% 42% at 50% 22%, rgba(50, 234, 248, 0.09), transparent 68%),
    radial-gradient(ellipse 44% 30% at 8% 58%, rgba(40, 165, 176, 0.035), transparent 70%),
    radial-gradient(ellipse 44% 30% at 92% 58%, rgba(40, 165, 176, 0.035), transparent 70%);
}

.bg-grid {
  opacity: 0.72;
  background-image:
    linear-gradient(var(--hud-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hud-grid) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(#000, rgba(0, 0, 0, 0.76) 72%, transparent);
  mask-image: linear-gradient(#000, rgba(0, 0, 0, 0.76) 72%, transparent);
}

.grain { opacity: 0.055; }

body > .shell {
  width: 100%;
  max-width: 1760px;
}

/* ========================= GLOBAL COMMAND BAR ========================= */

body > .shell > .topbar {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: clamp(68px, 4.9vw, 82px);
  margin: 0;
  padding: 5px clamp(18px, 3vw, 54px);
  border: 1px solid rgba(47, 205, 216, 0.31);
  border-radius: 0;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
  background:
    linear-gradient(90deg, rgba(48, 246, 255, 0.08), transparent 11%, transparent 89%, rgba(48, 246, 255, 0.06)),
    rgba(1, 4, 5, 0.95);
  box-shadow: inset 0 0 34px rgba(38, 192, 206, 0.025), 0 8px 34px rgba(0, 0, 0, 0.42);
}

body > .shell > .topbar::before,
body > .shell > .topbar::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 8px;
  pointer-events: none;
}

body > .shell > .topbar::before {
  left: 22px;
  top: 8px;
  border-left: 1px solid var(--hud-lime);
  border-top: 1px solid var(--hud-lime);
}

body > .shell > .topbar::after {
  right: 22px;
  bottom: 8px;
  border-right: 1px solid var(--hud-lime);
  border-bottom: 1px solid var(--hud-lime);
}

.topbar .brand {
  flex: 0 0 auto;
  gap: 14px;
}

.topbar .brand-mark {
  width: 60px;
  height: 60px;
  padding: 4px;
  border: 2px solid var(--hud-lime);
  border-radius: 50%;
  background: rgba(4, 13, 15, 0.98);
  box-shadow:
    0 0 0 4px rgba(47, 248, 255, 0.065),
    0 0 22px rgba(47, 248, 255, 0.16),
    inset 0 0 16px rgba(47, 248, 255, 0.08);
}

.topbar .brand-mark img {
  border-radius: 50%;
}

.topbar .brand-text {
  color: #eaf2f3;
  font: 700 clamp(20px, 1.75vw, 29px) "Rajdhani", sans-serif;
  letter-spacing: -0.02em;
}

.topbar .brand-text .accent { color: #eaf2f3; }

.topbar .hp-search {
  flex: 1 1 480px;
  max-width: 580px;
  min-height: 48px;
  margin: 0 clamp(12px, 2.5vw, 44px);
  gap: 0;
}

.topbar .hp-search::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  z-index: 2;
  width: 15px;
  height: 15px;
  border: 1px solid #7e8f92;
  border-radius: 50%;
  transform: translateY(-58%);
  pointer-events: none;
}

.topbar .hp-search::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 29px;
  z-index: 2;
  width: 7px;
  height: 1px;
  background: #7e8f92;
  transform: rotate(45deg);
  pointer-events: none;
}

.topbar .hp-search input {
  min-height: 48px;
  padding: 10px 48px;
  border-color: rgba(96, 129, 137, 0.42);
  border-radius: 6px 0 0 6px;
  background: rgba(2, 6, 7, 0.92);
  color: #e9f1f2;
  font: 500 15px "Rajdhani", sans-serif;
  letter-spacing: 0.015em;
}

.topbar .hp-search input::placeholder { color: #727f81; }

.topbar .hp-search button {
  min-width: 74px;
  padding: 0 15px;
  border-color: rgba(47, 248, 255, 0.38);
  border-left: 0;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(180deg, rgba(49, 225, 234, 0.13), rgba(27, 112, 119, 0.06));
  color: var(--hud-lime-hot);
  font: 700 13px "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar .hp-search button svg { display: none; }

.topbar-right { gap: 14px; }

.topbar .hp-clock .time {
  color: #eaf3f4;
  font: 600 17px "Rajdhani", sans-serif;
}

.topbar .hp-clock .date {
  color: #6e7c7e;
  font: 500 11px "Rajdhani", sans-serif;
}

.topbar .chip {
  min-height: 38px;
  border-color: rgba(50, 182, 191, 0.35);
  border-radius: 5px;
  background: rgba(22, 127, 135, 0.08);
  color: var(--hud-lime);
  font: 700 12px "Rajdhani", sans-serif;
}

.topbar .lang-switch {
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.topbar .lang-switch button {
  position: relative;
  min-width: 46px;
  padding: 9px 12px;
  border-radius: 0;
  color: #858f81;
  font: 600 12px "Rajdhani", sans-serif;
}

.topbar .lang-switch button + button { border-left: 1px solid rgba(89, 146, 151, 0.22); }

.topbar .lang-switch button[aria-current="true"] {
  color: #ebf4f5;
  background: transparent;
}

.topbar .lang-switch button[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 1px;
  background: var(--hud-lime);
  box-shadow: 0 0 9px rgba(47, 248, 255, 0.6);
}

/* ========================= PUBLIC NAVIGATION ========================= */

.home-nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(48, 206, 216, 0.35);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
  background:
    linear-gradient(90deg, rgba(66, 225, 235, 0.025) 1px, transparent 1px),
    rgba(2, 6, 8, 0.97);
  background-size: 28px 28px, auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 248, 255, 0.35) transparent;
}

.shell.dashboard-entry > .home-nav { display: none; }

.home-nav a {
  position: relative;
  display: flex;
  flex: 1 0 max-content;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 134px;
  padding: 9px 16px;
  border-right: 1px solid rgba(48, 206, 216, 0.16);
  color: #889a9d;
  font: 700 12px "Rajdhani", sans-serif;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease;
}

.home-nav a:last-child { border-right: 0; }

.home-nav a:hover,
.home-nav a:focus-visible {
  color: #d1fcff;
  background: rgba(66, 225, 235, 0.07);
  outline: none;
}

.home-nav a.active {
  color: var(--hud-lime);
  background: linear-gradient(180deg, rgba(66, 225, 235, 0.1), rgba(66, 225, 235, 0.025));
  box-shadow: inset 0 -2px var(--hud-lime);
}

.home-nav-index {
  color: rgba(47, 248, 255, 0.5);
  font: 600 8px "JetBrains Mono", monospace;
}

.home-nav small {
  padding: 2px 5px;
  border: 1px solid rgba(47, 248, 255, 0.22);
  color: rgba(47, 248, 255, 0.63);
  font: 600 7px "JetBrains Mono", monospace;
  letter-spacing: 0.02em;
}

/* ========================= PUBLIC RADAR COMMAND CENTER ========================= */

#home-section {
  width: 100%;
  max-width: none;
  margin: clamp(6px, 0.5vw, 8px) auto 0;
  padding: 0;
}

#home-section .hp3-command {
  display: grid;
  grid-template-columns: minmax(250px, 20.2%) minmax(0, 59.6%) minmax(250px, 20.2%);
  gap: 7px;
  align-items: stretch;
  opacity: 1;
  animation: none;
}

#home-section .hp3-rail {
  display: grid;
  grid-template-rows: 56px repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  padding: 10px 12px 13px;
  border: 1px solid rgba(48, 206, 216, 0.43);
  border-radius: 0;
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
  background:
    linear-gradient(90deg, var(--hud-grid) 1px, transparent 1px),
    linear-gradient(var(--hud-grid) 1px, transparent 1px),
    linear-gradient(160deg, rgba(7, 16, 19, 0.98), rgba(1, 5, 6, 0.98));
  background-size: 27px 27px, 27px 27px, auto;
  box-shadow: inset 0 0 36px rgba(37, 175, 188, 0.035);
}

#home-section .hp3-rail-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 8px;
  border: 0;
  color: var(--hud-lime);
  font: 700 clamp(13px, 1.15vw, 19px) "Rajdhani", sans-serif;
  letter-spacing: 0.025em;
  text-align: center;
}

#home-section .hp3-rail-title::before,
#home-section .hp3-rail-title::after {
  content: "•••••";
  flex: 1;
  overflow: hidden;
  color: rgba(48, 243, 252, 0.48);
  font: 700 7px "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

#home-section .hp3-rail-title::before { margin-right: 10px; text-align: right; }
#home-section .hp3-rail-title::after { margin-left: 10px; text-align: left; }
#home-section .hp3-rail-title i { display: none; }

#home-section .hp3-metric {
  position: relative;
  display: grid;
  grid-template-columns: clamp(58px, 6vw, 96px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 1.2vw, 20px);
  min-height: 0;
  padding: clamp(12px, 1.4vw, 22px);
  border: 1px solid rgba(46, 184, 193, 0.31);
  border-radius: 0;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  background: linear-gradient(135deg, rgba(9, 21, 24, 0.98), rgba(3, 7, 8, 0.97));
  box-shadow: inset 0 0 24px rgba(40, 189, 202, 0.028);
}

#home-section .hp3-metric::after {
  content: "";
  position: absolute;
  left: 44%;
  right: 7%;
  bottom: 11px;
  height: 5px;
  opacity: 0.75;
  background: repeating-linear-gradient(90deg, var(--hud-lime) 0 2px, transparent 2px 5px);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent);
  mask-image: linear-gradient(90deg, #000, transparent);
}

#home-section .hp3-metric:hover {
  border-color: rgba(47, 248, 255, 0.52);
  background: linear-gradient(135deg, rgba(11, 28, 32, 0.99), rgba(4, 9, 10, 0.98));
  transform: none;
}

#home-section .hp3-symbol {
  position: relative;
  width: clamp(58px, 5.6vw, 90px);
  height: clamp(58px, 5.6vw, 90px);
  border: 1px solid rgba(47, 248, 255, 0.7);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(55, 246, 255, 0.075) 0 49%, transparent 50%),
    repeating-conic-gradient(from 0deg, rgba(47, 248, 255, 0.72) 0 1deg, transparent 1deg 10deg);
  color: var(--hud-lime);
  box-shadow:
    inset 0 0 0 6px rgba(3, 8, 9, 0.92),
    inset 0 0 0 7px rgba(47, 248, 255, 0.2),
    0 0 19px rgba(47, 248, 255, 0.08);
}

#home-section .hp3-symbol::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px dashed rgba(47, 248, 255, 0.4);
  border-radius: 50%;
}

#home-section .hp3-symbol svg {
  position: relative;
  z-index: 2;
  width: 44%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#home-section .hp3-copy { min-width: 0; padding-bottom: 10px; }

#home-section .hp3-copy > span {
  color: #dce4e5;
  font: 600 clamp(12px, 1vw, 16px) "Rajdhani", sans-serif;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

#home-section .hp3-copy b {
  display: block;
  margin-top: 5px;
  color: var(--hud-lime);
  font: 600 clamp(24px, 2.2vw, 38px) "Rajdhani", sans-serif;
  letter-spacing: 0.015em;
  line-height: 1;
  text-shadow: 0 0 16px rgba(47, 248, 255, 0.16);
}

#home-section .hp3-copy small {
  display: block;
  margin-top: 7px;
  color: #78898c;
  font: 500 clamp(9px, 0.75vw, 12px) "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
}

#home-section .hp3-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: clamp(360px, 29.5vw, 500px);
  overflow: hidden;
  border: 1px solid rgba(48, 206, 216, 0.28);
  border-radius: 0;
  background-color: #010405;
  background-image:
    radial-gradient(circle at 50% 52%, rgba(51, 223, 235, 0.12), transparent 37%),
    linear-gradient(90deg, rgba(1, 4, 5, 0.9), transparent 15%, transparent 85%, rgba(1, 4, 5, 0.9)),
    linear-gradient(180deg, rgba(1, 4, 5, 0.2), transparent 12%, transparent 86%, rgba(1, 4, 5, 0.9));
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.58), 0 0 26px rgba(37, 174, 187, 0.025);
}

#home-section .hp3-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(66, 225, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 225, 235, 0.04) 1px, transparent 1px);
  background-size: 31px 31px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 20%, #000 86%);
  mask-image: radial-gradient(circle at 50% 50%, transparent 20%, #000 86%);
}

#home-section .hp3-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border: 1px solid rgba(47, 248, 255, 0.08);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.52);
}

#home-section .hp3-intro { display: none; }

#home-section .hp3-visual {
  inset: 0;
  z-index: 2;
}

#home-section #hp-network-orb-canvas {
  opacity: 0.96;
  mix-blend-mode: screen;
  filter: saturate(1.2) contrast(1.08);
}

#home-section .hud-scan-orbit {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(66%, 440px);
  aspect-ratio: 1;
  border: 1px solid rgba(47, 248, 255, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 34px rgba(47, 248, 255, 0.1), inset 0 0 38px rgba(47, 248, 255, 0.04);
}

#home-section .hud-scan-orbit::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 82%, rgba(93, 250, 255, 0.12) 88%, rgba(93, 250, 255, 0.96) 92%, transparent 92.7%);
  -webkit-mask-image: radial-gradient(circle, transparent 0 67%, #000 68% 100%);
  mask-image: radial-gradient(circle, transparent 0 67%, #000 68% 100%);
  animation: hud-orbit-scan 4.8s linear infinite;
}

#home-section .hp3-ring {
  top: 52%;
  width: min(58%, 370px);
  opacity: 0.42;
  border-color: rgba(47, 248, 255, 0.42);
}
#home-section .hp3-ring.b { width: min(43%, 275px); opacity: 0.34; }
#home-section .hp3-ring.c { width: min(70%, 445px); opacity: 0.22; }
#home-section .hp3-scan {
  top: 52%;
  width: min(64%, 410px);
  opacity: 0.92;
  background: conic-gradient(from -90deg, rgba(93, 250, 255, 0.92) 0deg, rgba(55, 244, 255, 0.2) 18deg, rgba(55, 244, 255, 0.04) 46deg, transparent 78deg 360deg);
  animation-duration: 4.8s;
}

#home-section .hp3-scan::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 49%;
  transform: translate(-50%, -100%);
  transform-origin: 50% 100%;
  background: linear-gradient(180deg, rgba(123, 250, 255, 0.95), rgba(47, 248, 255, 0.1));
  box-shadow: 0 0 12px rgba(47, 248, 255, 0.8);
}

#home-section .hp3-logo {
  top: 52%;
  width: clamp(54px, 4.8vw, 76px);
  height: clamp(54px, 4.8vw, 76px);
  padding: 7px;
  border: 2px solid var(--hud-lime);
  border-radius: 0;
  clip-path: polygon(50% 0, 91% 24%, 91% 76%, 50% 100%, 9% 76%, 9% 24%);
  background: rgba(2, 7, 8, 0.97);
  box-shadow: 0 0 30px rgba(47, 248, 255, 0.28), inset 0 0 20px rgba(47, 248, 255, 0.12);
}

#home-section .hp3-logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

#home-section .hp3-coordinate {
  z-index: 7;
  color: rgba(157, 199, 205, 0.6);
  font: 500 8px "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
}

#home-section .hp3-coordinate b { color: rgba(130, 249, 255, 0.84); }

/* ========================= TPS + PANEL ENTRY ========================= */

#home-section .hp3-lower {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(320px, 1.05fr);
  gap: clamp(8px, 0.65vw, 11px);
  margin-top: clamp(7px, 0.6vw, 10px);
}

#home-section .hp-spark,
#home-section .hp3-entry {
  min-height: clamp(128px, 10.3vw, 176px);
  border: 1px solid rgba(48, 206, 216, 0.42);
  border-radius: 0;
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
  background:
    linear-gradient(90deg, rgba(66, 225, 235, 0.032) 1px, transparent 1px),
    linear-gradient(rgba(66, 225, 235, 0.032) 1px, transparent 1px),
    rgba(3, 8, 9, 0.97);
  background-size: 30px 30px, 30px 30px, auto;
}

#home-section .hp-spark {
  padding: clamp(10px, 0.9vw, 15px) clamp(15px, 1.3vw, 22px);
}

#home-section .hp-spark-head {
  color: var(--hud-lime);
  font: 700 14px "Rajdhani", sans-serif;
  letter-spacing: 0.035em;
}

#home-section .hp-spark-head .vals {
  gap: 16px;
  color: #7d9093;
  font: 500 11px "Rajdhani", sans-serif;
}

#home-section .hp-spark-head .vals b { color: var(--hud-lime); }

#home-section #hp-spark-body {
  position: relative;
  height: clamp(82px, 7.3vw, 124px);
  margin-top: 8px;
  overflow: hidden;
  border-top: 1px solid rgba(51, 175, 183, 0.12);
  border-bottom: 1px solid rgba(51, 175, 183, 0.12);
  background:
    linear-gradient(rgba(62, 212, 221, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 212, 221, 0.035) 1px, transparent 1px);
  background-size: 100% 33%, 9% 100%;
}

#home-section #hp-spark-body svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 4px rgba(47, 248, 255, 0.33));
}

#home-section .hp3-entry {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
}

#home-section .hp3-entry-icon {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 128px;
  background: radial-gradient(circle, rgba(47, 248, 255, 0.12), transparent 65%);
}

#home-section .hp3-entry-icon svg {
  width: 86px;
  fill: rgba(47, 248, 255, 0.06);
  stroke: var(--hud-lime);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 9px rgba(47, 248, 255, 0.35));
}

#home-section .hp3-entry-copy { min-width: 0; }

#home-section .hp3-entry .eyebrow {
  color: var(--hud-lime-dim);
  font: 700 10px "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
}

#home-section .hp3-entry h3 {
  margin: 5px 0 5px;
  color: #eaf2f3;
  font: 700 clamp(22px, 1.7vw, 30px) "Rajdhani", sans-serif;
  letter-spacing: -0.015em;
}

#home-section .hp3-entry p {
  margin: 0 0 12px;
  color: #889699;
  font: 500 13px/1.45 "Rajdhani", sans-serif;
}

#home-section .hp3-entry a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(87, 200, 255, 0.38);
  border-radius: 3px;
  background: linear-gradient(180deg, #28a9ed, #1679c0);
  color: #fff;
  font: 700 13px "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(26, 143, 211, 0.16);
}

#home-section .hp3-entry a::before {
  content: "➤";
  margin-right: 9px;
  transform: rotate(-22deg);
}

#home-section .hp3-entry a:hover {
  background: linear-gradient(180deg, #35b8ff, #1989d6);
  transform: none;
}

/* ========================= LIVE ACTIVITY STRIP ========================= */

#home-section .hp3-activity {
  display: flex;
  min-height: clamp(50px, 4.2vw, 70px);
  margin-top: clamp(7px, 0.6vw, 10px);
  overflow: hidden;
  border: 1px solid rgba(48, 206, 216, 0.38);
  border-radius: 0;
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
  background: rgba(3, 8, 9, 0.98);
}

#home-section .hp3-live {
  min-width: 178px;
  padding: 0 22px;
  border-right: 1px solid rgba(51, 182, 190, 0.21);
  color: var(--hud-lime);
  font: 700 12px "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
}

#home-section .hp3-live i {
  width: 7px;
  height: 7px;
  background: var(--hud-lime);
  box-shadow: 0 0 10px rgba(47, 248, 255, 0.8);
}

#home-section .hp3-activity-item {
  display: flex;
  flex: 1 1 170px;
  min-width: 145px;
  min-height: 50px;
  flex-direction: column;
  justify-content: center;
  padding: 8px 18px;
  border-left: 1px solid rgba(51, 182, 190, 0.14);
}

#home-section .hp3-activity-item span {
  color: #788d90;
  font: 500 10px "Rajdhani", sans-serif;
  letter-spacing: 0.025em;
}

#home-section .hp3-activity-item b {
  margin-top: 2px;
  color: var(--hud-lime);
  font: 700 12px "Rajdhani", sans-serif;
}

#home-section .hp3-activity-item small {
  margin-top: 1px;
  color: #4f5d60;
  font: 500 8px "JetBrains Mono", monospace;
}

#home-section .hp3-activity-item.warning b,
#home-section .hp3-activity-item.danger b { color: var(--hud-orange); }

@keyframes hud-orbit-scan { to { transform: rotate(360deg); } }

/* ========================= RESPONSIVE ========================= */

@media (max-width: 1320px) {
  #home-section .hp3-command {
    grid-template-columns: minmax(220px, 21%) minmax(0, 58%) minmax(220px, 21%);
  }

  #home-section .hp3-metric {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  #home-section .hp3-symbol { width: 62px; height: 62px; }
  #home-section .hp3-copy b { font-size: clamp(21px, 2.2vw, 30px); }
}

@media (max-width: 1040px) {
  body > .shell > .topbar { flex-wrap: wrap; }
  .topbar .brand { order: 1; }
  .topbar-right { order: 2; margin-left: auto; }
  .topbar .hp-search { order: 3; flex-basis: 100%; max-width: none; margin: 5px 0 0; }

  #home-section .hp3-command {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "core core" "left right";
  }

  #home-section .hp3-stage { grid-area: core; min-height: clamp(360px, 52vw, 500px); }
  #home-section .hp3-rail.left { grid-area: left; }
  #home-section .hp3-rail.right { grid-area: right; }
  #home-section .hp3-rail { min-height: 500px; }
  #home-section .hp3-lower { grid-template-columns: 1fr; }
  #home-section .hp3-entry { min-height: 180px; }
  #home-section .hp3-activity { overflow-x: auto; }
  #home-section .hp3-activity-item { flex: 0 0 170px; }
}

@media (max-width: 720px) {
  body { padding: 6px 8px 24px; }
  body > .shell > .topbar { min-height: 0; padding: 11px 12px; }
  .topbar .brand-mark { width: 48px; height: 48px; }
  .topbar .brand-text { font-size: 20px; }
  .topbar .hp-clock { display: none; }
  .topbar .chip { min-height: 32px; padding: 5px 9px; }
  .topbar .lang-switch button { min-width: 34px; padding: 7px 7px; }

  .home-nav { min-height: 44px; justify-content: flex-start; }
  .home-nav a { flex: 0 0 auto; min-width: 124px; padding: 8px 12px; }

  #home-section { margin-top: 8px; }
  #home-section .hp3-command { grid-template-columns: 1fr; grid-template-areas: "core" "left" "right"; }
  #home-section .hp3-stage {
    min-height: 350px;
  }
  #home-section .hud-scan-orbit { width: min(72%, 360px); }
  #home-section .hp3-ring { width: min(64%, 320px); }
  #home-section .hp3-ring.b { width: min(48%, 240px); }
  #home-section .hp3-ring.c { width: min(78%, 390px); }
  #home-section .hp3-scan { width: min(70%, 350px); }
  #home-section .hp3-rail { min-height: 0; grid-template-rows: 45px repeat(3, minmax(92px, auto)); }
  #home-section .hp3-metric { grid-template-columns: 64px minmax(0, 1fr); min-height: 92px; }
  #home-section .hp3-metric::after { left: 37%; }
  #home-section .hp3-symbol { width: 60px; height: 60px; }
  #home-section .hp3-copy b { font-size: 25px; }
  #home-section .hp3-lower { gap: 8px; margin-top: 8px; }
  #home-section .hp3-entry { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 15px; }
  #home-section .hp3-entry-icon { min-height: 110px; }
  #home-section .hp3-entry-icon svg { width: 72px; }
  #home-section .hp3-activity { margin-top: 8px; }
  #home-section .hp3-live { min-width: 150px; padding: 0 14px; }
}

@media (max-width: 460px) {
  .topbar .brand { width: 100%; }
  .topbar-right { width: 100%; justify-content: space-between; }
  .topbar .brand-text { font-size: 19px; }
  .topbar #session-chip { display: none; }

  #home-section .hp3-stage { min-height: 320px; }
  #home-section .hp3-coordinate { display: none; }
  #home-section .hp3-entry { grid-template-columns: 1fr; text-align: center; }
  #home-section .hp3-entry-icon { min-height: 88px; }
  #home-section .hp3-entry p { max-width: 34ch; margin-right: auto; margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  #home-section .hud-scan-orbit::after { animation: none; }
}
