/*
Theme Name: Neurovandals Event
Theme URI: https://example.local/neurovandals
Author: Neurovandals Crew
Description: Dark interactive Drum and Bass / Neurofunk event theme with editable event sections.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: neurovandals-event
*/

html,
body {
  margin: 0;
  background: #030405;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(255, 84, 27, 0.92);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(8, 198, 255, 0.12);
}

/* Preserve the mission briefing paragraphs supplied through the editable content. */
.transmission .sectionInner > p {
  white-space: pre-line;
}

.neurovandals-news {
  min-width: 320px;
  color: #ecf9fb;
  font-family: "Bahnschrift", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 76% 14%, rgba(255, 84, 27, 0.12), transparent 26rem),
    linear-gradient(180deg, #030405, #060708 58%, #020303);
}

.nv-world {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 4, 5, 0.22), rgba(3, 4, 5, 0.86)),
    var(--event-bg-image, url("reference-art.jpeg")) center / cover fixed;
  filter: saturate(0.82) contrast(1.14) brightness(0.58);
}

.nv-world::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 7px, rgba(255, 255, 255, 0.035) 7px 8px),
    linear-gradient(90deg, rgba(255, 84, 27, 0.08), transparent 36%, rgba(27, 220, 255, 0.05));
  mix-blend-mode: screen;
}

.nv-news-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3.4rem);
  background: linear-gradient(180deg, rgba(3, 4, 5, 0.92), rgba(3, 4, 5, 0.34));
  backdrop-filter: blur(10px);
}

.nv-news-nav a,
.nv-readmore,
.nv-back {
  color: #d8edf1;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.nv-news-nav li {
  list-style: none;
}

.nv-news-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.nv-news-nav nav a,
.nv-news-mark,
.nv-readmore,
.nv-back {
  border: 1px solid rgba(151, 164, 160, 0.18);
  padding: 0.55rem 0.75rem;
  background: rgba(2, 4, 5, 0.54);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.nv-news-nav a:hover,
.nv-readmore:hover,
.nv-back:hover {
  color: #f0a179;
  border-color: rgba(255, 84, 27, 0.58);
}

.nv-news-mark img {
  display: block;
  width: auto;
  max-width: min(14rem, 48vw);
  height: 2rem;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(27, 220, 255, 0.2)) drop-shadow(0 0 10px rgba(240, 120, 67, 0.24));
}

.nv-news-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.nv-news-hero {
  max-width: 860px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.nv-news-hero span,
.nv-post-card time,
.nv-single-head time {
  color: #f07843;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nv-news-hero h1,
.nv-single-head h1 {
  margin: 0.45rem 0 1rem;
  color: transparent;
  background: linear-gradient(180deg, #e9f4f3, #788586 48%, #151719);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 1px rgba(176, 196, 194, 0.24);
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.78;
  text-transform: uppercase;
}

.nv-news-hero p,
.nv-single-head p {
  max-width: 720px;
  color: #aab8b8;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.nv-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.nv-post-card {
  overflow: hidden;
  border: 1px solid rgba(27, 220, 255, 0.18);
  background: linear-gradient(145deg, rgba(14, 19, 22, 0.82), rgba(5, 8, 10, 0.94));
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.nv-post-image {
  display: grid;
  height: 15rem;
  place-items: center;
  overflow: hidden;
  color: rgba(246, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(255, 84, 27, 0.18), rgba(27, 220, 255, 0.1)),
    var(--event-bg-image, url("reference-art.jpeg")) center / cover;
  font-size: 4rem;
  font-weight: 950;
  text-decoration: none;
}

.nv-post-image img,
.nv-single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.12) contrast(1.12) saturate(0.95);
}

.nv-post-body {
  padding: 1rem;
}

.nv-post-card h2 {
  margin: 0.35rem 0;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.nv-post-card h2 a {
  color: #ecf9fb;
  text-decoration: none;
}

.nv-post-card p {
  color: #aab8b8;
  line-height: 1.55;
}

.nv-node-timeline {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 4.6rem);
  min-height: 48rem;
  padding: clamp(1rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 7rem);
}

.nv-node-grid,
.nv-node-spine {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nv-node-grid {
  background:
    linear-gradient(rgba(27, 220, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 164, 160, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 14%, rgba(255, 84, 27, 0.12), transparent 20rem);
  background-size: 72px 72px, 72px 72px, 100% 100%;
  mask-image: linear-gradient(180deg, transparent, black 8%, black 92%, transparent);
  animation: nvNodeGrid 16s linear infinite;
}

.nv-node-spine {
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(27, 220, 255, 0.28), rgba(255, 84, 27, 0.62), rgba(27, 220, 255, 0.18), transparent);
  box-shadow: 0 0 22px rgba(255, 84, 27, 0.22), 0 0 56px rgba(27, 220, 255, 0.1);
}

.nv-node-spine::before,
.nv-node-spine::after {
  content: "";
  position: absolute;
  left: 50%;
  width: clamp(12rem, 34vw, 30rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27, 220, 255, 0.22), rgba(255, 84, 27, 0.18), transparent);
  transform: translateX(-50%);
}

.nv-node-spine::before {
  top: 22%;
}

.nv-node-spine::after {
  top: 68%;
}

.nv-node-post {
  position: relative;
  z-index: 1;
  width: min(46%, 33rem);
  animation: nvNodeDrift var(--drift, 10s) ease-in-out infinite alternate;
}

.nv-node-post:nth-of-type(odd) {
  justify-self: start;
  padding-right: clamp(1rem, 5vw, 5rem);
}

.nv-node-post:nth-of-type(even) {
  justify-self: end;
  padding-left: clamp(1rem, 5vw, 5rem);
  animation-delay: -2.5s;
}

.nv-node-link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.nv-node-pulse {
  position: absolute;
  top: 50%;
  width: 1.35rem;
  aspect-ratio: 1;
  border: 1px solid rgba(236, 249, 251, 0.7);
  border-radius: 50%;
  background:
    radial-gradient(circle, #ecf9fb 0 13%, rgba(255, 84, 27, 0.92) 14% 28%, transparent 29%),
    rgba(3, 5, 6, 0.9);
  box-shadow: 0 0 16px rgba(255, 84, 27, 0.55), 0 0 30px rgba(27, 220, 255, 0.16);
  transform: translateY(-50%);
}

.nv-node-post:nth-of-type(odd) .nv-node-pulse {
  right: -0.62rem;
}

.nv-node-post:nth-of-type(even) .nv-node-pulse {
  left: -0.62rem;
}

.nv-node-pulse::after {
  content: "";
  position: absolute;
  inset: -0.85rem;
  border: 1px solid rgba(255, 84, 27, 0.2);
  border-radius: 50%;
  animation: nvNodePulse 2.8s ease-out infinite;
}

.nv-node-line {
  position: absolute;
  top: 50%;
  height: 1px;
  width: clamp(2rem, 8vw, 5.4rem);
  background: linear-gradient(90deg, rgba(27, 220, 255, 0.08), rgba(255, 84, 27, 0.72));
}

.nv-node-post:nth-of-type(odd) .nv-node-line {
  right: 0;
}

.nv-node-post:nth-of-type(even) .nv-node-line {
  left: 0;
  transform: rotate(180deg);
}

.nv-node-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(4.8rem, 7rem) minmax(8rem, 32%) minmax(0, 1fr);
  min-height: 12rem;
  overflow: hidden;
  border: 1px solid rgba(27, 220, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(27, 220, 255, 0.08), transparent 28%),
    linear-gradient(145deg, rgba(7, 11, 12, 0.9), rgba(2, 4, 5, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.nv-node-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 84, 27, 0.16), transparent),
    repeating-linear-gradient(180deg, transparent 0 8px, rgba(255, 255, 255, 0.035) 8px 9px);
  mix-blend-mode: screen;
  opacity: 0.42;
  transform: translateX(-100%);
  transition: transform 320ms ease;
}

.nv-node-link:hover .nv-node-card,
.nv-node-link:focus-visible .nv-node-card {
  border-color: rgba(255, 84, 27, 0.56);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 32px rgba(255, 84, 27, 0.14);
  filter: brightness(1.08);
  transform: translateY(-4px) perspective(900px) rotateY(-3deg);
}

.nv-node-post:nth-of-type(even) .nv-node-link:hover .nv-node-card,
.nv-node-post:nth-of-type(even) .nv-node-link:focus-visible .nv-node-card {
  transform: translateY(-4px) perspective(900px) rotateY(3deg);
}

.nv-node-link:hover .nv-node-card::before,
.nv-node-link:focus-visible .nv-node-card::before {
  transform: translateX(100%);
}

.nv-node-index {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(151, 164, 160, 0.12);
  color: rgba(240, 120, 67, 0.9);
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 950;
}

.nv-node-media {
  position: relative;
  display: grid;
  min-height: 100%;
  place-items: center;
  overflow: hidden;
  color: rgba(236, 249, 251, 0.82);
  background:
    linear-gradient(135deg, rgba(255, 84, 27, 0.2), rgba(27, 220, 255, 0.08)),
    var(--event-bg-image, url("reference-art.jpeg")) center / cover;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 950;
}

.nv-node-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.22) saturate(0.72);
}

.nv-node-body {
  display: grid;
  align-content: center;
  gap: 0.48rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.nv-node-body time,
.nv-node-body b {
  color: #f07843;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.nv-node-body strong {
  color: #ecf9fb;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 3.35rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.nv-node-body em {
  color: #aab8b8;
  font-style: normal;
  line-height: 1.45;
}

@keyframes nvNodeGrid {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 72px 144px, 72px 144px, 0 0;
  }
}

@keyframes nvNodeDrift {
  from {
    transform: translate3d(0, -3px, 0);
  }
  to {
    transform: translate3d(0, 6px, 0);
  }
}

@keyframes nvNodePulse {
  from {
    opacity: 0.8;
    transform: scale(0.72);
  }
  to {
    opacity: 0;
    transform: scale(1.65);
  }
}

.nv-asteroid-timeline {
  position: relative;
  display: grid;
  gap: clamp(2.4rem, 6vw, 5.5rem);
  min-height: 52rem;
  padding: clamp(1rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 7rem);
}

.nv-asteroid-timeline::before,
.nv-asteroid-timeline::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nv-asteroid-timeline::before {
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 84, 27, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 79% 22%, rgba(169, 187, 184, 0.22) 0 1px, transparent 3px),
    radial-gradient(circle at 61% 76%, rgba(255, 84, 27, 0.2) 0 2px, transparent 4px),
    radial-gradient(circle at 30% 89%, rgba(27, 220, 255, 0.12) 0 1px, transparent 3px),
    linear-gradient(90deg, transparent, rgba(240, 120, 67, 0.07), transparent);
  background-size: 21rem 19rem, 17rem 23rem, 28rem 24rem, 13rem 16rem, 100% 100%;
  animation: nvAsteroidDust 18s linear infinite;
  opacity: 0.8;
}

.nv-asteroid-timeline::after {
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(27, 220, 255, 0.08) 43%, transparent 44%),
    linear-gradient(65deg, transparent 0 54%, rgba(255, 84, 27, 0.12) 55%, transparent 56%);
  mix-blend-mode: screen;
  opacity: 0.48;
}

.nv-orbit-spine {
  position: absolute;
  top: 0;
  bottom: 2rem;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(240, 120, 67, 0.48), rgba(27, 220, 255, 0.22), transparent);
  box-shadow: 0 0 38px rgba(240, 120, 67, 0.24);
  pointer-events: none;
}

.nv-orbit-spine span {
  position: absolute;
  left: 50%;
  width: clamp(9rem, 23vw, 20rem);
  aspect-ratio: 1;
  border: 1px solid rgba(151, 164, 160, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(18deg);
}

.nv-orbit-spine span:nth-child(1) {
  top: 18%;
}

.nv-orbit-spine span:nth-child(2) {
  top: 48%;
  width: clamp(13rem, 33vw, 29rem);
  border-color: rgba(240, 120, 67, 0.12);
  transform: translate(-50%, -50%) rotate(-21deg);
}

.nv-orbit-spine span:nth-child(3) {
  top: 76%;
  width: clamp(10rem, 27vw, 23rem);
}

.nv-asteroid-post {
  position: relative;
  z-index: 1;
  width: min(48%, 33rem);
  animation: nvAsteroidDrift var(--drift, 10s) ease-in-out infinite alternate;
}

.nv-asteroid-post:nth-of-type(odd) {
  justify-self: start;
  padding-right: clamp(1rem, 5vw, 5rem);
}

.nv-asteroid-post:nth-of-type(even) {
  justify-self: end;
  padding-left: clamp(1rem, 5vw, 5rem);
  animation-delay: -3s;
}

.nv-asteroid-link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  perspective: 900px;
}

.nv-asteroid-node {
  position: absolute;
  top: 50%;
  width: 1.1rem;
  aspect-ratio: 1;
  border: 1px solid rgba(240, 120, 67, 0.75);
  border-radius: 45% 55% 48% 52%;
  background:
    radial-gradient(circle, rgba(255, 84, 27, 0.95), rgba(255, 84, 27, 0.18) 48%, transparent 62%),
    #100806;
  box-shadow: 0 0 20px rgba(255, 84, 27, 0.48);
}

.nv-asteroid-post:nth-of-type(odd) .nv-asteroid-node {
  right: calc(-1 * var(--orbit));
}

.nv-asteroid-post:nth-of-type(even) .nv-asteroid-node {
  left: calc(-1 * var(--orbit));
}

.nv-asteroid-tether {
  position: absolute;
  top: calc(50% + 0.45rem);
  height: 1px;
  width: calc(var(--orbit) + clamp(1.4rem, 4vw, 4rem));
  background: linear-gradient(90deg, rgba(240, 120, 67, 0.7), rgba(151, 164, 160, 0.08));
  opacity: 0.72;
}

.nv-asteroid-post:nth-of-type(odd) .nv-asteroid-tether {
  right: calc(-1 * var(--orbit) + 0.4rem);
}

.nv-asteroid-post:nth-of-type(even) .nv-asteroid-tether {
  left: calc(-1 * var(--orbit) + 0.4rem);
  transform: rotate(180deg);
}

