:root {
  --bg: #020711;
  --panel: rgba(4, 18, 30, 0.82);
  --panel-strong: rgba(5, 25, 42, 0.95);
  --cyan: #10d9ff;
  --cyan-soft: rgba(16, 217, 255, 0.24);
  --lime: #a9ff2b;
  --lime-soft: rgba(169, 255, 43, 0.2);
  --red: #ff4268;
  --amber: #ffc94a;
  --text: #f4f8fb;
  --muted: #9fb2c1;
  --line: rgba(63, 201, 255, 0.26);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(16, 217, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 82% 68%, rgba(169, 255, 43, 0.11), transparent 22rem),
    linear-gradient(180deg, #040813 0%, #020711 56%, #01040a 100%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

button {
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

.app-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(16, 217, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 217, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 84%, transparent);
}

.screen {
  display: none;
  min-height: 100vh;
  position: relative;
  padding: 24px;
}

.screen.is-active {
  display: block;
}

.screen-home {
  background:
    radial-gradient(circle at 50% 16%, rgba(16, 217, 255, 0.22), transparent 20rem),
    radial-gradient(circle at 72% 44%, rgba(169, 255, 43, 0.14), transparent 18rem),
    radial-gradient(circle at 12% 78%, rgba(255, 66, 104, 0.08), transparent 17rem),
    linear-gradient(rgba(2, 7, 17, 0.08), rgba(2, 7, 17, 0.9)),
    linear-gradient(180deg, #020813 0%, #04111b 48%, #01040a 100%);
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  padding: clamp(12px, 2.4vh, 24px);
}

.screen-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.92), transparent 25%, transparent 75%, rgba(2, 7, 17, 0.92)),
    linear-gradient(180deg, transparent 0 56%, rgba(1, 4, 10, 0.75) 56% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px);
  pointer-events: none;
}

.screen-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(16, 217, 255, 0.2) 10.2% 10.35%, transparent 10.55% 21%, rgba(16, 217, 255, 0.12) 21.2% 21.35%, transparent 21.55% 78%, rgba(169, 255, 43, 0.12) 78.2% 78.35%, transparent 78.55% 90%, rgba(16, 217, 255, 0.18) 90.2% 90.35%, transparent 90.55%),
    linear-gradient(transparent 0 24%, rgba(16, 217, 255, 0.13) 24.2% 24.35%, transparent 24.55% 46%, rgba(169, 255, 43, 0.14) 46.2% 46.35%, transparent 46.55% 72%, rgba(16, 217, 255, 0.13) 72.2% 72.35%, transparent 72.55%),
    linear-gradient(180deg, transparent 0 53%, rgba(5, 24, 39, 0.56) 53% 73%, rgba(1, 5, 12, 0.72) 73% 100%);
  opacity: 0.82;
  pointer-events: none;
}

.cyber-grid {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.cyber-grid span {
  background: linear-gradient(90deg, transparent, rgba(16, 217, 255, 0.9), transparent);
  height: 1px;
  left: 12%;
  opacity: 0.45;
  position: absolute;
  transform: translateX(-45%);
  width: 28vw;
}

.cyber-grid span:nth-child(1) {
  animation: scanLine 6s linear infinite;
  top: 18%;
}

.cyber-grid span:nth-child(2) {
  animation: scanLine 7.5s linear infinite 1.2s;
  top: 38%;
}

.cyber-grid span:nth-child(3) {
  animation: scanLine 8.5s linear infinite 2.4s;
  top: 58%;
}

.cyber-grid span:nth-child(4) {
  animation: scanLine 9s linear infinite 3.1s;
  top: 79%;
}

.hud-frame {
  position: absolute;
  inset: clamp(12px, 2.4vh, 24px);
  border: 1px solid rgba(16, 217, 255, 0.26);
  clip-path: polygon(1.4rem 0, calc(100% - 1.4rem) 0, 100% 1.4rem, 100% calc(100% - 1.4rem), calc(100% - 1.4rem) 100%, 1.4rem 100%, 0 calc(100% - 1.4rem), 0 1.4rem);
  opacity: 0.85;
  pointer-events: none;
}

.top-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: clamp(24px, 3.2vw, 40px);
  position: absolute;
  right: clamp(24px, 3.2vw, 40px);
  top: clamp(22px, 4vh, 40px);
  z-index: 2;
}

.hud-button {
  align-items: center;
  background: rgba(2, 9, 18, 0.72);
  border: 1px solid rgba(16, 217, 255, 0.34);
  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);
  display: inline-flex;
  font-family: Rajdhani, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0;
  min-height: 52px;
  padding: 0 18px;
  text-transform: uppercase;
}

.hud-button:hover,
.hud-button:focus-visible {
  background: rgba(16, 217, 255, 0.16);
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.icon-circle {
  align-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.icon-gear {
  border: 3px solid currentColor;
  border-radius: 50%;
  height: 22px;
  position: relative;
  width: 22px;
}

.icon-gear::before,
.icon-gear::after {
  background: currentColor;
  content: "";
  height: 4px;
  left: -5px;
  position: absolute;
  top: 6px;
  width: 26px;
}

.icon-gear::after {
  transform: rotate(90deg);
}

.home-content {
  align-items: center;
  display: grid;
  gap: clamp(6px, 1.2vh, 10px);
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  height: 100%;
  margin: 0 auto;
  max-width: 1100px;
  min-height: 0;
  padding: clamp(42px, 6.8vh, 58px) 0 0;
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-stage {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(170px, 1fr) minmax(320px, 520px) minmax(170px, 1fr);
  min-height: 0;
  position: relative;
  width: 100%;
}

.brand-mark {
  display: block;
  filter: drop-shadow(0 0 28px rgba(16, 217, 255, 0.34)) drop-shadow(0 0 16px rgba(169, 255, 43, 0.16));
  grid-column: 2;
  grid-row: 1;
  height: clamp(170px, 28vh, 285px);
  justify-self: center;
  max-width: min(92vw, 460px);
  object-fit: contain;
  mix-blend-mode: screen;
  position: relative;
  width: 100%;
  z-index: 2;
}

.brand-orbit {
  aspect-ratio: 1;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  pointer-events: none;
  position: relative;
  width: min(70vw, clamp(245px, 31vh, 310px));
  z-index: 1;
}

.orbit-ring,
.scan-sweep,
.orbit-node {
  position: absolute;
}

.orbit-ring {
  animation: pulseRing 3.6s ease-in-out infinite;
  border: 1px solid rgba(16, 217, 255, 0.42);
  border-radius: 50%;
  box-shadow: inset 0 0 40px rgba(16, 217, 255, 0.08), 0 0 30px rgba(16, 217, 255, 0.1);
  inset: 8%;
}

.orbit-ring::before,
.orbit-ring::after {
  border: 1px dashed rgba(169, 255, 43, 0.26);
  border-radius: 50%;
  content: "";
  inset: 13%;
  position: absolute;
}

.orbit-ring::after {
  border-color: rgba(255, 66, 104, 0.2);
  inset: 28%;
}

.scan-sweep {
  animation: rotateSweep 8s linear infinite;
  background: conic-gradient(from 0deg, rgba(16, 217, 255, 0.34), transparent 23%, transparent);
  border-radius: 50%;
  inset: 8%;
  opacity: 0.52;
}

.orbit-node {
  animation: nodeBlink 2.4s ease-in-out infinite;
  background: var(--lime);
  border: 2px solid rgba(2, 7, 17, 0.95);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(169, 255, 43, 0.95);
  height: 13px;
  width: 13px;
}

.node-a {
  left: 17%;
  top: 29%;
}

.node-b {
  animation-delay: 0.7s;
  right: 20%;
  top: 24%;
}

.node-c {
  animation-delay: 1.4s;
  bottom: 20%;
  left: 48%;
}

.security-widget {
  align-self: center;
  background: linear-gradient(180deg, rgba(3, 17, 28, 0.88), rgba(2, 9, 18, 0.72));
  border: 1px solid rgba(16, 217, 255, 0.34);
  box-shadow: 0 0 28px rgba(16, 217, 255, 0.12), inset 0 0 28px rgba(16, 217, 255, 0.06);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  display: grid;
  gap: 6px;
  justify-self: stretch;
  min-height: clamp(92px, 14vh, 118px);
  padding: clamp(12px, 1.8vh, 16px);
  position: relative;
  text-align: left;
  z-index: 3;
}

.security-widget::before {
  background: linear-gradient(90deg, transparent, rgba(16, 217, 255, 0.9), transparent);
  content: "";
  height: 1px;
  left: 12px;
  position: absolute;
  right: 12px;
  top: 10px;
}

.security-widget strong {
  color: #f8fbff;
  font-family: Rajdhani, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
  text-transform: uppercase;
}

.security-widget small,
.widget-kicker {
  color: var(--muted);
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.widget-kicker {
  color: var(--cyan);
  font-size: 0.78rem;
}

.threat-widget {
  transform: translateY(32px);
}

.shield-widget {
  transform: translateY(-28px);
}

.signal-bars {
  align-items: end;
  display: flex;
  gap: 5px;
  height: 34px;
  margin-top: 6px;
}

.signal-bars i {
  animation: barRise 1.5s ease-in-out infinite;
  background: linear-gradient(180deg, rgba(255, 66, 104, 0.3), rgba(255, 66, 104, 0.95));
  border: 1px solid rgba(255, 66, 104, 0.9);
  width: 11px;
}

.signal-bars i:nth-child(1) {
  animation-delay: 0s;
}

.signal-bars i:nth-child(2) {
  animation-delay: 0.15s;
}

.signal-bars i:nth-child(3) {
  animation-delay: 0.3s;
}

.signal-bars i:nth-child(4) {
  animation-delay: 0.45s;
}

.packet-flow {
  display: flex;
  gap: 9px;
  margin-top: 10px;
}

.packet-flow i {
  animation: packetPulse 1.8s ease-in-out infinite;
  background: rgba(169, 255, 43, 0.2);
  border: 1px solid rgba(169, 255, 43, 0.8);
  height: 12px;
  width: 32px;
}

.packet-flow i:nth-child(2) {
  animation-delay: 0.25s;
}

.packet-flow i:nth-child(3) {
  animation-delay: 0.5s;
}

.tagline {
  color: #f8fbff;
  font-family: Rajdhani, sans-serif;
  font-size: clamp(0.9rem, 1.7vw, 1.18rem);
  font-weight: 700;
  letter-spacing: 4px;
  margin: -18px 0 0;
  text-transform: uppercase;
}

.story-panel {
  align-items: center;
  background: linear-gradient(90deg, rgba(2, 12, 23, 0.9), rgba(3, 23, 34, 0.72));
  border: 1px solid rgba(16, 217, 255, 0.5);
  box-shadow: 0 0 26px rgba(16, 217, 255, 0.12), inset 0 0 28px rgba(16, 217, 255, 0.05);
  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);
  display: grid;
  gap: 18px;
  grid-template-columns: 68px 1fr;
  justify-self: center;
  max-width: 640px;
  padding: clamp(10px, 1.6vh, 14px) 18px;
  position: relative;
  text-align: left;
}

.story-panel::before {
  background: linear-gradient(90deg, transparent, rgba(169, 255, 43, 0.85), transparent);
  content: "";
  height: 1px;
  left: 18px;
  position: absolute;
  right: 18px;
  top: 0;
}

.story-panel h1,
.story-panel p {
  margin: 0;
}

.story-panel h1 {
  color: var(--lime);
  font-family: Rajdhani, sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.story-panel p {
  color: #d5e2ea;
  font-size: 0.9rem;
  line-height: 1.45;
}

.story-panel strong {
  color: var(--lime);
  display: block;
  line-height: 1.35;
  margin-top: 4px;
}

.story-icon {
  align-items: end;
  animation: iconGlow 2.6s ease-in-out infinite;
  border: 1px solid rgba(169, 255, 43, 0.8);
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(169, 255, 43, 0.15);
  display: flex;
  gap: 5px;
  height: clamp(48px, 8vh, 62px);
  justify-content: center;
  padding: clamp(9px, 1.7vh, 13px);
  width: clamp(48px, 8vh, 62px);
}

.story-icon span {
  animation: barRise 1.4s ease-in-out infinite;
  background: linear-gradient(180deg, rgba(169, 255, 43, 0.3), rgba(169, 255, 43, 0.85));
  border: 1px solid var(--lime);
  width: 10px;
}

.story-icon span:nth-child(1) {
  height: 22px;
}

.story-icon span:nth-child(2) {
  animation-delay: 0.2s;
  height: 38px;
}

.story-icon span:nth-child(3) {
  animation-delay: 0.4s;
  height: 30px;
}

.auth-actions {
  display: grid;
  gap: clamp(6px, 1vh, 10px);
  justify-items: center;
}

.start-button {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent) -120% 0 / 50% 100% no-repeat,
    linear-gradient(180deg, rgba(169, 255, 43, 0.36), rgba(16, 217, 255, 0.12));
  border: 2px solid var(--lime);
  box-shadow: 0 0 26px rgba(169, 255, 43, 0.34), inset 0 0 22px rgba(169, 255, 43, 0.14);
  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);
  font-family: Rajdhani, sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 700;
  justify-self: center;
  letter-spacing: 2px;
  min-height: clamp(52px, 8.8vh, 66px);
  text-transform: uppercase;
  transition: background-position 0.45s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: min(92vw, 450px);
}

.register-button {
  background: rgba(2, 12, 23, 0.74);
  border: 1px solid rgba(16, 217, 255, 0.62);
  box-shadow: inset 0 0 18px rgba(16, 217, 255, 0.08);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
  color: var(--cyan);
  font-family: Rajdhani, sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 1px;
  min-height: clamp(38px, 5.8vh, 46px);
  text-transform: uppercase;
  width: min(82vw, 330px);
}

.register-button:hover,
.register-button:focus-visible {
  background: rgba(16, 217, 255, 0.14);
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.start-button:hover,
.start-button:focus-visible {
  background: linear-gradient(180deg, rgba(169, 255, 43, 0.48), rgba(16, 217, 255, 0.16));
  background-position: 220% 0, 0 0;
  box-shadow: 0 0 34px rgba(169, 255, 43, 0.46), inset 0 0 28px rgba(169, 255, 43, 0.18);
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  transform: translateY(-1px);
}

.feature-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-self: center;
  margin-top: 0;
  max-width: 880px;
  padding-top: 2px;
  width: 100%;
}

.feature-item {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(16, 217, 255, 0.12), transparent 24%, transparent 76%, rgba(16, 217, 255, 0.12)),
    linear-gradient(180deg, rgba(4, 18, 30, 0.78), rgba(2, 9, 18, 0.34));
  border: 1px solid rgba(16, 217, 255, 0.28);
  box-shadow: inset 0 0 28px rgba(16, 217, 255, 0.04), 0 0 22px rgba(16, 217, 255, 0.08);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  display: grid;
  gap: 4px;
  justify-items: center;
  min-width: 0;
  overflow: hidden;
  padding: clamp(8px, 1.4vh, 13px) 12px clamp(8px, 1.5vh, 14px);
  position: relative;
}

.feature-item::before {
  background: linear-gradient(90deg, transparent, rgba(16, 217, 255, 0.86), transparent);
  content: "";
  height: 1px;
  left: 18px;
  position: absolute;
  right: 18px;
  top: 0;
}

.feature-item::after {
  animation: cardScan 4s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(169, 255, 43, 0.18), transparent);
  content: "";
  height: 100%;
  left: -55%;
  position: absolute;
  top: 0;
  transform: skewX(-18deg);
  width: 34%;
}

