html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  overflow: hidden;
  background-image: url("images/matrixrenderblank.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #000;
  color: #28ff6a;
}

@font-face {
  font-family: "MatrixFont";
  src: url("VT323Regular.ttf") format("truetype");
}

/* BACKGROUND MATRIX */
#matrix-rain {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.32;
  z-index: 1;
  pointer-events: none;
}

/* MINIMAL OUTSIDE ATMOSPHERE */
#outside-bureau {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.broadcast-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120vmax;
  height: 120vmax;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(
      circle,
      rgba(116, 0, 190, 0.26) 0%,
      rgba(40, 0, 75, 0.16) 25%,
      rgba(0, 0, 0, 0) 58%
    );
  animation: haloBreathe 7s ease-in-out infinite;
}

.floor-glow {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -20%;
  height: 48%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(155, 42, 255, 0.28) 0%,
      rgba(61, 0, 100, 0.18) 32%,
      rgba(0, 0, 0, 0) 72%
    );
  filter: blur(18px);
  animation: floorDrift 9s ease-in-out infinite;
}

/* TV PAGE */
#tv-page {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

#crt-terminal {
  position: relative;
  flex: none;
}

/* Full cinematic CRT sizing */
@media (min-aspect-ratio: 16/10) {
  #crt-terminal {
    width: 100vw;
    height: 62.5vw;
  }
}

@media (max-aspect-ratio: 16/10) {
  #crt-terminal {
    width: 160vh;
    height: 100vh;
  }
}

#home-tv {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 5;
  pointer-events: none;
  user-select: none;
  filter:
    brightness(1.05)
    contrast(1.05)
    saturate(0.96)
    drop-shadow(0 0 42px rgba(120, 0, 255, 0.34));
}

/*
  The screen layer fills the transparent CRT glass.
*/
#screen-layer {
  position: absolute;
  left: 14.35%;
  top: 3.65%;
  width: 71.3%;
  height: 91.15%;
  border-radius: 15% / 10.5%;
  overflow: hidden;
  z-index: 3;
  transform:
    perspective(900px)
    rotateX(1.15deg)
    scaleX(1.035);
  transform-origin: center center;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0, 42, 12, 0.98) 0%,
      rgba(0, 14, 5, 0.98) 58%,
      rgba(0, 0, 0, 1) 100%
    );
  box-shadow:
    inset 0 0 45px rgba(0, 255, 90, 0.17),
    inset 0 0 120px rgba(0, 0, 0, 0.96);
}

/* FULL-SCREEN INTERNAL WORLD */
#screen-world {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(111, 0, 190, 0.22), transparent 32%),
    linear-gradient(
      to bottom,
      rgba(30, 0, 60, 0.28) 0%,
      rgba(0, 30, 10, 0.2) 22%,
      rgba(0, 8, 3, 0.12) 56%,
      rgba(43, 0, 85, 0.34) 100%
    );
}

.far-stars {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.42;
  background-image:
    radial-gradient(rgba(180, 90, 255, 0.9) 1px, transparent 1px),
    radial-gradient(rgba(39, 255, 104, 0.45) 1px, transparent 1px);
  background-size: 73px 51px, 131px 97px;
  animation: starDrift 18s linear infinite;
}

.field-horizon {
  position: absolute;
  left: -20%;
  right: -20%;
  top: 73%;
  height: 2px;
  background: rgba(188, 83, 255, 0.58);
  box-shadow:
    0 0 14px rgba(188, 83, 255, 0.8),
    0 0 48px rgba(188, 83, 255, 0.38);
  opacity: 0.85;
}

.screen-floor-grid {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -13%;
  height: 38%;
  background:
    linear-gradient(rgba(188, 83, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 83, 255, 0.34) 1px, transparent 1px);
  background-size: 46px 46px;
  transform:
    perspective(420px)
    rotateX(62deg)
    translateY(5%);
  transform-origin: bottom center;
  opacity: 0.54;
  mask-image: linear-gradient(to top, black 0%, black 55%, transparent 100%);
  animation: gridPulse 4s ease-in-out infinite;
}

