main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  padding: calc(var(--header-height) + 38px) 0 42px;
  background:
    linear-gradient(rgba(61, 231, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 231, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 82% 28%, rgba(155, 107, 255, 0.26), transparent 34%),
    radial-gradient(circle at 16% 22%, rgba(61, 231, 255, 0.16), transparent 28%),
    radial-gradient(circle at 48% 72%, rgba(77, 140, 255, 0.11), transparent 34%),
    linear-gradient(145deg, #030613 0%, #07091c 48%, #120a2c 100%);
  background-size: 78px 78px, 78px 78px, auto, auto, auto, auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 34%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 18%, rgba(255, 255, 255, 0.48) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 64%, rgba(61, 231, 255, 0.62) 0 1px, transparent 2px),
    radial-gradient(circle at 35% 78%, rgba(232, 108, 255, 0.48) 0 1px, transparent 2px);
  background-size: 240px 240px, 330px 330px, 280px 280px, 360px 360px;
  opacity: 0.78;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -42% -10%;
  z-index: -2;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(61, 231, 255, 0.16), transparent 62%);
  filter: blur(8px);
}

.hero__grid {
  width: min(100% - 48px, var(--container));
  min-height: calc(100vh - var(--header-height) - 80px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(30px, 4.5vw, 58px);
}

.hero__content {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(61, 231, 255, 0.28);
  border-radius: 999px;
  background: rgba(61, 231, 255, 0.08);
  color: var(--color-cyan);
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 16px var(--color-success);
}

.hero h1 {
  max-width: 620px;
  margin-top: 20px;
  font-size: clamp(3.15rem, 5.35vw, 4.85rem);
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero__description {
  max-width: 640px;
  margin-top: 20px;
  color: var(--color-muted);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
}

.hero-search {
  width: min(100%, 600px);
  min-height: 58px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(112, 224, 255, 0.24);
  border-radius: 18px;
  background: rgba(5, 12, 32, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-neon);
  padding: 7px 7px 7px 18px;
}

.hero-search__icon {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-cyan);
  border-radius: 50%;
  opacity: 0.88;
  position: relative;
}

.hero-search__icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-cyan);
  transform: rotate(45deg);
}

.hero-search input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  outline: 0;
}

.hero-search input::placeholder {
  color: var(--color-dim);
}

.hero-search button {
  min-height: 44px;
  border-radius: 12px;
  background: rgba(61, 231, 255, 0.14);
  color: var(--color-text);
  padding: 0 20px;
  font-weight: 900;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.metric-card {
  min-height: 96px;
  border: 1px solid rgba(112, 224, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(7, 16, 39, 0.62);
  padding: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.metric-card dt {
  color: var(--color-cyan);
  font-size: 1.42rem;
  font-weight: 950;
}

.metric-card dd {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.space-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 20px var(--color-cyan);
  opacity: 0.72;
  animation: pulseStar 4s ease-in-out infinite;
}

.star--one {
  top: 20%;
  left: 10%;
}

.star--two {
  top: 34%;
  right: 18%;
  animation-delay: 800ms;
}

.star--three {
  right: 38%;
  bottom: 21%;
  background: var(--color-purple);
  box-shadow: 0 0 20px var(--color-purple);
  animation-delay: 1500ms;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(112, 224, 255, 0.14);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.orbit--one {
  top: 15%;
  right: 4%;
  width: 520px;
  height: 220px;
}

.orbit--two {
  top: 30%;
  right: 11%;
  width: 380px;
  height: 150px;
  border-color: rgba(155, 107, 255, 0.18);
}

.cosmic-core {
  position: absolute;
  top: 18%;
  right: 18%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(61, 231, 255, 0.22), rgba(155, 107, 255, 0.12) 42%, transparent 68%);
  filter: blur(0.3px);
  opacity: 0.72;
}

.hero-hud {
  justify-self: end;
  width: min(100%, 455px);
}

.hud-panel {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(112, 224, 255, 0.26);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(112, 224, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 224, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, rgba(61, 231, 255, 0.14), transparent 48%),
    var(--gradient-panel);
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow: var(--shadow-neon), var(--shadow-purple), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 20px;
}

.hud-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(61, 231, 255, 0.14);
  border-radius: 18px;
}

.hud-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(61, 231, 255, 0.08) 48%, transparent 58% 100%);
  opacity: 0.55;
  transform: translateX(-42%);
  animation: panelSweep 7s var(--ease-out) infinite;
}

