:root {
  --panel: rgba(8, 12, 22, 0.78);
  --line: rgba(122, 187, 255, 0.26);
  --line-strong: rgba(122, 187, 255, 0.56);
  --text: #e7edf7;
  --muted: #95a3b8;
  --accent: #44d2ff;
  --accent-2: #4df8bc;
  --shadow: 0 20px 46px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(68, 210, 255, 0.24), transparent 30%),
    radial-gradient(circle at 86% 100%, rgba(77, 248, 188, 0.18), transparent 32%),
    linear-gradient(138deg, #03050b 0%, #070c18 45%, #04060f 100%);
  color: var(--text);
  overflow-x: hidden;
  padding: 0 0 18px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 36%, transparent 85%);
  pointer-events: none;
  z-index: -3;
}

.bg-glow {
  position: fixed;
  width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.38;
  pointer-events: none;
  z-index: -2;
  animation: drift 11s ease-in-out infinite;
}

.bg-glow-a {
  left: -70px;
  top: -60px;
  background: #0ca8d0;
}

.bg-glow-b {
  right: -90px;
  bottom: -80px;
  background: #19bd72;
  animation-delay: -3.2s;
}

.hero {
  width: min(1320px, 94vw);
  margin: 34px auto 16px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-size: 0.76rem;
}

.hero h1 {
  position: relative;
  display: inline-block;
  margin: 10px 0 2px;
  font-family: "Ma Shan Zheng", "Zhi Mang Xing", cursive;
  font-size: clamp(3rem, 5.8vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: 0.03em;
  font-weight: 400;
  transform: rotate(-1.1deg) skewX(-2.2deg);
  transform-origin: center;
  background:
    linear-gradient(173deg, #ffffff 0%, #e5f5ff 18%, #8fe3ff 48%, #ffffff 62%, #56c8ff 88%, #e3f4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 rgba(3, 8, 16, 0.72),
    0 4px 0 rgba(4, 8, 15, 0.3),
    0 0 8px rgba(101, 221, 255, 0.26),
    0 0 24px rgba(33, 146, 255, 0.34),
    0 0 48px rgba(12, 110, 245, 0.22);
}

.hero h1::after {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.18);
  filter: blur(0.3px);
  transform: translate(2px, 2px) rotate(0.7deg);
  mix-blend-mode: screen;
  -webkit-mask-image: repeating-linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.92) 0 12px,
    rgba(0, 0, 0, 0.55) 12px 16px,
    rgba(0, 0, 0, 0.9) 16px 28px
  );
  mask-image: repeating-linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.92) 0 12px,
    rgba(0, 0, 0, 0.55) 12px 16px,
    rgba(0, 0, 0, 0.9) 16px 28px
  );
}

.subtitle {
  margin: 8px 0 0;
  font-family: "Long Cang", "Noto Sans SC", cursive;
  color: #9fffd9;
  letter-spacing: 0.14em;
  font-size: clamp(1.08rem, 1.95vw, 1.54rem);
  line-height: 1.28;
  opacity: 0.94;
  transform: skewX(-1deg);
  text-shadow:
    0 0 8px rgba(67, 241, 173, 0.18),
    0 0 20px rgba(36, 170, 126, 0.16);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(7, 12, 22, 0.9), rgba(11, 22, 40, 0.7));
  font-size: 0.92rem;
  color: #d6eeff;
  box-shadow: inset 0 0 0 1px rgba(110, 165, 255, 0.15), 0 0 22px rgba(44, 147, 255, 0.16);
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(107, 240, 160, 0.7);
  animation: ping 1.8s infinite;
}

