:root {
  color-scheme: dark;
  --terminal-green: #42ff88;
  --terminal-green-soft: rgba(66, 255, 136, 0.72);
  --terminal-green-dim: rgba(66, 255, 136, 0.42);
  --terminal-bg: rgba(2, 16, 9, 0.9);
  --page-bg: #030504;
  --footer: rgba(174, 255, 202, 0.58);
  --pipboy-width: min(96vw, 1500px, calc((100vh - 240px) * 1.777));
  --screen-left: 22.55%;
  --screen-top: 18.35%;
  --screen-width: 42.05%;
  --screen-height: 58.2%;
  --screen-safe-left: clamp(16px, 1.55vw, 27px);
  --screen-safe-right: clamp(18px, 1.75vw, 31px);
  --screen-safe-top: clamp(10px, 0.95vw, 17px);
  --screen-safe-bottom: clamp(18px, 1.7vw, 30px);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(39, 255, 122, 0.14), transparent 32rem),
    radial-gradient(circle at 50% 110%, rgba(41, 95, 64, 0.22), transparent 28rem),
    linear-gradient(180deg, #070908 0%, var(--page-bg) 56%, #010201 100%);
  color: var(--terminal-green);
  font-family: "Share Tech Mono", "Courier New", monospace;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(rgba(89, 255, 145, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 255, 145, 0.018) 1px, transparent 1px);
  background-size: 100% 9px, 34px 100%;
  opacity: 0.24;
  animation: pageGridDrift 18s linear infinite;
}

body::after {
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 42%,
      rgba(99, 255, 158, 0.035) 49%,
      rgba(185, 255, 211, 0.055) 50%,
      rgba(99, 255, 158, 0.028) 51%,
      transparent 58%,
      transparent 100%
    );
  opacity: 0.62;
  transform: translateX(-55%);
  animation: pageSignalSweep 12s ease-in-out infinite;
}

button {
  font: inherit;
}

a {
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
}

.pipboy-stage {
  width: 100%;
  display: grid;
  place-items: center;
  gap: clamp(8px, 1.8vw, 16px);
  isolation: isolate;
}

.ambient-glow {
  position: fixed;
  inset: auto 50% 7vh auto;
  width: min(78vw, 900px);
  height: min(48vw, 520px);
  transform: translateX(50%);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(52, 255, 129, 0.25), rgba(52, 255, 129, 0.06) 44%, transparent 72%);
  filter: blur(22px);
  opacity: 0.82;
  z-index: -1;
  pointer-events: none;
  animation: ambientBreathe 9s ease-in-out infinite;
}

.pipboy-frame {
  position: relative;
  width: var(--pipboy-width);
  aspect-ratio: 1672 / 941;
  filter:
    drop-shadow(0 32px 42px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 30px rgba(47, 255, 122, 0.12));
}

.pipboy-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.screen-overlay {
  position: absolute;
  left: var(--screen-left);
  top: var(--screen-top);
  width: var(--screen-width);
  height: var(--screen-height);
  border-radius: 9.5% / 11%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(80, 255, 152, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(2, 19, 9, 0.74), rgba(1, 9, 5, 0.62));
  border: 1px solid rgba(105, 255, 161, 0.045);
  box-shadow:
    inset 0 0 32px rgba(22, 255, 105, 0.11),
    inset 0 0 18px rgba(0, 0, 0, 0.27),
    0 0 10px rgba(42, 255, 126, 0.06);
  backdrop-filter: brightness(0.92) saturate(1.18);
  animation: crtFlicker 6.5s steps(1, end) infinite;
}

.screen-overlay::before {
  content: "";
  position: absolute;
  inset: -35% 0 auto;
  height: 34%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(121, 255, 170, 0.075) 44%,
    rgba(191, 255, 213, 0.12) 50%,
    rgba(121, 255, 170, 0.06) 56%,
    transparent
  );
  opacity: 0.52;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: terminalSweep 7.5s linear infinite;
}

.screen-overlay::after {
  content: "";
  position: absolute;
  inset: -10% 0;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 42%,
      rgba(166, 255, 197, 0.07) 48%,
      rgba(255, 255, 255, 0.03) 50%,
      rgba(166, 255, 197, 0.055) 52%,
      transparent 58%,
      transparent 100%
    ),
    radial-gradient(ellipse at center, transparent 44%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
  mix-blend-mode: screen;
  animation:
    glassGhost 5.6s ease-in-out infinite,
    refreshBand 4.8s linear infinite;
}