.hud-panel__top,
.hud-status,
.hud-readouts {
  position: relative;
  z-index: 2;
}

.hud-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--color-muted);
  font-size: 0.76rem;
}

.hud-panel__top strong {
  color: var(--color-success);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.hud-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid rgba(89, 255, 195, 0.2);
  border-radius: 999px;
  background: rgba(89, 255, 195, 0.06);
  color: var(--color-muted);
  padding: 7px 10px;
  font-size: 0.72rem;
}

.hud-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 14px var(--color-success);
}

.humanoid-frame {
  position: relative;
  width: min(100%, 318px);
  height: 318px;
  margin: 28px auto 22px;
  border: 1px solid rgba(61, 231, 255, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(rgba(61, 231, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 231, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(61, 231, 255, 0.16), transparent 58%);
  background-size: 22px 22px, 22px 22px, auto;
}

.humanoid-frame::before,
.humanoid-frame::after {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(155, 107, 255, 0.24);
  border-radius: 50%;
}

.humanoid-frame::after {
  inset: 62px;
  border-color: rgba(61, 231, 255, 0.2);
}

.target-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  border: 1px dashed rgba(61, 231, 255, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.target-ring--outer {
  width: 238px;
  height: 238px;
}

.target-ring--inner {
  width: 150px;
  height: 150px;
  border-color: rgba(155, 107, 255, 0.32);
}

.axis-line {
  position: absolute;
  z-index: 1;
  background: rgba(61, 231, 255, 0.22);
}

.axis-line--x {
  left: 24px;
  right: 24px;
  top: 50%;
  height: 1px;
}

.axis-line--y {
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 1px;
}

.hud-label {
  position: absolute;
  z-index: 3;
  width: 92px;
  border: 1px solid rgba(112, 224, 255, 0.18);
  border-radius: 10px;
  background: rgba(2, 8, 22, 0.72);
  color: var(--color-muted);
  padding: 8px;
  font-size: 0.62rem;
  line-height: 1.35;
}

.hud-label strong {
  color: var(--color-cyan);
  font-size: 0.68rem;
}

.hud-label--left {
  left: 12px;
  top: 70px;
}

.hud-label--right {
  right: 12px;
  bottom: 78px;
}

.humanoid {
  position: absolute;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  background: linear-gradient(145deg, rgba(61, 231, 255, 0.8), rgba(155, 107, 255, 0.66));
  box-shadow: 0 0 20px rgba(61, 231, 255, 0.22);
}

.humanoid__head {
  top: 54px;
  width: 54px;
  height: 48px;
  border-radius: 14px 14px 18px 18px;
}

.humanoid__head::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 12px;
  right: 12px;
  height: 4px;
  border-radius: 999px;
  background: #03111f;
  box-shadow: 0 0 12px rgba(89, 255, 195, 0.76);
}

.humanoid__neck {
  top: 102px;
  width: 22px;
  height: 18px;
  border-radius: 6px;
}

.humanoid__torso {
  top: 120px;
  width: 86px;
  height: 112px;
  clip-path: polygon(18% 0, 82% 0, 100% 34%, 76% 100%, 24% 100%, 0 34%);
}

.humanoid__core {
  top: 158px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(89, 255, 195, 0.8);
  border-radius: 50%;
  background: rgba(3, 17, 31, 0.86);
  box-shadow: 0 0 18px rgba(89, 255, 195, 0.48);
}

.humanoid__arm {
  top: 128px;
  width: 20px;
  height: 112px;
  border-radius: 999px;
}

.humanoid__arm--left {
  margin-left: -72px;
  transform: translateX(-50%) rotate(8deg);
}

.humanoid__arm--right {
  margin-left: 72px;
  transform: translateX(-50%) rotate(-8deg);
}

.humanoid__leg {
  top: 232px;
  width: 24px;
  height: 64px;
  border-radius: 999px;
}

.humanoid__leg--left {
  margin-left: -24px;
}

.humanoid__leg--right {
  margin-left: 24px;
}

.scan-line {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 36px;
  z-index: 4;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(89, 255, 195, 0.9), transparent);
  box-shadow: 0 0 16px rgba(89, 255, 195, 0.52);
  animation: scanHud 6.2s var(--ease-out) infinite;
}

.hud-readouts {
  display: grid;
  gap: 9px;
}

.hud-readouts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(112, 224, 255, 0.16);
  border-radius: 14px;
  background: rgba(2, 8, 22, 0.48);
  padding: 12px 13px;
}