.nv-asteroid-fragment {
  display: grid;
  grid-template-columns: minmax(8rem, 38%) minmax(0, 1fr);
  min-height: 13rem;
  overflow: hidden;
  border: 1px solid rgba(151, 164, 160, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 84, 27, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(7, 10, 11, 0.88), rgba(2, 4, 5, 0.94));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  clip-path: polygon(7% 0, 100% 0, 94% 100%, 0 90%, 0 12%);
  transform: rotateX(0deg) rotateY(0deg);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.nv-asteroid-link:hover .nv-asteroid-fragment,
.nv-asteroid-link:focus-visible .nv-asteroid-fragment {
  border-color: rgba(240, 120, 67, 0.52);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48), 0 0 28px rgba(240, 120, 67, 0.16);
  filter: brightness(1.08);
  transform: rotateX(2deg) rotateY(-4deg) translateY(-4px);
}

.nv-asteroid-post:nth-of-type(even) .nv-asteroid-link:hover .nv-asteroid-fragment,
.nv-asteroid-post:nth-of-type(even) .nv-asteroid-link:focus-visible .nv-asteroid-fragment {
  transform: rotateX(2deg) rotateY(4deg) translateY(-4px);
}

.nv-asteroid-image {
  position: relative;
  display: grid;
  min-height: 100%;
  place-items: center;
  overflow: hidden;
  color: rgba(246, 255, 255, 0.88);
  background:
    linear-gradient(135deg, rgba(255, 84, 27, 0.22), rgba(27, 220, 255, 0.08)),
    var(--event-bg-image, url("reference-art.jpeg")) center / cover;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 950;
}

.nv-asteroid-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 84, 27, 0.16), transparent),
    repeating-linear-gradient(180deg, transparent 0 8px, rgba(255, 255, 255, 0.04) 8px 9px);
  mix-blend-mode: screen;
}

.nv-asteroid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.22) contrast(1.18) saturate(0.82);
  transform: scale(1.03);
}

.nv-asteroid-body {
  display: grid;
  align-content: center;
  gap: 0.55rem;
  padding: clamp(1rem, 2vw, 1.45rem);
}

.nv-asteroid-body time,
.nv-asteroid-body b {
  color: #f07843;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.nv-asteroid-body strong {
  color: #ecf9fb;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.nv-asteroid-body em {
  color: #aab8b8;
  font-style: normal;
  line-height: 1.5;
}

@keyframes nvAsteroidDrift {
  from {
    transform: translate3d(0, -4px, 0) rotate(-0.4deg);
  }
  to {
    transform: translate3d(0, 7px, 0) rotate(0.55deg);
  }
}

@keyframes nvAsteroidDust {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 9rem 13rem, -7rem 10rem, 13rem -8rem, -6rem -9rem, 0 0;
  }
}

.nv-pagination {
  margin-top: 2rem;
}

.nv-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nv-pagination a,
.nv-pagination span {
  border: 1px solid rgba(151, 164, 160, 0.2);
  padding: 0.55rem 0.75rem;
  color: #d8edf1;
  background: rgba(2, 4, 5, 0.54);
  text-decoration: none;
}

.nv-single {
  max-width: 980px;
}

.nv-single-head {
  margin: 2rem 0;
}

.nv-single-image {
  height: clamp(18rem, 46vw, 34rem);
  margin: 0 0 2rem;
  overflow: hidden;
  border: 1px solid rgba(181, 95, 55, 0.38);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.nv-single-content {
  border: 1px solid rgba(151, 164, 160, 0.18);
  padding: clamp(1rem, 3vw, 2rem);
  color: #c5d0d0;
  background: rgba(3, 5, 6, 0.78);
  line-height: 1.75;
}

.nv-single-content h2,
.nv-single-content h3 {
  color: #ecf9fb;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.nv-single-content a {
  color: #f0a179;
}

.nv-page-shell {
  width: min(1060px, calc(100% - 2rem));
}

.nv-page {
  position: relative;
}

.nv-page::before {
  content: "";
  position: absolute;
  top: 8.5rem;
  right: -9vw;
  width: clamp(10rem, 24vw, 20rem);
  aspect-ratio: 1;
  border: 1px solid rgba(240, 120, 67, 0.28);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(27, 220, 255, 0.22) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(240, 120, 67, 0.18) 50%, transparent 51%);
  opacity: 0.44;
  pointer-events: none;
}

.nv-page-kicker {
  display: inline-flex;
  border: 1px solid rgba(240, 120, 67, 0.36);
  padding: 0.45rem 0.7rem;
  color: #f07843;
  background: rgba(3, 5, 6, 0.7);
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-weight: 950;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.nv-page-content {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 84, 27, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(3, 5, 6, 0.88), rgba(3, 5, 6, 0.72));
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.nv-page-content::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(27, 220, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 164, 160, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
}

.nv-page-content > * {
  position: relative;
}

.nv-page-content p,
.nv-page-content li {
  max-width: 76ch;
}

.nv-page-content ul,
.nv-page-content ol {
  padding-left: 1.2rem;
}

.nv-page-content hr {
  border: 0;
  height: 1px;
  margin: 2rem 0;
  background: linear-gradient(90deg, rgba(240, 120, 67, 0.72), rgba(151, 164, 160, 0.16), transparent);
}

.nv-legal-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.5rem;
  border-bottom: 1px solid rgba(27, 220, 255, 0.22);
  padding: 0 0 1rem;
  color: #8fa7ac;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nv-legal-intro strong {
  color: #eefcff;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.nv-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.nv-legal-section {
  position: relative;
  overflow-wrap: anywhere;
  border: 1px solid rgba(151, 164, 160, 0.2);
  border-left-color: rgba(27, 220, 255, 0.48);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: linear-gradient(135deg, rgba(10, 31, 43, 0.68), rgba(3, 5, 6, 0.48));
}

.nv-legal-section--primary {
  border-left-color: #f07843;
  background: linear-gradient(135deg, rgba(90, 28, 12, 0.4), rgba(3, 5, 6, 0.55));
}

.nv-legal-section--wide {
  margin: 1rem 0;
}

.nv-legal-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #f07843;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nv-legal-section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  line-height: 1;
}

.nv-legal-section p:last-child {
  margin-bottom: 0;
}

.nv-empty {
  border: 1px solid rgba(181, 95, 55, 0.32);
  padding: 2rem;
  background: rgba(3, 5, 6, 0.72);
}

@media (max-width: 900px) {
  .nv-news-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nv-post-grid {
    grid-template-columns: 1fr;
  }

  .nv-asteroid-timeline {
    gap: 2rem;
    min-height: auto;
  }

  .nv-node-timeline {
    gap: 2rem;
    min-height: auto;
  }

  .nv-node-spine {
    left: 0.7rem;
  }

  .nv-node-spine::before,
  .nv-node-spine::after {
    display: none;
  }

  .nv-node-post,
  .nv-node-post:nth-of-type(odd),
  .nv-node-post:nth-of-type(even) {
    width: 100%;
    justify-self: stretch;
    padding-right: 0;
    padding-left: 2rem;
  }

  .nv-node-pulse,
  .nv-node-post:nth-of-type(odd) .nv-node-pulse,
  .nv-node-post:nth-of-type(even) .nv-node-pulse {
    left: -0.02rem;
    right: auto;
  }

  .nv-node-line,
  .nv-node-post:nth-of-type(odd) .nv-node-line,
  .nv-node-post:nth-of-type(even) .nv-node-line {
    left: 0.55rem;
    right: auto;
    width: 1.9rem;
    transform: none;
  }

  .nv-node-card {
    grid-template-columns: 4.4rem minmax(0, 1fr);
  }

  .nv-node-media {
    grid-column: 1 / -1;
    min-height: 12rem;
    order: -1;
  }

  .nv-orbit-spine {
    left: 0.55rem;
  }

  .nv-orbit-spine span {
    display: none;
  }

  .nv-asteroid-post,
  .nv-asteroid-post:nth-of-type(odd),
  .nv-asteroid-post:nth-of-type(even) {
    width: 100%;
    justify-self: stretch;
    padding-right: 0;
    padding-left: 2rem;
  }

  .nv-asteroid-node,
  .nv-asteroid-post:nth-of-type(odd) .nv-asteroid-node,
  .nv-asteroid-post:nth-of-type(even) .nv-asteroid-node {
    left: 0;
    right: auto;
  }

  .nv-asteroid-tether,
  .nv-asteroid-post:nth-of-type(odd) .nv-asteroid-tether,
  .nv-asteroid-post:nth-of-type(even) .nv-asteroid-tether {
    left: 0.45rem;
    right: auto;
    width: 1.7rem;
    transform: none;
  }

  .nv-asteroid-fragment {
    grid-template-columns: 1fr;
  }

  .nv-asteroid-image {
    min-height: 12rem;
  }

  .nv-page::before {
    display: none;
  }
}

/* Post-event waiting page: hero, training game and compact system footer. */
body.neurovandals-theme.nvWaitingMode .heroStamp,
body.neurovandals-theme.nvWaitingMode .nvHeroTeaser,
body.neurovandals-theme.nvWaitingMode .nvSignalLauncher {
  display: none !important;
}

body.neurovandals-theme.nvWaitingMode .hero {
  min-height: 94vh;
}

body.neurovandals-theme.nvWaitingMode .heroContent {
  width: min(980px, calc(100% - 2rem));
  padding-top: clamp(8.5rem, 17vh, 11rem);
}

body.neurovandals-theme.nvWaitingMode .heroLogoTitle {
  width: min(46rem, 100%);
}

body.neurovandals-theme.nvWaitingMode .heroMeta {
  width: min(48rem, 100%);
  border-color: rgba(27, 220, 255, 0.24);
  background: linear-gradient(90deg, rgba(27, 220, 255, 0.08), rgba(3, 6, 7, 0.64), transparent);
}

body.neurovandals-theme.nvWaitingMode .heroMeta strong {
  color: #aeeaf2;
}

body.neurovandals-theme.nvWaitingMode .heroCopy {
  max-width: 48rem;
  color: rgba(229, 239, 240, 0.94);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.55;
}

body.neurovandals-theme.nvWaitingMode .heroSignals span {
  border-color: rgba(27, 220, 255, 0.25);
  color: #acd9df;
  background: rgba(3, 12, 14, 0.7);
}

body.neurovandals-theme.nvWaitingMode .gameSection {
  min-height: 100vh;
  padding-top: clamp(5rem, 8vw, 7rem);
}

body.neurovandals-theme.nvWaitingMode .gameSection .sectionHead h2 {
  color: #dcebed;
  text-shadow: 0 0 1.4rem rgba(27, 220, 255, 0.2), 0 0 2rem rgba(255, 84, 27, 0.18);
}

body.neurovandals-theme.nvWaitingMode .footer {
  min-height: auto;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

body.neurovandals-theme.nvWaitingMode .footer::after {
  opacity: 0.28;
}

@media (max-width: 720px) {
  body.neurovandals-theme.nvWaitingMode .hero {
    min-height: 100svh;
  }

  body.neurovandals-theme.nvWaitingMode .heroContent {
    padding-top: 7.8rem;
  }

  body.neurovandals-theme.nvWaitingMode .heroLogoTitle {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .nv-page-head h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 13vw, 4.2rem);
    line-height: 0.86;
    overflow-wrap: anywhere;
  }

  .nv-legal-grid {
    grid-template-columns: 1fr;
  }

  .nv-legal-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .nv-legal-intro > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* Premium mission-lead treatment for the two-part B2B unit. */
body.neurovandals-theme .mainacts {
  min-height: 0;
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

body.neurovandals-theme .mainacts .mainactOverlay {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  align-items: start;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-top: clamp(4rem, 6vw, 5.5rem);
}

body.neurovandals-theme .mainacts .mainactIntro {
  width: min(66rem, 100%);
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  grid-template-rows: auto auto;
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-inline: auto;
  border: 1px solid rgba(136, 195, 201, 0.2);
  border-left: 3px solid #ff541b;
  padding: clamp(1.15rem, 2.8vw, 1.75rem) clamp(1.2rem, 3vw, 2rem);
  background:
    linear-gradient(105deg, rgba(255, 84, 27, 0.14), transparent 38%),
    linear-gradient(90deg, rgba(3, 9, 12, 0.94), rgba(3, 9, 12, 0.72));
  box-shadow: 0 1.2rem 3.5rem rgba(0, 0, 0, 0.34);
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 1rem 100%, 0 calc(100% - 1rem));
}

body.neurovandals-theme .mainacts .mainactIntro > svg {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

body.neurovandals-theme .mainacts .mainactIntro > span {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-left: 2rem;
}

body.neurovandals-theme .mainacts .mainactIntro h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(3rem, 7vw, 5.4rem);
}

body.neurovandals-theme .mainacts .mainactIntro p {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  max-width: 58ch;
  border-left: 1px solid rgba(119, 209, 220, 0.2);
  margin: 0;
  padding-left: clamp(1rem, 2.5vw, 2rem);
  color: #bdcdcd;
  line-height: 1.55;
}

body.neurovandals-theme .mainacts .mainactGrid {
  width: min(66rem, 100%);
  grid-template-columns: repeat(2, minmax(0, 32rem));
  justify-content: center;
  align-items: start;
  gap: 2rem;
  margin-inline: auto;
}

body.neurovandals-theme .mainacts .mainactCard {
  position: relative;
  display: flex;
  min-height: 0;
  height: auto;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(240, 120, 67, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 84, 27, 0.16), transparent 30%),
    linear-gradient(315deg, rgba(78, 218, 235, 0.09), transparent 32%),
    rgba(3, 7, 9, 0.94);
  box-shadow:
    0 1.8rem 4.5rem rgba(0, 0, 0, 0.58),
    0 0 2.5rem rgba(255, 84, 27, 0.12),
    inset 0 0 0 1px rgba(231, 241, 242, 0.04);
  clip-path: polygon(0 0, calc(100% - 1.5rem) 0, 100% 1.5rem, 100% 100%, 1.5rem 100%, 0 calc(100% - 1.5rem));
}

body.neurovandals-theme .mainacts .mainactCard::before {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(213, 233, 234, 0.022) 5px),
    linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.055) 48%, transparent 64%);
  filter: none;
  opacity: 0.72;
  transform: none;
  pointer-events: none;
}

body.neurovandals-theme .mainacts .mainactCard::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  left: 1.35rem;
  width: 7.5rem;
  height: 3px;
  background: linear-gradient(90deg, #ff541b, #ef9a66 70%, transparent);
  box-shadow: 0 0 1rem rgba(255, 84, 27, 0.72);
  pointer-events: none;
}

body.neurovandals-theme .mainacts .mainactFigure {
  position: relative;
  height: clamp(16rem, 29vw, 21rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 84, 27, 0.25), transparent 44%),
    linear-gradient(145deg, rgba(255, 84, 27, 0.1), rgba(2, 8, 11, 0.2) 50%, rgba(75, 222, 238, 0.09));
  -webkit-mask-image: none;
  mask-image: none;
}