.screen-crt {
  position: absolute;
  inset: -6px 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(120, 255, 165, 0.16) 0,
      rgba(120, 255, 165, 0.16) 1px,
      transparent 1px,
      transparent 5px
    );
  background-size: 100% 5px;
  opacity: 0.31;
  pointer-events: none;
  animation: scanlineDrift 3.8s linear infinite;
}

.terminal-content {
  position: absolute;
  inset: var(--screen-safe-top) var(--screen-safe-right) var(--screen-safe-bottom) var(--screen-safe-left);
  z-index: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(2, 17, 8, 0.98), rgba(2, 17, 8, 0.9) 58%, rgba(2, 17, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(4, 24, 11, 0.78), rgba(2, 13, 7, 0.58));
  color: var(--terminal-green);
  text-shadow:
    0 0 4px rgba(66, 255, 136, 0.88),
    0 0 11px rgba(66, 255, 136, 0.28);
  letter-spacing: 0;
  text-transform: uppercase;
  animation: contentVeil 7.2s ease-in-out infinite;
}

.enclave-line,
.terminal-title,
.terminal-grid {
  margin: 0;
}

.enclave-line {
  text-align: center;
  font-size: clamp(8px, 1.04vw, 14px);
  line-height: 1.1;
  white-space: nowrap;
}

.terminal-title {
  margin-top: clamp(3px, 0.52vw, 6px);
  padding-bottom: clamp(3px, 0.48vw, 6px);
  border-bottom: 1px solid rgba(66, 255, 136, 0.38);
  font-size: clamp(10px, 1.27vw, 17px);
  line-height: 1.05;
  text-align: center;
}

.terminal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2px, 0.32vw, 5px) clamp(3px, 0.42vw, 6px);
  align-content: start;
  padding-top: clamp(3px, 0.48vw, 6px);
  min-height: 0;
}

.terminal-grid div {
  min-width: 0;
}

.terminal-grid dt {
  color: var(--terminal-green-soft);
  font-size: clamp(7px, 0.82vw, 11px);
  line-height: 1.05;
}

.terminal-grid dd {
  margin: 0;
  color: var(--terminal-green);
  font-size: clamp(7px, 0.84vw, 11px);
  line-height: 1.08;
}

.code-row {
  position: relative;
  isolation: isolate;
  min-height: clamp(31px, 3.88vw, 47px);
  padding: 0;
  overflow: hidden;
}

.code-row::before {
  content: "";
  position: absolute;
  inset: auto 8% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 255, 181, 0.54), transparent);
  opacity: 0.36;
}

.code-row::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -80%;
  width: 54%;
  background: linear-gradient(90deg, transparent, rgba(190, 255, 211, 0.12), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  animation: codeSweep 6s ease-in-out infinite;
}

.code-row:nth-of-type(3)::after {
  animation-delay: 0.45s;
}

.code-row:nth-of-type(4)::after {
  animation-delay: 0.9s;
}

.code-row dt {
  color: rgba(164, 255, 194, 0.74);
  font-size: clamp(7px, 0.72vw, 10px);
  line-height: 1;
  margin: 0 0 clamp(2px, 0.22vw, 3px);
  padding-left: clamp(1px, 0.18vw, 3px);
}

.code-row dd {
  margin: 0;
  min-height: clamp(20px, 2.54vw, 31px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(3px, 0.42vw, 6px);
  border: 1px solid rgba(85, 255, 146, 0.24);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(50, 255, 128, 0.055), rgba(7, 31, 15, 0.18)),
    linear-gradient(90deg, rgba(35, 255, 117, 0.055), transparent 42%, rgba(35, 255, 117, 0.04));
  box-shadow:
    inset 0 0 9px rgba(42, 255, 126, 0.08),
    0 0 7px rgba(42, 255, 126, 0.06);
  color: #7dffac;
  font-size: clamp(12px, 1.68vw, 22px);
  line-height: 0.98;
  text-shadow:
    0 0 4px rgba(89, 255, 145, 1),
    0 0 12px rgba(89, 255, 145, 0.58),
    0 0 24px rgba(89, 255, 145, 0.24);
  animation: codeGlow 4.8s ease-in-out infinite;
}

.grid-row {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(57px, 0.3fr) minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(3px, 0.6vw, 8px);
  opacity: 0.86;
}

.grid-row-wide:first-child {
  padding-bottom: clamp(1px, 0.25vw, 4px);
}

.countdown-row dd {
  color: #b8ffd0;
}

@keyframes scanlineDrift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(5px);
  }
}