.hud-readouts span {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.hud-readouts strong {
  color: var(--color-cyan);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

@keyframes pulseStar {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.4);
  }
}

@keyframes scanHud {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  14%,
  76% {
    opacity: 0.86;
  }
  100% {
    transform: translateY(244px);
    opacity: 0;
  }
}

@keyframes panelSweep {
  0%,
  35% {
    transform: translateX(-60%);
    opacity: 0;
  }
  55% {
    opacity: 0.48;
  }
  100% {
    transform: translateX(60%);
    opacity: 0;
  }
}

.ranking-section {
  position: relative;
  isolation: isolate;
  padding: 94px 0 108px;
  background:
    radial-gradient(circle at 14% 16%, rgba(61, 231, 255, 0.12), transparent 32%),
    radial-gradient(circle at 85% 28%, rgba(155, 107, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #030613 0%, #050a1d 54%, #030613 100%);
}

.ranking-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(112, 224, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 224, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}

.ranking-section__inner {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
}

.section-kicker {
  color: var(--color-cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.section-head h2 {
  margin: 10px 0 0;
  color: var(--color-text);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: 0;
  word-break: keep-all;
}

.section-description {
  max-width: 680px;
  margin-top: 15px;
  color: var(--color-muted);
  font-size: 1rem;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(61, 231, 255, 0.34);
  border-radius: 999px;
  background: rgba(61, 231, 255, 0.08);
  color: var(--color-text);
  padding: 0 18px;
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.ranking-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  border: 1px solid rgba(112, 224, 255, 0.18);
  border-radius: 14px;
  background: rgba(7, 16, 39, 0.56);
  color: var(--color-muted);
  padding: 12px 14px;
  font-size: 0.82rem;
}

.ranking-note span {
  border-radius: 999px;
  background: rgba(155, 107, 255, 0.16);
  color: #d8ccff;
  padding: 5px 9px;
  font-weight: 800;
}

.ranking-note strong {
  color: var(--color-cyan);
}

.ranking-note em {
  font-style: normal;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 18px;
  margin-top: 26px;
}

.ranking-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-auto-rows: minmax(0, auto);
  gap: 16px;
}

.ranking-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid rgba(112, 224, 255, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(rgba(112, 224, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 224, 255, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, rgba(8, 23, 52, 0.9), rgba(8, 11, 33, 0.88));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ranking-card--leader {
  grid-row: span 2;
  min-height: 616px;
}

.ranking-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 8%, rgba(61, 231, 255, 0.16), transparent 34%);
  pointer-events: none;
}

.ranking-card__visual {
  position: relative;
  min-height: 146px;
  border-bottom: 1px solid rgba(112, 224, 255, 0.12);
}

.ranking-card--leader .ranking-card__visual {
  min-height: 252px;
}

.rank-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  color: var(--color-cyan);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.robot-silhouette {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.robot-silhouette__rank {
  position: absolute;
  right: 18px;
  top: 8px;
  color: rgba(245, 249, 255, 0.08);
  font-size: clamp(4rem, 8vw, 8.5rem);
  font-weight: 950;
  line-height: 1;
}

.robot-silhouette__ring {
  position: absolute;
  right: 44px;
  bottom: 18px;
  width: 144px;
  height: 144px;
  border: 1px solid rgba(61, 231, 255, 0.24);
  border-radius: 50%;
}

.robot-silhouette__ring::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(155, 107, 255, 0.28);
  border-radius: 50%;
}

.robot-silhouette__body {
  position: absolute;
  right: 88px;
  bottom: 20px;
  width: 74px;
  height: 126px;
  background:
    linear-gradient(145deg, rgba(61, 231, 255, 0.78), rgba(155, 107, 255, 0.5));
  clip-path: polygon(35% 0, 65% 0, 74% 15%, 74% 38%, 100% 54%, 87% 68%, 72% 57%, 68% 100%, 52% 100%, 50% 68%, 48% 68%, 48% 100%, 32% 100%, 28% 57%, 13% 68%, 0 54%, 26% 38%, 26% 15%);
  filter: drop-shadow(0 0 18px rgba(61, 231, 255, 0.28));
}

.ranking-card__body {
  position: relative;
  z-index: 2;
  padding: 18px;
}

.ranking-card--leader .ranking-card__body {
  padding: 22px;
}

.ranking-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.status-pill,
.country-code {
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 0.7rem;
  font-weight: 900;
}

.status-pill {
  background: rgba(61, 231, 255, 0.1);
  color: var(--color-cyan);
}

.country-code {
  background: rgba(155, 107, 255, 0.12);
  color: #d8ccff;
}

.ranking-card h3,
.ranking-row h3 {
  margin: 14px 0 0;
  color: var(--color-text);
  letter-spacing: 0;
}

.ranking-card h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
}

.ranking-card p,
.ranking-row p {
  margin: 4px 0 0;
  color: var(--color-muted);
}

.robot-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 16px;
}

.robot-meta div {
  border: 1px solid rgba(112, 224, 255, 0.14);
  border-radius: 12px;
  background: rgba(2, 8, 22, 0.42);
  padding: 10px;
}

.robot-meta dt {
  color: var(--color-dim);
  font-size: 0.7rem;
  font-weight: 800;
}

.robot-meta dd {
  margin-top: 4px;
  color: var(--color-text);
  font-weight: 900;
}

.score-stack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.score-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.score-row__head strong {
  color: var(--color-text);
}

.score-track {
  height: 7px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(112, 224, 255, 0.1);
}

.score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-primary);
}