body.neurovandals-theme .mainacts .mainactFigure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.84) contrast(1.12) brightness(0.9);
  transition: filter 0.35s ease, transform 0.55s ease;
}

body.neurovandals-theme .mainacts .mainactCard:hover .mainactFigure img {
  filter: saturate(1) contrast(1.16) brightness(1);
  transform: scale(1.025);
}

body.neurovandals-theme .mainacts .mainactFigure::before {
  inset: -8%;
  opacity: 0.3;
  filter: saturate(0.75) contrast(1.18);
  transform: scale(1.03);
}

body.neurovandals-theme .mainacts .mainactFigure::after {
  right: 1.4rem;
  bottom: 0;
  left: 1.4rem;
  height: 1px;
  background: linear-gradient(90deg, #ff541b, rgba(240, 120, 67, 0.2) 48%, rgba(78, 218, 235, 0.52));
  box-shadow: 0 0 1.2rem rgba(255, 84, 27, 0.34);
}

body.neurovandals-theme .mainacts .mainactFigure span {
  width: auto;
  aspect-ratio: auto;
  padding: 0;
  color: rgba(222, 237, 238, 0.13);
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  letter-spacing: 0.08em;
  background: none;
  -webkit-text-stroke: 1px rgba(240, 120, 67, 0.4);
  clip-path: none;
  text-shadow: 0 0 2.5rem rgba(255, 84, 27, 0.25);
}

body.neurovandals-theme .mainacts .mainactImageBar,
body.neurovandals-theme .mainacts .mainactMediaBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #8da3a6;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

body.neurovandals-theme .mainacts .mainactImageBar {
  position: absolute;
  z-index: 3;
  right: 0.85rem;
  bottom: 0.7rem;
  left: 0.85rem;
  border: 1px solid rgba(157, 209, 214, 0.22);
  padding: 0.55rem 0.7rem;
  background: rgba(1, 6, 8, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.neurovandals-theme .mainacts .mainactImageBar strong,
body.neurovandals-theme .mainacts .mainactMediaBar strong {
  color: #f58b58;
  font-size: inherit;
}

body.neurovandals-theme .mainacts .mainactFigure .mainactImageBar span {
  width: auto;
  aspect-ratio: auto;
  padding: 0;
  color: #8da3a6;
  background: none;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-shadow: none;
  -webkit-text-stroke: 0;
  clip-path: none;
}

body.neurovandals-theme .mainacts .mainactVideoDock {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(88, 207, 220, 0.18);
  border-bottom: 1px solid rgba(240, 120, 67, 0.22);
  padding: 0.75rem;
  background:
    linear-gradient(90deg, rgba(27, 220, 255, 0.055), transparent 42%),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(218, 240, 241, 0.018) 5px),
    rgba(1, 5, 7, 0.94);
}

body.neurovandals-theme .mainacts .mainactMediaBar {
  margin-bottom: 0.65rem;
  padding: 0 0.15rem;
}

body.neurovandals-theme .mainacts .mainactVideoPending,
body.neurovandals-theme .mainacts .mainactVideoExternal {
  display: flex;
  min-height: 5.4rem;
  align-items: center;
  gap: 0.9rem;
  border: 1px dashed rgba(134, 190, 197, 0.25);
  padding: 0.85rem;
  color: #bacaca;
  background:
    linear-gradient(135deg, rgba(255, 84, 27, 0.07), transparent 48%),
    rgba(7, 14, 17, 0.74);
}

body.neurovandals-theme .mainacts .mainactVideoPending strong,
body.neurovandals-theme .mainacts .mainactVideoExternal strong {
  display: block;
  color: #e8f1f1;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
}

body.neurovandals-theme .mainacts .mainactVideoPending small {
  display: block;
  margin-top: 0.2rem;
  color: #73878b;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.neurovandals-theme .mainacts .mainactPlayMark {
  display: grid;
  width: 2.65rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(240, 120, 67, 0.55);
  color: #ff7b42;
  background: rgba(255, 84, 27, 0.09);
  box-shadow: 0 0 1.4rem rgba(255, 84, 27, 0.12);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}

body.neurovandals-theme .mainacts .mainactVideoFrame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(115, 200, 210, 0.28);
  background: #010203;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

body.neurovandals-theme .mainacts .mainactVideoFrame iframe,
body.neurovandals-theme .mainacts .mainactVideoFrame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

body.neurovandals-theme .mainacts .mainactVideoLoad {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  place-items: end start;
  border: 0;
  padding: 0;
  color: #eaf4f4;
  background:
    radial-gradient(circle at 72% 26%, rgba(27, 220, 255, 0.1), transparent 34%),
    #030608;
  cursor: pointer;
  text-align: left;
}

body.neurovandals-theme .mainacts .mainactVideoLoad::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 3, 4, 0.08), rgba(1, 3, 4, 0.88)),
    repeating-linear-gradient(180deg, transparent 0 6px, rgba(255, 255, 255, 0.025) 7px);
  transition: background 180ms ease;
  pointer-events: none;
}

body.neurovandals-theme .mainacts .mainactVideoLoad > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.64;
  filter: saturate(0.78) contrast(1.14) brightness(0.76);
  transition: filter 180ms ease, transform 280ms ease;
}

body.neurovandals-theme .mainacts .mainactVideoLoadCopy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
}

body.neurovandals-theme .mainacts .mainactVideoLoadCopy strong,
body.neurovandals-theme .mainacts .mainactVideoLoadCopy small {
  display: block;
  font-family: var(--font-tech);
  text-transform: uppercase;
}

body.neurovandals-theme .mainacts .mainactVideoLoadCopy strong {
  font-size: 0.86rem;
  letter-spacing: 0.05em;
}