.vertical-signal-rain {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.24;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 36px,
      rgba(39, 255, 104, 0.14) 36px 38px,
      transparent 38px 72px
    );
  mask-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      black 18%,
      black 90%,
      transparent 100%
    );
  animation: signalSlide 8s linear infinite;
}

.lower-purple-fog {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 31%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(177, 49, 255, 0.34) 0%,
      rgba(82, 0, 145, 0.22) 42%,
      transparent 76%
    );
  filter: blur(10px);
  animation: fogBreath 5s ease-in-out infinite;
}

/* CRT OVERLAYS */
.crt-glass,
.scanlines,
.screen-noise {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.crt-glass {
  z-index: 20;
  background:
    radial-gradient(circle at center, transparent 46%, rgba(0, 0, 0, 0.56) 100%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 32%);
}

.scanlines {
  z-index: 21;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.055) 0px,
      rgba(255, 255, 255, 0.055) 1px,
      rgba(0, 0, 0, 0.18) 2px,
      rgba(0, 0, 0, 0.18) 4px
    );
  mix-blend-mode: overlay;
  opacity: 0.75;
}

.screen-noise {
  z-index: 22;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.08;
  animation: noiseShift 0.25s steps(2) infinite;
}

/* TERMINAL UI */
#terminal-ui {
  position: absolute;
  top: 7.2%;
  right: 6.2%;
  bottom: 7.2%;
  left: 6.2%;
  z-index: 8;
  font-family: "MatrixFont", monospace;
  color: #27ff68;
  letter-spacing: 0.12em;
  font-size: clamp(10px, 1.1vw, 20px);
  text-shadow:
    0 0 3px #0cff5a,
    0 0 10px rgba(0, 255, 90, 0.42);
}

#top-bar {
  height: 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(9px, 0.85vw, 17px);
  border-bottom: 1px solid rgba(39, 255, 104, 0.28);
}

.status-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ba55ff;
  box-shadow:
    0 0 10px #ba55ff,
    0 0 22px #7f00ff;
  animation: blink 1.4s infinite;
}

#hero-grid {
  height: 66%;
  display: grid;
  grid-template-columns: 24% 52% 22%;
  gap: 2%;
  padding-top: 2%;
  box-sizing: border-box;
}

/* LEFT MENU */
#side-menu {
  position: relative;
  border: 1px solid rgba(39, 255, 104, 0.35);
  padding: 5%;
  box-sizing: border-box;
  background: rgba(0, 18, 5, 0.48);
}

#side-menu a {
  display: block;
  color: #27ff68;
  text-decoration: none;
  font-size: clamp(10px, 0.95vw, 18px);
  margin-bottom: 5.5%;
  padding: 3% 5%;
  border: 1px solid transparent;
  transition: 0.25s;
}

#side-menu a:hover,
#side-menu .active {
  background: rgba(39, 255, 104, 0.13);
  border-color: rgba(39, 255, 104, 0.55);
  color: #baffc8;
}

#clearance-box {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 4%;
  border: 1px solid rgba(39, 255, 104, 0.35);
  padding: 4%;
  box-sizing: border-box;
  font-size: clamp(8px, 0.68vw, 13px);
  background: rgba(0, 0, 0, 0.22);
}

#clearance-box p {
  margin: 0;
}

#clearance-box strong {
  display: block;
  font-size: clamp(14px, 1.05vw, 22px);
}

.barcode {
  height: 18px;
  margin: 8px 0 3px;
  background:
    repeating-linear-gradient(
      to right,
      #27ff68 0 2px,
      transparent 2px 4px,
      #27ff68 4px 5px,
      transparent 5px 8px
    );
  opacity: 0.7;
}

/* CENTER DISPLAY */
#main-display {
  position: relative;
  border: 1px solid rgba(39, 255, 104, 0.24);
  background:
    linear-gradient(rgba(0, 255, 90, 0.04), transparent),
    radial-gradient(circle at center, rgba(120, 0, 255, 0.16), transparent 48%);
  overflow: hidden;
}