.ranking-list {
  display: grid;
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(120px, 0.78fr) minmax(132px, auto);
  align-items: center;
  gap: 12px;
  min-height: 76px;
  border: 1px solid rgba(112, 224, 255, 0.15);
  border-radius: 16px;
  background: rgba(7, 16, 39, 0.62);
  padding: 12px;
}

.ranking-row__rank {
  color: var(--color-cyan);
  font-weight: 950;
  letter-spacing: 0.08em;
}

.ranking-row h3 {
  margin-top: 0;
  font-size: 1rem;
}

.ranking-row p,
.ranking-row__stage,
.ranking-row__scores {
  font-size: 0.78rem;
}

.ranking-row__stage span,
.ranking-row__stage em {
  display: block;
}

.ranking-row__stage span {
  color: var(--color-text);
  font-weight: 800;
}

.ranking-row__stage em {
  margin-top: 3px;
  color: var(--color-muted);
  font-style: normal;
}

.ranking-row__scores {
  display: grid;
  justify-items: end;
  gap: 3px;
  color: var(--color-muted);
}

.ranking-row__scores strong {
  color: var(--color-cyan);
  font-size: 1rem;
}

.hero--dashboard {
  min-height: min(860px, 100vh);
}

.hero__actions--dashboard {
  max-width: 760px;
}