body.neurovandals-theme .mainacts .mainactVideoLoadCopy small {
  margin-top: 0.15rem;
  color: #9cafb1;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

body.neurovandals-theme .mainacts .mainactVideoLoad:hover > img,
body.neurovandals-theme .mainacts .mainactVideoLoad:focus-visible > img {
  filter: saturate(1) contrast(1.18) brightness(0.88);
  transform: scale(1.035);
}

body.neurovandals-theme .mainacts .mainactVideoLoad:focus-visible {
  outline: 2px solid #ff7444;
  outline-offset: -3px;
}

body.neurovandals-theme .mainacts .mainactVideoExternal {
  width: 100%;
  height: 100%;
  justify-content: center;
}

body.neurovandals-theme .mainacts .mainactInfo {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  margin-top: 0;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 0;
  border-top: 1px solid rgba(240, 120, 67, 0.28);
  background:
    linear-gradient(115deg, rgba(14, 22, 26, 0.98), rgba(3, 7, 9, 0.94)),
    rgba(3, 7, 9, 0.95);
}

body.neurovandals-theme .mainacts .mainactLabel {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid rgba(240, 120, 67, 0.42);
  color: #ff9a68;
  background: rgba(255, 84, 27, 0.09);
  letter-spacing: 0.12em;
}

body.neurovandals-theme .mainacts .mainactCard h3 {
  max-width: 10ch;
  margin: 0.75rem 0 0.85rem;
  color: #f1f7f7;
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-shadow: 0 0 1.8rem rgba(98, 213, 229, 0.12);
}

body.neurovandals-theme .mainacts .mainactMeta {
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(194, 214, 214, 0.1);
  border-bottom: 1px solid rgba(194, 214, 214, 0.1);
}

body.neurovandals-theme .mainacts .mainactMeta strong {
  color: #ff6d32;
}

body.neurovandals-theme .mainacts .mainactMeta em {
  color: #d5dfdd;
}

body.neurovandals-theme .mainacts .mainactOrigin {
  margin: 0 0 0.85rem;
  color: #8fd4dc;
  letter-spacing: 0.06em;
}

body.neurovandals-theme .mainacts .mainactInfo > p {
  max-width: 50ch;
  margin-bottom: 1.2rem;
  color: #c4cfcd;
  line-height: 1.58;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

body.neurovandals-theme .mainacts .mainactBio {
  position: relative;
  transition: max-height 0.45s ease;
}

body.neurovandals-theme .mainacts .mainactBio.is-collapsed {
  max-height: 14.2rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0 68%, transparent 100%);
}

body.neurovandals-theme .mainacts .mainactBioToggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid rgba(240, 120, 67, 0.28);
  margin: -0.35rem 0 1rem;
  padding: 0.65rem 0.75rem;
  color: #819397;
  background: rgba(255, 84, 27, 0.055);
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

body.neurovandals-theme .mainacts .mainactBioToggle strong {
  color: #f58b58;
  font-size: inherit;
}

body.neurovandals-theme .mainacts .mainactBioToggle:hover {
  border-color: rgba(240, 120, 67, 0.66);
  color: #c9d7d7;
}

body.neurovandals-theme .mainacts .mainactSocialDock,
body.neurovandals-theme .mainacts .mainactSocialsPending {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
  border-top: 1px solid rgba(194, 214, 214, 0.11);
  padding-top: 1rem;
}

body.neurovandals-theme .mainacts .mainactSocialDock a {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(113, 198, 208, 0.25);
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  color: #c9dada;
  background: rgba(6, 16, 20, 0.74);
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.neurovandals-theme .mainacts .mainactSocialDock a:hover {
  border-color: rgba(240, 120, 67, 0.7);
  color: #fff0e9;
  transform: translateY(-2px);
}

body.neurovandals-theme .mainacts .mainactSocialIcon {
  display: grid;
  width: 1.85rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(240, 120, 67, 0.48);
  color: #ff8d56;
  background: rgba(255, 84, 27, 0.08);
  font-size: 0.65rem;
}

body.neurovandals-theme .mainacts .mainactSocialIcon svg {
  width: 1rem;
  height: 1rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body.neurovandals-theme .mainacts .mainactSocialIcon svg .fill {
  fill: currentColor;
  stroke: none;
}

body.neurovandals-theme .mainacts .mainactSocialsPending {
  align-items: center;
  justify-content: space-between;
  color: #667c80;
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.neurovandals-theme .mainacts .mainactSocialsPending strong {
  color: #8b9ca0;
  font-size: inherit;
}

@media (max-width: 820px) {
  body.neurovandals-theme .mainacts .mainactOverlay {
    gap: 1.5rem;
    padding-top: 4.5rem;
  }

  body.neurovandals-theme .mainacts .mainactIntro {
    display: block;
  }

  body.neurovandals-theme .mainacts .mainactIntro > span {
    margin-left: 0.45rem;
  }

  body.neurovandals-theme .mainacts .mainactIntro p {
    border-left: 0;
    padding-left: 0;
  }

  body.neurovandals-theme .mainacts .mainactGrid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 36rem;
    margin-inline: auto;
  }

}

@media (max-width: 600px) {

  body.neurovandals-theme .mainacts .mainactOverlay {
    padding-top: 3.8rem;
  }

  body.neurovandals-theme .mainacts .mainactIntro {
    padding: 1rem;
  }

  body.neurovandals-theme .mainacts .mainactFigure {
    height: 14rem;
  }

  body.neurovandals-theme .mainacts .mainactCard h3 {
    font-size: clamp(2.35rem, 13vw, 3.25rem);
  }
}

/* Mobile game controls ---------------------------------------------------- */

.gameMobileControls {
  display: none;
}

/* Keep the mobile atmosphere readable and reduce continuous GPU work. */
@media (max-width: 767px) {
  body.neurovandals-theme .worldBackdrop {
    opacity: 0.58;
    filter: saturate(0.84) contrast(1.08) brightness(0.66);
    animation-duration: 22s;
  }

  body.neurovandals-theme .worldBackdrop::before {
    opacity: 0.22;
    filter: blur(18px) saturate(0.95) brightness(0.78);
    animation-duration: 20s;
  }

  body.neurovandals-theme .worldBackdrop::after {
    opacity: 0.16;
    filter: blur(10px);
    animation-duration: 12s;
  }

  body.neurovandals-theme .smokeLayer {
    opacity: 0.27;
    filter: blur(15px) brightness(0.88);
    animation-duration: 19s;
  }

  body.neurovandals-theme .smokeLayer::before {
    opacity: 0.34;
    filter: blur(24px);
    animation-duration: 25s;
  }

  body.neurovandals-theme .smokeLayer::after {
    display: none;
  }

  body.neurovandals-theme .sparkField {
    opacity: 0.42;
  }

  body.neurovandals-theme .sparkField span:nth-child(2n) {
    display: none;
  }

  body.neurovandals-theme .reactorSparks {
    opacity: 0.46;
  }

  body.neurovandals-theme .noise {
    opacity: 0.035;
  }

  body.neurovandals-theme .scanlines {
    opacity: 0.075;
  }

  body.neurovandals-theme .bgFlash.isActive {
    opacity: 0.34;
    mix-blend-mode: normal;
  }
}

@media (max-width: 767px), (pointer: coarse) {
  body.neurovandals-theme .gameSection {
    padding-block: 3.75rem;
  }

  body.neurovandals-theme .gameGrid {
    gap: 1rem;
  }

  body.neurovandals-theme .gameGrid .sectionHead {
    gap: 0.65rem;
  }

  body.neurovandals-theme .gameGrid .sectionHead > .button {
    display: none;
  }

  body.neurovandals-theme .gameRules {
    margin-bottom: 0;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  body.neurovandals-theme .gameCabinet {
    min-height: 0;
    scroll-margin-top: 7.35rem;
    overflow: hidden;
    border-color: rgba(240, 120, 67, 0.58);
    background:
      linear-gradient(135deg, rgba(255, 84, 27, 0.1), transparent 42%),
      rgba(2, 6, 8, 0.96);
    box-shadow:
      0 0 2.5rem rgba(255, 84, 27, 0.2),
      inset 0 0 0 1px rgba(27, 220, 255, 0.05);
  }

  body.neurovandals-theme .gameCabinet canvas {
    width: 100%;
    height: min(62svh, 34rem) !important;
    min-height: 26rem;
    border-bottom: 1px solid rgba(240, 120, 67, 0.24);
    touch-action: none;
  }

  body.neurovandals-theme .gameHud {
    top: 0;
    right: 3.55rem;
    left: 0;
    min-height: 3.2rem;
    align-items: center;
    padding: 0.65rem 0.75rem;
    gap: 0.45rem;
    background: linear-gradient(90deg, rgba(2, 7, 9, 0.94), rgba(2, 7, 9, 0.6), transparent);
    font-size: clamp(0.68rem, 3vw, 0.82rem);
    letter-spacing: 0.025em;
    pointer-events: none;
  }

  body.neurovandals-theme .gameFullscreen {
    top: 0.42rem;
    right: 0.45rem;
    width: 2.75rem;
    height: 2.75rem;
  }

  body.neurovandals-theme .gameMobileControls {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr 1.24fr;
    gap: 0.55rem;
    padding: 0.7rem max(0.7rem, env(safe-area-inset-right)) max(0.7rem, env(safe-area-inset-bottom)) max(0.7rem, env(safe-area-inset-left));
    border-top: 1px solid rgba(27, 220, 255, 0.12);
    background:
      repeating-linear-gradient(180deg, transparent 0 6px, rgba(255, 255, 255, 0.025) 6px 7px),
      linear-gradient(180deg, rgba(8, 15, 18, 0.98), rgba(2, 5, 7, 0.98));
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
  }

  body.neurovandals-theme .gameCabinet:not(.isGameRunning) .gameMobileControls {
    display: none;
  }

  body.neurovandals-theme .gameMobileButton {
    display: grid;
    min-width: 0;
    min-height: 4.6rem;
    place-items: center;
    border: 1px solid rgba(151, 190, 194, 0.34);
    border-radius: 0;
    padding: 0.5rem 0.35rem;
    color: #e6f3f4;
    background:
      linear-gradient(145deg, rgba(27, 220, 255, 0.09), transparent 48%),
      rgba(8, 16, 19, 0.98);
    box-shadow:
      inset 0 0 1.2rem rgba(27, 220, 255, 0.05),
      0 0.45rem 1.2rem rgba(0, 0, 0, 0.35);
    font-family: var(--font-tech);
    font-size: 0.78rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    -webkit-tap-highlight-color: transparent;
  }

  body.neurovandals-theme .gameMobileButton span {
    display: block;
    color: #ff8c58;
    font-size: 1.45rem;
    line-height: 0.8;
  }

  body.neurovandals-theme .gameMobileButton--fire {
    border-color: rgba(255, 84, 27, 0.72);
    color: #fff4ee;
    background:
      radial-gradient(circle at 50% 38%, rgba(255, 121, 59, 0.28), transparent 52%),
      linear-gradient(145deg, rgba(255, 84, 27, 0.3), rgba(56, 12, 5, 0.94));
    box-shadow:
      inset 0 0 1.5rem rgba(255, 84, 27, 0.18),
      0 0 1.4rem rgba(255, 84, 27, 0.18);
  }

  body.neurovandals-theme .gameMobileButton.isPressed,
  body.neurovandals-theme .gameMobileButton:active {
    border-color: #ff8a55;
    background-color: rgba(255, 84, 27, 0.34);
    box-shadow: inset 0 0 1.8rem rgba(255, 84, 27, 0.34);
    transform: translateY(2px) scale(0.985);
  }

  body.neurovandals-theme .gameMobileHint {
    grid-column: 1 / -1;
    margin: 0;
    color: rgba(196, 214, 216, 0.7);
    font-family: var(--font-tech);
    font-size: 0.67rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
  }

  body.neurovandals-theme .gameOverlay,
  body.neurovandals-theme .gameSubmit {
    padding: 1.15rem;
  }

  body.neurovandals-theme .gameOverlay .button,
  body.neurovandals-theme .gameSubmit .button {
    min-height: 3.35rem;
  }

  body.neurovandals-theme .gameCabinet:fullscreen {
    grid-template-rows: minmax(0, 1fr) auto;
    padding-bottom: env(safe-area-inset-bottom);
  }

  body.neurovandals-theme .gameCabinet:fullscreen canvas {
    align-self: stretch;
    width: 100vw;
    height: auto !important;
    min-height: 0;
  }

  body.neurovandals-theme .gameCabinet:fullscreen .gameMobileControls {
    width: 100vw;
  }

  body:has(.gameCabinet:fullscreen) .siteNav,
  body:has(.gameCabinet:fullscreen) .newsTicker {
    display: none;
  }
}

/* Spacious system-warning terminal. */
body.neurovandals-theme .awareness .warning {
  padding: clamp(1.6rem, 4vw, 3rem);
}

body.neurovandals-theme .awareness .warning > svg {
  margin-bottom: 0.75rem;
}

body.neurovandals-theme .awareness .warning > h2 {
  margin: 0 0 clamp(1.6rem, 3vw, 2.25rem);
  line-height: 0.92;
  overflow-wrap: anywhere;
}

body.neurovandals-theme .awareness .warningGrid {
  gap: clamp(1rem, 2vw, 1.5rem);
}

body.neurovandals-theme .awareness .warningGrid > div {
  min-height: 6.25rem;
  padding: 1.1rem 1.25rem;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 680px) {
  body.neurovandals-theme .awareness .warning {
    padding: 1.25rem;
  }

  body.neurovandals-theme .awareness .warning > h2 {
    margin-bottom: 1.35rem;
    font-size: clamp(2.45rem, 13vw, 3.4rem);
  }

  body.neurovandals-theme .awareness .warningGrid > div {
    min-height: 5.4rem;
  }
}

/* Interactive mission infoterminal. */
body.neurovandals-theme .transmissionTerminal {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(119, 209, 220, 0.34);
  border-left: 2px solid #ff541b;
  color: #bdd8dc;
  background:
    linear-gradient(115deg, rgba(255, 84, 27, 0.09), transparent 27%),
    radial-gradient(circle at 78% 18%, rgba(27, 220, 255, 0.09), transparent 36%),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(222, 248, 250, 0.018) 5px),
    rgba(1, 8, 11, 0.94);
  box-shadow:
    0 2rem 5rem rgba(0, 0, 0, 0.5),
    0 0 2rem rgba(27, 220, 255, 0.04),
    inset 0 0 4rem rgba(0, 0, 0, 0.44);
  clip-path: polygon(0 0, calc(100% - 1.35rem) 0, 100% 1.35rem, 100% 100%, 1.35rem 100%, 0 calc(100% - 1.35rem));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: nv-terminal-power 13.7s steps(1, end) infinite;
}

body.neurovandals-theme .terminalChrome,
body.neurovandals-theme .terminalTelemetry {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 2.8rem;
  padding: 0 1.15rem;
  color: rgba(177, 226, 232, 0.72);
  background: linear-gradient(90deg, rgba(255, 84, 27, 0.15), rgba(13, 43, 49, 0.55), rgba(27, 220, 255, 0.04));
  font-family: var(--font-tech);
  font-size: clamp(0.59rem, 1vw, 0.72rem);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.neurovandals-theme .terminalChrome {
  border-bottom: 1px solid rgba(115, 215, 226, 0.22);
}

body.neurovandals-theme .terminalChrome > :last-child,
body.neurovandals-theme .terminalTelemetry > :last-child {
  text-align: right;
}

body.neurovandals-theme .terminalLive {
  color: #ff9b6e;
  text-shadow: 0 0 0.7rem rgba(255, 84, 27, 0.6);
}

body.neurovandals-theme .terminalLive i {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.42rem;
  border-radius: 50%;
  background: #ff541b;
  box-shadow: 0 0 0.8rem #ff541b;
  animation: nv-terminal-led 1.15s steps(2, end) infinite;
}

body.neurovandals-theme .terminalReadout {
  position: relative;
  z-index: 2;
  margin: clamp(0.85rem, 2.4vw, 1.45rem);
  padding: clamp(1.2rem, 3.2vw, 2.15rem);
  overflow: hidden;
  border: 1px solid rgba(58, 179, 199, 0.24);
  background:
    linear-gradient(90deg, rgba(15, 67, 82, 0.2), transparent 1px) 0 0 / 2.6rem 100%,
    linear-gradient(rgba(15, 67, 82, 0.16), transparent 1px) 0 0 / 100% 1.75rem,
    rgba(3, 24, 32, 0.78);
  box-shadow:
    inset 0 0 2.4rem rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(27, 220, 255, 0.025);
}

body.neurovandals-theme .terminalReadout::before {
  content: "RX_BUFFER // 0x09F2 // DECRYPTING ARCHIVE";
  display: block;
  margin-bottom: 1.2rem;
  color: rgba(255, 116, 61, 0.88);
  font-family: var(--font-tech);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  animation: nv-terminal-code 5.8s steps(1, end) infinite;
}

body.neurovandals-theme .terminalReadout::after {
  content: "101101 / SIGNAL LOSS / 011010";
  position: absolute;
  inset: 35% 0 auto;
  z-index: 3;
  padding: 0.35rem 1rem;
  color: rgba(205, 250, 255, 0.95);
  background: rgba(3, 21, 27, 0.9);
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-align: center;
  opacity: 0;
  transform: translateX(-5%);
  pointer-events: none;
  animation: nv-terminal-interrupt 11.3s steps(1, end) infinite;
}

body.neurovandals-theme .transmission .terminalReadout > p {
  max-width: none;
  margin: 0;
  color: #b9d6da;
  font-family: "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  font-size: clamp(0.91rem, 1.35vw, 1.08rem);
  font-weight: 550;
  line-height: 1.78;
  letter-spacing: 0.015em;
  white-space: pre-line;
  overflow-wrap: anywhere;
  text-shadow: 0 0 0.65rem rgba(98, 222, 237, 0.13);
  animation: nv-terminal-text 8.9s steps(1, end) infinite;
}

body.neurovandals-theme .terminalCursor {
  display: inline-block;
  width: 0.62em;
  height: 1.05em;
  margin: 0.4rem 0 0 0.35rem;
  vertical-align: text-bottom;
  background: #ff6b32;
  box-shadow: 0 0 0.8rem rgba(255, 84, 27, 0.72);
  animation: nv-terminal-cursor 0.92s steps(1, end) infinite;
}

body.neurovandals-theme .terminalTelemetry {
  min-height: 2.35rem;
  border-top: 1px solid rgba(115, 215, 226, 0.18);
  color: rgba(126, 197, 207, 0.62);
  background: rgba(1, 8, 11, 0.68);
}

body.neurovandals-theme .terminalNoise,
body.neurovandals-theme .terminalBlackout {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

body.neurovandals-theme .terminalNoise {
  opacity: 0.16;
  mix-blend-mode: screen;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(153, 237, 245, 0.13) 4px);
  animation: nv-terminal-scan 6s linear infinite;
}

body.neurovandals-theme .terminalBlackout {
  z-index: 8;
  background: #010608;
  opacity: 0;
  animation: nv-terminal-blackout 17s steps(1, end) infinite;
}

@keyframes nv-terminal-text {
  0%, 12%, 12.8%, 56%, 57%, 89%, 90.2%, 100% { opacity: 1; transform: translate(0); filter: none; }
  12.2% { opacity: 0.18; transform: translateX(2px); filter: blur(0.5px); }
  12.45% { opacity: 0.78; transform: translateX(-1px); }
  56.35% { opacity: 0.04; transform: translateX(-3px); filter: blur(1px); }
  56.62% { opacity: 0.42; transform: translateX(2px); }
  89.45% { opacity: 0; }
  89.75% { opacity: 0.7; transform: translateX(1px); }
}

@keyframes nv-terminal-power {
  0%, 43%, 43.5%, 76%, 76.4%, 100% { filter: none; }
  43.15% { filter: brightness(1.35) contrast(1.25); }
  43.3% { filter: brightness(0.45); }
  76.18% { filter: brightness(1.7) saturate(0.55); }
}

@keyframes nv-terminal-interrupt {
  0%, 36%, 36.8%, 81%, 81.5%, 100% { opacity: 0; transform: translateX(-5%); }
  36.15%, 36.45% { opacity: 0.82; transform: translateX(2%); }
  81.15% { opacity: 0.62; transform: translateX(-1%); }
}

@keyframes nv-terminal-blackout {
  0%, 67.9%, 68.35%, 100% { opacity: 0; }
  68%, 68.18% { opacity: 0.96; }
  68.26% { opacity: 0.3; }
}

@keyframes nv-terminal-code {
  0%, 49%, 51%, 100% { color: rgba(255, 116, 61, 0.88); content: "RX_BUFFER // 0x09F2 // DECRYPTING ARCHIVE"; }
  49.3% { color: #bcecf1; content: "ERR_77 // PACKET DESYNC // RETRY"; }
  50.2% { color: #ff541b; content: "SIGNAL RESTORED // CONTINUE"; }
}

@keyframes nv-terminal-led {
  0%, 62% { opacity: 1; }
  63%, 100% { opacity: 0.25; }
}

@keyframes nv-terminal-cursor {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes nv-terminal-scan {
  from { transform: translateY(-8px); }
  to { transform: translateY(8px); }
}

@media (max-width: 600px) {
  body.neurovandals-theme .terminalChrome,
  body.neurovandals-theme .terminalTelemetry {
    grid-template-columns: 1fr auto;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    letter-spacing: 0.075em;
  }

  body.neurovandals-theme .terminalChrome > :last-child,
  body.neurovandals-theme .terminalTelemetry > :last-child {
    display: none;
  }

  body.neurovandals-theme .terminalReadout {
    margin: 0.7rem;
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.neurovandals-theme .transmissionTerminal,
  body.neurovandals-theme .terminalLive i,
  body.neurovandals-theme .terminalReadout::before,
  body.neurovandals-theme .terminalReadout::after,
  body.neurovandals-theme .transmission .terminalReadout > p,
  body.neurovandals-theme .terminalCursor,
  body.neurovandals-theme .terminalNoise,
  body.neurovandals-theme .terminalBlackout {
    animation: none !important;
  }

  body.neurovandals-theme .terminalReadout::after,
  body.neurovandals-theme .terminalBlackout {
    display: none;
  }
}

/* Footer command interface. */
body.neurovandals-theme .footer {
  min-height: auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3.4rem) clamp(1.5rem, 4vw, 2.8rem);
  border-top: 1px solid rgba(255, 104, 45, 0.55);
  background:
    radial-gradient(circle at 13% 26%, rgba(255, 84, 27, 0.16), transparent 26rem),
    radial-gradient(circle at 82% 34%, rgba(27, 220, 255, 0.08), transparent 30rem),
    linear-gradient(180deg, rgba(2, 3, 4, 0.68), rgba(1, 2, 3, 0.98)),
    var(--event-bg-image, url("reference-art.jpeg")) center 78% / cover;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), inset 0 2rem 5rem rgba(0, 0, 0, 0.65);
}

body.neurovandals-theme .footer::before {
  opacity: 0.46;
  background:
    linear-gradient(rgba(27, 220, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 84, 27, 0.065) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(620px) rotateX(67deg) translateY(8rem) scale(1.08);
}

body.neurovandals-theme .footer::after {
  top: 4.25rem;
  right: max(clamp(1rem, 4vw, 3.4rem), calc((100% - 1320px) / 2));
  left: max(clamp(1rem, 4vw, 3.4rem), calc((100% - 1320px) / 2));
  height: 1px;
  background: linear-gradient(90deg, #ff541b, rgba(255, 84, 27, 0.18) 28%, rgba(27, 220, 255, 0.2) 72%, transparent);
  box-shadow: 0 0 1.7rem rgba(255, 84, 27, 0.38);
}

body.neurovandals-theme .footer > * {
  width: min(1320px, 100%);
  margin-right: auto;
  margin-left: auto;
}

body.neurovandals-theme .footerSignal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(1320px, 100%);
  min-height: 3rem;
  align-items: center;
  padding: 0.65rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(130, 197, 207, 0.2);
  border-left: 2px solid #ff541b;
  color: rgba(186, 218, 221, 0.72);
  background:
    linear-gradient(90deg, rgba(255, 84, 27, 0.13), transparent 28%, rgba(27, 220, 255, 0.035)),
    rgba(2, 10, 13, 0.82);
  box-shadow: inset 0 0 1.5rem rgba(0, 0, 0, 0.32);
  clip-path: polygon(0 0, calc(100% - 0.85rem) 0, 100% 0.85rem, 100% 100%, 0 100%);
}

body.neurovandals-theme .footerSignal::before {
  content: "●  SYSTEM ONLINE";
  position: absolute;
  top: 50%;
  left: 50%;
  color: #ff7440;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  transform: translate(-50%, -50%);
  text-shadow: 0 0 0.8rem rgba(255, 84, 27, 0.6);
  animation: nv-footer-status 2.2s steps(2, end) infinite;
}

body.neurovandals-theme .footerLogo {
  position: relative;
  margin-top: clamp(2.2rem, 5vw, 4.1rem);
  margin-bottom: 1.15rem;
  padding-left: clamp(0rem, 2vw, 1.4rem);
  font-size: clamp(3.4rem, 8vw, 8.2rem);
  text-shadow:
    0 0 0.14rem #000,
    0 0.07rem 0 rgba(255, 92, 24, 0.48),
    0 0 2.2rem rgba(255, 66, 18, 0.26);
}

body.neurovandals-theme .footerLogo::before {
  content: "NV // TERMINAL ENDPOINT";
  position: absolute;
  top: -1.25rem;
  left: clamp(0rem, 2vw, 1.4rem);
  color: #ff7948;
  font-family: var(--font-tech);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

body.neurovandals-theme .footerClaim {
  position: relative;
  width: min(1320px, 100%);
  margin: 0 auto 1.4rem;
  padding: 0.85rem clamp(1rem, 2vw, 1.4rem);
  border-top: 1px solid rgba(255, 112, 53, 0.32);
  border-bottom: 1px solid rgba(84, 178, 191, 0.14);
  color: #b3c2c1;
  background: linear-gradient(90deg, rgba(255, 84, 27, 0.08), transparent 55%);
  font-size: clamp(0.82rem, 1.45vw, 1.08rem);
  letter-spacing: 0.08em;
}

body.neurovandals-theme .footerMetaGrid,
body.neurovandals-theme .footerInfoGrid {
  width: min(1320px, 100%);
  gap: clamp(0.65rem, 1.5vw, 1rem);
}

body.neurovandals-theme .footerMetaGrid {
  counter-reset: nv-footer-meta;
  margin-bottom: 1rem;
}

body.neurovandals-theme .footerInfoGrid {
  counter-reset: nv-footer-info;
  margin-bottom: 1.25rem;
}

body.neurovandals-theme .footerMetaGrid > div,
body.neurovandals-theme .footerInfoGrid > div {
  position: relative;
  min-width: 0;
  min-height: 7.2rem;
  padding: 1.15rem 1.2rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(123, 188, 197, 0.2);
  border-top-color: rgba(255, 111, 51, 0.38);
  background:
    linear-gradient(145deg, rgba(255, 84, 27, 0.075), transparent 44%),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(215, 246, 248, 0.014) 6px),
    rgba(2, 10, 13, 0.86);
  box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.32), 0 0.8rem 2rem rgba(0, 0, 0, 0.15);
  clip-path: polygon(0 0, calc(100% - 0.85rem) 0, 100% 0.85rem, 100% 100%, 0.85rem 100%, 0 calc(100% - 0.85rem));
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

body.neurovandals-theme .footerMetaGrid > div {
  counter-increment: nv-footer-meta;
}

body.neurovandals-theme .footerInfoGrid > div {
  counter-increment: nv-footer-info;
}

body.neurovandals-theme .footerMetaGrid > div::after,
body.neurovandals-theme .footerInfoGrid > div::after {
  position: absolute;
  right: 0.75rem;
  bottom: 0.55rem;
  color: rgba(105, 178, 189, 0.3);
  font-family: var(--font-tech);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

body.neurovandals-theme .footerMetaGrid > div::after {
  content: "DATA_0" counter(nv-footer-meta);
}

body.neurovandals-theme .footerInfoGrid > div::after {
  content: "UPLINK_0" counter(nv-footer-info);
}

body.neurovandals-theme .footerMetaGrid > div:hover,
body.neurovandals-theme .footerInfoGrid > div:hover {
  border-color: rgba(255, 105, 44, 0.48);
  background-color: rgba(7, 20, 24, 0.94);
  transform: translateY(-3px);
}

body.neurovandals-theme .footerMetaGrid span,
body.neurovandals-theme .footerInfoGrid span {
  color: #ff8252;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
}

body.neurovandals-theme .footerMetaGrid strong {
  margin-top: 0.7rem;
  color: #deebea;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.05;
}

body.neurovandals-theme .footerInfoGrid p {
  margin-top: 0.7rem;
  color: #aabdbc;
  font-size: 0.92rem;
  line-height: 1.45;
  text-transform: none;
  overflow-wrap: anywhere;
}

body.neurovandals-theme .footer > .socialLinks {
  display: flex;
  width: min(1320px, 100%);
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 auto 1.35rem;
}

body.neurovandals-theme .footer > .socialLinks a,
body.neurovandals-theme .footerBottom nav a {
  position: relative;
  display: inline-flex;
  min-height: 2.45rem;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(117, 181, 190, 0.2);
  color: #bed0d1;
  background: rgba(2, 9, 12, 0.78);
  font-family: var(--font-tech);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  clip-path: polygon(0 0, calc(100% - 0.45rem) 0, 100% 0.45rem, 100% 100%, 0 100%);
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

body.neurovandals-theme .footer > .socialLinks a::before {
  content: "↗";
  margin-right: 0.5rem;
  color: #ff7440;
}

body.neurovandals-theme .footer > .socialLinks a:hover,
body.neurovandals-theme .footerBottom nav a:hover {
  border-color: rgba(255, 102, 41, 0.58);
  color: #fff4ee;
  background: rgba(255, 84, 27, 0.11);
}

body.neurovandals-theme .footerBottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.45fr);
  width: min(1320px, 100%);
  align-items: center;
  gap: 1rem;
  margin-top: 0;
  padding: 1rem;
  border: 1px solid rgba(113, 176, 185, 0.16);
  border-left: 2px solid rgba(255, 84, 27, 0.6);
  background:
    linear-gradient(90deg, rgba(255, 84, 27, 0.075), transparent 34%),
    rgba(1, 7, 9, 0.9);
}

body.neurovandals-theme .footerBottom nav {
  gap: 0.45rem;
}

body.neurovandals-theme .footerBottom > p {
  color: #6f8385;
  font-family: var(--font-tech);
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: right;
}

@keyframes nv-footer-status {
  0%, 72% { opacity: 1; }
  73%, 82% { opacity: 0.28; }
  83%, 100% { opacity: 1; }
}

@media (max-width: 900px) {
  body.neurovandals-theme .footerSignal::before {
    display: none;
  }

  body.neurovandals-theme .footerMetaGrid,
  body.neurovandals-theme .footerInfoGrid {
    grid-template-columns: 1fr 1fr;
  }

  body.neurovandals-theme .footerBottom {
    grid-template-columns: 1fr;
  }

  body.neurovandals-theme .footerBottom > p {
    text-align: left;
  }
}

@media (max-width: 600px) {
  body.neurovandals-theme .footer {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  body.neurovandals-theme .footerSignal {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  body.neurovandals-theme .footerLogo {
    padding-left: 0;
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  body.neurovandals-theme .footerLogo::before {
    left: 0;
  }

  body.neurovandals-theme .footerMetaGrid,
  body.neurovandals-theme .footerInfoGrid {
    grid-template-columns: 1fr;
  }

  body.neurovandals-theme .footerMetaGrid > div,
  body.neurovandals-theme .footerInfoGrid > div {
    min-height: 6.2rem;
  }

  body.neurovandals-theme .footerBottom {
    padding: 0.75rem;
  }

  body.neurovandals-theme .footerBottom nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  body.neurovandals-theme .footerBottom nav a {
    justify-content: center;
    text-align: center;
  }
}

/* End Neurovandals presentation overrides. */

/* Contact uplink: unified crew communication terminal. */
body.neurovandals-theme .inquiry .sectionInner.inquiryGrid {
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  align-items: stretch;
  width: min(920px, calc(100% - 2rem));
  overflow: hidden;
  border: 1px solid rgba(240, 120, 67, 0.35);
  background: rgba(240, 120, 67, 0.24);
  box-shadow:
    0 1.8rem 4rem rgba(0, 0, 0, 0.44),
    0 0 2.5rem rgba(255, 84, 27, 0.08);
  clip-path: polygon(0 0, calc(100% - 1.5rem) 0, 100% 1.5rem, 100% 100%, 1.5rem 100%, 0 calc(100% - 1.5rem));
}

body.neurovandals-theme .inquiry .sectionHead {
  position: relative;
  display: grid;
  box-sizing: border-box;
  height: 100%;
  min-width: 0;
  min-height: 9.5rem;
  grid-template-columns: minmax(15rem, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3.2rem);
  padding: clamp(1.35rem, 3vw, 2.1rem) clamp(1.5rem, 4vw, 2.8rem);
  border: 0;
  background:
    linear-gradient(145deg, rgba(255, 84, 27, 0.13), transparent 46%),
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(255, 255, 255, 0.018) 8px),
    rgba(5, 9, 11, 0.94);
}

body.neurovandals-theme .inquiry .sectionHead::before {
  content: "REQUEST NODE  /  CHANNEL 09";
  position: absolute;
  top: 0.8rem;
  left: clamp(1.5rem, 4vw, 2.8rem);
  color: rgba(255, 139, 87, 0.72);
  font-family: var(--font-tech);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.neurovandals-theme .inquiry .sectionHead::after {
  content: "";
  position: absolute;
  top: 1.08rem;
  right: clamp(1.5rem, 4vw, 2.8rem);
  width: min(28%, 12rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27, 220, 255, 0.54));
  box-shadow: 0 0 0.8rem rgba(27, 220, 255, 0.24);
}

body.neurovandals-theme .inquiry .inquiryTitle {
  max-width: none;
  margin: 0;
  color: #f1f7f6;
  font-size: clamp(2.8rem, 4.2vw, 4.1rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-shadow: 0 0 2rem rgba(255, 84, 27, 0.13);
  overflow-wrap: normal;
  word-break: keep-all;
}

body.neurovandals-theme .inquiry .inquiryTitle span {
  white-space: nowrap;
}

body.neurovandals-theme .inquiry .sectionHead > p {
  max-width: 42ch;
  margin: 0;
  padding: 0.3rem 0 0.3rem clamp(1.2rem, 3vw, 2.2rem);
  border-top: 0;
  border-left: 1px solid rgba(255, 112, 53, 0.3);
  color: #aebcba;
  font-size: 0.96rem;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

body.neurovandals-theme .inquiry .inquiryPanel {
  display: flex;
  min-width: 0;
  min-height: 15rem;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.2rem, 4vw, 3.2rem) clamp(1.6rem, 4vw, 3rem) clamp(1.7rem, 3vw, 2.4rem);
  border: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(27, 220, 255, 0.1), transparent 30%),
    linear-gradient(120deg, rgba(255, 84, 27, 0.06), transparent 40%),
    rgba(2, 9, 13, 0.96);
  clip-path: none;
}

body.neurovandals-theme .inquiry .inquiryPanel::before {
  content: "SECURE CHANNEL  /  CREW UPLINK 01";
  position: absolute;
  top: 1.15rem;
  right: 1.35rem;
  color: rgba(130, 214, 223, 0.56);
  font-family: var(--font-tech);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  pointer-events: none;
}

body.neurovandals-theme .inquiry .inquiryPanel::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  bottom: 1.25rem;
  left: 1.4rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 84, 27, 0.7), rgba(27, 220, 255, 0.25), transparent 82%);
  box-shadow: 0 0 1rem rgba(255, 84, 27, 0.28);
  pointer-events: none;
}

body.neurovandals-theme .inquiry .inquiryPanel .panelKicker {
  color: #ff8b57;
  letter-spacing: 0.13em;
}

body.neurovandals-theme .inquiry .inquiryPanel h3 {
  max-width: 16ch;
  margin: 0.7rem 0 0.8rem;
  color: #e9f4f5;
  font-size: clamp(2.7rem, 4.6vw, 4.2rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

body.neurovandals-theme .inquiry .inquiryPanel p {
  max-width: 48ch;
  margin: 0 0 1.35rem;
  color: #b6c6c5;
  font-size: 0.96rem;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

body.neurovandals-theme .inquiry .inquiryPanel .button {
  align-self: flex-start;
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 780px) {
  body.neurovandals-theme .inquiry .sectionInner.inquiryGrid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.neurovandals-theme .inquiry .sectionHead,
  body.neurovandals-theme .inquiry .inquiryPanel {
    min-height: 0;
  }

  body.neurovandals-theme .inquiry .sectionHead {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding-top: 2.8rem;
  }

  body.neurovandals-theme .inquiry .sectionHead > p {
    max-width: none;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 112, 53, 0.3);
    border-left: 0;
  }

  body.neurovandals-theme .inquiry .inquiryTitle {
    max-width: none;
    font-size: clamp(2.7rem, 12.5vw, 3.5rem);
  }

  body.neurovandals-theme .inquiry .inquiryPanel {
    padding-top: 3.3rem;
  }

  body.neurovandals-theme .inquiry .inquiryPanel .button {
    width: 100%;
    justify-content: center;
  }
}

/* WordPress-safe animated hero logo: the compiled app used a root-relative image URL. */
body.neurovandals-theme .heroLogoTitle {
  isolation: isolate;
  background: transparent;
}

body.neurovandals-theme .heroLogoTitle::before,
body.neurovandals-theme .heroLogoTitle::after {
  background-image: var(--nv-hero-logo-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  will-change: transform, opacity, clip-path;
}

/* Remove only the long decorative beam behind the hero logo. */
body.neurovandals-theme .hero .heroContent::after {
  content: none;
}

/* Portrait teaser signal beside the hero logo. */
body.neurovandals-theme .nvHeroTeaser {
  position: absolute;
  top: clamp(9.7rem, 17vh, 12rem);
  right: clamp(0.2rem, 1.4vw, 1.1rem);
  z-index: 2;
  width: clamp(12.5rem, 18vw, 15rem);
  margin: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 2.4rem rgba(255, 84, 27, 0.3));
}

body.neurovandals-theme .nvHeroTeaser__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: rgba(3, 4, 5, 0.16);
  isolation: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 90%, transparent 100%), linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 90%, transparent 100%), linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

body.neurovandals-theme .nvHeroTeaser__frame::before,
body.neurovandals-theme .nvHeroTeaser__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

body.neurovandals-theme .nvHeroTeaser__frame::before {
  background: linear-gradient(90deg, rgba(3, 4, 5, 0.96), transparent 23%, transparent 76%, rgba(3, 4, 5, 0.92)), linear-gradient(180deg, rgba(3, 4, 5, 0.78), transparent 18%, transparent 76%, rgba(3, 4, 5, 0.9));
  mix-blend-mode: multiply;
}

body.neurovandals-theme .nvHeroTeaser__frame::after {
  background: repeating-linear-gradient(180deg, transparent 0 5px, rgba(186, 234, 241, 0.06) 5px 6px), radial-gradient(circle at 50% 48%, transparent 42%, rgba(255, 84, 27, 0.15) 100%);
  mix-blend-mode: screen;
}

body.neurovandals-theme .nvHeroTeaser__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  mix-blend-mode: screen;
  filter: saturate(0.84) contrast(1.12) brightness(0.82);
  transform: scale(1.025);
  transition: opacity 0.7s ease;
}

body.neurovandals-theme .nvHeroTeaser.is-ready .nvHeroTeaser__video {
  opacity: 0.84;
}

body.neurovandals-theme .nvHeroTeaser__loader {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.55rem;
  color: #d8edf1;
  background: radial-gradient(circle, rgba(255, 84, 27, 0.13), rgba(3, 4, 5, 0.38) 64%, transparent 88%);
  font-family: var(--font-tech);
  text-align: center;
  text-transform: uppercase;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

body.neurovandals-theme .nvHeroTeaser__loader span {
  display: block;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid rgba(27, 220, 255, 0.22);
  border-top-color: #ff541b;
  border-right-color: rgba(255, 84, 27, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 1.8rem rgba(255, 84, 27, 0.28), inset 0 0 1rem rgba(27, 220, 255, 0.12);
  animation: nvHeroTeaserLoad 0.9s linear infinite;
}

body.neurovandals-theme .nvHeroTeaser__loader strong {
  color: #d8edf1;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-shadow: 0 0 0.9rem rgba(27, 220, 255, 0.48);
}

body.neurovandals-theme .nvHeroTeaser__loader em,
body.neurovandals-theme .nvHeroTeaser__status {
  color: rgba(255, 153, 108, 0.92);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
}

body.neurovandals-theme .nvHeroTeaser.is-ready .nvHeroTeaser__loader {
  opacity: 0;
  visibility: hidden;
}

body.neurovandals-theme .nvHeroTeaser__status {
  position: absolute;
  right: 13%;
  bottom: 8%;
  z-index: 5;
  text-shadow: 0 0 0.8rem rgba(255, 84, 27, 0.72);
}

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

@media (max-width: 900px) {
  body.neurovandals-theme .nvHeroTeaser {
    position: relative;
    top: auto;
    right: auto;
    width: min(15rem, 64vw);
    margin: -0.35rem auto 0.75rem;
  }

  body.neurovandals-theme .nvHeroTeaser__frame {
    aspect-ratio: 9 / 14;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.neurovandals-theme .nvHeroTeaser__loader span {
    animation: none;
  }
}

body.neurovandals-theme .heroLogoTitle::before {
  filter: hue-rotate(165deg) saturate(1.7) brightness(1.05) drop-shadow(0 0 0.8rem rgba(27, 220, 255, 0.5));
  animation: nv-hero-glitch-a 4.6s steps(1, end) infinite;
}

body.neurovandals-theme .heroLogoTitle::after {
  filter: hue-rotate(-18deg) saturate(1.95) brightness(1.08) drop-shadow(0 0 0.9rem rgba(255, 84, 27, 0.62));
  animation: nv-hero-glitch-b 4.6s steps(1, end) 90ms infinite;
}

body.neurovandals-theme .heroLogoArtwork {
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 0 0.24rem rgba(255, 232, 220, 0.38))
    drop-shadow(0 0 1.1rem rgba(255, 84, 27, 0.42))
    drop-shadow(0 0 2.8rem rgba(27, 220, 255, 0.13));
  animation: nv-hero-logo-energy 3.8s ease-in-out infinite;
  will-change: filter, opacity;
}

@keyframes nv-hero-logo-energy {
  0%, 100% {
    opacity: 0.94;
    filter:
      drop-shadow(0 0 0.22rem rgba(255, 232, 220, 0.34))
      drop-shadow(0 0 0.9rem rgba(255, 84, 27, 0.36))
      drop-shadow(0 0 2.3rem rgba(27, 220, 255, 0.1));
  }
  50% {
    opacity: 1;
    filter:
      drop-shadow(0 0 0.36rem rgba(255, 241, 232, 0.58))
      drop-shadow(0 0 1.55rem rgba(255, 84, 27, 0.64))
      drop-shadow(0 0 3.3rem rgba(27, 220, 255, 0.22));
  }
}

@keyframes nv-hero-glitch-a {
  0%, 84%, 100% { opacity: 0; transform: translate(0); clip-path: inset(0 0 100% 0); }
  85% { opacity: 0.72; transform: translate(-9px, 1px); clip-path: inset(12% 0 67% 0); }
  87% { opacity: 0.38; transform: translate(6px, -1px); clip-path: inset(42% 0 39% 0); }
  89% { opacity: 0.82; transform: translate(-4px, 0); clip-path: inset(72% 0 12% 0); }
  91% { opacity: 0; transform: translate(0); clip-path: inset(0 0 100% 0); }
}

@keyframes nv-hero-glitch-b {
  0%, 85%, 100% { opacity: 0; transform: translate(0); clip-path: inset(100% 0 0 0); }
  86% { opacity: 0.68; transform: translate(8px, -1px); clip-path: inset(64% 0 16% 0); }
  88% { opacity: 0.46; transform: translate(-6px, 1px); clip-path: inset(28% 0 53% 0); }
  90% { opacity: 0.76; transform: translate(3px, 0); clip-path: inset(48% 0 32% 0); }
  92% { opacity: 0; transform: translate(0); clip-path: inset(100% 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  body.neurovandals-theme .heroLogoTitle,
  body.neurovandals-theme .heroLogoTitle::before,
  body.neurovandals-theme .heroLogoTitle::after,
  body.neurovandals-theme .heroLogoArtwork {
    animation: none;
  }
}

/* Aftermovie is temporarily unpublished; remove its lazy-load spacer as well. */
body.neurovandals-theme #video {
  display: none;
  min-height: 0;
}

/* Ticket terminal: wider modules with protected text wrapping. */
body.neurovandals-theme .tickets .ticketGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.35rem);
  max-width: 68rem;
  margin-inline: auto;
  counter-reset: nv-ticket;
}

body.neurovandals-theme .tickets .ticketCard {
  grid-column: auto;
  display: flex;
  min-width: 0;
  min-height: 20rem;
  flex-direction: column;
  padding: clamp(1.35rem, 2.6vw, 2rem);
  border: 1px solid rgba(126, 204, 214, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 84, 27, 0.09), transparent 34%),
    linear-gradient(315deg, rgba(27, 220, 255, 0.08), transparent 38%),
    rgba(3, 11, 16, 0.94);
  box-shadow:
    0 1.2rem 2.8rem rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  clip-path: polygon(0 0, calc(100% - 1.15rem) 0, 100% 1.15rem, 100% 100%, 1.15rem 100%, 0 calc(100% - 1.15rem));
  counter-increment: nv-ticket;
}

body.neurovandals-theme .tickets .ticketCard::before {
  content: "ACCESS 0" counter(nv-ticket);
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  color: rgba(132, 215, 224, 0.48);
  font-family: var(--font-tech);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  pointer-events: none;
}

body.neurovandals-theme .tickets .ticketCard::after {
  z-index: 0;
  pointer-events: none;
}

body.neurovandals-theme .tickets .ticketCard > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

body.neurovandals-theme .tickets .ticketCard > span {
  align-self: flex-start;
  max-width: calc(100% - 6.5rem);
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255, 107, 49, 0.36);
  color: #ff8a55;
  background: rgba(255, 84, 27, 0.08);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

body.neurovandals-theme .tickets .ticketCard h3 {
  max-width: 14ch;
  margin: 1.15rem 0 0.75rem;
  color: #eaf4f4;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  line-height: 0.91;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

body.neurovandals-theme .tickets .ticketCard strong {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(217, 235, 235, 0.1);
  color: #ffbd97;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

body.neurovandals-theme .tickets .ticketCard p {
  flex: 1 1 auto;
  margin: 0.85rem 0 1.2rem;
  color: #aebdbc;
  font-size: 0.95rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

body.neurovandals-theme .tickets .ticketCard .button {
  align-self: flex-start;
  max-width: 100%;
  margin-top: auto;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.neurovandals-theme .tickets .ticketCard:nth-child(3) {
  border-color: rgba(255, 112, 53, 0.62);
  background:
    radial-gradient(circle at 82% 18%, rgba(27, 220, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 84, 27, 0.2), transparent 42%),
    rgba(5, 12, 16, 0.96);
  box-shadow:
    0 1.35rem 3.4rem rgba(0, 0, 0, 0.46),
    0 0 2.4rem rgba(255, 84, 27, 0.11),
    inset 0 0 2rem rgba(27, 220, 255, 0.035);
}

body.neurovandals-theme .tickets .ticketCard:nth-child(3) > span {
  color: #c7f5f7;
  border-color: rgba(27, 220, 255, 0.42);
  background: rgba(27, 220, 255, 0.08);
}

@media (max-width: 680px) {
  body.neurovandals-theme .tickets .ticketGrid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.neurovandals-theme .tickets .ticketCard {
    min-height: 18rem;
  }

  body.neurovandals-theme .tickets .ticketCard h3 {
    max-width: 12ch;
    font-size: clamp(2.05rem, 11vw, 3rem);
  }

  body.neurovandals-theme .tickets .ticketCard .button {
    width: 100%;
    justify-content: center;
  }
}

/* Story transmission as a readable sci-fi mission dossier. */
body.neurovandals-theme .transmission .sectionInner.narrow {
  width: min(980px, calc(100% - 2rem));
}

body.neurovandals-theme .transmission .sectionInner > h2 {
  position: relative;
  max-width: 15ch;
  padding-bottom: 1.15rem;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow:
    0 0 2rem rgba(255, 84, 27, 0.13),
    0.05em 0.05em 0 rgba(0, 0, 0, 0.56);
}

body.neurovandals-theme .transmission .sectionInner > h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(24rem, 72%);
  height: 2px;
  background: linear-gradient(90deg, #ff541b, rgba(240, 120, 67, 0.34) 58%, transparent);
  box-shadow: 0 0 1.2rem rgba(255, 84, 27, 0.46);
}

body.neurovandals-theme .transmission .sectionInner > p {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 1.5rem 0 0;
  padding: clamp(3.7rem, 7vw, 4.6rem) clamp(1.35rem, 4vw, 3rem) clamp(1.8rem, 4vw, 2.7rem);
  overflow: hidden;
  border: 1px solid rgba(131, 198, 207, 0.22);
  border-left-color: rgba(255, 104, 45, 0.62);
  color: #c8d4d2;
  background:
    linear-gradient(115deg, rgba(255, 84, 27, 0.09), transparent 30%),
    linear-gradient(315deg, rgba(27, 220, 255, 0.055), transparent 36%),
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(222, 241, 242, 0.018) 8px),
    rgba(3, 9, 12, 0.88);
  box-shadow:
    0 1.8rem 4rem rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.018);
  font-size: clamp(1rem, 1.65vw, 1.22rem);
  line-height: 1.72;
  letter-spacing: 0.01em;
  white-space: pre-line;
  overflow-wrap: anywhere;
  clip-path: polygon(0 0, calc(100% - 1.5rem) 0, 100% 1.5rem, 100% 100%, 1.5rem 100%, 0 calc(100% - 1.5rem));
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

body.neurovandals-theme .transmission .sectionInner > p::before {
  content: "MISSION LOG 02  /  TARTARUS-9  /  SIGNAL DECODED";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0 1.25rem;
  border-bottom: 1px solid rgba(132, 206, 214, 0.18);
  color: #ff9868;
  background: linear-gradient(90deg, rgba(255, 84, 27, 0.13), rgba(27, 220, 255, 0.035), transparent);
  font-family: var(--font-tech);
  font-size: clamp(0.65rem, 1.2vw, 0.76rem);
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: normal;
}

body.neurovandals-theme .transmission .sectionInner > p::after {
  content: "";
  position: absolute;
  top: 2.75rem;
  bottom: 1.5rem;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #ff541b, rgba(255, 84, 27, 0.16) 62%, rgba(27, 220, 255, 0.55));
  box-shadow: 0 0 1rem rgba(255, 84, 27, 0.4);
}

/* Persistent audio uplink ------------------------------------------------ */

.nvAudioDock {
  --nv-audio-accent: #ff6b32;
  position: fixed;
  z-index: 76;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: max(1rem, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  width: min(27rem, calc(100vw - 2rem));
  min-height: 6.3rem;
  overflow: hidden;
  border: 1px solid rgba(240, 120, 67, 0.48);
  color: #e8f3f2;
  background:
    linear-gradient(118deg, rgba(255, 84, 27, 0.14), transparent 38%),
    repeating-linear-gradient(180deg, transparent 0 6px, rgba(255, 255, 255, 0.025) 6px 7px),
    rgba(2, 7, 9, 0.96);
  box-shadow:
    0 1.1rem 3rem rgba(0, 0, 0, 0.64),
    0 0 2.2rem rgba(255, 84, 27, 0.16),
    inset 0 0 0 1px rgba(27, 220, 255, 0.045);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: width 0.24s ease, min-height 0.24s ease, transform 0.24s ease;
  isolation: isolate;
}

.nvAudioDock::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.48;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 108, 49, 0.16), transparent);
  transform: translateX(-105%);
  animation: nvAudioScan 5.8s linear infinite;
}

.nvAudioArtwork {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid rgba(240, 120, 67, 0.34);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 84, 27, 0.24), transparent 55%),
    #071014;
}

.nvAudioArtwork::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(27, 220, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 1rem rgba(27, 220, 255, 0.1);
}

.nvAudioArtwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.16) brightness(0.84);
}

.nvAudioArtwork span {
  color: var(--nv-audio-accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 950;
  text-shadow: 0 0 1rem rgba(255, 84, 27, 0.58);
}

.nvAudioMain {
  display: grid;
  min-width: 0;
  gap: 0.5rem;
  padding: 0.72rem 0.78rem;
}

.nvAudioHead,
.nvAudioTransport,
.nvAudioUtilities {
  display: flex;
  min-width: 0;
  align-items: center;
}

.nvAudioHead {
  justify-content: space-between;
  gap: 0.6rem;
}

.nvAudioIdentity {
  min-width: 0;
}

.nvAudioIdentity strong,
.nvAudioIdentity span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nvAudioIdentity strong {
  color: #eef7f6;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
}

.nvAudioIdentity span {
  margin-top: 0.25rem;
  color: #a38674;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nvAudioTransport {
  gap: 0.68rem;
}

.nvAudioPlay,
.nvAudioIconButton,
.nvAudioExpand {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(240, 120, 67, 0.4);
  color: #f6f9f8;
  background: linear-gradient(145deg, rgba(255, 84, 27, 0.2), rgba(3, 8, 10, 0.96));
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nvAudioPlay {
  width: 2.55rem;
  height: 2.55rem;
  color: #ff8d5a;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.nvAudioIconButton {
  width: 1.8rem;
  height: 1.8rem;
  border-color: rgba(151, 164, 160, 0.22);
  color: #bdc9c8;
  background: rgba(2, 6, 8, 0.72);
}

.nvAudioTimeline {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 0.26rem;
}

.nvAudioTimeline span {
  color: #819092;
  font-family: var(--font-tech);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.nvAudioDock input[type="range"] {
  width: 100%;
  height: 0.28rem;
  margin: 0;
  accent-color: var(--nv-audio-accent);
  cursor: pointer;
}

.nvAudioUtilities {
  gap: 0.48rem;
}

.nvAudioUtilities input[type="range"] {
  width: 4.5rem;
}

.nvAudioExternal {
  margin-left: auto;
  color: #b6c5c5;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nvAudioExternal:hover {
  color: #ff8d5a;
}

.nvAudioExpand {
  display: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  color: #ff8d5a;
  font-size: 1.2rem;
  box-shadow: 0 0 1.4rem rgba(255, 84, 27, 0.22);
}

.nvAudioDock.isPlaying .nvAudioArtwork::after {
  animation: nvAudioDisc 5s linear infinite;
}

.nvAudioDock.isPlaying .nvAudioPlay {
  box-shadow: inset 0 0 1.3rem rgba(255, 84, 27, 0.24), 0 0 1rem rgba(255, 84, 27, 0.18);
}

.nvAudioDock.isMinimized {
  grid-template-columns: 1fr;
  width: 3.6rem;
  min-height: 3.6rem;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

.nvAudioDock.isMinimized::after,
.nvAudioDock.isMinimized .nvAudioArtwork,
.nvAudioDock.isMinimized .nvAudioMain {
  display: none;
}

.nvAudioDock.isMinimized .nvAudioExpand {
  display: grid;
}

.nvAudioDock.hasAudioError {
  border-color: rgba(255, 36, 61, 0.68);
}

.nvAudioElement {
  display: none;
}

@keyframes nvAudioScan {
  to { transform: translateX(105%); }
}

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

/* News and signal-video overlay ----------------------------------------- */

.nvSignalLauncher {
  position: fixed;
  z-index: 75;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(27, 220, 255, 0.28);
  padding: 0.6rem 0.82rem;
  color: #cce4e6;
  background:
    linear-gradient(135deg, rgba(27, 220, 255, 0.11), transparent 48%),
    rgba(2, 7, 9, 0.92);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.46), 0 0 1.4rem rgba(27, 220, 255, 0.08);
  font-family: var(--font-tech);
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.nvSignalLauncher span {
  color: #ff7541;
  font-size: 1.2rem;
  animation: nvSignalLauncherPulse 2.4s steps(2, end) infinite;
}

.nvSignalMediaOverlay {
  position: fixed;
  z-index: 135;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  isolation: isolate;
  animation: nvSignalOverlayIn 0.26s steps(3, end) both;
}

.nvSignalBackdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 84, 27, 0.18), transparent 24rem),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 6px),
    rgba(0, 2, 3, 0.9);
  backdrop-filter: blur(10px) saturate(0.86);
  -webkit-backdrop-filter: blur(10px) saturate(0.86);
  cursor: pointer;
}

.nvSignalFrame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 1.15fr) minmax(18rem, 0.85fr);
  width: min(68rem, 100%);
  max-height: min(86vh, 49rem);
  overflow: hidden;
  border: 1px solid rgba(240, 120, 67, 0.62);
  color: #e9f3f2;
  background:
    linear-gradient(125deg, rgba(255, 84, 27, 0.11), transparent 38%),
    rgba(2, 7, 9, 0.98);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.82), 0 0 3rem rgba(255, 84, 27, 0.2);
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
}