@keyframes terminalSweep {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(390%);
  }
}

@keyframes codeGlow {
  0%,
  100% {
    filter: brightness(1);
    opacity: 0.96;
  }

  50% {
    filter: brightness(1.24);
    opacity: 1;
  }
}

@keyframes codeSweep {
  0%,
  42% {
    left: -80%;
    opacity: 0;
  }

  52% {
    opacity: 0.82;
  }

  64% {
    left: 128%;
    opacity: 0;
  }

  100% {
    left: 128%;
    opacity: 0;
  }
}

@keyframes crtFlicker {
  0%,
  18%,
  22%,
  62%,
  66%,
  100% {
    opacity: 1;
  }

  19%,
  63% {
    opacity: 0.9;
  }
}

@keyframes glassGhost {
  0%,
  100% {
    opacity: 0.78;
  }

  42% {
    opacity: 0.5;
  }

  48% {
    opacity: 0.86;
  }

  54% {
    opacity: 0.58;
  }
}

@keyframes refreshBand {
  0% {
    transform: translateY(-68%);
  }

  100% {
    transform: translateY(68%);
  }
}

@keyframes contentVeil {
  0%,
  100% {
    background-color: rgba(2, 17, 8, 0.02);
  }

  46% {
    background-color: rgba(2, 17, 8, 0);
  }

  52% {
    background-color: rgba(2, 17, 8, 0.08);
  }
}

@keyframes ambientBreathe {
  0%,
  100% {
    opacity: 0.68;
    transform: translateX(50%) scale(0.96);
  }

  50% {
    opacity: 0.96;
    transform: translateX(50%) scale(1.05);
  }
}

@keyframes pageGridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 0 36px, 34px 0;
  }
}

@keyframes pageSignalSweep {
  0%,
  18% {
    transform: translateX(-58%);
    opacity: 0;
  }

  36%,
  64% {
    opacity: 0.62;
  }

  82%,
  100% {
    transform: translateX(58%);
    opacity: 0;
  }
}

@keyframes telemetryRefresh {
  0%,
  26% {
    transform: translateY(-120%);
    opacity: 0;
  }

  40% {
    opacity: 0.48;
  }

  62% {
    transform: translateY(220%);
    opacity: 0;
  }

  100% {
    transform: translateY(220%);
    opacity: 0;
  }
}

@keyframes telemetryPulse {
  0%,
  100% {
    border-color: rgba(80, 255, 145, 0.16);
    box-shadow:
      inset 0 0 18px rgba(45, 255, 126, 0.08),
      0 0 18px rgba(35, 255, 118, 0.06);
  }

  50% {
    border-color: rgba(120, 255, 174, 0.32);
    box-shadow:
      inset 0 0 18px rgba(45, 255, 126, 0.13),
      0 0 22px rgba(35, 255, 118, 0.14);
  }
}

@keyframes telemetryScan {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 8px;
  }
}

@keyframes timeGlowSweep {
  0%,
  72%,
  100% {
    filter: brightness(1);
  }

  80% {
    filter: brightness(1.28);
  }
}

.home-link {
  align-self: center;
  margin-top: clamp(-8px, -0.65vw, -4px);
  min-height: clamp(22px, 2.35vw, 30px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(11px, 1.12vw, 15px);
  border: 1px solid var(--terminal-green-dim);
  border-radius: 2px;
  background: rgba(2, 20, 10, 0.72);
  color: var(--terminal-green);
  box-shadow:
    inset 0 0 12px rgba(57, 255, 127, 0.1),
    0 0 10px rgba(57, 255, 127, 0.12);
  cursor: pointer;
  font-size: clamp(9px, 0.98vw, 12px);
  line-height: 1;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(66, 255, 136, 0.45);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.home-link:hover,
.home-link:focus-visible {
  background: rgba(34, 255, 118, 0.14);
  border-color: rgba(128, 255, 173, 0.72);
  box-shadow:
    inset 0 0 14px rgba(57, 255, 127, 0.2),
    0 0 16px rgba(57, 255, 127, 0.26);
}

.home-link:focus-visible {
  outline: 2px solid rgba(174, 255, 202, 0.8);
  outline-offset: 2px;
}

.telemetry-hud {
  width: min(94vw, 1040px);
  display: grid;
  grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(8px, 1.2vw, 14px);
  margin-top: clamp(2px, 0.4vw, 6px);
  color: rgba(169, 255, 199, 0.84);
  text-transform: uppercase;
}

.visitor-telemetry,
.world-telemetry {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(80, 255, 145, 0.18);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(2, 22, 10, 0.62), rgba(2, 11, 6, 0.44)),
    repeating-linear-gradient(
      180deg,
      rgba(110, 255, 160, 0.055) 0,
      rgba(110, 255, 160, 0.055) 1px,
      transparent 1px,
      transparent 6px
    );
  box-shadow:
    inset 0 0 18px rgba(45, 255, 126, 0.08),
    0 0 20px rgba(35, 255, 118, 0.08);
  animation:
    telemetryPulse 7.5s ease-in-out infinite,
    telemetryScan 5.5s linear infinite;
}

.visitor-telemetry::after,
.world-telemetry::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(137, 255, 181, 0.07) 48%,
    rgba(230, 255, 238, 0.11) 50%,
    rgba(137, 255, 181, 0.045) 52%,
    transparent
  );
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: telemetryRefresh 8.5s ease-in-out infinite;
}