.container {
  width: min(1320px, 94vw);
  margin: 0 auto 16px;
  display: grid;
  gap: 14px;
  flex: 1;
  align-content: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(11, 18, 32, 0.92), rgba(8, 13, 24, 0.82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  padding: 20px;
}

.panel-head {
  display: block;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(132, 183, 255, 0.22);
  padding-bottom: 10px;
}

.panel-head h2 {
  margin: 0;
  font-family: "Orbitron", "Noto Sans SC", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  color: #d7e8ff;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nav-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(112, 168, 255, 0.36);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(13, 22, 38, 0.96), rgba(7, 12, 23, 0.98));
  padding: 14px;
  min-height: 72px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  opacity: 1;
  transform: translateY(0) scale(1);
  overflow: hidden;
}

body.has-anim .nav-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nav-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(68, 210, 255, 0.12) 52%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.nav-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nav-card:hover {
  transform: translateY(-5px);
  border-color: rgba(77, 248, 188, 0.72);
  box-shadow: 0 12px 32px rgba(7, 146, 212, 0.34), 0 0 0 1px rgba(77, 248, 188, 0.22) inset;
}

.nav-card:hover::before {
  transform: translateX(120%);
}

.nav-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.card-no {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans SC", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "zero" 0;
  color: #b8d9ff;
  border: 1px solid rgba(113, 159, 230, 0.36);
  background: rgba(9, 19, 33, 0.86);
}

.card-arrow {
  font-family: "Orbitron", sans-serif;
  color: var(--accent-2);
  opacity: 0.88;
  transition: transform 0.2s ease;
}

.nav-card:hover .card-arrow {
  transform: translateX(3px);
}

/* 查询中 loading 状态 */
.nav-card.loading {
  pointer-events: none;
  opacity: 0.55;
  cursor: wait;
}

.nav-card.loading .card-arrow {
  animation: arrow-pulse 0.7s ease-in-out infinite alternate;
}

/* 冷却中状态 */
.nav-card.cooldown {
  pointer-events: none;
  border-color: rgba(255, 160, 60, 0.35);
  background: linear-gradient(145deg, rgba(28, 18, 8, 0.97), rgba(14, 9, 4, 0.98));
  cursor: not-allowed;
}

.nav-card.cooldown .card-no {
  border-color: rgba(255, 140, 40, 0.35);
  color: #ffbb77;
}

.nav-card.cooldown h3 {
  color: #ff9944;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.nav-card.cooldown .card-arrow {
  color: #ff9944;
  opacity: 0.5;
}

@keyframes arrow-pulse {
  from { opacity: 0.3; }
  to   { opacity: 1; }
}

/* 查询结果弹窗 */
.query-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 8, 20, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.query-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.query-modal {
  background: linear-gradient(150deg, #0d1c32 0%, #08111c 100%);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 18px;
  padding: 38px 44px 32px;
  min-width: 290px;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 0 60px rgba(0, 170, 255, 0.18), 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(18px) scale(0.94);
  transition: transform 0.22s ease;
}

.query-modal-overlay.visible .query-modal {
  transform: translateY(0) scale(1);
}

.modal-icon {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 14px;
}

.modal-msg {
  font-size: 1.18rem;
  font-weight: 600;
  color: #dff2ff;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  line-height: 1.5;
}

.modal-btn {
  display: inline-block;
  padding: 10px 38px;
  background: linear-gradient(135deg, #0aa8d8, #0771a0);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.modal-btn:hover {
  filter: brightness(1.25);
  transform: translateY(-2px);
}

.modal-btn.ghost {
  background: linear-gradient(135deg, #2d4057, #243241);
}

.identity-modal {
  min-width: 320px;
}

.identity-input {
  width: 100%;
  border: 1px solid rgba(122, 180, 255, 0.35);
  border-radius: 10px;
  background: rgba(6, 15, 28, 0.9);
  color: #e6f3ff;
  font-size: 1rem;
  padding: 11px 12px;
  outline: none;
  margin-bottom: 16px;
}

.identity-input:focus {
  border-color: rgba(105, 224, 173, 0.7);
  box-shadow: 0 0 0 3px rgba(55, 161, 129, 0.2);
}

.identity-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.dash-overlay {
  position: fixed;
  inset: 0;
  z-index: 10010;
  background:
    radial-gradient(circle at 15% 8%, rgba(38, 163, 255, 0.18), transparent 34%),
    radial-gradient(circle at 92% 98%, rgba(41, 196, 145, 0.16), transparent 32%),
    rgba(2, 8, 18, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.dash-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.dash-board {
  width: min(1320px, 96vw);
  height: min(95vh, 940px);
  margin: 2.5vh auto;
  border: 1px solid rgba(104, 174, 255, 0.34);
  border-radius: 22px;
  background:
    linear-gradient(155deg, rgba(9, 18, 35, 0.95), rgba(5, 10, 20, 0.94));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(95, 168, 255, 0.14) inset;
  padding: 20px;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.22s ease;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dash-board::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.dash-overlay.visible .dash-board {
  transform: translateY(0) scale(1);
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(113, 169, 255, 0.24);
  padding-bottom: 12px;
}

.dash-eyebrow {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: #53c6ff;
}

.dash-head h2 {
  margin: 6px 0 0;
  font-family: "Orbitron", "Noto Sans SC", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.95rem);
  letter-spacing: 0.07em;
}

.dash-sub {
  margin: 8px 0 0;
  color: #9cc9ee;
  font-size: 0.92rem;
}

.dash-head-actions {
  display: flex;
  gap: 8px;
}

.dash-btn {
  border: 1px solid rgba(95, 171, 255, 0.38);
  background: linear-gradient(135deg, rgba(17, 86, 142, 0.84), rgba(8, 56, 93, 0.9));
  color: #e7f6ff;
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.dash-btn:hover {
  filter: brightness(1.16);
}

.dash-btn.danger {
  border-color: rgba(242, 123, 123, 0.45);
  background: linear-gradient(135deg, rgba(130, 34, 34, 0.84), rgba(82, 18, 18, 0.92));
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dash-kpi {
  border: 1px solid rgba(113, 168, 255, 0.25);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(150deg, rgba(7, 17, 32, 0.92), rgba(4, 9, 18, 0.9));
}

.dash-kpi p {
  margin: 0;
  color: #8bb5d9;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.dash-kpi strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.05rem, 2.1vw, 1.65rem);
  color: #e6f7ff;
  font-family: "Noto Sans SC", "Segoe UI", Arial, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.04em;
  font-feature-settings: "zero" 0;
}

.dash-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-height: auto;
}

.dash-focus {
  border: 1px solid rgba(123, 198, 255, 0.32);
  border-radius: 14px;
  padding: 14px;
  background:
    radial-gradient(circle at 12% 20%, rgba(84, 200, 255, 0.22), transparent 52%),
    linear-gradient(140deg, rgba(20, 42, 78, 0.92), rgba(7, 14, 28, 0.9));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.dash-radar-stage {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(200px, 0.8fr);
  gap: 14px;
  align-items: center;
}

.dash-radar-wrap {
  position: relative;
  min-height: 280px;
  border-radius: 16px;
  border: 1px solid rgba(116, 173, 255, 0.28);
  background: radial-gradient(circle at center, rgba(40, 121, 198, 0.16), rgba(7, 14, 28, 0.66) 58%, rgba(4, 8, 16, 0.9));
  overflow: hidden;
}

.dash-radar-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(98, 171, 255, 0.34);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.dash-radar-ring.ring-a { width: 120px; height: 120px; }
.dash-radar-ring.ring-b { width: 190px; height: 190px; opacity: 0.8; }
.dash-radar-ring.ring-c { width: 260px; height: 260px; opacity: 0.55; }

.dash-radar-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(103, 183, 255, 0.5);
  background: linear-gradient(160deg, rgba(17, 42, 82, 0.95), rgba(8, 18, 34, 0.92));
  box-shadow: 0 0 28px rgba(56, 154, 255, 0.24);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
}

.dash-radar-orbits {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  will-change: transform;
  animation: orbit-rotate 28s linear infinite;
}

.dash-orbit-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--radius));
  display: grid;
  place-items: center;
  border: 1px solid rgba(103, 190, 255, 0.42);
  background: rgba(12, 34, 63, 0.9);
  box-shadow: 0 0 12px rgba(81, 197, 255, 0.25);
  animation: node-pulse 2.4s ease-in-out infinite;
  animation-delay: var(--delay);
  padding: 2px 5px;
  min-width: 50px;
}

.dash-orbit-node b {
  font-size: 0.66rem;
  color: #d9f6e8;
  line-height: 1;
}

.dash-orbit-node em {
  font-style: normal;
  font-size: 0.58rem;
  color: #a8d9ff;
  line-height: 1;
}

.dash-orbit-node.tone-1 {
  border-color: rgba(94, 226, 184, 0.46);
  box-shadow: 0 0 12px rgba(91, 230, 188, 0.25);
}

.dash-orbit-node.tone-2 {
  border-color: rgba(145, 190, 255, 0.44);
}

.dash-orbit-node.tone-3 {
  border-color: rgba(92, 222, 255, 0.44);
}

.dash-focus-label {
  margin: 0;
  font-size: 0.72rem;
  color: #90bfe5;
  letter-spacing: 0.05em;
}

.dash-focus-id {
  margin: 5px 0 0;
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
  font-weight: 800;
  color: #f0fdff;
}

.dash-focus-metrics {
  text-align: right;
}

.dash-focus-metrics.dashboard-right {
  border: 1px solid rgba(116, 173, 255, 0.24);
  border-radius: 12px;
  background: rgba(8, 17, 33, 0.84);
  padding: 12px;
}

.dash-focus-value {
  font-family: "Noto Sans SC", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  line-height: 1;
  letter-spacing: 0.05em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "zero" 0;
  color: #66ffb9;
}

.dash-focus-share {
  margin-top: 4px;
  color: #a3c7e6;
  font-size: 0.8rem;
}

.dash-matrix {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.dash-matrix li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 5px 6px;
  border-radius: 8px;
  background: rgba(15, 28, 49, 0.78);
}

.dash-matrix .idx {
  color: #8eb4d7;
  font-family: "Noto Sans SC", "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1;
  font-feature-settings: "zero" 0;
}

.dash-matrix .id {
  color: #d7f8e8;
  font-size: 0.82rem;
}

.dash-matrix .num {
  color: #dceeff;
  font-family: "Noto Sans SC", "Segoe UI", Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "zero" 0;
}

.dash-rank-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.flow-view {
  display: grid;
  gap: 10px;
}

.dash-wave-grid.flow-view {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 10px 12px 14px;
}

.dash-wave-card {
  border: 1px solid rgba(112, 170, 255, 0.22);
  border-radius: 12px;
  background: rgba(7, 17, 33, 0.92);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  min-height: 104px;
}

.dash-wave-label {
  color: #91badc;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.dash-wave-value {
  color: #e6f4ff;
  font-family: "Noto Sans SC", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "zero" 0;
}

.dash-wave-identity {
  color: #f4fbff;
  font-family: "Noto Sans SC", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dash-wave-subvalue {
  color: #90bbde;
  font-family: "Noto Sans SC", "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1.2;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "zero" 0;
}

.dash-wave-card-accent {
  background: linear-gradient(160deg, rgba(10, 24, 43, 0.96), rgba(7, 17, 33, 0.92));
  border-color: rgba(94, 201, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(89, 199, 255, 0.08);
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes node-pulse {
  0%, 100% { transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--radius)) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--radius)) scale(1.08); }
}

.dash-panel {
  border: 1px solid rgba(113, 168, 255, 0.24);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(7, 14, 28, 0.95), rgba(4, 9, 18, 0.9));
  display: grid;
  grid-template-rows: auto auto;
  min-height: auto;
  overflow: visible;
}

.dash-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid rgba(113, 168, 255, 0.2);
  padding: 10px 12px;
}

.dash-panel-head h3 {
  margin: 0;
  font-size: 0.94rem;
  letter-spacing: 0.06em;
}

.dash-panel-meta {
  color: #90bbde;
  font-size: 0.74rem;
}

.dash-list {
  margin: 0;
  padding: 8px 10px 12px;
  list-style: none;
  overflow: auto;
  display: grid;
  gap: 6px;
}

.dash-item {
  border: 1px solid rgba(110, 170, 255, 0.18);
  border-radius: 10px;
  background: rgba(6, 16, 30, 0.88);
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.dash-item-id {
  color: #c5f5db;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dash-item-val {
  color: #d8eaff;
  font-family: "Noto Sans SC", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "zero" 0;
}

.dash-empty {
  padding: 16px 12px;
  text-align: center;
  color: #87a5c5;
  font-size: 0.9rem;
}

.dash-error {
  color: #ff9c9c;
}

.footer {
  width: min(1320px, 94vw);
  margin: auto auto 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.86rem;
}

.divider {
  width: 1px;
  height: 11px;
  background: rgba(145, 171, 202, 0.4);
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(107, 240, 160, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(107, 240, 160, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(107, 240, 160, 0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(18px, -12px);
  }
}

@media (max-width: 1200px) {
  .hero,
  .container,
  .footer {
    width: 96vw;
  }

  .panel {
    padding: 16px;
  }
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    min-height: auto;
    display: block;
    padding-bottom: 12px;
  }

  .hero {
    margin-top: 26px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.8rem);
    letter-spacing: 0.02em;
  }

  .subtitle {
    letter-spacing: 0.08em;
    line-height: 1.34;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .panel {
    border-radius: 14px;
    padding: 14px;
  }

  .nav-card {
    min-height: 66px;
    padding: 12px;
  }

  .card-no {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .footer {
    margin: 6px auto 12px;
    flex-direction: column;
    gap: 4px;
  }

  .divider {
    display: none;
  }

  .dash-board {
    width: 100vw;
    height: auto;
    min-height: auto;
    max-height: none;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 12px;
    gap: 8px;
    box-shadow: none;
    grid-template-rows: auto auto auto;
    align-content: start;
    overflow: visible;
  }

  .dash-overlay {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .dash-head {
    display: grid;
    gap: 10px;
  }

  .dash-head-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-btn {
    width: 100%;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .dash-sub {
    margin-top: 4px;
    font-size: 0.8rem;
  }

  .dash-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dash-kpi {
    padding: 9px;
  }

  .dash-kpi strong {
    font-size: 1.4rem;
  }

  .dash-panels {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .dash-overlay {
    backdrop-filter: none;
  }

  .dash-radar-stage {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dash-radar-wrap {
    min-height: 230px;
  }

  .dash-radar-ring.ring-a { width: 92px; height: 92px; }
  .dash-radar-ring.ring-b { width: 150px; height: 150px; }
  .dash-radar-ring.ring-c { width: 212px; height: 212px; }

  .dash-radar-core {
    width: 96px;
    height: 96px;
    padding: 8px;
  }

  .dash-orbit-node {
    min-width: 44px;
  }

  .dash-focus-metrics.dashboard-right {
    text-align: left;
    display: grid;
    gap: 8px;
  }

  .dash-focus-value {
    font-size: 2rem;
  }

  .dash-wave-grid.flow-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px 10px 12px;
  }

  .dash-wave-card {
    min-height: 92px;
    padding: 12px 10px;
  }

  .dash-wave-value,
  .dash-wave-identity {
    font-size: 1.4rem;
  }

  .dash-rank-item {
    grid-template-columns: 34px 1fr auto;
    padding: 8px;
  }

  .dash-rank-no,
  .dash-rank-val {
    font-size: 1.08rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .dash-overlay {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .dash-board {
    grid-template-rows: auto auto auto;
    align-content: start;
    max-height: none;
    overflow: visible;
  }

  .dash-rank-list.flow-view {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }

  .dash-orbit-node {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dash-radar-orbits,
  .dash-orbit-node {
    animation: none !important;
  }
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .bg-grid {
    display: none;
  }

  .bg-glow,
  .status-pill::before,
  .nav-card.loading .card-arrow {
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .dash-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-panels {
    grid-template-columns: 1fr;
  }

  .dash-wave-grid.flow-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