#main-display::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    linear-gradient(rgba(39, 255, 104, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 255, 104, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: perspective(400px) rotateX(58deg) translateY(34%);
  transform-origin: bottom;
  opacity: 0.35;
}

.gate-architecture {
  position: absolute;
  top: 7%;
  right: 13%;
  bottom: 22%;
  left: 13%;
  opacity: 0.34;
  pointer-events: none;
}

.gate-top,
.gate-left,
.gate-right {
  position: absolute;
  border-color: rgba(39, 255, 104, 0.44);
  box-shadow: 0 0 12px rgba(39, 255, 104, 0.16);
}

.gate-top {
  left: 18%;
  right: 18%;
  top: 0;
  height: 12%;
  border-top: 1px solid;
  border-left: 1px solid;
  border-right: 1px solid;
}

.gate-left {
  left: 0;
  top: 8%;
  bottom: 0;
  width: 17%;
  border-left: 1px solid;
  border-bottom: 1px solid;
}

.gate-right {
  right: 0;
  top: 8%;
  bottom: 0;
  width: 17%;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

#portal-wrap {
  position: absolute;
  left: 50%;
  top: 37%;
  width: 37%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
}

.portal-ring {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 50%;
  border: 2px solid rgba(188, 83, 255, 0.8);
  box-shadow:
    0 0 16px rgba(188, 83, 255, 0.9),
    inset 0 0 28px rgba(188, 83, 255, 0.7);
}

.ring-one {
  animation:
    rotatePortal 10s linear infinite,
    pulsePortal 2.8s ease-in-out infinite;
}

.ring-two {
  top: 9%;
  right: 9%;
  bottom: 9%;
  left: 9%;
  opacity: 0.75;
  animation: rotatePortal 6s linear infinite reverse;
}

.ring-three {
  top: 18%;
  right: 18%;
  bottom: 18%;
  left: 18%;
  opacity: 0.55;
  border-style: dashed;
  animation: rotatePortal 14s linear infinite;
}

#portal-core {
  position: absolute;
  top: 34%;
  right: 34%;
  bottom: 34%;
  left: 34%;
  border-radius: 50%;
  background: #c76bff;
  box-shadow:
    0 0 18px #c76bff,
    0 0 48px #8e00ff,
    0 0 80px rgba(188, 83, 255, 0.7);
  animation: breathe 2s ease-in-out infinite;
}

#portal-floor {
  position: absolute;
  left: 20%;
  bottom: -22%;
  width: 60%;
  height: 23%;
  border-radius: 50%;
  border: 2px solid rgba(188, 83, 255, 0.72);
  box-shadow:
    0 0 20px rgba(188, 83, 255, 0.8),
    inset 0 0 20px rgba(188, 83, 255, 0.5);
  animation: floorPulse 2.4s ease-in-out infinite;
}

#welcome-panel {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 7%;
  text-align: center;
}

#welcome-panel h1 {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 31px);
  color: #9cffad;
}

#welcome-panel h2 {
  margin: 0.2em 0;
  font-size: clamp(14px, 1.22vw, 26px);
}

#welcome-panel p {
  margin: 0.4em auto 0;
  max-width: 80%;
  font-size: clamp(9px, 0.76vw, 15px);
}

/* RIGHT PANELS */
#right-panels {
  display: flex;
  flex-direction: column;
  gap: 5%;
}

.data-panel {
  border: 1px solid rgba(39, 255, 104, 0.35);
  padding: 6%;
  background: rgba(0, 16, 5, 0.52);
  min-height: 26%;
  box-sizing: border-box;
}

.data-panel h3 {
  margin: 0 0 5%;
  font-size: clamp(8px, 0.72vw, 14px);
}

.data-panel strong {
  display: block;
  font-size: clamp(16px, 1.32vw, 28px);
  color: #aaffbc;
}

.weak {
  color: #ba55ff !important;
  text-shadow: 0 0 12px #ba55ff;
}

.data-panel p {
  font-size: clamp(8px, 0.64vw, 13px);
}