.world-telemetry::after {
  animation-delay: 2.2s;
}

.visitor-telemetry {
  padding: clamp(8px, 1vw, 12px);
}

.world-telemetry {
  padding: clamp(8px, 1vw, 12px);
}

.hud-kicker {
  margin: 0 0 clamp(6px, 0.75vw, 9px);
  color: rgba(82, 255, 142, 0.78);
  font-size: clamp(8px, 0.84vw, 11px);
  line-height: 1;
  letter-spacing: 0.08em;
  text-shadow: 0 0 8px rgba(66, 255, 136, 0.42);
}

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

.visitor-telemetry div {
  min-width: 0;
}

.visitor-telemetry dt,
.world-clock-country,
.world-clock-zone {
  color: rgba(146, 255, 185, 0.52);
  font-size: clamp(7px, 0.72vw, 10px);
  line-height: 1.1;
}

.visitor-telemetry dd {
  margin: 2px 0 0;
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(206, 255, 222, 0.9);
  font-size: clamp(9px, 0.95vw, 13px);
  line-height: 1.08;
  text-shadow: 0 0 8px rgba(66, 255, 136, 0.28);
}

.world-clock-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.world-clock-row {
  min-width: 0;
  padding: clamp(5px, 0.6vw, 7px);
  border-left: 1px solid rgba(93, 255, 154, 0.2);
  background: rgba(18, 255, 102, 0.035);
}

.world-clock-row:nth-child(2n) .world-clock-time {
  animation-delay: 0.8s;
}

.world-clock-row:nth-child(3n) .world-clock-time {
  animation-delay: 1.6s;
}

.world-clock-row:nth-child(4n) .world-clock-time {
  animation-delay: 2.4s;
}

.world-clock-place,
.world-clock-time {
  display: block;
}

.world-clock-place {
  color: rgba(216, 255, 229, 0.9);
  font-size: clamp(8px, 0.85vw, 11px);
  line-height: 1.05;
}

