html,
body {
  background: #050505;
  color: #e7eee4;
  margin: 0;
  font-family: Barlow, "Segoe UI", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.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;
}

.rx-shell-header {
  display: block;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(5 5 5 / 0.94);
  border-bottom: 1px solid #1c261c;
}

.rx-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 3.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 0.75rem;
}

.rx-topbar a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e7eee4;
}

.rx-topbar img.mark {
  width: 2.25rem;
  height: 2.25rem;
  max-width: 2.25rem;
  object-fit: contain;
}

.rx-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rx-green-btn,
a.bg-primary,
button.bg-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0 0.85rem;
  border: 0;
  background: #9dff1c;
  color: #050505 !important;
  -webkit-text-fill-color: #050505;
  font-family: Barlow, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.rx-menu-btn {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid #1c261c;
  background: #0c0e10;
  color: #e7eee4;
}

.rx-tabs {
  display: none;
  width: 100%;
  border-top: 1px solid #1c261c;
  background: #12161a;
}

.rx-tabs-row {
  display: flex;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

.rx-tabs-row a {
  flex: 1;
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.2rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: #8a9484;
}

.rx-menu-sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  width: min(20rem, 92vw);
  padding: 1.25rem;
  overflow: auto;
  background: #0c0e10;
  border-left: 1px solid #1c261c;
}

.rx-menu-sheet nav a {
  display: flex;
  height: 3rem;
  align-items: center;
  border-bottom: 1px solid #1c261c;
  color: #e7eee4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rx-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgb(5 5 5 / 0.8);
}

.tx-bar {
  border-bottom: 1px solid #1c261c;
  background: #0a0d0b;
}

.tx-bar > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.55rem 1rem;
}

.tx-call {
  flex: none;
  font-family: Teko, "Arial Narrow", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00d4ff;
}

.tx-bar .tx-fade {
  margin: 0;
  min-width: 0;
  color: #e7eee4;
  font-size: 0.92rem;
}

.tx-kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tx-kicker .tx-fade {
  min-width: 0;
}

.tx-fade {
  animation: tx-in 0.55s ease-out;
}

.rx-fog {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  mix-blend-mode: screen;
}

.rx-fog canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.rx-fog-edge {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 115%, rgb(200 210 200 / 0.28), transparent 58%),
    linear-gradient(90deg, rgb(170 185 170 / 0.22), transparent 20%, transparent 80%, rgb(170 185 170 / 0.22));
  mix-blend-mode: screen;
}

.rx-fog-edges .rx-fog-edge {
  background:
    radial-gradient(ellipse at 50% 50%, transparent 38%, rgb(150 165 150 / 0.32) 100%),
    radial-gradient(ellipse at 50% 120%, rgb(200 210 200 / 0.3), transparent 55%);
}

.rx-map-fog {
  position: relative;
}

.rx-map-fog::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at 50% 48%, transparent 46%, rgb(8 10 8 / 0.55) 100%);
}

@keyframes tx-in {
  from {
    opacity: 0.15;
    filter: blur(2px);
  }
  to {
    opacity: 1;
    filter: none;
  }
}

.live-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #9dff1c;
  box-shadow: 0 0 8px #9dff1c;
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.atm-vid,
.ken img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 640px) {
  .rx-tabs {
    display: block;
  }
}

@media (max-width: 639px) {
  .rx-wordmark {
    display: none !important;
  }

  .rx-deploy-desk {
    display: none !important;
  }
}

.rx-plate-wrap {
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
}

.rx-frame-pick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}

.rx-frame-pick-kicker {
  width: 100%;
  margin: 0 0 0.35rem;
  text-align: center;
  font-family: Barlow, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00d4ff;
}

.rx-frame-btn {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 2px solid rgb(231 238 228 / 0.4);
  background-color: #070605;
  background-size: 100% 100%;
  cursor: pointer;
}

.rx-frame-btn.is-on {
  border-color: #9dff1c;
  box-shadow: 0 0 0 1px #9dff1c;
}

.rx-frame-btn[data-frame="skulls"] {
  background-image: url("/images/frames/skulls.webp?v=3");
}
.rx-frame-btn[data-frame="thorns"] {
  background-image: url("/images/frames/thorns.webp?v=4");
}
.rx-frame-btn[data-frame="bone"] {
  background-image: url("/images/frames/bone.webp?v=3");
}
.rx-frame-btn[data-frame="wire"] {
  background-image: url("/images/frames/wire.webp?v=3");
}

.rx-dossier {
  --rx-plate-frame: url("/images/frames/skulls.webp?v=3");
  box-sizing: border-box;
  border-style: solid;
  border-color: transparent;
  border-width: 2.9rem;
  border-image-source: var(--rx-plate-frame);
  border-image-slice: 30% 32% 24% 30%;
  border-image-width: 2.9rem;
  border-image-repeat: round;
  background-clip: padding-box;
}

.rx-dossier[data-frame="skulls"] {
  --rx-plate-frame: url("/images/frames/skulls.webp?v=3");
  border-width: 3rem;
  border-image-width: 3rem;
  border-image-slice: 30% 32% 24% 30%;
}
.rx-dossier[data-frame="thorns"] {
  --rx-plate-frame: url("/images/frames/thorns.webp?v=4");
  border-width: 3.05rem;
  border-image-width: 3.05rem;
  border-image-slice: 34% 36% 26% 38%;
}
.rx-dossier[data-frame="bone"] {
  --rx-plate-frame: url("/images/frames/bone.webp?v=3");
  border-width: 2.85rem;
  border-image-width: 2.85rem;
  border-image-slice: 28% 28% 24% 30%;
}
.rx-dossier[data-frame="wire"] {
  --rx-plate-frame: url("/images/frames/wire.webp?v=3");
  border-width: 2.7rem;
  border-image-width: 2.7rem;
  border-image-slice: 26% 28% 22% 30%;
}

.rx-dossier-body {
  position: relative;
  z-index: 5;
  padding: 1.05rem 1.1rem 1.15rem;
}

.ken {
  animation: ken-orbit 80s linear infinite !important;
}
@keyframes ken-orbit {
  0% { transform: scale(1.06) translate3d(1%, 0, 0); }
  25% { transform: scale(1.06) translate3d(0, -0.8%, 0); }
  50% { transform: scale(1.06) translate3d(-1%, 0, 0); }
  75% { transform: scale(1.06) translate3d(0, 0.8%, 0); }
  100% { transform: scale(1.06) translate3d(1%, 0, 0); }
}
.atm-vid,
.ken img {
  object-position: center 40%;
}
@media (max-width: 900px) {
  .scanlines {
    opacity: 0.16;
    animation: none;
  }
  .grain {
    opacity: 0.04;
  }
}