.feature-item strong {
  font-family: Rajdhani, sans-serif;
  font-size: 1.22rem;
  letter-spacing: 0.4px;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.feature-item small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
  max-width: 260px;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.feature-icon {
  animation: iconFloat 3s ease-in-out infinite;
  background:
    radial-gradient(circle at 50% 50%, rgba(16, 217, 255, 0.16), transparent 58%),
    rgba(2, 9, 18, 0.78);
  border: 1px solid rgba(16, 217, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 0 22px rgba(16, 217, 255, 0.18), inset 0 0 22px rgba(16, 217, 255, 0.08);
  display: block;
  height: clamp(42px, 7.4vh, 58px);
  margin-bottom: clamp(2px, 1vh, 8px);
  position: relative;
  width: clamp(42px, 7.4vh, 58px);
  z-index: 1;
}

.feature-item:nth-child(2) .feature-icon {
  animation-delay: 0.35s;
}

.feature-item:nth-child(3) .feature-icon {
  animation-delay: 0.7s;
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
}

.feature-icon.levels i {
  background: linear-gradient(180deg, rgba(16, 217, 255, 0.15), rgba(16, 217, 255, 0.9));
  border: 1px solid rgba(16, 217, 255, 0.95);
  bottom: 15px;
  box-shadow: 0 0 12px rgba(16, 217, 255, 0.45);
  position: absolute;
  width: 8px;
}

.feature-icon.levels i:nth-child(1) {
  animation: barRise 1.6s ease-in-out infinite;
  height: 16px;
  left: 17px;
}

.feature-icon.levels i:nth-child(2) {
  animation: barRise 1.6s ease-in-out infinite 0.2s;
  height: 26px;
  left: 27px;
}

.feature-icon.levels i:nth-child(3) {
  animation: barRise 1.6s ease-in-out infinite 0.4s;
  height: 36px;
  left: 37px;
}

.feature-icon.levels::before {
  border: 2px solid rgba(16, 217, 255, 0.9);
  border-radius: 50%;
  height: 40px;
  left: 9px;
  top: 9px;
  width: 40px;
}

.feature-icon.levels::after {
  background: var(--cyan);
  border-radius: 8px;
  bottom: 10px;
  height: 3px;
  left: 13px;
  width: 34px;
}

.feature-icon.incident {
  border-color: rgba(169, 255, 43, 0.72);
  box-shadow: 0 0 22px rgba(169, 255, 43, 0.14), inset 0 0 22px rgba(169, 255, 43, 0.07);
}

.feature-icon.incident::before {
  border-bottom: 35px solid rgba(169, 255, 43, 0.18);
  border-left: 21px solid transparent;
  border-right: 21px solid transparent;
  filter: drop-shadow(0 0 10px rgba(169, 255, 43, 0.35));
  left: 8px;
  top: 11px;
}

.feature-icon.incident::after {
  border-bottom: 35px solid rgba(169, 255, 43, 0.9);
  border-left: 21px solid transparent;
  border-right: 21px solid transparent;
  clip-path: polygon(0 0, 100% 0, 50% 100%, 44% 100%, 94% 4%, 6% 4%, 56% 100%, 50% 100%);
  left: 8px;
  top: 11px;
}

.feature-icon.incident i {
  background: var(--lime);
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(169, 255, 43, 0.75);
  height: 17px;
  left: 28px;
  position: absolute;
  top: 22px;
  width: 3px;
}

.feature-icon.incident i::after {
  background: var(--lime);
  border-radius: 50%;
  bottom: -8px;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  width: 4px;
}

.feature-icon.achievement::before {
  border: 5px solid var(--cyan);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  height: 22px;
  left: 15px;
  top: 12px;
  width: 28px;
}

.feature-icon.achievement::after {
  background: var(--cyan);
  box-shadow: 0 15px 0 rgba(16, 217, 255, 0.8);
  height: 16px;
  left: 27px;
  top: 33px;
  width: 5px;
}

.feature-icon.achievement i::before,
.feature-icon.achievement i::after {
  border: 3px solid rgba(16, 217, 255, 0.9);
  border-radius: 50%;
  content: "";
  height: 16px;
  position: absolute;
  top: 16px;
  width: 14px;
}

.feature-icon.achievement i::before {
  left: 7px;
}

.feature-icon.achievement i::after {
  right: 7px;
}

@keyframes scanLine {
  0% {
    left: -20%;
    opacity: 0;
  }
  12% {
    opacity: 0.5;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes rotateSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseRing {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.88;
    transform: scale(1);
  }
}

@keyframes nodeBlink {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes barRise {
  0%,
  100% {
    height: 35%;
  }
  50% {
    height: 100%;
  }
}

@keyframes packetPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(6px);
  }
}

@keyframes iconGlow {
  0%,
  100% {
    box-shadow: 0 0 16px rgba(169, 255, 43, 0.12);
  }
  50% {
    box-shadow: 0 0 26px rgba(169, 255, 43, 0.34);
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes cardScan {
  0% {
    left: -55%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    left: 122%;
    opacity: 0;
  }
}

@keyframes targetSweep {
  0%,
  100% {
    box-shadow: 0 0 14px rgba(16, 217, 255, 0.12);
  }
  50% {
    box-shadow: 0 0 24px rgba(16, 217, 255, 0.32);
  }
}

@keyframes dash-flow {
  to {
    stroke-dashoffset: -32;
  }
}

@keyframes server-led {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0.3;
  }
}

@keyframes load-bar {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.55);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes console-pulse {
  0%,
  100% {
    opacity: 0.72;
  }
  45% {
    opacity: 1;
  }
}

@keyframes packet-block {
  0% {
    left: -16px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  58% {
    left: 42%;
    opacity: 1;
  }
  70%,
  100% {
    left: 42%;
    opacity: 0;
  }
}

@keyframes packet-pass {
  0% {
    left: -16px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    left: calc(100% + 16px);
    opacity: 0;
  }
}

.screen-dashboard {
  background:
    radial-gradient(circle at 8% 82%, rgba(169, 255, 43, 0.14), transparent 18rem),
    radial-gradient(circle at 86% 12%, rgba(16, 217, 255, 0.12), transparent 20rem),
    linear-gradient(180deg, #030914 0%, #020711 100%);
  gap: 18px;
  grid-template-columns: 230px minmax(0, 1fr);
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.screen-dashboard.is-active {
  display: grid;
}

.player-sidebar {
  border-right: 1px solid rgba(16, 217, 255, 0.2);
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  padding: 22px 18px;
  position: sticky;
  top: 0;
}

.player-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 24, 39, 0.82), rgba(3, 9, 20, 0.95)),
    linear-gradient(rgba(16, 217, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  z-index: -1;
}

.sidebar-logo {
  display: block;
  height: 120px;
  object-fit: contain;
  object-position: left center;
  width: 160px;
}

.side-nav {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.side-link {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #dce7ee;
  display: grid;
  font-family: Rajdhani, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  gap: 14px;
  grid-template-columns: 24px minmax(0, 1fr);
  min-height: 48px;
  padding: 0 14px;
  text-align: left;
  text-transform: uppercase;
}

.side-link small {
  color: var(--amber);
  font-size: 0.66rem;
  grid-column: 2;
  letter-spacing: 0.4px;
  line-height: 1;
  margin-top: -13px;
  opacity: 0.92;
}

.side-link.is-coming-soon {
  color: rgba(220, 231, 238, 0.72);
}

.side-link.is-coming-soon:hover,
.side-link.is-coming-soon:focus-visible {
  background: linear-gradient(90deg, rgba(255, 201, 74, 0.08), rgba(16, 217, 255, 0.08));
  border-color: rgba(255, 201, 74, 0.36);
  color: #f3f7fb;
}

.side-link.is-coming-soon .nav-icon {
  opacity: 0.78;
}

.side-link:hover,
.side-link:focus-visible,
.side-link.is-active {
  background: linear-gradient(90deg, rgba(16, 217, 255, 0.16), rgba(169, 255, 43, 0.2));
  border-color: rgba(169, 255, 43, 0.56);
  color: var(--cyan);
  outline: 0;
}

.nav-icon,
.small-icon,
.fact-icon,
.stat-icon,
.hex-ach,
.challenge-icon,
.callout-shield {
  display: inline-block;
  flex: 0 0 auto;
  position: relative;
}

.nav-icon {
  height: 24px;
  width: 24px;
}

.nav-icon::before,
.nav-icon::after,
.small-icon::before,
.small-icon::after,
.fact-icon::before,
.fact-icon::after,
.stat-icon::before,
.stat-icon::after {
  content: "";
  position: absolute;
}

.nav-icon.home::before {
  border: 2px solid currentColor;
  border-top: 0;
  height: 13px;
  left: 4px;
  top: 8px;
  width: 16px;
}

.nav-icon.home::after {
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  height: 13px;
  left: 5px;
  top: 3px;
  transform: rotate(45deg);
  width: 13px;
}

.nav-icon.target::before,
.stat-icon.aim::before {
  border: 2px solid currentColor;
  border-radius: 50%;
  inset: 2px;
}

.nav-icon.target::after,
.stat-icon.aim::after {
  background: currentColor;
  height: 2px;
  left: 4px;
  top: 11px;
  width: 16px;
}

.nav-icon.bars::before {
  background: currentColor;
  bottom: 3px;
  box-shadow: 7px -7px 0 currentColor, 14px -13px 0 currentColor;
  height: 9px;
  left: 3px;
  width: 4px;
}

.nav-icon.cup::before,
.stat-icon.cup::before {
  border: 2px solid currentColor;
  border-radius: 0 0 8px 8px;
  height: 14px;
  left: 5px;
  top: 3px;
  width: 14px;
}

.nav-icon.user::before {
  border: 2px solid currentColor;
  border-radius: 50%;
  height: 8px;
  left: 8px;
  top: 3px;
  width: 8px;
}

.nav-icon.user::after {
  border: 2px solid currentColor;
  border-radius: 10px 10px 0 0;
  height: 9px;
  left: 4px;
  top: 13px;
  width: 16px;
}

.nav-icon.gear::before,
.nav-icon.help::before {
  border: 2px solid currentColor;
  border-radius: 50%;
  inset: 3px;
}

.nav-icon.gear::after {
  background: currentColor;
  height: 2px;
  left: 2px;
  top: 11px;
  width: 20px;
}

.nav-icon.help::after {
  content: "?";
  font-family: Rajdhani, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  left: 9px;
  top: 2px;
}

.nav-icon.exit::before {
  border: 2px solid currentColor;
  border-right: 0;
  height: 16px;
  left: 3px;
  top: 4px;
  width: 12px;
}

.nav-icon.exit::after {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  height: 8px;
  right: 4px;
  top: 8px;
  transform: rotate(45deg);
  width: 8px;
}

.sidebar-orbit {
  border: 1px solid rgba(169, 255, 43, 0.32);
  border-radius: 50%;
  bottom: -96px;
  height: 210px;
  left: -84px;
  position: absolute;
  width: 210px;
}

.sidebar-orbit::before,
.sidebar-orbit::after {
  border: 1px solid rgba(16, 217, 255, 0.26);
  border-radius: 50%;
  content: "";
  inset: 24px;
  position: absolute;
}

.sidebar-orbit::after {
  inset: 58px;
}

.dashboard-main {
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100dvh;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 22px 26px 0;
  scrollbar-color: rgba(16, 217, 255, 0.48) rgba(2, 9, 18, 0.6);
  scrollbar-width: thin;
}

.dashboard-main::-webkit-scrollbar {
  width: 10px;
}

.dashboard-main::-webkit-scrollbar-track {
  background: rgba(2, 9, 18, 0.6);
}

.dashboard-main::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(16, 217, 255, 0.5), rgba(169, 255, 43, 0.35));
  border: 2px solid rgba(2, 9, 18, 0.9);
  border-radius: 999px;
}

.dashboard-topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 34px;
}

.topbar-icons {
  display: flex;
  gap: 16px;
}

.small-icon {
  background: transparent;
  color: #dce7ee;
  height: 28px;
  width: 28px;
}

.small-icon::after {
  background: var(--lime);
  border-radius: 50%;
  height: 7px;
  right: 1px;
  top: 0;
  width: 7px;
}

.small-icon.bell::before {
  border: 2px solid currentColor;
  border-radius: 12px 12px 5px 5px;
  height: 17px;
  left: 7px;
  top: 5px;
  width: 14px;
}

.small-icon.mail::before {
  border: 2px solid currentColor;
  height: 15px;
  left: 3px;
  top: 7px;
  width: 21px;
}

.dashboard-card,
.stat-card {
  background: rgba(3, 13, 24, 0.86);
  border: 1px solid rgba(16, 217, 255, 0.18);
  border-radius: 8px;
  box-shadow: inset 0 0 32px rgba(16, 217, 255, 0.04);
}

.profile-card {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: 140px minmax(280px, 1fr) 250px;
  min-height: 0;
  padding: 18px 24px;
}

.avatar-ring {
  align-items: center;
  background: radial-gradient(circle, rgba(16, 217, 255, 0.12), transparent 58%);
  border: 4px solid var(--lime);
  border-left-color: var(--cyan);
  border-radius: 50%;
  display: flex;
  height: 118px;
  justify-content: center;
  width: 118px;
}

.avatar-hood {
  background: linear-gradient(135deg, #0a3d5c, #07101b 55%, #151d2f);
  clip-path: polygon(50% 0, 78% 16%, 96% 65%, 70% 100%, 50% 72%, 30% 100%, 4% 65%, 22% 16%);
  height: 88px;
  position: relative;
  width: 82px;
}

.avatar-hood::before {
  background: #06101a;
  border-radius: 50% 50% 38% 38%;
  content: "";
  height: 34px;
  left: 24px;
  position: absolute;
  top: 30px;
  width: 34px;
}

.avatar-hood::after {
  color: var(--amber);
  content: ">";
  font-family: Rajdhani, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  left: 35px;
  position: absolute;
  top: 45px;
}

.name-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.name-row h1 {
  font-family: Rajdhani, sans-serif;
  font-size: clamp(1.65rem, 2.6vw, 2rem);
  line-height: 1;
  margin: 0;
}

.name-row span {
  border: 1px solid var(--lime);
  border-radius: 5px;
  color: var(--lime);
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  padding: 2px 8px;
  text-transform: uppercase;
}

.profile-copy p,
.profile-facts,
.profile-copy blockquote {
  margin: 0;
}

.profile-copy > p {
  color: var(--muted);
  margin-bottom: 10px;
}

.profile-facts {
  color: #d7e2ea;
  display: grid;
  gap: 7px;
  list-style: none;
  padding: 0;
}

.profile-facts li {
  align-items: center;
  display: flex;
  gap: 9px;
}

.fact-icon {
  border: 1px solid currentColor;
  border-radius: 3px;
  color: var(--muted);
  height: 18px;
  position: relative;
  width: 18px;
}

.fact-icon.mail-mini::before {
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  height: 7px;
  left: 4px;
  position: absolute;
  top: 3px;
  transform: rotate(45deg);
  width: 7px;
}

.fact-icon.calendar-mini::before {
  background: currentColor;
  box-shadow: 7px 0 0 currentColor;
  content: "";
  height: 3px;
  left: 4px;
  position: absolute;
  top: -3px;
  width: 3px;
}

.fact-icon.calendar-mini::after {
  border-top: 1px solid currentColor;
  content: "";
  left: 2px;
  position: absolute;
  right: 2px;
  top: 5px;
}

.profile-copy blockquote {
  background: rgba(16, 217, 255, 0.06);
  border: 1px solid rgba(16, 217, 255, 0.12);
  border-radius: 8px;
  color: #e9f4fa;
  margin-top: 10px;
  max-width: 380px;
  padding: 10px 14px;
}

.level-panel {
  border-left: 1px solid rgba(16, 217, 255, 0.16);
  display: grid;
  gap: 6px;
  grid-template-columns: 64px minmax(0, 1fr);
  padding-left: 24px;
}

.level-panel p,
.dashboard-card h2,
.card-heading button {
  color: var(--cyan);
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.level-panel p,
.level-panel h2,
.level-panel strong,
.level-panel .xp-bar,
.level-panel small {
  grid-column: 2;
}

.level-panel h2 {
  font-family: Rajdhani, sans-serif;
  font-size: 1.35rem;
  margin: 0;
  text-transform: uppercase;
}

.level-panel strong {
  color: var(--cyan);
  display: block;
}

.level-badge {
  border: 5px solid #4a9cff;
  clip-path: polygon(50% 0, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%);
  grid-row: 1 / span 5;
  height: 62px;
  margin: 8px 0 0;
  position: relative;
  width: 62px;
}

.level-badge::before {
  border-bottom: 6px solid #4a9cff;
  border-left: 6px solid #4a9cff;
  content: "";
  height: 18px;
  left: 17px;
  position: absolute;
  top: 18px;
  transform: rotate(-45deg);
  width: 26px;
}

.xp-bar {
  background: rgba(16, 217, 255, 0.1);
  border-radius: 999px;
  height: 12px;
  margin: 4px 0 6px;
  overflow: hidden;
  width: min(100%, 180px);
}

.xp-bar span {
  background: linear-gradient(90deg, var(--cyan), #3a8dff);
  display: block;
  height: 100%;
}

.level-panel small {
  color: #dce7ee;
  display: grid;
  gap: 2px;
}

.level-panel b {
  color: var(--cyan);
}

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

.stat-card {
  border-radius: 0;
  min-height: 122px;
  padding: 16px 14px;
  text-align: center;
}

.stat-card:first-child {
  border-radius: 8px 0 0 8px;
}

.stat-card:last-child {
  border-radius: 0 8px 8px 0;
}

.stat-icon {
  color: var(--cyan);
  height: 34px;
  margin-bottom: 8px;
  width: 34px;
}

.stat-icon.shield::before,
.callout-shield::before {
  border: 3px solid currentColor;
  clip-path: polygon(50% 100%, 8% 55%, 8% 8%, 92% 8%, 92% 55%);
  inset: 2px 6px;
}

.stat-icon.shield::before {
  border: 3px solid currentColor;
  border-radius: 50%;
  clip-path: none;
  inset: 4px;
}

.stat-icon.shield::after {
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
  height: 4px;
  left: 10px;
  top: 15px;
  width: 14px;
}

.stat-icon.aim::after {
  background: currentColor;
  box-shadow: 0 0 0 999px transparent;
  height: 22px;
  left: 16px;
  top: 6px;
  width: 2px;
}

.stat-icon.aim::before {
  box-shadow: inset 0 0 0 6px rgba(16, 217, 255, 0.08);
}

.stat-icon.cup::after {
  background: currentColor;
  height: 11px;
  left: 15px;
  top: 18px;
  width: 4px;
}

.stat-icon.cup {
  color: var(--cyan);
}

.stat-icon.flame::before {
  border: 3px solid var(--amber);
  border-radius: 50% 50% 50% 0;
  height: 29px;
  left: 8px;
  top: 3px;
  transform: rotate(-45deg);
  width: 22px;
}

.stat-icon.flame::after {
  background: var(--amber);
  border-radius: 50%;
  height: 8px;
  left: 15px;
  top: 18px;
  width: 8px;
}

.stat-icon.clock::before {
  border: 3px solid currentColor;
  border-radius: 50%;
  inset: 3px;
}

.stat-icon.clock::after {
  background: currentColor;
  height: 11px;
  left: 16px;
  top: 8px;
  transform-origin: bottom;
  width: 3px;
}

.stat-card p {
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.stat-card strong {
  color: var(--cyan);
  display: block;
  font-family: Rajdhani, sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 1.95rem);
  line-height: 1.1;
  margin-top: 8px;
}

.stat-card:nth-child(1) strong,
.stat-card:nth-child(4) strong,
.stat-card small {
  color: var(--lime);
}

.dashboard-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(300px, 0.9fr) minmax(380px, 1.1fr);
}

.dashboard-card {
  overflow: hidden;
  padding: 16px;
}

.profile-card.dashboard-card {
  min-height: 202px;
  overflow: visible;
  padding: 18px 24px;
}

.dashboard-card h2 {
  font-size: 1.15rem;
}

.card-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.card-heading button {
  background: transparent;
}

.radar-wrap {
  height: 280px;
  margin: 8px auto 0;
  max-width: 360px;
  position: relative;
}

.radar-chart {
  height: 220px;
  left: 50%;
  position: absolute;
  top: 44px;
  transform: translateX(-50%);
  width: 260px;
}

.radar-chart line,
.radar-grid {
  fill: none;
  stroke: rgba(16, 217, 255, 0.22);
}

.radar-grid.small {
  stroke: rgba(16, 217, 255, 0.12);
}

.radar-fill {
  fill: rgba(169, 255, 43, 0.2);
}

.radar-line {
  fill: none;
  stroke: var(--lime);
  stroke-width: 3;
}

.radar-label {
  color: #dce7ee;
  font-size: 0.83rem;
  line-height: 1.25;
  position: absolute;
  text-align: center;
}

.radar-label b {
  color: var(--lime);
}

.radar-label.top {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.radar-label.right {
  right: 0;
  top: 86px;
}

.radar-label.bottom-right {
  bottom: 4px;
  right: 38px;
}

.radar-label.bottom-left {
  bottom: 4px;
  left: 54px;
}

.radar-label.left {
  left: 0;
  top: 86px;
}

.achievement-list,
.challenge-list {
  display: grid;
}

.achievement-list article,
.challenge-list article {
  align-items: center;
  border-top: 1px solid rgba(16, 217, 255, 0.12);
  display: grid;
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-height: 66px;
  padding: 8px 0;
}

.challenge-entry {
  cursor: pointer;
}

.challenge-entry.is-locked {
  cursor: not-allowed;
  opacity: 0.48;
}

.challenge-entry.is-current {
  background: linear-gradient(90deg, rgba(169, 255, 43, 0.1), rgba(16, 217, 255, 0.03));
}

.challenge-entry.is-current h3 {
  color: var(--lime);
}

.challenge-entry:hover,
.challenge-entry:focus-within {
  background: rgba(16, 217, 255, 0.06);
}

.challenge-entry.is-locked:hover,
.challenge-entry.is-locked:focus-within {
  background: transparent;
}

.achievement-list h3,
.achievement-list p,
.challenge-list h3,
.challenge-list p {
  margin: 0;
}

.achievement-list h3,
.challenge-list h3 {
  font-family: Rajdhani, sans-serif;
  font-size: 1rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.achievement-list p,
.challenge-list p,
.achievement-list time,
.challenge-list small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.25;
}

.hex-ach,
.challenge-icon {
  align-items: center;
  border: 2px solid currentColor;
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  color: var(--cyan);
  display: inline-grid;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.hex-ach.lock,
.challenge-icon.c2 {
  color: var(--lime);
}

.hex-ach.fire,
.challenge-icon.c5 {
  color: var(--red);
}

.hex-ach.cap,
.challenge-icon.c4 {
  color: #17f0dd;
}

.challenge-icon.c3 {
  color: #9d54ff;
}

.hex-ach::before,
.hex-ach::after,
.challenge-icon::before,
.challenge-icon::after {
  content: "";
  position: absolute;
}

.hex-ach.lock::before {
  border: 2px solid currentColor;
  border-radius: 6px 6px 2px 2px;
  height: 14px;
  left: 12px;
  top: 18px;
  width: 18px;
}

.hex-ach.lock::after {
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  height: 10px;
  left: 15px;
  top: 9px;
  width: 12px;
}

.hex-ach.aim::before {
  border: 2px solid currentColor;
  border-radius: 50%;
  inset: 10px;
}

.hex-ach.aim::after {
  background: currentColor;
  height: 2px;
  left: 9px;
  top: 20px;
  width: 24px;
}

.hex-ach.fire::before {
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  height: 22px;
  left: 13px;
  top: 8px;
  transform: rotate(-45deg);
  width: 17px;
}

.hex-ach.cap::before {
  border-bottom: 12px solid currentColor;
  border-left: 19px solid transparent;
  border-right: 19px solid transparent;
  height: 0;
  left: 2px;
  top: 13px;
  width: 0;
}

.hex-ach.cap::after {
  background: currentColor;
  height: 9px;
  left: 20px;
  top: 24px;
  width: 3px;
}

.challenge-icon::before {
  color: currentColor;
  content: attr(data-step);
  font-family: Rajdhani, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.challenge-icon.c1::before { content: "1"; }
.challenge-icon.c2::before { content: "2"; }
.challenge-icon.c3::before { content: "3"; }
.challenge-icon.c4::before { content: "4"; }
.challenge-icon.c5::before { content: "5"; }

.challenge-list strong {
  color: #dce7ee;
  font-size: 0.83rem;
  font-weight: 600;
  min-width: 112px;
  text-align: right;
}

.challenge-list strong::before {
  border: 2px solid var(--lime);
  border-radius: 50%;
  color: var(--lime);
  content: "✓";
  display: inline-grid;
  height: 21px;
  margin-right: 10px;
  place-items: center;
  width: 21px;
}

.challenge-entry.is-locked strong::before {
  border-color: #7d8d99;
  color: #7d8d99;
  content: "!";
}

.challenge-entry.is-current strong::before {
  border-color: var(--cyan);
  color: var(--cyan);
  content: ">";
}

.challenge-entry.is-completed strong::before {
  border-color: var(--lime);
  color: var(--lime);
  content: "✓";
}

.heatmap {
  margin: 18px auto 0;
  max-width: 360px;
}

.heat-days {
  color: var(--muted);
  display: grid;
  font-size: 0.78rem;
  grid-template-columns: repeat(7, 1fr);
  margin-left: 46px;
  text-align: center;
  text-transform: uppercase;
}

.heat-grid {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(14, 18px);
  grid-template-rows: repeat(7, 18px);
  justify-content: center;
  margin-top: 8px;
}

.heat-cell {
  background: rgba(16, 217, 255, 0.09);
  border: 1px solid rgba(16, 217, 255, 0.08);
  border-radius: 3px;
}

.heat-cell[data-level="1"] {
  background: rgba(16, 217, 255, 0.2);
}

.heat-cell[data-level="2"] {
  background: rgba(82, 157, 70, 0.55);
}

.heat-cell[data-level="3"] {
  background: rgba(128, 214, 31, 0.78);
}

.heat-cell[data-level="4"] {
  background: var(--lime);
  box-shadow: 0 0 12px rgba(169, 255, 43, 0.36);
}

.heat-legend {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.78rem;
  gap: 5px;
  justify-content: center;
  margin-top: 14px;
}

.heat-legend i {
  background: rgba(16, 217, 255, 0.12);
  border-radius: 2px;
  height: 10px;
  width: 10px;
}

.heat-legend i:nth-of-type(2) {
  background: rgba(82, 157, 70, 0.55);
}

.heat-legend i:nth-of-type(3) {
  background: rgba(128, 214, 31, 0.78);
}

.heat-legend i:nth-of-type(4) {
  background: var(--lime);
}

.learning-callout {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 74px 1fr;
  max-width: 520px;
}

.callout-shield {
  color: var(--cyan);
  height: 62px;
  width: 62px;
}

.learning-callout p,
.learning-callout strong {
  margin: 0;
}

.learning-callout strong {
  color: var(--cyan);
  display: block;
  margin-top: 8px;
}

.screen-game {
  background:
    radial-gradient(circle at 50% 0%, rgba(16, 217, 255, 0.16), transparent 25rem),
    linear-gradient(180deg, #040b16 0%, #020711 100%);
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100dvh;
  overflow: hidden;
  padding: clamp(14px, 2vw, 24px);
}

.screen-game.is-active {
  display: grid;
}

.network-game-header {
  align-items: center;
  border-bottom: 1px solid rgba(16, 217, 255, 0.22);
  display: grid;
  gap: clamp(10px, 1.3vw, 18px);
  grid-template-columns: 52px 128px 112px minmax(260px, 1fr) 116px 110px 126px;
  margin: 0 auto 12px;
  max-width: 1240px;
  min-height: 76px;
  padding-bottom: 10px;
  width: 100%;
}

.game-logo {
  height: 66px;
  object-fit: contain;
  width: 118px;
}

.level-chip {
  border-left: 1px solid rgba(16, 217, 255, 0.2);
  border-right: 1px solid rgba(16, 217, 255, 0.2);
  display: grid;
  gap: 2px;
  justify-content: center;
  min-height: 54px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.level-chip strong,
.challenge-title span,
.game-meter strong,
.scenario-copy h2,
.work-area-card h2,
.component-card h2,
.rules-card h2 {
  color: var(--lime);
}

.screen-game[aria-label="Reto bajo ataque"] .level-chip strong,
.screen-game[aria-label="Reto bajo ataque"] .challenge-title span,
.screen-game[aria-label="Reto bajo ataque"] .scenario-copy h2,
.screen-game[aria-label="Reto bajo ataque"] .verify-button {
  color: #a761ff;
}

.screen-game[aria-label="Reto bajo ataque"] .verify-button {
  background: linear-gradient(180deg, rgba(167, 97, 255, 0.64), rgba(89, 36, 158, 0.84));
  border-color: #a761ff;
}

.screen-game[aria-label="Reto bajo ataque"] .scenario-card {
  align-items: stretch;
  min-height: 158px;
}

.screen-game[aria-label="Reto bajo ataque"] .scenario-copy {
  align-items: start;
}

.screen-game[aria-label="Reto bajo ataque"] .scenario-icon {
  align-self: center;
}

.screen-game[aria-label="Reto bajo ataque"] .scenario-copy p {
  font-size: 0.9rem;
  line-height: 1.32;
}

.screen-game[aria-label="Reto bajo ataque"] .scenario-copy strong {
  font-size: 0.84rem;
  line-height: 1.18;
  margin-top: 6px;
}

.screen-game[aria-label="Reto bajo ataque"] .question-card {
  padding: 14px;
}

.screen-game[aria-label="Reto bajo ataque"] .answer-list {
  gap: 8px;
}

.screen-game[aria-label="Reto bajo ataque"] .answer-option {
  grid-template-columns: 22px 62px 1fr;
  min-height: 72px;
  padding: 10px 12px;
}

.screen-game[aria-label="Reto bajo ataque"] .answer-art {
  transform: scale(0.74);
}

.screen-game[aria-label="Reto bajo ataque"] .answer-option strong {
  font-size: 0.9rem;
}

.screen-game[aria-label="Reto bajo ataque"] .answer-option small {
  font-size: 0.8rem;
  line-height: 1.25;
}

.intruder-screen .challenge-title span,
.intruder-screen .level-chip strong,
.intruder-screen .scenario-copy h2 {
  color: #7cffd9;
}

.identify-screen .challenge-title span {
  color: var(--lime);
}

.level-chip strong,
.challenge-title h1,
.game-meter,
.scenario-copy h2,
.work-area-card h2,
.component-card h2,
.rules-card h2,
.component-tile strong,
.employee-zone strong,
.drop-zone small,
.network-game-footer button {
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.level-chip strong {
  font-size: 1.2rem;
}

.level-chip span {
  color: var(--cyan);
}

.challenge-title h1,
.challenge-title p {
  margin: 0;
}

.challenge-title h1 {
  font-size: clamp(1.28rem, 2.4vw, 1.75rem);
}

.challenge-title p {
  color: #d4e0e8;
  font-size: 0.98rem;
  margin-top: 4px;
}

.game-meter {
  align-items: center;
  border-left: 1px solid rgba(16, 217, 255, 0.17);
  display: flex;
  gap: 12px;
  min-height: 50px;
  padding-left: 12px;
}

.game-meter small {
  color: #d6e1e9;
  display: block;
  font-size: 0.9rem;
}

.game-meter strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
}

.meter-icon {
  color: var(--cyan);
  display: inline-block;
  height: 36px;
  position: relative;
  width: 36px;
}

.meter-icon::before,
.meter-icon::after {
  content: "";
  position: absolute;
}

.meter-icon.clock::before {
  border: 3px solid currentColor;
  border-radius: 50%;
  inset: 2px;
}

.meter-icon.clock::after {
  background: currentColor;
  height: 13px;
  left: 17px;
  top: 8px;
  transform-origin: bottom;
  width: 3px;
}

.meter-icon.star {
  color: var(--lime);
}

.meter-icon.star::before {
  background: currentColor;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 80% 92%, 50% 70%, 20% 92%, 32% 56%, 2% 35%, 39% 35%);
  inset: 2px;
}

.meter-icon.bulb::before {
  border: 3px solid currentColor;
  border-radius: 50% 50% 42% 42%;
  height: 22px;
  left: 8px;
  top: 2px;
  width: 20px;
}

.meter-icon.bulb::after {
  background: currentColor;
  height: 8px;
  left: 14px;
  top: 26px;
  width: 8px;
}

.network-game-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-rows: auto minmax(440px, 1fr);
  height: 100%;
  margin: 0 auto;
  max-width: 1240px;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.network-game-layout > * {
  min-height: 0;
}

.work-area-card,
.components-panel,
.identify-main,
.diagram-card,
.factor-card,
.note-card {
  min-height: 0;
}

.scenario-card,
.work-area-card,
.component-card,
.rules-card {
  background: rgba(3, 13, 24, 0.86);
  border: 1px solid rgba(16, 217, 255, 0.24);
  border-radius: 8px;
  box-shadow: inset 0 0 28px rgba(16, 217, 255, 0.04);
}

.scenario-card {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.45fr 0.85fr;
  align-items: start;
  min-height: 158px;
  overflow: visible;
  padding: 14px 18px;
}

.scenario-copy {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 58px 1fr;
  min-width: 0;
}

.objective-copy {
  border-left: 1px solid rgba(16, 217, 255, 0.22);
  padding-left: 18px;
}

.scenario-copy h2,
.scenario-copy p {
  margin: 0;
}

.scenario-copy p {
  color: #d6e1e9;
  font-size: 0.94rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.scenario-copy strong {
  color: var(--cyan);
  display: block;
  font-size: 0.9rem;
  margin-top: 8px;
}

.scenario-icon {
  border: 2px solid rgba(16, 217, 255, 0.45);
  border-radius: 50%;
  color: var(--cyan);
  height: 64px;
  position: relative;
  width: 64px;
}

.scenario-icon::before,
.scenario-icon::after {
  content: "";
  position: absolute;
}

.scenario-icon.building::before {
  border: 4px solid currentColor;
  height: 35px;
  left: 18px;
  top: 15px;
  width: 24px;
}

.scenario-icon.building::after {
  background: currentColor;
  box-shadow: 0 10px 0 currentColor, 10px 0 0 currentColor, 10px 10px 0 currentColor;
  height: 4px;
  left: 25px;
  top: 23px;
  width: 4px;
}

.scenario-icon.document::before {
  border: 4px solid currentColor;
  height: 34px;
  left: 19px;
  top: 14px;
  width: 26px;
}

.scenario-icon.document::after {
  background: currentColor;
  box-shadow: 0 9px 0 currentColor, 0 18px 0 currentColor;
  height: 3px;
  left: 27px;
  top: 24px;
  width: 14px;
}

.scenario-icon.alert-doc::before {
  border: 4px solid currentColor;
  height: 34px;
  left: 18px;
  top: 14px;
  width: 26px;
}

.scenario-icon.alert-doc::after {
  border-bottom: 20px solid var(--red);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  content: "";
  height: 0;
  left: 30px;
  top: 29px;
  width: 0;
}

.scenario-icon.objective {
  color: var(--lime);
}

.scenario-icon.objective::before {
  border: 4px solid currentColor;
  border-radius: 50%;
  inset: 15px;
}

.scenario-icon.objective::after {
  background: currentColor;
  height: 4px;
  left: 27px;
  top: 30px;
  width: 22px;
}

.work-area-card {
  min-height: 0;
  overflow: hidden;
  padding: 16px 18px;
}

.work-area-card h2 {
  color: var(--cyan);
  font-size: 1.25rem;
  margin: 0 0 12px;
}

.network-canvas {
  background:
    linear-gradient(rgba(16, 217, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 217, 255, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid rgba(16, 217, 255, 0.08);
  box-shadow: inset 0 0 34px rgba(16, 217, 255, 0.04);
  cursor: grab;
  height: calc(100% - 44px);
  min-height: 0;
  overflow: hidden;
  position: relative;
  touch-action: none;
  user-select: none;
}

.network-canvas.is-panning {
  cursor: grabbing;
}

.canvas-world {
  background:
    radial-gradient(circle at 50% 26%, rgba(16, 217, 255, 0.12), transparent 260px),
    linear-gradient(rgba(16, 217, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 217, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  height: 560px;
  left: 0;
  position: absolute;
  top: 0;
  transform: translate3d(-80px, 0, 0);
  transform-origin: 0 0;
  width: 980px;
}

.canvas-hint {
  background: rgba(4, 13, 23, 0.82);
  border: 1px solid rgba(16, 217, 255, 0.18);
  border-radius: 6px;
  color: #9fb2c2;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
  padding: 7px 10px;
  position: absolute;
  right: 14px;
  text-transform: uppercase;
  top: 12px;
  z-index: 4;
}

.network-canvas.is-hovered {
  box-shadow:
    inset 0 0 40px rgba(16, 217, 255, 0.1),
    0 0 0 1px rgba(16, 217, 255, 0.2);
}

.internet-node {
  background: linear-gradient(180deg, #f5fbff, #9fb3c0);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  box-shadow: 0 0 22px rgba(16, 217, 255, 0.18);
  color: #06101a;
  font-family: Rajdhani, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  left: 50%;
  padding: 8px 18px;
  position: absolute;
  text-transform: uppercase;
  top: 12px;
  transform: translateX(-50%);
  z-index: 3;
}

.connection-line {
  border-color: rgba(202, 218, 229, 0.58);
  border-style: dashed;
  border-width: 0;
  filter: drop-shadow(0 0 4px rgba(16, 217, 255, 0.12));
  position: absolute;
  z-index: 1;
}

.line-internet {
  border-left-width: 2px;
  height: 38px;
  left: 50%;
  top: 50px;
}

.line-a-b {
  border-left-width: 2px;
  height: 44px;
  left: 50%;
  top: 156px;
}

.line-core {
  border-top-width: 2px;
  height: 0;
  left: 255px;
  top: 286px;
  width: 470px;
}

.line-cable {
  border-left-width: 2px;
  height: 56px;
  left: 255px;
  top: 286px;
}

.line-wifi {
  border-left-width: 2px;
  height: 56px;
  left: 725px;
  top: 286px;
}

.line-cable-users {
  border-left-width: 2px;
  height: 10px;
  left: 255px;
  top: 428px;
}

.line-wifi-users {
  border-left-width: 2px;
  height: 10px;
  left: 725px;
  top: 428px;
}

.drop-zone {
  align-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(16, 217, 255, 0.1), transparent 58%),
    rgba(3, 13, 24, 0.74);
  border: 2px dashed rgba(212, 225, 235, 0.5);
  border-radius: 8px;
  color: #dce7ee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70px;
  padding: 10px;
  position: absolute;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  z-index: 2;
}

.drop-zone.is-hovered {
  background: rgba(16, 217, 255, 0.13);
  border-color: var(--cyan);
}

.drop-zone.is-filled {
  background: rgba(169, 255, 43, 0.08);
  border-color: var(--lime);
  border-style: solid;
  box-shadow: inset 0 0 20px rgba(169, 255, 43, 0.08);
}

.drop-zone.is-filled > span,
.drop-zone.is-filled > small {
  opacity: 0.18;
}

.drop-zone.is-wrong {
  background: rgba(255, 66, 104, 0.12);
  border-color: var(--red);
}

.drop-zone span {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.drop-zone small {
  color: #f1f6fa;
  font-size: 0.95rem;
  pointer-events: none;
}

.core-zone {
  left: 50%;
  top: 80px;
  transform: translateX(-50%);
  width: 108px;
}

.firewall-zone {
  left: 50%;
  top: 200px;
  transform: translateX(-50%);
  width: 270px;
}

.switch-zone {
  left: 200px;
  top: 342px;
  width: 108px;
}

.access-zone {
  left: 670px;
  top: 342px;
  width: 108px;
}

.optional-zone {
  border-color: rgba(255, 255, 255, 0.42);
  min-height: 116px;
  right: 90px;
  top: 80px;
  width: 176px;
}

.optional-shield {
  border: 2px solid rgba(255, 255, 255, 0.6);
  clip-path: polygon(50% 100%, 10% 55%, 10% 10%, 90% 10%, 90% 55%);
  height: 46px;
  margin-bottom: 10px;
  width: 42px;
}

.employee-zone {
  background: rgba(3, 13, 24, 0.6);
  border: 2px dashed rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  min-height: 98px;
  padding: 10px;
  position: absolute;
  text-align: center;
  z-index: 2;
}

.cable-employees {
  left: 105px;
  top: 438px;
  width: 300px;
}

.wifi-employees {
  left: 575px;
  top: 438px;
  width: 300px;
}

.mini-devices {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}

.mini-devices i {
  border: 2px solid #c8d5df;
  display: block;
  height: 22px;
  position: relative;
  width: 28px;
}

.mini-devices i::after {
  background: #c8d5df;
  bottom: -8px;
  content: "";
  height: 2px;
  left: 5px;
  position: absolute;
  width: 18px;
}

.mini-devices.laptop i {
  transform: skewX(-10deg);
}

.wifi-symbol {
  border: 4px solid var(--cyan);
  border-bottom: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50% 50% 0 0;
  height: 34px;
  left: 50%;
  position: absolute;
  top: -42px;
  transform: translateX(-50%);
  width: 58px;
}

.components-panel {
  display: grid;
  gap: 14px;
  grid-row: 1 / span 2;
  grid-column: 2;
  overflow-y: auto;
  padding-right: 4px;
}

.component-card,
.rules-card {
  padding: 18px;
}

.panel-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.panel-title h2,
.rules-card h2 {
  font-size: 1.2rem;
  margin: 0;
}

.info-dot {
  background: var(--cyan);
  border-radius: 50%;
  color: #06101a;
  font-weight: 700;
  height: 20px;
  width: 20px;
}

.component-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.component-tile {
  align-items: center;
  background:
    radial-gradient(circle at 50% 12%, rgba(16, 217, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(8, 28, 43, 0.94), rgba(5, 16, 29, 0.96));
  border: 1px solid rgba(16, 217, 255, 0.28);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 10px;
  place-items: center;
  transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.component-tile:hover,
.component-tile:focus-visible,
.component-tile.is-selected {
  border-color: var(--lime);
  box-shadow: inset 0 0 22px rgba(169, 255, 43, 0.1), 0 0 18px rgba(16, 217, 255, 0.1);
  outline: 0;
  transform: translateY(-1px);
}

.component-tile.is-used {
  opacity: 0.58;
}

.free-device {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(10, 38, 54, 0.98), rgba(4, 13, 24, 0.98)),
    rgba(4, 13, 24, 0.98);
  border: 1px solid rgba(16, 217, 255, 0.55);
  border-radius: 8px;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.32),
    inset 0 0 20px rgba(16, 217, 255, 0.08);
  color: #f3f8fb;
  cursor: grab;
  display: grid;
  gap: 2px;
  height: 68px;
  justify-items: center;
  padding: 6px;
  position: absolute;
  touch-action: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  width: 96px;
  z-index: 8;
}

.free-device:hover,
.free-device:focus-visible {
  border-color: var(--lime);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(16, 217, 255, 0.18),
    inset 0 0 22px rgba(169, 255, 43, 0.08);
  outline: 0;
}

.free-device.is-dragging {
  cursor: grabbing;
  transform: scale(1.03);
  z-index: 20;
}

.free-device strong {
  font-size: 0.72rem;
  line-height: 1;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}

.free-device .device-art {
  height: 34px;
  transform: scale(0.72);
  width: 62px;
}

.free-device.is-grouped {
  height: 48px;
  padding: 4px;
  width: 58px;
}

.free-device.is-grouped strong {
  display: none;
}

.free-device.is-grouped .device-art {
  height: 34px;
  transform: scale(0.58);
  width: 58px;
}

.device-art {
  display: block;
  filter: drop-shadow(0 0 8px rgba(16, 217, 255, 0.18));
  height: 48px;
  position: relative;
  width: 76px;
}

.device-art::before,
.device-art::after {
  content: "";
  position: absolute;
}

.device-art.router::before {
  background: linear-gradient(180deg, #172a36, #09161f);
  border: 2px solid #8fa6b4;
  border-radius: 6px;
  box-shadow: inset 0 -8px 14px rgba(16, 217, 255, 0.08);
  bottom: 8px;
  height: 24px;
  left: 8px;
  width: 60px;
}

.device-art.router::after {
  border-left: 4px solid #8fa6b4;
  border-right: 4px solid #8fa6b4;
  box-shadow: 0 -6px 0 -3px var(--cyan);
  height: 28px;
  left: 18px;
  top: 3px;
  transform: skewX(-12deg);
  width: 38px;
}

.device-art.switch::before {
  background: linear-gradient(180deg, #e9f4fb, #71818a);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
  clip-path: polygon(12% 20%, 88% 20%, 100% 58%, 86% 78%, 14% 78%, 0 58%);
  inset: 8px 6px;
}

.device-art.firewall::before {
  background: repeating-linear-gradient(90deg, #c75b50 0 14px, #9c4039 14px 18px);
  clip-path: polygon(0 20%, 100% 20%, 100% 75%, 0 75%);
  height: 32px;
  left: 8px;
  top: 10px;
  width: 42px;
}

.device-art.firewall::after {
  background: linear-gradient(180deg, #ffd95a, var(--amber) 58%, #ff8b2e);
  clip-path: polygon(50% 0, 68% 30%, 84% 18%, 78% 55%, 100% 70%, 65% 100%, 26% 100%, 0 68%, 24% 48%, 20% 18%, 38% 32%);
  filter: drop-shadow(0 0 8px rgba(255, 198, 74, 0.35));
  height: 42px;
  right: 4px;
  top: 3px;
  width: 34px;
}

.device-art.access-point::before {
  background: linear-gradient(180deg, #f8fbff, #9ca8b2);
  box-shadow: inset 0 -8px 12px rgba(6, 16, 28, 0.16);
  border-radius: 50%;
  bottom: 5px;
  height: 30px;
  left: 18px;
  width: 40px;
}

.device-art.access-point::after {
  border: 4px solid var(--cyan);
  border-bottom: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50% 50% 0 0;
  height: 28px;
  left: 18px;
  top: 0;
  width: 40px;
  filter: drop-shadow(0 0 8px rgba(16, 217, 255, 0.34));
}

.device-art.pc::before {
  background: linear-gradient(180deg, rgba(16, 217, 255, 0.1), rgba(16, 217, 255, 0.02));
  border: 3px solid #b8c8d2;
  box-shadow: inset 0 0 14px rgba(16, 217, 255, 0.12);
  height: 28px;
  left: 8px;
  top: 8px;
  width: 36px;
}

.device-art.pc::after {
  background: #263743;
  border: 2px solid #b8c8d2;
  height: 34px;
  right: 8px;
  top: 6px;
  width: 18px;
}

.device-art.laptop::before {
  background: linear-gradient(180deg, rgba(16, 217, 255, 0.08), rgba(16, 217, 255, 0.01));
  border: 3px solid #d4e1e8;
  height: 26px;
  left: 18px;
  top: 8px;
  transform: skewX(-10deg);
  width: 42px;
}

.device-art.laptop::after {
  background: linear-gradient(90deg, #9dabba, #ecf6fb, #9dabba);
  height: 4px;
  left: 12px;
  top: 38px;
  width: 56px;
}

.device-art.printer::before {
  background: linear-gradient(180deg, #8797a2, #54636d);
  border: 2px solid #b8c3cb;
  border-radius: 4px;
  height: 28px;
  left: 14px;
  top: 16px;
  width: 48px;
}

.device-art.printer::after {
  background: linear-gradient(180deg, #f4f9fc, #cbd8df);
  height: 16px;
  left: 22px;
  top: 4px;
  width: 32px;
}

.rules-card ul {
  color: #d9e4eb;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.rules-card li {
  align-items: center;
  display: flex;
  gap: 9px;
}

.rules-card li::before {
  border: 1px solid var(--cyan);
  border-radius: 50%;
  content: "";
  height: 13px;
  width: 13px;
}

.network-game-footer {
  align-items: center;
  border-top: 1px solid rgba(16, 217, 255, 0.2);
  display: grid;
  gap: 14px;
  grid-template-columns: 180px 1fr 300px;
  margin: 12px auto 0;
  max-width: 1240px;
  padding-top: 12px;
  width: 100%;
}

.exit-challenge,
.verify-button {
  border-radius: 8px;
  min-height: 44px;
}

.exit-challenge {
  background: rgba(16, 217, 255, 0.07);
  border: 1px solid var(--cyan);
  color: var(--cyan);
}

.verify-button {
  background: linear-gradient(180deg, rgba(169, 255, 43, 0.42), rgba(78, 132, 25, 0.7));
  border: 1px solid var(--lime);
  box-shadow: inset 0 0 18px rgba(169, 255, 43, 0.14);
}

.challenge-progress {
  align-items: center;
  color: var(--cyan);
  display: flex;
  gap: 12px;
  justify-content: center;
}

.challenge-progress span {
  background: rgba(214, 225, 233, 0.16);
  border-radius: 50%;
  height: 18px;
  width: 18px;
}

.challenge-progress span.is-current {
  background: var(--lime);
}

.challenge-progress strong {
  font-family: Rajdhani, sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.cable-game-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  height: 100%;
  margin: 0 auto;
  max-width: 1240px;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.cable-left-column {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.diagram-card,
.factor-card,
.note-card,
.question-card {
  background: rgba(3, 13, 24, 0.86);
  border: 1px solid rgba(16, 217, 255, 0.24);
  border-radius: 8px;
  box-shadow: inset 0 0 28px rgba(16, 217, 255, 0.04);
}

.diagram-card {
  min-height: 230px;
  padding: 16px;
}

.diagram-card h2,
.factor-card h2,
.note-card h2,
.question-card h2 {
  color: var(--cyan);
  font-family: Rajdhani, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.distance-diagram {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 190px minmax(190px, 1fr) 190px;
  min-height: 172px;
}

.cable-screen .scenario-card {
  min-height: 180px;
}

.cable-screen .scenario-copy p {
  font-size: 0.9rem;
  line-height: 1.34;
}

.cable-screen .objective-copy p {
  font-size: 0.88rem;
}

.site-building {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.site-building span {
  display: block;
  height: 98px;
  position: relative;
  width: 150px;
}

.site-building span::before {
  background: linear-gradient(180deg, #3c86a9, #122b3d);
  border: 2px solid rgba(170, 230, 255, 0.45);
  bottom: 8px;
  content: "";
  height: 70px;
  left: 24px;
  position: absolute;
  width: 92px;
}

.site-building span::after {
  background: #06101a;
  box-shadow:
    18px 0 0 #06101a,
    36px 0 0 #06101a,
    0 18px 0 #06101a,
    18px 18px 0 #06101a,
    36px 18px 0 #06101a;
  content: "";
  height: 10px;
  left: 44px;
  position: absolute;
  top: 40px;
  width: 10px;
}

.site-building.warehouse span::before {
  clip-path: polygon(50% 0, 100% 28%, 100% 100%, 0 100%, 0 28%);
  left: 14px;
  width: 120px;
}

.site-building strong {
  font-family: Rajdhani, sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.broken-link {
  align-items: center;
  display: grid;
  justify-items: center;
  position: relative;
}

.broken-link::before,
.broken-link::after {
  border-top: 3px dashed rgba(255, 255, 255, 0.68);
  content: "";
  position: absolute;
  top: 82px;
  width: calc(50% - 28px);
}

.broken-link::before {
  left: 0;
}

.broken-link::after {
  right: 0;
}

.broken-link span {
  color: #f2f7fb;
  font-weight: 700;
  margin-bottom: 22px;
}

.broken-link i {
  height: 44px;
  position: relative;
  width: 44px;
}

.broken-link i::before,
.broken-link i::after {
  background: var(--red);
  content: "";
  height: 7px;
  left: 3px;
  position: absolute;
  top: 19px;
  width: 38px;
}

.broken-link i::before {
  transform: rotate(45deg);
}

.broken-link i::after {
  transform: rotate(-45deg);
}

.broken-link strong {
  color: #dce7ee;
  font-weight: 600;
}

.consideration-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.45fr 0.9fr;
}

.factor-card,
.note-card {
  padding: 18px;
}

.factor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.factor-grid article {
  align-items: center;
  border-left: 1px solid rgba(16, 217, 255, 0.12);
  display: grid;
  justify-items: center;
  min-height: 104px;
  text-align: center;
}

.factor-grid article:first-child {
  border-left: 0;
}

.factor-grid strong {
  font-family: Rajdhani, sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.factor-grid small,
.note-card p {
  color: #d6e1e9;
  line-height: 1.45;
}

.factor-icon {
  border: 2px solid rgba(16, 217, 255, 0.34);
  border-radius: 50%;
  color: var(--cyan);
  display: block;
  height: 48px;
  position: relative;
  width: 48px;
}

.factor-icon::before,
.factor-icon::after,
.question-icon::before,
.answer-art::before,
.answer-art::after {
  content: "";
  position: absolute;
}

.factor-icon.speed::before {
  border: 4px solid currentColor;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  inset: 12px;
  transform: rotate(-45deg);
}

.factor-icon.distance::before {
  background: currentColor;
  border-radius: 50%;
  box-shadow: 18px -12px 0 currentColor;
  height: 10px;
  left: 10px;
  top: 25px;
  width: 10px;
}

.factor-icon.distance::after {
  border-top: 3px dashed currentColor;
  height: 1px;
  left: 17px;
  top: 22px;
  transform: rotate(-35deg);
  width: 24px;
}

.factor-icon.stability::before {
  border: 3px solid currentColor;
  clip-path: polygon(50% 100%, 10% 55%, 10% 10%, 90% 10%, 90% 55%);
  inset: 8px 12px;
}

.question-panel {
  display: grid;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.question-card {
  padding: 16px;
}

.question-heading {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px 1fr;
}

.question-heading p {
  color: #f0f5f8;
  font-size: 0.98rem;
  line-height: 1.45;
  margin: 4px 0;
}

.question-heading small {
  color: var(--cyan);
}

.question-icon {
  border: 2px solid #4a8dff;
  border-radius: 50%;
  color: #8bb7ff;
  display: grid;
  font-family: Rajdhani, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  height: 40px;
  place-items: center;
  width: 40px;
}

.answer-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.answer-option {
  align-items: center;
  background: rgba(6, 20, 34, 0.86);
  border: 1px solid rgba(16, 217, 255, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 22px 72px 1fr;
  min-height: 82px;
  padding: 12px 14px;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.answer-option.compact {
  grid-template-columns: 58px 1fr 24px;
  min-height: 64px;
}

.answer-option.text-only {
  grid-template-columns: 24px 34px 1fr;
  min-height: 66px;
}

.answer-option.text-only b {
  color: #dce7ee;
  font-family: Rajdhani, sans-serif;
  font-size: 1.2rem;
}

.answer-option.text-only.is-selected b,
.answer-option.text-only.is-correct b {
  color: var(--lime);
}

.answer-option.compact .radio-dot {
  grid-column: 3;
  grid-row: 1;
}

.answer-option:hover,
.answer-option:focus-visible,
.answer-option.is-selected {
  border-color: var(--cyan);
  box-shadow: inset 0 0 20px rgba(16, 217, 255, 0.08);
  outline: 0;
}

.answer-option.is-selected .radio-dot {
  border-color: var(--lime);
}

.answer-option.is-selected .radio-dot::before {
  background: var(--lime);
}

.answer-option.is-correct {
  border-color: var(--lime);
}

.answer-option.is-wrong {
  border-color: var(--red);
}

.radio-dot {
  border: 2px solid #8a9aa7;
  border-radius: 50%;
  height: 22px;
  position: relative;
  width: 22px;
}

.radio-dot::before {
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 4px;
  position: absolute;
  top: 4px;
  width: 10px;
}

.answer-art {
  display: block;
  height: 56px;
  position: relative;
  transform: scale(0.86);
  transform-origin: center;
  width: 76px;
}

.answer-art.copper::before {
  border: 10px solid #126bba;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  height: 54px;
  left: 22px;
  top: 3px;
  transform: rotate(-28deg);
  width: 62px;
}

.answer-art.copper::after {
  background: linear-gradient(90deg, #f4d17a, #715536);
  border: 2px solid #d8edf8;
  height: 26px;
  left: 28px;
  top: 38px;
  transform: rotate(25deg);
  width: 20px;
}

.answer-art.fiber::before {
  background: linear-gradient(90deg, #ffd35c, #272a34);
  border-radius: 18px;
  height: 22px;
  left: 14px;
  top: 34px;
  transform: rotate(-30deg);
  width: 52px;
}

.answer-art.fiber::after {
  background: linear-gradient(90deg, var(--cyan), transparent);
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 62%);
  height: 54px;
  left: 48px;
  top: 8px;
  transform: rotate(-30deg);
  width: 48px;
}

.answer-art.wireless::before {
  background: #1a2b37;
  border: 2px solid #526672;
  border-radius: 6px;
  bottom: 4px;
  height: 30px;
  left: 20px;
  width: 60px;
}

.answer-art.wireless::after {
  border: 5px solid #9d54ff;
  border-bottom: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50% 50% 0 0;
  height: 38px;
  left: 27px;
  top: 4px;
  width: 46px;
}

.answer-option strong {
  color: #6fa8ff;
  display: block;
  font-family: Rajdhani, sans-serif;
  font-size: 0.98rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.answer-option small {
  color: #d7e2ea;
  display: block;
  font-size: 0.86rem;
  line-height: 1.35;
  margin-top: 4px;
}

.incident-card,
.logs-card {
  background: rgba(3, 13, 24, 0.86);
  border: 1px solid rgba(16, 217, 255, 0.24);
  border-radius: 8px;
  box-shadow: inset 0 0 28px rgba(16, 217, 255, 0.04);
  padding: 16px;
}

.incident-card h2,
.logs-card h2 {
  color: var(--cyan);
  font-family: Rajdhani, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.incident-layout {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(230px, 0.75fr) minmax(290px, 1fr);
  min-height: 230px;
  position: relative;
}

.alert-panel {
  background: rgba(4, 14, 24, 0.72);
  border: 1px solid rgba(16, 217, 255, 0.1);
  padding: 14px;
}

.alert-panel h3 {
  color: var(--red);
  font-family: Rajdhani, sans-serif;
  font-size: 1.2rem;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.alert-panel p,
.alert-panel dl {
  color: #dbe6ee;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}

.alert-panel dl {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.alert-panel div {
  display: grid;
  grid-template-columns: 92px 1fr;
}

.alert-panel dt {
  color: #f0f5f8;
}

.alert-panel dd {
  color: #dbe6ee;
  margin: 0;
}

.alert-panel div:first-child dd,
.logs-card tbody td:nth-child(2),
.logs-card tbody td:last-child {
  color: var(--red);
}

.attack-map {
  min-height: 220px;
  position: relative;
}

.attack-lines {
  inset: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

.attack-lines path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.4;
}

.attack-lines .danger {
  stroke: var(--red);
  stroke-dasharray: 8 8;
  animation: dash-flow 1.1s linear infinite;
}

.map-node {
  align-items: center;
  color: #f4f8fb;
  display: flex;
  font-family: Rajdhani, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  min-width: 72px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  z-index: 2;
}

.map-node.internet {
  background: linear-gradient(180deg, #ffffff, #b8c3cb);
  border-radius: 22px;
  color: #07101a;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.map-node.attacker {
  border: 2px solid var(--red);
  color: var(--red);
  left: 4%;
  top: 74px;
}

.map-node.firewall {
  border: 2px solid #9aa6af;
  left: 45%;
  top: 75px;
}

.map-node.switch {
  border: 2px solid #758894;
  left: 45%;
  top: 138px;
}

.map-node.file-server,
.map-node.users,
.map-node.db {
  bottom: 8px;
  border: 2px solid rgba(16, 217, 255, 0.36);
}

.map-node.file-server {
  border-color: var(--red);
  color: var(--red);
  left: 3%;
}

.map-node.users {
  left: 39%;
}

.map-node.db {
  right: 3%;
}

.server-sim {
  align-items: center;
  background: rgba(4, 14, 24, 0.72);
  border: 1px solid rgba(255, 66, 104, 0.28);
  bottom: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 74px 1fr;
  left: 50%;
  padding: 10px;
  position: absolute;
  transform: translateX(-50%);
  width: min(260px, 74%);
  z-index: 3;
}

.server-rack {
  display: grid;
  gap: 5px;
}

.server-rack span {
  background: linear-gradient(90deg, rgba(16, 217, 255, 0.18), rgba(6, 20, 34, 0.9));
  border: 1px solid rgba(16, 217, 255, 0.42);
  height: 16px;
  position: relative;
}

.server-rack span::after {
  animation: server-led 900ms steps(2, end) infinite;
  background: var(--red);
  border-radius: 50%;
  content: "";
  height: 6px;
  position: absolute;
  right: 7px;
  top: 4px;
  width: 6px;
}

.server-status strong {
  color: #f4f8fb;
  display: block;
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
}

.server-status small {
  color: #aebdcc;
}

.status-bars {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.status-bars i {
  animation: load-bar 1.1s ease-in-out infinite;
  background: var(--red);
  height: 10px;
  width: 18px;
}

.status-bars i:nth-child(2) { animation-delay: 140ms; }
.status-bars i:nth-child(3) { animation-delay: 280ms; }
.status-bars i:nth-child(4) { animation-delay: 420ms; }

.simulation-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.15fr) minmax(230px, 0.85fr);
}

.console-card,
.firewall-sim {
  background: rgba(3, 13, 24, 0.86);
  border: 1px solid rgba(16, 217, 255, 0.24);
  border-radius: 8px;
  box-shadow: inset 0 0 28px rgba(16, 217, 255, 0.04);
  min-height: 150px;
  overflow: hidden;
}

.terminal-bar {
  align-items: center;
  background: rgba(16, 217, 255, 0.08);
  border-bottom: 1px solid rgba(16, 217, 255, 0.16);
  display: flex;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
}

.terminal-bar span {
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

.terminal-bar span:nth-child(1) { background: var(--red); }
.terminal-bar span:nth-child(2) { background: var(--amber); }
.terminal-bar span:nth-child(3) { background: var(--lime); }

.terminal-bar strong {
  color: #b9c7d1;
  font-family: Rajdhani, sans-serif;
  font-size: 0.88rem;
  margin-left: 6px;
  text-transform: uppercase;
}

.terminal-lines {
  color: #dbe6ee;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  padding: 12px 14px;
}

.terminal-lines p {
  animation: console-pulse 2.4s ease-in-out infinite;
  margin: 0 0 5px;
}

.terminal-lines p:nth-child(2) { animation-delay: 220ms; }
.terminal-lines p:nth-child(3) { animation-delay: 440ms; }
.terminal-lines p:nth-child(4) { animation-delay: 660ms; }

.terminal-lines span {
  color: var(--cyan);
  margin-right: 8px;
}

.firewall-sim {
  padding: 14px;
}

.firewall-sim h2 {
  color: var(--cyan);
  font-family: Rajdhani, sans-serif;
  font-size: 1.08rem;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.firewall-sim p {
  color: #dbe6ee;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 10px 0 0;
}

.firewall-sim strong {
  color: var(--lime);
}

.firewall-gate {
  background:
    linear-gradient(90deg, transparent 0 45%, rgba(169, 255, 43, 0.36) 45% 48%, transparent 48% 100%),
    linear-gradient(rgba(16, 217, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 100% 14px;
  border: 1px solid rgba(16, 217, 255, 0.16);
  height: 72px;
  overflow: hidden;
  position: relative;
}

.packet {
  animation: packet-block 2s linear infinite;
  border-radius: 50%;
  height: 11px;
  left: -16px;
  position: absolute;
  top: 16px;
  width: 11px;
}

.packet.danger {
  background: var(--red);
  box-shadow: 0 0 14px rgba(255, 66, 104, 0.8);
}

.packet.safe {
  animation-name: packet-pass;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(16, 217, 255, 0.8);
  top: 48px;
}

.packet.p2 {
  animation-delay: 750ms;
  top: 32px;
}

.logs-card {
  overflow-x: auto;
}

.logs-card table {
  border-collapse: collapse;
  color: #dbe6ee;
  min-width: 640px;
  width: 100%;
}

.logs-card th,
.logs-card td {
  border: 1px solid rgba(16, 217, 255, 0.09);
  padding: 8px 12px;
  text-align: left;
}

.logs-card th {
  color: #f3f8fb;
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
}

.answer-art.block-ip::before {
  background:
    linear-gradient(90deg, transparent 0 28%, rgba(0,0,0,.24) 28% 34%, transparent 34% 64%, rgba(0,0,0,.24) 64% 70%, transparent 70%),
    #c84d45;
  height: 48px;
  left: 20px;
  top: 10px;
  width: 54px;
}

.answer-art.block-ip::after {
  background: var(--amber);
  clip-path: polygon(50% 0, 70% 28%, 86% 14%, 82% 52%, 100% 67%, 66% 100%, 28% 100%, 0 67%, 23% 48%, 18% 14%, 36% 30%);
  height: 48px;
  right: 5px;
  top: 20px;
  width: 34px;
}

.answer-art.password::before {
  background: linear-gradient(180deg, #ffe37a, #c89f22);
  border-radius: 7px;
  height: 38px;
  left: 32px;
  top: 28px;
  width: 40px;
}

.answer-art.password::after {
  border: 7px solid #ffe37a;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  height: 26px;
  left: 38px;
  top: 5px;
  width: 28px;
}

.answer-art.disconnect::before {
  border: 4px solid var(--cyan);
  height: 40px;
  left: 22px;
  top: 12px;
  width: 52px;
}

.answer-art.disconnect::after {
  background: var(--cyan);
  height: 5px;
  left: 36px;
  top: 58px;
  width: 28px;
}

.answer-art.logs::before {
  border: 4px solid var(--lime);
  height: 50px;
  left: 28px;
  top: 10px;
  width: 42px;
}

.answer-art.logs::after {
  background: var(--lime);
  box-shadow: 0 10px 0 var(--lime), 0 20px 0 var(--lime);
  height: 4px;
  left: 38px;
  top: 24px;
  width: 24px;
}

.topology-card,
.detected-card {
  background: rgba(3, 13, 24, 0.86);
  border: 1px solid rgba(16, 217, 255, 0.24);
  border-radius: 8px;
  box-shadow: inset 0 0 28px rgba(16, 217, 255, 0.04);
  padding: 16px;
}

.topology-map {
  background:
    linear-gradient(rgba(16, 217, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 217, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  min-height: 350px;
  position: relative;
}

.topology-lines {
  inset: 0;
  position: absolute;
  height: 100%;
  width: 100%;
}

.topology-lines path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.4;
}

.topology-router,
.topology-internet {
  color: #dce7ee;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  z-index: 2;
}

.topology-router {
  background: #182a35;
  border: 2px solid #586c78;
  border-radius: 7px;
  left: 50%;
  padding: 18px 46px 8px;
  top: 44px;
  transform: translateX(-50%);
}

.topology-router::before {
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 12px 0 0 var(--lime), 24px 0 0 var(--lime), 46px 0 0 #536774, 62px 0 0 #536774, 78px 0 0 #536774;
  content: "";
  height: 5px;
  left: 18px;
  position: absolute;
  top: 16px;
  width: 5px;
}

.topology-internet {
  right: 12%;
  top: 28px;
}

.topology-internet::before {
  border: 3px solid #8fb3c8;
  border-radius: 50%;
  content: "";
  display: block;
  height: 42px;
  margin: 0 auto 6px;
  width: 42px;
}

.net-device {
  align-items: center;
  display: grid;
  gap: 4px;
  justify-items: center;
  position: absolute;
  text-align: center;
  width: 116px;
  z-index: 2;
}

.net-device strong,
.net-device small {
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.net-device small {
  color: #f0f5f8;
}

.net-device i {
  background: var(--lime);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.pc-admin {
  left: 3%;
  top: 190px;
}

.laptop-rrhh {
  left: 22%;
  top: 190px;
}

.net-device.printer {
  left: 41%;
  top: 190px;
}

.net-device.mobile-node {
  left: 60%;
  top: 190px;
}

.net-device.nas {
  right: 2%;
  top: 190px;
}

.device-art.phone,
.answer-art.phone-mini {
  border: 3px solid #c7d4dd;
  border-radius: 5px;
  height: 48px;
  width: 30px;
}

.device-art.server,
.answer-art.server-mini {
  border: 3px solid #52616b;
  height: 52px;
  width: 34px;
}

.answer-art.pc-mini,
.answer-art.laptop-mini,
.answer-art.printer-mini,
.answer-art.phone-mini,
.answer-art.server-mini {
  height: 42px;
  width: 48px;
}

.answer-art.pc-mini::before {
  border: 3px solid #9fb0bc;
  height: 28px;
  left: 5px;
  top: 4px;
  width: 34px;
}

.answer-art.laptop-mini::before {
  border: 3px solid #b9c7d0;
  height: 24px;
  left: 5px;
  top: 7px;
  transform: skewX(-10deg);
  width: 36px;
}

.answer-art.printer-mini::before {
  background: #6f7d86;
  border: 2px solid #c8d2d9;
  border-radius: 4px;
  height: 28px;
  left: 5px;
  top: 9px;
  width: 38px;
}

.answer-art.phone-mini {
  margin-left: 8px;
}

.answer-art.server-mini {
  margin-left: 8px;
}

.detected-card {
  overflow-x: auto;
}

.inventory-card {
  margin-top: -2px;
}

.detected-card h2 {
  color: var(--cyan);
  font-family: Rajdhani, sans-serif;
  font-size: 1.2rem;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.detected-card table {
  border-collapse: collapse;
  color: #dce7ee;
  min-width: 680px;
  width: 100%;
}

.detected-card th,
.detected-card td {
  border: 1px solid rgba(16, 217, 255, 0.12);
  padding: 7px 10px;
  text-align: left;
}

.detected-card th {
  color: #f2f7fb;
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
}

.scenario-icon.document-search::before {
  border: 4px solid currentColor;
  height: 34px;
  left: 18px;
  top: 14px;
  width: 26px;
}

.scenario-icon.document-search::after {
  border: 3px solid currentColor;
  border-radius: 50%;
  height: 14px;
  left: 34px;
  top: 34px;
  width: 14px;
}

.scenario-icon.search-node::before {
  border: 3px solid currentColor;
  border-radius: 50%;
  height: 24px;
  left: 16px;
  top: 15px;
  width: 24px;
}

.scenario-icon.search-node::after {
  background: currentColor;
  height: 18px;
  left: 38px;
  top: 38px;
  transform: rotate(-45deg);
  width: 4px;
}

.identify-game-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 390px;
  height: 100%;
  margin: 0 auto;
  max-width: 1240px;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.identify-left-column {
  display: grid;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.devices-card {
  background: rgba(3, 13, 24, 0.86);
  border: 1px solid rgba(16, 217, 255, 0.24);
  border-radius: 8px;
  box-shadow: inset 0 0 28px rgba(16, 217, 255, 0.04);
  padding: 18px;
}

.devices-card h2 {
  color: var(--cyan);
  font-family: Rajdhani, sans-serif;
  font-size: 1.25rem;
  margin: 0;
  text-transform: uppercase;
}

.devices-card > p {
  color: #dce7ee;
  margin: 8px 0 22px;
}

.device-choice-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.device-choice {
  background: rgba(4, 16, 28, 0.9);
  border: 1px solid rgba(16, 217, 255, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  justify-items: center;
  min-height: 350px;
  padding: 18px 12px;
  position: relative;
  text-align: center;
}

.device-choice:hover,
.device-choice:focus-visible {
  border-color: var(--lime);
  outline: 0;
}

.device-choice.is-selected {
  box-shadow: inset 0 0 28px rgba(169, 255, 43, 0.08);
}

.choice-letter {
  align-items: center;
  background: #06101a;
  border: 2px solid #4daaff;
  border-radius: 50%;
  display: flex;
  font-family: Rajdhani, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  position: absolute;
  top: -24px;
  width: 48px;
}

.device-choice strong {
  font-family: Rajdhani, sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.device-choice small {
  color: #d6e1e9;
  line-height: 1.55;
}

.device-art.dhcp::before {
  background: linear-gradient(180deg, #394a55, #121f28);
  border: 3px solid #506574;
  height: 90px;
  left: 22px;
  top: -8px;
  width: 54px;
}

.device-art.dhcp::after {
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 14px 0 var(--lime), 0 28px 0 var(--lime), 0 42px 0 #445966;
  height: 5px;
  left: 36px;
  top: 8px;
  width: 5px;
}

.game-header {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 52px 1fr minmax(94px, auto);
  margin: 0 auto 22px;
  max-width: 1220px;
}

.game-header p,
.game-header h2 {
  margin: 0;
}

.game-header p,
.panel-kicker,
.score-box span,
.status-grid span,
.console-feed span {
  color: var(--cyan);
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.game-header h2 {
  font-family: Rajdhani, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  text-transform: uppercase;
}

.icon-button {
  background: rgba(16, 217, 255, 0.1);
  border: 1px solid rgba(16, 217, 255, 0.42);
  border-radius: 8px;
  height: 52px;
  position: relative;
  width: 52px;
}

.icon-button span,
.icon-button span::before {
  background: var(--text);
  content: "";
  height: 3px;
  left: 15px;
  position: absolute;
  top: 24px;
  width: 22px;
}

.icon-button span::before {
  left: -2px;
  top: 0;
  transform: rotate(45deg);
  transform-origin: left center;
  width: 13px;
}

.score-box {
  background: var(--panel);
  border: 1px solid rgba(169, 255, 43, 0.36);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: right;
}

.score-box strong {
  color: var(--lime);
  display: block;
  font-family: Rajdhani, sans-serif;
  font-size: 1.8rem;
}

.game-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(240px, 0.8fr) minmax(350px, 1.5fr) minmax(280px, 0.9fr);
  margin: 0 auto;
  max-width: 1220px;
}

.mission-panel,
.action-panel,
.network-board {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 0 30px rgba(16, 217, 255, 0.05);
}

.mission-panel,
.action-panel {
  padding: 22px;
}

.mission-panel h3,
.action-panel h3 {
  font-family: Rajdhani, sans-serif;
  font-size: 1.55rem;
  line-height: 1.05;
  margin: 8px 0 12px;
  text-transform: uppercase;
}

.mission-panel p,
.action-panel p {
  color: #c6d2db;
  line-height: 1.55;
}

.status-grid {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.status-grid div {
  align-items: center;
  background: rgba(4, 18, 30, 0.8);
  border: 1px solid rgba(16, 217, 255, 0.18);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 12px;
}

.status-grid strong {
  color: var(--lime);
  font-family: Rajdhani, sans-serif;
  font-size: 1.35rem;
}

.network-board {
  aspect-ratio: 1 / 0.78;
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.network-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(16, 217, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 217, 255, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
}

.scan-line {
  animation: scan 4s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(169, 255, 43, 0.38), transparent);
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

@keyframes scan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(430px);
  }
}

.network-lines {
  inset: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

.network-lines path {
  fill: none;
  stroke: rgba(16, 217, 255, 0.38);
  stroke-dasharray: 2 2;
  stroke-width: 0.55;
}

.node {
  align-items: center;
  background: rgba(3, 11, 22, 0.96);
  border: 2px solid rgba(16, 217, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(16, 217, 255, 0.18);
  display: flex;
  height: 76px;
  justify-content: center;
  left: var(--x);
  position: absolute;
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 76px;
  z-index: 2;
}

.node span {
  font-family: Rajdhani, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.node.is-safe {
  border-color: var(--lime);
}

.node.is-alert {
  border-color: var(--amber);
  box-shadow: 0 0 28px rgba(255, 201, 74, 0.3);
}

.node.is-risk {
  animation: pulseRisk 1.4s ease-in-out infinite;
  border-color: var(--red);
  box-shadow: 0 0 28px rgba(255, 66, 104, 0.42);
}

@keyframes pulseRisk {
  50% {
    transform: translate(-50%, -50%) scale(1.07);
  }
}

.choice-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.choice-button {
  background: rgba(16, 217, 255, 0.08);
  border: 1px solid rgba(16, 217, 255, 0.3);
  border-radius: 8px;
  line-height: 1.35;
  padding: 14px;
  text-align: left;
}

.choice-button:hover,
.choice-button:focus-visible {
  background: rgba(169, 255, 43, 0.13);
  border-color: var(--lime);
  outline: 0;
}

.console-feed {
  background: #020812;
  border: 1px solid rgba(169, 255, 43, 0.22);
  border-radius: 8px;
  min-height: 112px;
  padding: 14px;
}

.console-feed p {
  color: #d8f7e0;
  font-family: "Courier New", monospace;
  font-size: 0.92rem;
  margin: 8px 0 0;
}

.modal-panel {
  background: var(--panel-strong);
  border: 1px solid rgba(16, 217, 255, 0.42);
  border-radius: 8px;
  color: var(--text);
  max-width: min(92vw, 440px);
  padding: 26px;
}

.modal-panel::backdrop {
  background: rgba(1, 4, 10, 0.78);
}

.modal-panel h2 {
  color: var(--lime);
  font-family: Rajdhani, sans-serif;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.modal-panel p {
  color: #d5e2ea;
  line-height: 1.55;
  margin: 0;
}

.modal-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}

.modal-actions[hidden] {
  display: none;
}

.modal-primary,
.modal-secondary {
  border-radius: 6px;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  min-height: 46px;
  text-transform: uppercase;
}

.modal-primary {
  background: linear-gradient(180deg, rgba(169, 255, 43, 0.46), rgba(78, 132, 25, 0.76));
  border: 1px solid var(--lime);
  color: #f4f8fb;
}

.modal-secondary {
  background: rgba(16, 217, 255, 0.07);
  border: 1px solid rgba(16, 217, 255, 0.48);
  color: var(--cyan);
}

.auth-dialog {
  max-width: min(92vw, 460px);
}

.auth-form {
  display: none;
  gap: 14px;
  margin-top: 18px;
}

.auth-form.is-active {
  display: grid;
}

.auth-form label {
  display: grid;
  gap: 6px;
}

.auth-form label span {
  color: var(--cyan);
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-form input {
  background: rgba(2, 9, 18, 0.82);
  border: 1px solid rgba(16, 217, 255, 0.32);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  min-height: 48px;
  padding: 0 14px;
}

.auth-form input:focus {
  border-color: var(--lime);
  outline: 2px solid rgba(169, 255, 43, 0.22);
}

.auth-submit,
.auth-switch {
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-submit {
  background: linear-gradient(180deg, rgba(169, 255, 43, 0.42), rgba(16, 217, 255, 0.12));
  border: 1px solid var(--lime);
  border-radius: 6px;
  min-height: 50px;
}

.auth-switch {
  background: transparent;
  color: var(--cyan);
  margin-top: 12px;
  padding: 0;
}

.auth-feedback {
  color: var(--amber);
  min-height: 1.4em;
  margin-top: 12px;
}

.modal-close {
  background: transparent;
  height: 34px;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
}

.modal-close::before,
.modal-close::after {
  background: var(--text);
  content: "";
  height: 2px;
  left: 8px;
  position: absolute;
  top: 16px;
  width: 18px;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

@media (max-width: 980px) {
  .screen {
    padding: 18px;
  }

  .screen-dashboard {
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-columns: 1fr;
    height: 100dvh;
    overflow: hidden;
    padding: 0;
  }

  .player-sidebar {
    border-bottom: 1px solid rgba(16, 217, 255, 0.2);
    border-right: 0;
    height: auto;
    min-height: auto;
    overflow: hidden;
    padding: 14px;
    position: relative;
  }

  .sidebar-logo {
    height: 88px;
    margin: 0 auto;
    width: 150px;
  }

  .side-nav {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .side-link {
    min-width: max-content;
    min-height: 44px;
  }

  .side-link.is-coming-soon {
    min-width: 150px;
  }

  .sidebar-orbit {
    display: none;
  }

  .dashboard-main {
    height: auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0 18px 22px;
  }

  .profile-card {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .level-panel {
    border-left: 0;
    border-top: 1px solid rgba(16, 217, 255, 0.16);
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 120px minmax(0, 1fr);
    padding-left: 0;
    padding-top: 18px;
  }

  .level-badge {
    grid-row: span 4;
  }

  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card,
  .stat-card:first-child,
  .stat-card:last-child {
    border-radius: 8px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .network-game-header {
    grid-template-columns: 52px 120px 1fr;
    overflow-y: auto;
  }

  .game-logo {
    height: 68px;
    width: 110px;
  }

  .level-chip,
  .challenge-title,
  .game-meter {
    grid-column: span 1;
  }

  .network-game-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    overflow-y: auto;
  }

  .cable-game-layout {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .identify-game-layout {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .device-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .distance-diagram {
    grid-template-columns: 1fr;
  }

  .incident-layout {
    grid-template-columns: 1fr;
  }

  .attack-map {
    min-height: 300px;
  }

  .server-sim {
    position: relative;
    bottom: auto;
    left: auto;
    margin: 0 auto;
    transform: none;
  }

  .simulation-grid {
    grid-template-columns: 1fr;
  }

  .broken-link::before,
  .broken-link::after {
    display: none;
  }

  .components-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .scenario-card {
    grid-template-columns: 1fr;
  }

  .consideration-row {
    grid-template-columns: 1fr;
  }

  .objective-copy {
    border-left: 0;
    border-top: 1px solid rgba(16, 217, 255, 0.22);
    padding-left: 0;
    padding-top: 18px;
  }

  .network-game-footer {
    grid-template-columns: 1fr;
  }

  .game-layout {
    grid-template-columns: 1fr;
  }

  .network-board {
    aspect-ratio: auto;
    min-height: 360px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .feature-item {
    display: grid;
    gap: 2px 12px;
    grid-template-columns: 68px 1fr;
    justify-items: start;
    text-align: left;
  }

  .feature-item .feature-icon {
    grid-row: span 2;
  }
}

@media (max-width: 620px) {
  .screen-game {
    grid-template-rows: auto auto auto;
    height: auto;
    min-height: 100dvh;
    overflow-y: auto;
    padding: 18px;
  }

  .screen-game.is-active {
    display: grid;
  }

  .cable-game-layout,
  .identify-game-layout,
  .network-game-layout {
    height: auto;
    overflow: visible;
  }

  .cable-left-column,
  .identify-left-column,
  .question-panel,
  .components-panel {
    overflow: visible;
    padding-right: 0;
  }

  .top-actions {
    left: 18px;
    right: 18px;
    top: 18px;
  }

  .hud-button {
    font-size: 0.86rem;
    min-height: 44px;
    padding: 0 12px;
  }

  .dashboard-main {
    padding: 0 12px 18px;
  }

  .dashboard-topbar {
    min-height: 0;
  }

  .profile-card {
    gap: 16px;
    grid-template-columns: 1fr;
    padding: 18px;
    text-align: center;
  }

  .avatar-ring {
    justify-self: center;
  }

  .name-row {
    justify-content: center;
  }

  .profile-facts li {
    justify-content: center;
  }

  .profile-copy blockquote {
    margin-left: auto;
    margin-right: auto;
  }

  .level-panel {
    display: block;
    text-align: left;
  }

  .level-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .xp-bar {
    width: 100%;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .achievement-list article,
  .challenge-list article {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .achievement-list time,
  .challenge-list strong {
    grid-column: 2;
    text-align: left;
  }

  .radar-wrap {
    transform: scale(0.86);
    transform-origin: top center;
  }

  .category-card {
    max-height: 310px;
  }

  .heat-grid {
    gap: 4px;
    grid-template-columns: repeat(14, 15px);
    grid-template-rows: repeat(7, 15px);
  }

  .learning-callout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .network-game-header {
    grid-template-columns: 46px 1fr;
    margin-bottom: 12px;
    max-height: none;
    overflow: visible;
  }

  .game-logo {
    height: 68px;
    justify-self: center;
    width: 124px;
  }

  .level-chip,
  .challenge-title,
  .game-meter {
    grid-column: 1 / -1;
  }

  .level-chip {
    min-height: 0;
  }

  .challenge-title h1 {
    font-size: 1.35rem;
  }

  .challenge-title p {
    font-size: 0.95rem;
  }

  .game-meter {
    min-height: 44px;
  }

  .scenario-card {
    min-height: 0;
  }

  .scenario-copy {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .scenario-icon {
    justify-self: start;
  }

  .distance-diagram {
    min-height: 0;
  }

  .network-game-footer {
    margin-top: 12px;
    position: relative;
  }

  .component-grid {
    grid-template-columns: 1fr;
  }

  .answer-option {
    grid-template-columns: 24px 86px 1fr;
  }

  .device-choice-grid {
    grid-template-columns: 1fr;
  }

  .device-choice {
    min-height: 250px;
  }

  .network-canvas {
    min-height: 520px;
    min-width: 0;
  }

  .canvas-world {
    height: 720px;
    width: 1060px;
  }

  .internet-node {
    left: 50%;
  }

  .line-internet {
    left: 50%;
  }

  .core-zone {
    left: 50%;
    top: 70px;
    transform: translateX(-50%);
  }

  .firewall-zone {
    left: 50%;
    top: 155px;
    transform: translateX(-50%);
    width: 220px;
  }

  .switch-zone {
    left: 16%;
    top: 265px;
  }

  .access-zone {
    left: auto;
    right: 16%;
    top: 265px;
  }

  .optional-zone {
    left: 50%;
    right: auto;
    top: 370px;
    transform: translateX(-50%);
  }

  .employee-zone {
    bottom: 18px;
    min-height: 86px;
  }

  .cable-employees,
  .wifi-employees {
    width: 46%;
  }

  .cable-employees {
    left: 1%;
  }

  .wifi-employees {
    right: 1%;
  }

  .mini-devices {
    gap: 6px;
  }

  .mini-devices i {
    height: 18px;
    width: 21px;
  }

  .callout-shield {
    justify-self: center;
  }

  .home-content {
    gap: 16px;
    padding-top: 82px;
  }

  .hero-stage {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
  }

  .brand-mark,
  .brand-orbit {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .brand-mark {
    height: clamp(200px, 28vh, 245px);
  }

  .brand-orbit {
    width: min(78vw, 270px);
  }

  .security-widget {
    align-items: center;
    grid-template-columns: 1fr;
    justify-self: center;
    min-height: 74px;
    padding: 12px 14px;
    width: 100%;
  }

  .security-widget strong {
    font-size: 1.18rem;
  }

  .security-widget small {
    grid-column: 1;
  }

  .signal-bars,
  .packet-flow {
    display: none;
  }

  .threat-widget,
  .shield-widget {
    transform: none;
  }

  .tagline {
    letter-spacing: 2px;
    margin-top: -20px;
  }

  .story-panel {
    gap: 12px;
    grid-template-columns: 54px 1fr;
    padding: 14px;
    text-align: left;
  }

  .story-icon {
    height: 54px;
    justify-self: center;
    padding: 10px;
    width: 54px;
  }

  .story-panel p {
    font-size: 0.84rem;
  }

  @media (max-height: 720px) {
    .home-content {
      gap: 6px;
      padding-top: 52px;
    }

    .hero-stage {
      display: block;
      height: clamp(130px, 23vh, 155px);
      min-height: 0;
    }

    .brand-mark,
    .brand-orbit {
      grid-column: auto;
      grid-row: auto;
    }

    .brand-mark {
      height: clamp(128px, 22vh, 150px);
      margin: 0 auto;
      max-width: 280px;
    }

    .brand-orbit {
      left: 50%;
      position: absolute;
      top: 50%;
      transform: translate(-50%, -50%);
      width: clamp(145px, 25vh, 170px);
    }

    .security-widget {
      display: none;
    }

    .story-panel {
      gap: 10px;
      grid-template-columns: 46px 1fr;
      padding: 10px 12px;
    }

    .story-icon {
      height: 46px;
      padding: 8px;
      width: 46px;
    }

    .story-panel h1 {
      font-size: 1rem;
    }

    .story-panel p,
    .story-panel strong {
      font-size: 0.78rem;
      line-height: 1.25;
    }

    .start-button {
      font-size: 1.25rem;
      min-height: 50px;
    }

    .feature-strip {
      gap: 8px;
    }

    .feature-item {
      grid-template-columns: 48px 1fr;
      min-height: 0;
      padding: 8px 10px;
    }

    .feature-icon {
      height: 42px;
      margin-bottom: 0;
      width: 42px;
    }

    .feature-item strong {
      font-size: 0.96rem;
    }

    .feature-item small {
      font-size: 0.64rem;
      line-height: 1.2;
    }
  }

  .game-header {
    grid-template-columns: 46px 1fr;
  }

  .score-box {
    grid-column: 1 / -1;
    text-align: left;
  }

  .node {
    height: 62px;
    width: 62px;
  }
}