.nvSignalFrame::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent),
    repeating-linear-gradient(180deg, transparent 0 7px, rgba(255, 255, 255, 0.03) 7px 8px);
  mix-blend-mode: screen;
  transform: translateX(-100%);
  animation: nvSignalFrameScan 2.1s linear infinite;
}

.nvSignalStatus {
  position: absolute;
  z-index: 7;
  top: 0;
  left: 0;
  display: flex;
  min-height: 2.35rem;
  align-items: center;
  gap: 1rem;
  border-right: 1px solid rgba(240, 120, 67, 0.38);
  border-bottom: 1px solid rgba(240, 120, 67, 0.38);
  padding: 0.45rem 1rem;
  background: rgba(4, 8, 10, 0.92);
  font-family: var(--font-tech);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nvSignalStatus span {
  color: #ff7743;
}

.nvSignalStatus b {
  color: #92aaad;
}

.nvSignalMedia {
  position: relative;
  display: grid;
  min-height: 33rem;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid rgba(27, 220, 255, 0.12);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 84, 27, 0.18), transparent 19rem),
    linear-gradient(rgba(27, 220, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 220, 255, 0.055) 1px, transparent 1px),
    #03090c;
  background-size: auto, 42px 42px, 42px 42px, auto;
}

.nvSignalVideo,
.nvSignalPoster {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 33rem;
  border: 0;
  object-fit: cover;
  background: #000;
}