.home-graph-preview__canvas {
  position: relative;
  min-height: 320px;
  margin: 24px 0;
  border: 1px solid rgba(112, 224, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(rgba(112, 224, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 224, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, rgba(61, 231, 255, 0.16), transparent 44%);
  background-size: 34px 34px, 34px 34px, auto;
  overflow: hidden;
}

.graph-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 106px;
  min-height: 42px;
  border: 1px solid rgba(61, 231, 255, 0.35);
  border-radius: 999px;
  background: rgba(5, 14, 34, 0.88);
  color: var(--color-text);
  font-size: 0.76rem;
  font-weight: 950;
  box-shadow: 0 0 28px rgba(61, 231, 255, 0.14);
}

.graph-node--robot {
  left: 50%;
  top: 34px;
  transform: translateX(-50%);
  color: var(--color-cyan);
}

.graph-node--company {
  left: 11%;
  top: 140px;
}

.graph-node--stock {
  right: 11%;
  top: 140px;
}

.graph-node--valuechain {
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  color: #d8ccff;
}

.graph-line {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 2px;
  height: 190px;
  background: linear-gradient(to bottom, rgba(61, 231, 255, 0), rgba(61, 231, 255, 0.46), rgba(155, 107, 255, 0));
  transform-origin: top center;
}

.graph-line--one {
  transform: rotate(0deg);
}

.graph-line--two {
  transform: rotate(58deg);
}

.graph-line--three {
  transform: rotate(-58deg);
}

.home-section {
  position: relative;
  padding: 84px 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(61, 231, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #030613 0%, #050a1d 100%);
}

.home-section:nth-of-type(even) {
  background:
    radial-gradient(circle at 88% 18%, rgba(155, 107, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #050a1d 0%, #030613 100%);
}

.home-section__inner {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.home-data-source {
  justify-self: end;
  border: 1px solid rgba(112, 224, 255, 0.22);
  border-radius: 999px;
  background: rgba(61, 231, 255, 0.08);
  color: var(--color-cyan);
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 900;
}

.summary-grid,
.entity-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.summary-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.entity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entity-grid--robots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-card,
.home-card,
.home-empty,
.recent-item {
  border: 1px solid rgba(112, 224, 255, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(rgba(112, 224, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(8, 23, 52, 0.86), rgba(7, 10, 29, 0.86));
  background-size: 28px 28px, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.summary-card {
  display: grid;
  gap: 8px;
  min-height: 138px;
  color: var(--color-text);
  padding: 18px;
}

.summary-card span,
.home-card__type,
.recent-item span,
.summary-card em {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-card strong {
  color: var(--color-cyan);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.summary-card em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
}

.home-card {
  min-height: 264px;
  overflow: hidden;
}

.home-card__link {
  display: grid;
  grid-template-rows: auto auto auto minmax(48px, 1fr) auto;
  gap: 12px;
  height: 100%;
  color: var(--color-text);
  padding: 18px;
}

.entity-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(61, 231, 255, 0.28);
  border-radius: 16px;
  background: rgba(61, 231, 255, 0.08);
  color: var(--color-cyan);
  font-size: 0.78rem;
  font-weight: 950;
}

.entity-mark--company {
  color: #d8ccff;
}

.entity-mark--stock {
  color: #87f7c4;
}

.entity-mark--valuechain {
  color: #ffdb8a;
}

.home-card h3 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
  line-height: 1.18;
  word-break: keep-all;
}

.home-card p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.92rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.home-card dl div {
  border: 1px solid rgba(112, 224, 255, 0.12);
  border-radius: 12px;
  background: rgba(2, 8, 22, 0.38);
  padding: 10px;
}

.home-card dt {
  color: var(--color-dim);
  font-size: 0.68rem;
  font-weight: 800;
}

.home-card dd {
  margin: 4px 0 0;
  color: var(--color-text);
  font-weight: 900;
}

.relationship-explorer__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(61, 231, 255, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 78% 22%, rgba(155, 107, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(8, 23, 52, 0.92), rgba(4, 8, 24, 0.92));
  padding: clamp(24px, 4vw, 42px);
}

.relationship-explorer__panel h2 {
  margin: 8px 0 0;
  color: var(--color-text);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.12;
}

.relationship-explorer__panel p {
  max-width: 780px;
  margin-top: 14px;
  color: var(--color-muted);
}

.recent-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.recent-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) minmax(160px, 0.7fr) 120px;
  align-items: center;
  gap: 14px;
  color: var(--color-text);
  padding: 14px 16px;
}

.recent-item strong,
.recent-item em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-item em,
.recent-item time {
  color: var(--color-muted);
  font-style: normal;
  font-size: 0.84rem;
}

.home-empty {
  grid-column: 1 / -1;
  padding: 22px;
}

.home-empty h3 {
  margin: 0;
  color: var(--color-text);
}

.home-empty p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.home-card--loading {
  min-height: 180px;
  padding: 18px;
}

.home-card--loading span,
.home-card--loading strong,
.home-card--loading p {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(112, 224, 255, 0.08), rgba(112, 224, 255, 0.2), rgba(112, 224, 255, 0.08));
}

.home-card--loading span {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.home-card--loading strong {
  width: 70%;
  height: 24px;
  margin-top: 18px;
}

.home-card--loading p {
  width: 92%;
  height: 14px;
  margin-top: 14px;
}