.mini-chart {
  height: 24px;
  margin-top: 8px;
  background:
    linear-gradient(
      135deg,
      transparent 0 12%,
      rgba(39, 255, 104, 0.7) 12% 16%,
      transparent 16% 29%,
      rgba(39, 255, 104, 0.7) 29% 32%,
      transparent 32% 46%,
      rgba(39, 255, 104, 0.7) 46% 51%,
      transparent 51% 65%,
      rgba(39, 255, 104, 0.7) 65% 70%,
      transparent 70%
    );
  border-bottom: 1px solid rgba(39, 255, 104, 0.45);
  animation: chartFlicker 1.2s steps(2) infinite;
}

.operator-icons span {
  display: inline-block;
  width: 6px;
  height: 10px;
  margin: 2px;
  border-radius: 50% 50% 20% 20%;
  background: rgba(39, 255, 104, 0.65);
  box-shadow: 0 0 5px rgba(39, 255, 104, 0.6);
}

/* RNG SIGNAL PANEL */
.signal-panel {
  position: relative;
  overflow: hidden;
}

.signal-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(188, 83, 255, 0.08),
      transparent
    );
  animation: signalSweep 2.8s linear infinite;
}

#rngStatus.online {
  color: #aaffbc;
  text-shadow:
    0 0 8px #27ff68,
    0 0 18px rgba(39, 255, 104, 0.62);
}

#rngStatus.offline {
  color: #ba55ff;
  text-shadow:
    0 0 8px #ba55ff,
    0 0 18px rgba(188, 83, 255, 0.7);
}

#rngSubstatus {
  min-height: 1.2em;
}

.rng-stream {
  margin-top: 0.55em;
  padding: 0.35em 0.45em;
  border: 1px solid rgba(188, 83, 255, 0.42);
  background: rgba(30, 0, 55, 0.28);
  color: #e3b8ff;
  font-size: clamp(13px, 0.95vw, 21px);
  letter-spacing: 0.18em;
  text-shadow:
    0 0 8px #ba55ff,
    0 0 18px rgba(188, 83, 255, 0.75);
}

.rng-round {
  display: block;
  margin-top: 0.55em;
  font-size: clamp(7px, 0.55vw, 11px);
  color: rgba(186, 255, 200, 0.72);
}

/* LOWER DECK FILLS THE BOTTOM OF THE CRT INTERIOR */
#lower-deck {
  height: 22%;
  display: grid;
  grid-template-columns: 24% 52% 22%;
  gap: 2%;
  padding-top: 2%;
  box-sizing: border-box;
  border-top: 1px solid rgba(39, 255, 104, 0.26);
}

.lower-card {
  border: 1px solid rgba(39, 255, 104, 0.28);
  background:
    linear-gradient(rgba(0, 255, 90, 0.05), transparent),
    rgba(0, 10, 4, 0.38);
  padding: 5%;
  box-sizing: border-box;
}

.lower-card h3 {
  margin: 0 0 0.5em;
  font-size: clamp(8px, 0.7vw, 14px);
}

.lower-card p {
  margin: 0;
  font-size: clamp(14px, 1.05vw, 22px);
  color: #baffc8;
}

.small-bars {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 34px;
  margin-top: 10px;
}

.small-bars i {
  display: block;
  flex: 1;
  background: rgba(39, 255, 104, 0.66);
  box-shadow: 0 0 7px rgba(39, 255, 104, 0.55);
  animation: barDance 1.4s ease-in-out infinite;
}

.small-bars i:nth-child(1) {
  height: 36%;
  animation-delay: 0s;
}

.small-bars i:nth-child(2) {
  height: 68%;
  animation-delay: 0.1s;
}

.small-bars i:nth-child(3) {
  height: 48%;
  animation-delay: 0.2s;
}

.small-bars i:nth-child(4) {
  height: 82%;
  animation-delay: 0.3s;
}

.small-bars i:nth-child(5) {
  height: 56%;
  animation-delay: 0.4s;
}