.nvSignalPoster {
  filter: saturate(0.82) contrast(1.16) brightness(0.78);
}

.nvSignalPlaceholder {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  color: #82999c;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nvSignalPlaceholder span {
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(255, 84, 27, 0.42);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 10px, rgba(27, 220, 255, 0.1) 11px 12px);
  box-shadow: 0 0 2.2rem rgba(255, 84, 27, 0.14);
  animation: nvSignalRadar 4s linear infinite;
}

.nvSignalBody {
  position: relative;
  z-index: 6;
  align-self: center;
  overflow: auto;
  max-height: min(86vh, 49rem);
  padding: clamp(3.8rem, 7vw, 5rem) clamp(1.2rem, 3vw, 2.5rem) clamp(1.4rem, 3vw, 2.4rem);
}

.nvSignalEyebrow {
  display: inline-flex;
  border-left: 2px solid #ff5b23;
  padding-left: 0.6rem;
  color: #ff8c5b;
  font-family: var(--font-tech);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nvSignalBody h2 {
  max-width: 11ch;
  margin: 0.75rem 0 1rem;
  color: #f1f6f4;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.82;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0.05em 0.04em 0 rgba(255, 84, 27, 0.28), 0 0 1.7rem rgba(255, 84, 27, 0.12);
  overflow-wrap: anywhere;
}

.nvSignalBody p {
  margin: 0;
  color: #b9c7c6;
  font-size: clamp(0.95rem, 1.6vw, 1.14rem);
  line-height: 1.58;
  white-space: pre-line;
}

.nvSignalActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.nvSignalCta,
.nvSignalControl {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid rgba(151, 164, 160, 0.28);
  padding: 0.62rem 0.82rem;
  color: #dbe8e7;
  background: rgba(3, 9, 11, 0.86);
  font-family: var(--font-tech);
  font-size: 0.67rem;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.nvSignalCta {
  border-color: rgba(255, 84, 27, 0.62);
  color: #fff0e8;
  background: linear-gradient(135deg, rgba(255, 84, 27, 0.25), rgba(34, 9, 5, 0.92));
}

.nvSignalControl b {
  font: inherit;
}

.nvSignalDismiss {
  color: #9eaeaf;
}

.nvSignalClose {
  position: absolute;
  z-index: 9;
  top: 0.75rem;
  right: 0.78rem;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid rgba(240, 120, 67, 0.46);
  color: #f5e8e1;
  background: rgba(3, 7, 9, 0.9);
  cursor: pointer;
}

.nvSignalMediaOverlay.isClosing {
  animation: nvSignalOverlayOut 0.24s steps(2, end) both;
}

body.nvSignalIsOpen {
  overflow: hidden;
}

@keyframes nvSignalLauncherPulse {
  0%, 72%, 100% { opacity: 0.42; }
  78%, 88% { opacity: 1; }
}

@keyframes nvSignalOverlayIn {
  0% { opacity: 0; filter: blur(8px); }
  38% { opacity: 0.9; transform: translateX(-0.5rem); }
  62% { transform: translateX(0.35rem); }
  100% { opacity: 1; filter: blur(0); transform: translateX(0); }
}

@keyframes nvSignalOverlayOut {
  to { opacity: 0; filter: blur(6px); transform: scale(1.01); }
}

@keyframes nvSignalFrameScan {
  to { transform: translateX(100%); }
}

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

@media (max-width: 720px) {
  .nvAudioDock {
    right: 0.55rem;
    bottom: max(0.55rem, env(safe-area-inset-bottom));
    left: 0.55rem;
    grid-template-columns: 3.9rem minmax(0, 1fr);
    width: auto;
    min-height: 5rem;
  }

  .nvAudioArtwork {
    min-height: 5rem;
  }

  .nvAudioMain {
    gap: 0.38rem;
    padding: 0.55rem 0.62rem;
  }

  .nvAudioUtilities {
    display: none;
  }

  .nvAudioPlay {
    width: 2.35rem;
    height: 2.35rem;
  }

  .nvAudioDock.isMinimized {
    right: auto;
    width: 3.6rem;
  }

  .nvSignalLauncher {
    right: 0.65rem;
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    width: 3.35rem;
    min-height: 3.35rem;
    justify-content: center;
    padding: 0;
  }

  .nvSignalLauncher b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  body.nvHasAudioPlayer .nvSignalLauncher {
    bottom: calc(max(0.65rem, env(safe-area-inset-bottom)) + 4.15rem);
  }

  .nvSignalMediaOverlay {
    align-items: end;
    padding: 0.55rem;
  }

  .nvSignalBackdrop {
    backdrop-filter: blur(5px) saturate(0.82);
    -webkit-backdrop-filter: blur(5px) saturate(0.82);
  }

  .nvSignalFrame {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: min(90svh, 46rem);
    overflow: auto;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  }

  .nvSignalFrame::after {
    opacity: 0.22;
    animation-duration: 4.5s;
  }

  .nvSignalStatus {
    max-width: calc(100% - 3.8rem);
    min-height: 2.15rem;
    gap: 0.55rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.6rem;
  }

  .nvSignalMedia {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 1px solid rgba(27, 220, 255, 0.12);
  }

  .nvSignalVideo,
  .nvSignalPoster {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .nvSignalBody {
    overflow: visible;
    max-height: none;
    padding: 1.2rem 1rem max(1.15rem, env(safe-area-inset-bottom));
  }

  .nvSignalEyebrow {
    font-size: 0.62rem;
  }

  .nvSignalBody h2 {
    max-width: 12ch;
    margin: 0.55rem 0 0.72rem;
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }

  .nvSignalBody p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .nvSignalActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.48rem;
    margin-top: 1rem;
  }

  .nvSignalCta,
  .nvSignalControl {
    min-width: 0;
    min-height: 3rem;
    padding: 0.55rem;
    text-align: center;
  }

  .nvSignalDismiss:last-child {
    grid-column: 1 / -1;
  }

  .nvSignalClose {
    top: 0.42rem;
    right: 0.42rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nvAudioDock,
  .nvAudioDock::after,
  .nvAudioDock.isPlaying .nvAudioArtwork::after,
  .nvSignalLauncher span,
  .nvSignalMediaOverlay,
  .nvSignalFrame::after,
  .nvSignalPlaceholder span {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 600px) {
  body.neurovandals-theme .transmission .sectionInner > h2 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  body.neurovandals-theme .transmission .sectionInner > p {
    padding: 4.1rem 1.2rem 1.7rem 1.35rem;
    font-size: 1rem;
    line-height: 1.68;
  }

  body.neurovandals-theme .transmission .sectionInner > p::before {
    padding-right: 2rem;
    letter-spacing: 0.08em;
  }
}

/* Mobile navigation ------------------------------------------------------- */

.nvMobileMenuToggle,
.nvMobileMenu {
  display: none;
}

@media (max-width: 900px) {
  body.neurovandals-theme .siteNav {
    min-height: 4.1rem;
    padding: 0.72rem max(0.75rem, env(safe-area-inset-right)) 0.72rem max(0.75rem, env(safe-area-inset-left));
    background: linear-gradient(180deg, rgba(3, 4, 5, 0.96), rgba(3, 4, 5, 0.76) 72%, transparent);
  }

  body.neurovandals-theme .siteNav .navMark {
    position: relative;
    z-index: 2;
    max-width: min(10rem, 55vw);
  }

  .nvMobileMenuToggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    min-width: 6.3rem;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border: 1px solid rgba(255, 84, 27, 0.56);
    padding: 0.55rem 0.72rem;
    color: #eef8f8;
    background: linear-gradient(135deg, rgba(255, 84, 27, 0.13), transparent 50%), rgba(3, 7, 9, 0.94);
    box-shadow: inset 0 0 18px rgba(255, 84, 27, 0.08), 0 0 18px rgba(0, 0, 0, 0.48);
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
    cursor: pointer;
  }

  .nvMobileMenuToggleText {
    font-family: var(--font-tech);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nvMobileMenuToggleIcon {
    display: grid;
    width: 1.45rem;
    gap: 0.28rem;
  }

  .nvMobileMenuToggleIcon i {
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff541b, #eef8f8);
    box-shadow: 0 0 8px rgba(255, 84, 27, 0.48);
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nvMobileMenuToggle.isOpen .nvMobileMenuToggleIcon i:nth-child(1) {
    transform: translateY(0.38rem) rotate(45deg);
  }

  .nvMobileMenuToggle.isOpen .nvMobileMenuToggleIcon i:nth-child(2) {
    opacity: 0;
  }

  .nvMobileMenuToggle.isOpen .nvMobileMenuToggleIcon i:nth-child(3) {
    transform: translateY(-0.38rem) rotate(-45deg);
  }

  .nvMobileMenu {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: minmax(2.1rem, 1fr) minmax(17.5rem, 88vw);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .nvMobileMenu.isOpen {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nvMobileMenuBackdrop {
    grid-column: 1 / -1;
    grid-row: 1;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
  }

  .nvMobileMenuPanel {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-left: 1px solid rgba(255, 84, 27, 0.48);
    padding: max(0.8rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.8rem, env(safe-area-inset-bottom)) 0.75rem;
    background: linear-gradient(145deg, rgba(255, 84, 27, 0.1), transparent 28%), #030709;
    box-shadow: -1.5rem 0 4rem rgba(0, 0, 0, 0.72);
    transform: translateX(105%);
    transition: transform 230ms cubic-bezier(0.2, 0.72, 0.26, 1);
  }

  .nvMobileMenu.isOpen .nvMobileMenuPanel {
    transform: translateX(0);
  }

  .nvMobileMenuPanel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background: repeating-linear-gradient(180deg, transparent 0 6px, rgba(255, 255, 255, 0.025) 6px 7px);
  }

  .nvMobileMenuHeader,
  .nvMobileMenuFooter {
    position: relative;
    z-index: 1;
  }

  .nvMobileMenuHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(27, 220, 255, 0.18);
    padding: 0.55rem 0.35rem 1rem;
  }

  .nvMobileMenuHeader span,
  .nvMobileMenuHeader strong {
    display: block;
    font-family: var(--font-tech);
    text-transform: uppercase;
  }

  .nvMobileMenuHeader span {
    color: #f07843;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
  }

  .nvMobileMenuHeader strong {
    margin-top: 0.22rem;
    color: #eef8f8;
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 0.9;
  }

  .nvMobileMenuClose {
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
    border: 1px solid rgba(151, 164, 160, 0.28);
    color: #eef8f8;
    background: rgba(7, 12, 14, 0.92);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }

  .nvMobileMenuLinks {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: start;
    gap: 0.42rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem 0.15rem;
  }

  .nvMobileMenuLinks a {
    display: grid;
    grid-template-columns: 2.7rem minmax(0, 1fr) auto;
    min-height: 3.55rem;
    align-items: center;
    border: 1px solid rgba(151, 164, 160, 0.17);
    padding: 0.7rem 0.8rem;
    color: #dce9e9;
    background: linear-gradient(90deg, rgba(255, 84, 27, 0.07), transparent 42%), rgba(8, 13, 15, 0.88);
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 5.2vw, 1.35rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
  }

  .nvMobileMenuLinks a::before {
    content: attr(data-index);
    color: #f07843;
    font-family: var(--font-tech);
    font-size: 0.7rem;
  }

  .nvMobileMenuLinks a::after {
    content: "→";
    color: #82a4a9;
    font-family: var(--font-tech);
  }

  .nvMobileMenuLinks a:active,
  .nvMobileMenuLinks a:focus-visible {
    border-color: rgba(255, 84, 27, 0.65);
    color: #fff;
    background-color: rgba(255, 84, 27, 0.1);
  }

  .nvMobileMenuFooter {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 84, 27, 0.26);
    padding: 0.8rem 0.35rem 0.3rem;
    color: #879597;
    font-family: var(--font-tech);
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .nvMobileMenuFooter b {
    color: #93aaa4;
  }

  body.nvMobileMenuOpen {
    overflow: hidden;
  }
}

/* Low-power mobile atmosphere -------------------------------------------- */

@media (max-width: 767px) {
  body.neurovandals-theme .worldBackdrop {
    opacity: 0.46;
    filter: saturate(0.72) contrast(1.04) brightness(0.6);
    transform: none;
    animation: none !important;
    background-attachment: scroll;
  }

  body.neurovandals-theme .worldBackdrop::before,
  body.neurovandals-theme .worldBackdrop::after,
  body.neurovandals-theme .smokeLayer,
  body.neurovandals-theme .sparkField,
  body.neurovandals-theme .bgFlash,
  body.neurovandals-theme .reactorSparks {
    display: none !important;
  }

  body.neurovandals-theme .noise {
    display: none;
  }

  body.neurovandals-theme .scanlines {
    opacity: 0.025;
  }

  body.neurovandals-theme .heroLogoTitle::before,
  body.neurovandals-theme .heroLogoTitle::after {
    display: none;
  }

  body.neurovandals-theme .heroLogoArtwork,
  body.neurovandals-theme .radar::before,
  body.neurovandals-theme .radarSweep,
  body.neurovandals-theme .timelineScan,
  body.neurovandals-theme .standbyCountdown::before,
  body.neurovandals-theme .nvSignalLauncher span,
  body.neurovandals-theme .nvAudioDock::after,
  body.neurovandals-theme .nvAudioDock.isPlaying .nvAudioArtwork::after {
    animation: none !important;
  }

  body.neurovandals-theme .heroLogoArtwork {
    filter: drop-shadow(0 0 0.7rem rgba(255, 84, 27, 0.28));
    will-change: auto;
  }

  body.neurovandals-theme .newsTicker,
  body.neurovandals-theme .nvSignalBackdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.neurovandals-theme .tickerTrack {
    animation-duration: 60s;
  }
}

/* Persistent scroll control: escape the hero stacking context so later
   sections cannot invisibly intercept its clicks. */
body.neurovandals-theme .hero.section {
  z-index: auto;
  isolation: auto;
}

body.neurovandals-theme .scrollCue {
  z-index: 70;
  pointer-events: auto;
  touch-action: manipulation;
  isolation: isolate;
}

body.neurovandals-theme .scrollCue::before,
body.neurovandals-theme .scrollCue::after {
  pointer-events: none;
}

/* Game participation and verified submission ---------------------------- */
body.neurovandals-theme .gameSubmit {
  align-content: center;
  justify-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 3.8rem 1rem 1.2rem;
}

body.neurovandals-theme .gameSubmit > * {
  width: min(32rem, 100%);
}

body.neurovandals-theme .gamePrivacyNotice {
  margin: 0;
  border-left: 2px solid rgba(255, 84, 27, 0.72);
  padding: 0.65rem 0.75rem;
  color: rgba(205, 220, 221, 0.82);
  background: rgba(255, 84, 27, 0.07);
  font-size: 0.75rem;
  line-height: 1.42;
}

body.neurovandals-theme .gameConsent {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: rgba(224, 235, 235, 0.9);
  font-size: 0.78rem;
  line-height: 1.4;
  cursor: pointer;
}

body.neurovandals-theme .gameConsent input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.08rem 0 0;
  border: 1px solid rgba(255, 84, 27, 0.62);
  padding: 0;
  accent-color: #ff541b;
  cursor: pointer;
}

body.neurovandals-theme .gameConsent a {
  color: #ff9a70;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

body.neurovandals-theme .gameSubmitStatus {
  margin: 0;
  border: 1px solid rgba(151, 164, 160, 0.2);
  padding: 0.58rem 0.7rem;
  color: #cbd9d9;
  background: rgba(2, 7, 9, 0.88);
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

body.neurovandals-theme .gameSubmitStatus.is-success {
  border-color: rgba(99, 212, 172, 0.48);
  color: #baf0d9;
}

body.neurovandals-theme .gameSubmitStatus.is-warning {
  border-color: rgba(255, 174, 79, 0.52);
  color: #ffd3a3;
}

body.neurovandals-theme .gameSubmitStatus.is-error {
  border-color: rgba(255, 72, 72, 0.55);
  color: #ffc0c0;
}

body.neurovandals-theme .gameSubmit button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

body.neurovandals-theme .gameLeaderboardReset {
  width: 100%;
  justify-content: center;
  margin-top: 0.9rem;
}

body.neurovandals-theme .gameZeroScoreMessage {
  margin: 0;
  color: rgba(224, 235, 235, 0.88);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

body.neurovandals-theme .gameZeroScoreReset {
  justify-content: center;
}

body.neurovandals-theme .gameCompetitionStatus {
  width: fit-content;
  max-width: 100%;
  margin: 0.8rem 0 0;
  border: 1px solid rgba(99, 212, 172, 0.36);
  padding: 0.5rem 0.7rem;
  color: #baf0d9;
  background: rgba(7, 38, 30, 0.58);
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.neurovandals-theme .gameCompetitionStatus.is-closed {
  border-color: rgba(255, 84, 27, 0.52);
  color: #ffd0bd;
  background: rgba(53, 10, 4, 0.72);
}

body.neurovandals-theme .gameCompetitionClosedTitle {
  color: #ff8b5d;
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  text-align: center;
}

body.neurovandals-theme .gameCompetitionClosedMessage {
  margin: 0;
  color: rgba(224, 235, 235, 0.9);
  line-height: 1.5;
  text-align: center;
}

body.neurovandals-theme .gameCompetitionClosedReset {
  justify-content: center;
}

/* Preserve the complete 1080 × 1350 line-up artwork inside every card. */
body.neurovandals-theme .lineup .artistImage,
body.neurovandals-theme .mainacts .mainactFigure {
  height: auto;
  aspect-ratio: 4 / 5;
  background-color: #050607;
}

body.neurovandals-theme .lineup .artistImage img,
body.neurovandals-theme .mainacts .mainactFigure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 720px) {
  body.neurovandals-theme .lineup .artistImage,
  body.neurovandals-theme .mainacts .mainactFigure {
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

body.neurovandals-theme .gameLifeSignal {
  position: absolute;
  top: 3.6rem;
  left: 50%;
  z-index: 8;
  border: 1px solid rgba(255, 84, 27, 0.7);
  padding: 0.38rem 0.72rem;
  color: #fff0e8;
  background: rgba(36, 5, 2, 0.88);
  box-shadow: 0 0 1.6rem rgba(255, 84, 27, 0.48);
  font-family: var(--font-tech);
  font-size: clamp(0.68rem, 1.4vw, 0.86rem);
  font-weight: 950;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(-50%, -0.7rem) scale(0.92);
}

body.neurovandals-theme .gameCabinet.nvGameWasHit .gameLifeSignal {
  animation: nvGameLifeSignal 0.62s steps(3, end) both;
}

body.neurovandals-theme .gameCabinet.nvGameWasHit .gameHud span:nth-child(2) {
  color: #fff2e9;
  text-shadow: 0 0 1rem #ff541b;
  animation: nvGameLifePulse 0.62s steps(2, end) both;
}

body.neurovandals-theme .gameSubmit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(2, 4, 5, 0.26), rgba(2, 4, 5, 0.82)),
    radial-gradient(circle at 50% 50%, transparent 0 24%, rgba(255, 84, 27, 0.2) 48%, transparent 72%),
    var(--event-bg-image) 50% 46% / cover no-repeat;
  filter: saturate(0.72) contrast(1.28) brightness(0.7);
  opacity: 0.52;
  pointer-events: none;
  transform: scale(1.14);
  animation: nvGameOverMonster 1.15s cubic-bezier(0.18, 0.72, 0.25, 1) both;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 36%, rgba(0, 0, 0, 0.75) 58%, transparent 88%);
  mask-image: radial-gradient(ellipse at center, #000 0 36%, rgba(0, 0, 0, 0.75) 58%, transparent 88%);
}

@keyframes nvGameLifeSignal {
  0% { opacity: 0; transform: translate(-50%, -0.7rem) scale(0.92); }
  18%, 72% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  42% { opacity: 0.48; }
  100% { opacity: 0; transform: translate(-50%, 0.35rem) scale(1.03); }
}

@keyframes nvGameLifePulse {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.22); }
}

@keyframes nvGameOverMonster {
  0% { opacity: 0; transform: scale(1.34) translateY(7%); filter: saturate(1.4) contrast(1.7) brightness(1.05) blur(9px); }
  55% { opacity: 0.62; transform: scale(1.1) translateY(0); filter: saturate(0.9) contrast(1.38) brightness(0.82) blur(1px); }
  100% { opacity: 0.52; transform: scale(1.14); filter: saturate(0.72) contrast(1.28) brightness(0.7) blur(0); }
}

body.neurovandals-theme .leaderboard > .gameLeaderboardReset {
  display: inline-flex;
}

/* Give the Instagram-based Top 10 enough room on desktop. */
body.neurovandals-theme .gameGrid {
  grid-template-columns: minmax(15rem, 0.68fr) minmax(22rem, 1.12fr) minmax(18rem, 0.76fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}

body.neurovandals-theme .leaderboard {
  min-width: 0;
  width: 100%;
  padding: 1rem 1.15rem;
}

body.neurovandals-theme .leaderboard > div {
  grid-template-columns: 1.7rem minmax(0, 1fr) minmax(3.4rem, auto);
  gap: 0.7rem;
}

body.neurovandals-theme .leaderboard > div strong {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.neurovandals-theme .leaderboard > div em {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 900px) {
  body.neurovandals-theme .gameGrid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.neurovandals-theme .leaderboard {
    width: min(36rem, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  body.neurovandals-theme .scrollCue {
    width: 3rem;
    height: 3rem;
    bottom: max(0.8rem, env(safe-area-inset-bottom));
  }

  body.neurovandals-theme.nvHasAudioPlayer .scrollCue {
    bottom: calc(max(0.8rem, env(safe-area-inset-bottom)) + 5.6rem);
  }

  body.neurovandals-theme .gameSubmit {
    align-content: start;
    gap: 0.58rem;
    padding: 3.7rem 0.8rem 1rem;
  }

  body.neurovandals-theme .gamePrivacyNotice,
  body.neurovandals-theme .gameConsent,
  body.neurovandals-theme .gameSubmitStatus {
    font-size: 0.7rem;
  }
}