.world-clock-country,
.world-clock-zone {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-clock-time {
  margin-top: 5px;
  color: #7dffac;
  font-size: clamp(10px, 1.06vw, 15px);
  line-height: 1;
  text-shadow:
    0 0 6px rgba(66, 255, 136, 0.62),
    0 0 14px rgba(66, 255, 136, 0.22);
  animation: timeGlowSweep 8s ease-in-out infinite;
}

.site-footer {
  color: var(--footer);
  font-size: clamp(11px, 1.6vw, 16px);
  letter-spacing: 0.025em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(66, 255, 136, 0.3);
}

@media (max-width: 760px) {
  :root {
    --pipboy-width: min(72vw, calc((100svh - 70px) * 1.777));
    --screen-left: 22.55%;
    --screen-top: 18.35%;
    --screen-width: 42.05%;
    --screen-height: 58.2%;
    --screen-safe-left: clamp(6px, 1.7vw, 10px);
    --screen-safe-right: clamp(6px, 1.9vw, 11px);
    --screen-safe-top: clamp(3px, 1vw, 6px);
    --screen-safe-bottom: clamp(3px, 1vw, 6px);
  }

  .page-shell {
    padding: 10px 12px 46px;
  }

  body::before {
    opacity: 0.34;
    background-size: 100% 8px, 28px 100%;
  }

  body::after {
    opacity: 0.78;
  }

  .ambient-glow {
    opacity: 0.92;
  }

  .pipboy-stage {
    position: relative;
    min-height: 0;
    gap: 8px;
    transform: none;
  }

  .pipboy-frame {
    transform: none;
  }

  .terminal-grid {
    gap: 2px;
  }

  .grid-row {
    grid-template-columns: minmax(45px, 0.34fr) minmax(0, 1fr);
  }

  .telemetry-hud {
    position: static;
    width: min(78vw, 360px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 2px;
    transform: translateX(-6%);
  }

  .visitor-telemetry,
  .world-telemetry {
    display: block;
    padding: 7px;
  }

  .hud-kicker {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 5px;
    overflow: visible;
    clip: auto;
    font-size: clamp(7px, 1.8vw, 9px);
  }

  .visitor-telemetry dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin: 0;
  }

  .visitor-node,
  .world-clock-row {
    position: relative;
    z-index: auto;
    width: auto;
    min-width: 0;
    padding: 5px;
    overflow: hidden;
    border: 1px solid rgba(80, 255, 145, 0.2);
    border-radius: 3px;
    background:
      linear-gradient(180deg, rgba(2, 22, 10, 0.72), rgba(2, 11, 6, 0.46)),
      repeating-linear-gradient(
        180deg,
        rgba(110, 255, 160, 0.06) 0,
        rgba(110, 255, 160, 0.06) 1px,
        transparent 1px,
        transparent 6px
      );
    box-shadow:
      inset 0 0 12px rgba(45, 255, 126, 0.08),
      0 0 16px rgba(35, 255, 118, 0.08);
    text-align: left;
    animation:
      telemetryPulse 7.5s ease-in-out infinite,
      telemetryScan 5.5s linear infinite;
  }

  .visitor-node {
    text-align: left;
  }

  .visitor-node dt,
  .world-clock-country,
  .world-clock-zone {
    font-size: clamp(5px, 1.35vw, 7px);
  }

  .visitor-node dd,
  .world-clock-place {
    font-size: clamp(5px, 1.55vw, 8px);
  }

  .visitor-node dd,
  .world-clock-time {
    margin-top: 2px;
  }

  .world-clock-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .world-clock-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 5px;
    align-items: baseline;
  }

  .world-clock-place,
  .world-clock-country,
  .world-clock-zone {
    grid-column: 1;
  }

  .world-clock-time {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    margin-top: 0;
    font-size: clamp(7px, 1.85vw, 10px);
  }

  .site-footer {
    margin-top: 2px;
  }
}

@media (max-width: 480px) {
  .enclave-line {
    font-size: clamp(6px, 1.72vw, 8px);
    line-height: 0.95;
  }

  .terminal-title {
    margin-top: 1px;
    padding-bottom: 1px;
    font-size: clamp(8px, 2.35vw, 10px);
    line-height: 0.95;
  }

  .terminal-grid {
    padding-top: 2px;
    gap: 1px 2px;
  }

  .terminal-grid dt {
    font-size: clamp(6px, 1.72vw, 8px);
  }

  .terminal-grid dd {
    font-size: clamp(6px, 1.72vw, 8px);
  }

  .grid-row {
    gap: 1px 4px;
  }

  .grid-row dt,
  .grid-row dd {
    line-height: 0.96;
  }

  .code-row {
    min-height: 21px;
  }

  .code-row dt {
    font-size: clamp(5px, 1.48vw, 7px);
    margin-bottom: 0;
    padding-left: 1px;
  }

  .code-row dd {
    font-size: clamp(7px, 1.95vw, 9px);
    min-height: 14px;
    padding-inline: 1px;
  }

  .countdown-row {
    margin-top: 1px;
    padding-top: 1px;
    border-top: 1px solid rgba(88, 255, 150, 0.18);
  }

  .countdown-row dt {
    color: rgba(153, 255, 190, 0.82);
  }

  .countdown-row dd {
    color: #c5ffd8;
    font-size: clamp(6px, 1.8vw, 8px);
    text-shadow: 0 0 8px rgba(66, 255, 136, 0.5);
  }

  .home-link {
    min-height: 22px;
    padding-inline: 12px;
    font-size: clamp(9px, 2.45vw, 11px);
  }

  .visitor-node,
  .world-clock-row {
    padding: 4px 5px;
  }

  .visitor-telemetry dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .world-clock-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .screen-overlay,
  .screen-overlay::before,
  .screen-overlay::after,
  .screen-crt,
  body::before,
  body::after,
  .ambient-glow,
  .code-row::after,
  .code-row dd,
  .terminal-content,
  .visitor-telemetry,
  .visitor-telemetry::after,
  .world-telemetry,
  .world-telemetry::after,
  .visitor-node,
  .world-clock-row,
  .world-clock-time {
    animation: none !important;
  }
}