.small-chart {
  height: 28px;
  margin-top: 11px;
  border-bottom: 1px solid rgba(39, 255, 104, 0.42);
  background:
    linear-gradient(
      135deg,
      transparent 0 12%,
      rgba(188, 83, 255, 0.78) 12% 16%,
      transparent 16% 32%,
      rgba(188, 83, 255, 0.78) 32% 36%,
      transparent 36% 51%,
      rgba(188, 83, 255, 0.78) 51% 57%,
      transparent 57% 72%,
      rgba(188, 83, 255, 0.78) 72% 76%,
      transparent 76%
    );
  animation: chartFlicker 1.6s steps(2) infinite;
}

.lower-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.big-button {
  display: inline-block;
  align-self: flex-start;
  padding: 1.2% 5%;
  border: 1px solid #ba55ff;
  color: #e3b8ff;
  text-decoration: none;
  font-size: clamp(12px, 1.05vw, 22px);
  background: rgba(80, 0, 130, 0.32);
  box-shadow:
    0 0 10px rgba(188, 83, 255, 0.5),
    inset 0 0 12px rgba(188, 83, 255, 0.3);
  animation: buttonGlow 2s ease-in-out infinite;
}

.big-button:hover {
  background: rgba(188, 83, 255, 0.28);
  color: white;
  transform: scale(1.03);
}

#ticker {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(9px, 0.7vw, 14px);
  margin-top: 1.1em;
}

#ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: tickerMove 18s linear infinite;
}

/* GLOBAL CRT OVERLAY */
body::after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.025) 0px,
      rgba(255, 255, 255, 0.025) 1px,
      rgba(0, 0, 0, 0.09) 2px,
      rgba(0, 0, 0, 0.09) 4px
    );
  mix-blend-mode: overlay;
  opacity: 0.45;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 998;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0) 42%,
      rgba(0, 0, 0, 0.42) 100%
    );
}

/* ANIMATIONS */
@keyframes rotatePortal {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulsePortal {
  0%,
  100% {
    opacity: 0.7;
    filter: brightness(0.9);
  }

  50% {
    opacity: 1;
    filter: brightness(1.45);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes floorPulse {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.55;
  }

  50% {
    transform: scaleX(1.22);
    opacity: 1;
  }
}

@keyframes tickerMove {
  to {
    transform: translateX(-100%);
  }
}

@keyframes buttonGlow {
  0%,
  100% {
    box-shadow:
      0 0 8px rgba(188, 83, 255, 0.45),
      inset 0 0 12px rgba(188, 83, 255, 0.3);
  }

  50% {
    box-shadow:
      0 0 22px rgba(188, 83, 255, 0.9),
      inset 0 0 18px rgba(188, 83, 255, 0.45);
  }
}

@keyframes chartFlicker {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

@keyframes signalSweep {
  from {
    transform: translateX(-100%);
    opacity: 0.15;
  }

  50% {
    opacity: 0.55;
  }

  to {
    transform: translateX(100%);
    opacity: 0.15;
  }
}

@keyframes noiseShift {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(3px, -2px);
  }
}

@keyframes blink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0.25;
  }
}

@keyframes haloBreathe {
  0%,
  100% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes floorDrift {
  0%,
  100% {
    transform: translateX(-2%);
    opacity: 0.75;
  }

  50% {
    transform: translateX(2%);
    opacity: 1;
  }
}

@keyframes starDrift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(51px);
  }
}

@keyframes signalSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(72px);
  }
}

@keyframes fogBreath {
  0%,
  100% {
    opacity: 0.65;
    transform: scaleX(1);
  }

  50% {
    opacity: 1;
    transform: scaleX(1.08);
  }
}

@keyframes gridPulse {
  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.62;
  }
}

@keyframes barDance {
  0%,
  100% {
    transform: scaleY(0.65);
    opacity: 0.55;
  }

  50% {
    transform: scaleY(1.1);
    opacity: 1;
  }
}

/* MOBILE / SMALL SCREENS */
@media (max-width: 800px) {
  #hero-grid {
    grid-template-columns: 28% 70%;
  }

  #right-panels,
  #clearance-box,
  #welcome-panel p,
  .lower-card {
    display: none;
  }

  #lower-deck {
    grid-template-columns: 1fr;
  }

  #terminal-ui {
    top: 8%;
    right: 7%;
    bottom: 8%;
    left: 7%;
  }
}