/* Cybersecurity lab — sits inside technology-page shell (tech-rsl-app) */

.cybermap-lab {
  background: linear-gradient(180deg, #0a0a0f 0%, #060608 100%);
  color: rgba(255, 255, 255, 0.9);
  min-height: 520px;
}

.cybermap-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
}

.cybermap-toolbar button {
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.cybermap-toolbar button:hover {
  border-color: rgba(0, 113, 227, 0.45);
  background: rgba(0, 113, 227, 0.12);
}

.cybermap-toolbar button.is-on {
  border-color: rgba(0, 180, 216, 0.55);
  background: rgba(0, 180, 216, 0.12);
  color: var(--teal-light);
}

.cybermap-toolbar .cybermap-share {
  margin-left: auto;
  border-color: rgba(0, 113, 227, 0.35);
}

.cybermap-stage-wrap {
  position: relative;
  min-height: min(62vh, 640px);
  height: min(62vh, 640px);
}

.cybermap-stage-inner {
  position: absolute;
  inset: 0;
}

.cyber-three-mount {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  background: #000;
}

.cyber-three-mount canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
  touch-action: none;
}

.cyber-three-mount canvas:active {
  cursor: grabbing;
}

.cybermap-panel {
  position: absolute;
  top: 12px;
  right: 12px;
  width: min(272px, 40vw);
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: rgba(10, 12, 22, 0.9);
  border: 0.5px solid rgba(0, 113, 227, 0.22);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 4;
}

.cybermap-panel h3 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 10px;
}

.cybermap-panel .since {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
  line-height: 1.4;
}

.cybermap-cat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.cybermap-cat-row:last-of-type {
  border-bottom: none;
}

.cybermap-cat-row .code {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  font-size: 11px;
}

.cybermap-cat-row .num {
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.cybermap-hot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 0.5px solid rgba(0, 180, 216, 0.2);
  font-size: 11px;
}

.cybermap-hot .label {
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
  margin-bottom: 4px;
}

.cybermap-hot .value {
  font-weight: 700;
  color: var(--teal-light);
  font-size: 14px;
}

.cybermap-hot a {
  display: inline-block;
  margin-top: 8px;
  font-size: 10px;
  color: var(--accent-light);
  text-decoration: none;
}

.cybermap-hot a:hover {
  text-decoration: underline;
}

.cybermap-bottom-ticker {
  padding: 10px 18px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cybermap-bottom-ticker strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.cybermap-disclaimer {
  padding: 10px 18px 14px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 720px) {
  .cybermap-panel {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin: 0 12px 12px;
    max-width: none;
  }

  .cybermap-stage-wrap {
    min-height: 48vh;
    height: 48vh;
  }
}
