:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #020705;
  color: #effff7;
  --acid: #8dff4f;
  --toxic: #35ff9a;
  --green: #3dffb4;
  --cyan: #00e0ff;
  --amber: #ffb64d;
  --danger: #ff496d;
  --ink: #020705;
  --panel: rgba(4, 14, 12, 0.9);
  --panel-deep: rgba(2, 8, 8, 0.97);
  --line: rgba(83, 255, 166, 0.25);
  --line-strong: rgba(141, 255, 79, 0.58);
  --muted: #8da99d;
  --soft: #bed8ce;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 4%, rgba(0, 224, 255, 0.09), transparent 31rem),
    radial-gradient(circle at 83% 14%, rgba(61, 255, 180, 0.1), transparent 34rem),
    linear-gradient(180deg, #03100d 0%, #020807 42%, #010404 100%);
  color: #effff7;
  isolation: isolate;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: rgba(141, 255, 79, 0.9);
  color: #031008;
}

.ambient,
.grid,
.scanlines,
.noise {
  position: fixed;
  pointer-events: none;
}

.ambient {
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
}

.ambient-one {
  top: -12rem;
  left: -10rem;
  width: 34rem;
  height: 34rem;
  background: rgba(0, 224, 255, 0.28);
  animation: ambient-drift-one 18s ease-in-out infinite alternate;
}

.ambient-two {
  top: 8rem;
  right: -14rem;
  width: 42rem;
  height: 42rem;
  background: rgba(76, 255, 120, 0.24);
  animation: ambient-drift-two 22s ease-in-out infinite alternate;
}

.grid {
  z-index: 1;
  top: 37%;
  right: -48%;
  bottom: -46%;
  left: -48%;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(61, 255, 180, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 224, 255, 0.13) 1px, transparent 1px);
  background-size: 70px 70px;
  transform: perspective(620px) rotateX(63deg);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, transparent 0%, black 13%, black 72%, transparent 100%);
  animation: grid-drift 14s linear infinite;
}

.grid::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(141, 255, 79, 0.9), transparent);
  box-shadow: 0 0 28px rgba(141, 255, 79, 0.65);
  content: "";
}

.scanlines {
  z-index: 90;
  inset: 0;
  opacity: 0.13;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(150, 255, 180, 0.09) 4px,
    transparent 5px
  );
  mix-blend-mode: screen;
}

.noise {
  z-index: 91;
  inset: -30%;
  opacity: 0.025;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, #fff 0 0.5px, transparent 0.7px 4px),
    repeating-radial-gradient(circle at 70% 65%, #8dff4f 0 0.4px, transparent 0.6px 5px);
  background-size: 7px 7px, 9px 9px;
  animation: noise-shift 0.28s steps(2) infinite;
}

.shell {
  position: relative;
  z-index: 10;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 38px;
}

.hero {
  margin-bottom: 70px;
}

.top-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 34px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.2);
  padding: 0 4px 12px;
}

.eyebrow,
.hero-kicker,
.game-number,
.game-node,
.meta-label,
.telemetry-heading,
.signal-label,
.rail-readout,
.transmission-counter,
.access-code,
footer {
  font-family: "Segoe UI", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--toxic);
  font-size: 0.72rem;
  font-weight: 800;
}

.rail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 5px var(--acid), 0 0 18px rgba(141, 255, 79, 0.75);
  animation: status-pulse 1.6s ease-in-out infinite;
}

.rail-readout {
  display: flex;
  gap: 22px;
  color: rgba(190, 216, 206, 0.62);
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
}

.rail-readout span:first-child {
  color: var(--acid);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(285px, 0.72fr);
  gap: clamp(34px, 6vw, 80px);
  overflow: hidden;
  min-height: 620px;
  border: 1px solid rgba(84, 255, 170, 0.28);
  padding: clamp(38px, 6vw, 72px);
  background:
    linear-gradient(115deg, rgba(6, 25, 20, 0.95), rgba(1, 8, 8, 0.91) 58%, rgba(4, 20, 17, 0.82)),
    radial-gradient(circle at 18% 22%, rgba(0, 224, 255, 0.12), transparent 28rem);
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.04),
    inset 0 0 80px rgba(31, 255, 136, 0.035),
    0 34px 110px rgba(0, 0, 0, 0.48);
  clip-path: polygon(
    0 0,
    calc(100% - 72px) 0,
    100% 72px,
    100% 100%,
    34px 100%,
    0 calc(100% - 34px)
  );
}

.hero-panel::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 73%, rgba(141, 255, 79, 0.035) 73% 73.3%, transparent 73.3%),
    linear-gradient(0deg, transparent 0 84%, rgba(0, 224, 255, 0.05) 84% 84.3%, transparent 84.3%);
  content: "";
}

.hero-panel::after {
  position: absolute;
  top: 0;
  right: 72px;
  width: 170px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acid));
  box-shadow: 0 0 22px rgba(141, 255, 79, 0.7);
  content: "";
}

.hero-copy,
.telemetry {
  position: relative;
  z-index: 2;
}

.hero-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  margin: 0 0 18px;
  color: var(--acid);
  font-size: 0.72rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.glitch {
  position: relative;
  margin: 0;
  color: #f1fff8;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(5.2rem, 12vw, 10.8rem);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.085em;
  text-shadow:
    0 0 26px rgba(236, 255, 246, 0.08),
    0 0 80px rgba(0, 224, 255, 0.08);
}

.glitch::before,
.glitch::after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  content: attr(data-text);
  pointer-events: none;
}

.glitch::before {
  color: var(--cyan);
  opacity: 0.46;
  text-shadow: -2px 0 var(--acid);
  clip-path: inset(0 0 67% 0);
  animation: glitch-top 5.5s steps(1) infinite;
}

.glitch::after {
  color: var(--acid);
  opacity: 0.34;
  text-shadow: 2px 0 var(--cyan);
  clip-path: inset(71% 0 0 0);
  animation: glitch-bottom 6.2s steps(1) infinite;
}

.online-word {
  position: relative;
  margin: 12px 0 32px;
  color: transparent;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(4rem, 10vw, 9.2rem);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.07em;
  -webkit-text-stroke: 1.5px var(--acid);
  text-shadow:
    0 0 13px rgba(141, 255, 79, 0.4),
    0 0 44px rgba(61, 255, 180, 0.15);
}

.online-word::after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: rgba(141, 255, 79, 0.12);
  content: attr(data-text);
  clip-path: inset(0 100% 0 0);
  -webkit-text-stroke: 0;
  animation: online-scan 4.4s ease-in-out infinite;
}

.lede {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.72;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 38px;
  margin-top: 28px;
  border: 1px solid rgba(83, 255, 166, 0.16);
  padding: 0 15px;
  background: rgba(2, 12, 10, 0.62);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.status-light {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(255, 182, 77, 0.85);
  animation: status-pulse 1.5s ease-in-out infinite;
}

.status-light.online {
  background: var(--acid);
  box-shadow: 0 0 7px var(--acid), 0 0 18px rgba(141, 255, 79, 0.9);
}

.status-light.offline {
  background: var(--danger);
  box-shadow: 0 0 7px var(--danger), 0 0 18px rgba(255, 73, 109, 0.85);
}

.telemetry {
  align-self: center;
  min-width: 0;
  border: 1px solid rgba(83, 255, 166, 0.23);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(6, 29, 21, 0.68), rgba(2, 10, 9, 0.78)),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(141, 255, 79, 0.025) 25px);
  box-shadow:
    inset 0 0 34px rgba(61, 255, 180, 0.035),
    0 0 40px rgba(0, 0, 0, 0.28);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.telemetry-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.18);
  padding-bottom: 12px;
  color: var(--toxic);
  font-size: 0.62rem;
  font-weight: 800;
}

.telemetry-code {
  color: rgba(190, 216, 206, 0.56);
}

.holo-orb {
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 1;
  margin: 24px auto 20px;
  border: 1px solid rgba(0, 224, 255, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(141, 255, 79, 0.11), transparent 32%),
    repeating-radial-gradient(circle, rgba(83, 255, 166, 0.09) 0 1px, transparent 1px 24px);
  box-shadow:
    inset 0 0 40px rgba(0, 224, 255, 0.05),
    0 0 42px rgba(61, 255, 180, 0.06);
}

.holo-orb::before,
.holo-orb::after {
  position: absolute;
  inset: 50% 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(141, 255, 79, 0.65), transparent);
  content: "";
}

.holo-orb::after {
  inset: 7% 50%;
  width: 1px;
  height: auto;
  background: linear-gradient(180deg, transparent, rgba(0, 224, 255, 0.5), transparent);
}

.orb-ring,
.orb-core,
.orb-scan {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  transform: translate(-50%, -50%);
}

.orb-ring {
  border: 1px solid rgba(141, 255, 79, 0.42);
  border-radius: 50%;
}

.orb-ring-one {
  width: 72%;
  height: 72%;
  border-right-color: transparent;
  border-left-color: rgba(0, 224, 255, 0.46);
  animation: orb-spin 9s linear infinite;
}

.orb-ring-two {
  width: 50%;
  height: 50%;
  border-top-color: transparent;
  border-bottom-color: rgba(0, 224, 255, 0.58);
  animation: orb-spin-reverse 6.5s linear infinite;
}

.orb-ring-three {
  width: 88%;
  height: 34%;
  border-color: rgba(141, 255, 79, 0.26);
  transform: translate(-50%, -50%) rotate(-18deg);
  animation: orb-tilt 7s ease-in-out infinite alternate;
}

.orb-core {
  width: 30%;
  height: 38%;
  background:
    linear-gradient(135deg, rgba(0, 224, 255, 0.2), transparent 45%),
    conic-gradient(from 30deg, rgba(141, 255, 79, 0.85), rgba(0, 224, 255, 0.18), rgba(61, 255, 180, 0.75), rgba(141, 255, 79, 0.85));
  clip-path: polygon(50% 0, 88% 20%, 100% 66%, 63% 100%, 18% 89%, 0 42%, 24% 9%);
  box-shadow: 0 0 28px rgba(141, 255, 79, 0.4);
  animation: core-float 3.4s ease-in-out infinite alternate;
}

.orb-scan {
  width: 86%;
  height: 14%;
  border-top: 1px solid rgba(141, 255, 79, 0.8);
  background: linear-gradient(to bottom, rgba(141, 255, 79, 0.12), transparent);
  filter: drop-shadow(0 0 8px rgba(141, 255, 79, 0.65));
  animation: orb-scan 3.2s ease-in-out infinite;
}

.signal-block {
  border-top: 1px solid rgba(83, 255, 166, 0.14);
  padding-top: 14px;
}

.signal-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 800;
}

.signal-label strong {
  color: var(--acid);
  font-weight: 800;
}

.signal-bars {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  height: 12px;
}

.signal-bars i {
  display: block;
  background: linear-gradient(90deg, rgba(61, 255, 180, 0.28), var(--acid));
  box-shadow: 0 0 10px rgba(141, 255, 79, 0.22);
  animation: bar-flicker 2.6s ease-in-out infinite;
}

.signal-bars i:nth-child(2) { animation-delay: 0.08s; }
.signal-bars i:nth-child(3) { animation-delay: 0.16s; }
.signal-bars i:nth-child(4) { animation-delay: 0.24s; }
.signal-bars i:nth-child(5) { animation-delay: 0.32s; }
.signal-bars i:nth-child(6) { animation-delay: 0.4s; }
.signal-bars i:nth-child(7) { animation-delay: 0.48s; }
.signal-bars i:nth-child(8) { animation-delay: 0.56s; }

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.telemetry-grid > div {
  min-width: 0;
  border: 1px solid rgba(83, 255, 166, 0.14);
  padding: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.telemetry-grid span,
.telemetry-grid strong {
  display: block;
}

.telemetry-grid span {
  margin-bottom: 5px;
  color: rgba(190, 216, 206, 0.52);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.telemetry-grid strong {
  overflow: hidden;
  color: var(--toxic);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog {
  position: relative;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.2);
  padding: 0 3px 17px;
}

.section-heading h2 {
  margin: 6px 0 0;
  color: #f0fff7;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.transmission-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid rgba(83, 255, 166, 0.2);
  padding: 0 14px;
  background: rgba(2, 12, 10, 0.55);
  color: rgba(190, 216, 206, 0.55);
  font-size: 0.59rem;
  font-weight: 800;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.transmission-counter strong {
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  perspective: 1400px;
}

.game-card {
  --accent: var(--acid);
  --accent-rgb: 141, 255, 79;
  --secondary: var(--cyan);
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --glow-x: 50%;
  --glow-y: 50%;
  --lift: 0px;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 540px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.34);
  padding: 24px;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(var(--accent-rgb), 0.12), transparent 32%),
    linear-gradient(145deg, rgba(5, 23, 17, 0.96), rgba(2, 9, 9, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.035),
    inset 0 0 70px rgba(var(--accent-rgb), 0.025),
    0 28px 80px rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  transform: perspective(1100px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) translateY(var(--lift));
  transform-style: preserve-3d;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease;
  will-change: transform;
}

.game-card[data-game*="breach"] {
  --accent: #77ff62;
  --accent-rgb: 119, 255, 98;
  --secondary: #00f0c8;
}

.game-card[data-game*="arena"] {
  --accent: #b8ff3d;
  --accent-rgb: 184, 255, 61;
  --secondary: #00d9ff;
}

.game-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(var(--accent-rgb), 0.05) 10% 10.3%, transparent 10.3%),
    linear-gradient(0deg, transparent 0 14%, rgba(0, 224, 255, 0.04) 14% 14.3%, transparent 14.3%);
  content: "";
  pointer-events: none;
}

.game-card::after {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 36px;
  width: 110px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.75);
  content: "";
}

.game-card:hover,
.game-card:focus-within {
  --lift: -9px;
  border-color: rgba(var(--accent-rgb), 0.68);
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.06),
    inset 0 0 90px rgba(var(--accent-rgb), 0.055),
    0 38px 100px rgba(0, 0, 0, 0.5),
    0 0 44px rgba(var(--accent-rgb), 0.09);
}

.card-scan {
  position: absolute;
  z-index: 5;
  top: -22%;
  right: 0;
  left: 0;
  height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(var(--accent-rgb), 0.17), transparent);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
}

.game-card:hover .card-scan,
.game-card:focus-within .card-scan {
  opacity: 1;
  animation: card-scan 1.3s ease-out;
}

.card-header,
.game-visual,
.card-content,
.game-actions {
  position: relative;
  z-index: 2;
  transform: translateZ(22px);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 28px;
}

.game-number {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 900;
}

.game-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(190, 216, 206, 0.6);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
}

.game-state::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 9px rgba(255, 73, 109, 0.75);
  content: "";
}

.game-state.online::before {
  background: var(--accent);
  box-shadow: 0 0 9px rgba(var(--accent-rgb), 0.85);
}

.game-visual {
  position: relative;
  height: 214px;
  margin: 21px 0 24px;
  overflow: hidden;
  border-top: 1px solid rgba(var(--accent-rgb), 0.19);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.19);
  background:
    radial-gradient(circle at 50% 48%, rgba(var(--accent-rgb), 0.12), transparent 34%),
    linear-gradient(180deg, rgba(0, 224, 255, 0.025), rgba(var(--accent-rgb), 0.025));
}

.game-visual::before,
.game-visual::after {
  position: absolute;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.game-visual::before {
  inset: 50% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.36), transparent);
}

.game-visual::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 224, 255, 0.26), transparent);
}

.visual-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 224, 255, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle, black, transparent 76%);
}

.visual-ring,
.visual-core,
.visual-sweep,
.visual-code {
  position: absolute;
  z-index: 2;
  display: block;
}

.visual-ring {
  top: 50%;
  left: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.42);
  border-radius: 50%;
}

.visual-ring-one {
  width: 168px;
  height: 168px;
  border-right-color: transparent;
  transform: translate(-50%, -50%);
  animation: visual-spin 10s linear infinite;
}

.visual-ring-two {
  width: 118px;
  height: 118px;
  border-top-color: transparent;
  border-left-color: var(--secondary);
  transform: translate(-50%, -50%);
  animation: visual-spin-reverse 7s linear infinite;
}

.visual-ring-three {
  top: 50%;
  left: 50%;
  width: 210px;
  height: 64px;
  border-color: rgba(0, 224, 255, 0.24);
  transform: translate(-50%, -50%) rotate(-12deg);
  animation: visual-tilt 5.5s ease-in-out infinite alternate;
}

.visual-core {
  top: 50%;
  left: 50%;
  width: 72px;
  height: 94px;
  background:
    linear-gradient(135deg, rgba(0, 224, 255, 0.28), transparent 45%),
    conic-gradient(from 20deg, var(--accent), rgba(0, 224, 255, 0.1), var(--secondary), var(--accent));
  clip-path: polygon(50% 0, 91% 23%, 100% 65%, 61% 100%, 17% 87%, 0 40%, 24% 8%);
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.45);
  transform: translate(-50%, -50%);
  animation: visual-core-float 3.3s ease-in-out infinite alternate;
}

.game-card[data-game*="breach"] .visual-core {
  width: 78px;
  height: 104px;
  clip-path: polygon(51% 0, 88% 16%, 72% 45%, 100% 62%, 58% 100%, 31% 72%, 0 83%, 17% 43%, 3% 17%);
}

.game-card[data-game*="arena"] .visual-core {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  clip-path: polygon(50% 0, 83% 10%, 100% 42%, 89% 78%, 57% 100%, 18% 88%, 0 53%, 13% 17%);
}

.visual-sweep {
  z-index: 4;
  top: -16%;
  right: 0;
  left: 0;
  height: 16%;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.82);
  background: linear-gradient(to bottom, transparent, rgba(var(--accent-rgb), 0.14));
  filter: drop-shadow(0 0 7px rgba(var(--accent-rgb), 0.62));
  animation: visual-sweep 4.2s ease-in-out infinite;
}

.visual-code {
  right: 10px;
  bottom: 9px;
  color: rgba(190, 216, 206, 0.45);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

.card-content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.game-node {
  margin: 0 0 9px;
  overflow: hidden;
  color: rgba(var(--accent-rgb), 0.68);
  font-size: 0.58rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card h3 {
  margin: 0 0 12px;
  color: #f2fff8;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.game-description {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.62;
}

.game-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: auto;
}

.meta-item {
  min-width: 0;
  border: 1px solid rgba(var(--accent-rgb), 0.13);
  padding: 9px;
  background: rgba(0, 0, 0, 0.14);
}

.meta-label,
.meta-value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta-label {
  margin-bottom: 4px;
  color: rgba(190, 216, 206, 0.42);
  font-size: 0.47rem;
  font-weight: 800;
}

.meta-value {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
}

.game-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}

.primary-button,
.secondary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  padding: 0 20px;
  font: inherit;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
  transition:
    filter 160ms ease,
    transform 160ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-button {
  min-width: 144px;
  background: linear-gradient(100deg, var(--accent), var(--secondary));
  color: #021008;
  box-shadow:
    0 0 20px rgba(var(--accent-rgb), 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.primary-button::after,
.secondary-button::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -48%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  content: "";
  transform: skewX(-18deg);
  transition: left 330ms ease;
}

.primary-button:hover,
.primary-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
  filter: brightness(1.12);
  outline: none;
  transform: translateY(-2px);
}

.primary-button:hover,
.primary-button:focus-visible {
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.32);
}

.primary-button:hover::after,
.primary-button:focus-visible::after,
.secondary-button:hover::after,
.secondary-button:focus-visible::after {
  left: 118%;
}

.primary-button.disabled {
  border: 1px solid rgba(141, 169, 157, 0.22);
  background: rgba(141, 169, 157, 0.07);
  color: #536a61;
  pointer-events: none;
  box-shadow: none;
}

.secondary-button {
  border: 1px solid rgba(83, 255, 166, 0.35);
  background: rgba(2, 12, 10, 0.7);
  color: var(--toxic);
}

.secondary-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.secondary-button.is-loading span {
  animation: text-flicker 0.75s steps(2) infinite;
}

.access-code {
  overflow: hidden;
  color: rgba(190, 216, 206, 0.38);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.52rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loading-card,
.error-card {
  grid-column: 1 / -1;
  min-height: 190px;
  justify-content: center;
}

.loading-card {
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.loading-card h3,
.error-card h3 {
  font-size: clamp(1.5rem, 3vw, 2.45rem);
}

.loading-pulse {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(141, 255, 79, 0.55);
  animation: loading-pulse 1.15s ease-in-out infinite;
}

.error-card {
  border-color: rgba(255, 73, 109, 0.48);
}

.error-card .game-number {
  color: var(--danger);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 76px;
  border-top: 1px solid rgba(83, 255, 166, 0.2);
  padding: 20px 4px 0;
  color: rgba(190, 216, 206, 0.43);
  font-size: 0.59rem;
  font-weight: 800;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(141, 255, 79, 0.74);
}

.footer-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(141, 255, 79, 0.8);
}

@keyframes ambient-drift-one {
  to { transform: translate(9rem, 5rem) scale(1.1); }
}

@keyframes ambient-drift-two {
  to { transform: translate(-8rem, 7rem) scale(0.94); }
}

@keyframes grid-drift {
  to { background-position: 0 70px, 70px 0; }
}

@keyframes noise-shift {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(1%, -1%, 0); }
  50% { transform: translate3d(-1%, 1%, 0); }
  75% { transform: translate3d(0.5%, 1%, 0); }
  100% { transform: translate3d(-0.5%, -0.5%, 0); }
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes glitch-top {
  0%, 92%, 100% { transform: translate(0); }
  93% { transform: translate(-5px, -1px); }
  94% { transform: translate(4px, 1px); }
  95% { transform: translate(-2px, 0); }
}

@keyframes glitch-bottom {
  0%, 86%, 100% { transform: translate(0); }
  87% { transform: translate(4px, 1px); }
  88% { transform: translate(-5px, 0); }
  89% { transform: translate(2px, -1px); }
}

@keyframes online-scan {
  0%, 15% { clip-path: inset(0 100% 0 0); }
  42%, 65% { clip-path: inset(0 0 0 0); }
  88%, 100% { clip-path: inset(0 0 0 100%); }
}

@keyframes orb-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orb-spin-reverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes orb-tilt {
  to { transform: translate(-50%, -50%) rotate(18deg) scaleX(0.84); }
}

@keyframes core-float {
  to { transform: translate(-50%, calc(-50% - 8px)) rotate(10deg); }
}

@keyframes orb-scan {
  0%, 100% { transform: translate(-50%, -260%); opacity: 0; }
  16% { opacity: 0.8; }
  76% { opacity: 0.8; }
  90% { transform: translate(-50%, 230%); opacity: 0; }
}

@keyframes bar-flicker {
  0%, 100% { opacity: 0.34; }
  45%, 70% { opacity: 1; }
}

@keyframes card-scan {
  from { transform: translateY(0); }
  to { transform: translateY(720%); }
}

@keyframes visual-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes visual-spin-reverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes visual-tilt {
  to { transform: translate(-50%, -50%) rotate(15deg) scaleX(0.88); }
}

@keyframes visual-core-float {
  to { transform: translate(-50%, calc(-50% - 8px)) rotate(8deg); }
}

@keyframes visual-sweep {
  0%, 100% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.85; }
  84% { opacity: 0.85; }
  96% { transform: translateY(820%); opacity: 0; }
}

@keyframes loading-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes text-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}

@media (max-width: 1000px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .telemetry {
    display: grid;
    grid-template-columns: minmax(190px, 0.8fr) minmax(220px, 1.2fr);
    gap: 18px;
    align-items: center;
  }

  .telemetry-heading {
    grid-column: 1 / -1;
  }

  .holo-orb {
    grid-row: 2 / span 2;
    margin: 0 auto;
  }

  .signal-block,
  .telemetry-grid {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 28px, 1240px);
    padding-top: 22px;
  }

  .hero-panel {
    min-height: 0;
    padding: 42px 30px;
    clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  }

  .top-rail {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .rail-readout {
    width: 100%;
    justify-content: space-between;
  }

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

  .game-card {
    min-height: 510px;
  }
}

@media (max-width: 620px) {
  .hero {
    margin-bottom: 54px;
  }

  .hero-panel {
    padding: 36px 22px 30px;
  }

  .glitch {
    font-size: clamp(4rem, 20vw, 6.4rem);
  }

  .online-word {
    margin-top: 9px;
    font-size: clamp(3.2rem, 17vw, 5.5rem);
  }

  .telemetry {
    display: block;
  }

  .holo-orb {
    margin: 22px auto 18px;
  }

  .telemetry-grid {
    margin-top: 14px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-controls {
    width: 100%;
    justify-content: space-between;
  }

  .game-card {
    min-height: 520px;
    padding: 20px;
  }

  .game-visual {
    height: 190px;
  }

  .game-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .access-code {
    width: 100%;
    text-align: right;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .shell {
    width: min(100% - 18px, 1240px);
  }

  .rail-readout {
    gap: 10px;
    font-size: 0.54rem;
  }

  .hero-panel {
    padding: 32px 17px 26px;
  }

  .status-line {
    width: 100%;
    font-size: 0.68rem;
  }

  .section-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .transmission-counter,
  .secondary-button {
    width: 100%;
  }

  .transmission-counter {
    justify-content: space-between;
  }

  .game-card {
    min-height: 500px;
    padding: 17px;
  }

  .card-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .game-card {
    transform: none !important;
  }
}


/* ============================================================
   GAMEPLAY PREVIEW ART
   Real game screenshots inside the holographic transmission UI.
   ============================================================ */

.game-visual.has-preview {
  isolation: isolate;
  background: #020706;
}

.game-preview {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
  filter:
    saturate(0.82)
    contrast(1.08)
    brightness(0.77);
  transform: scale(1.015);
  transition:
    transform 500ms cubic-bezier(.2,.75,.2,1),
    filter 300ms ease,
    opacity 300ms ease;
}

.game-card[data-game*="breach"] .game-preview {
  object-position: center 54%;
}

.game-card[data-game*="arena"] .game-preview {
  object-position: center 58%;
}

.game-visual.has-preview::before {
  z-index: 3;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(var(--accent-rgb), 0.55) 50%, transparent 92%);
  opacity: 0.48;
}

.game-visual.has-preview::after {
  z-index: 3;
  background:
    linear-gradient(180deg, transparent, rgba(0, 224, 255, 0.52), transparent);
  opacity: 0.34;
}

.game-visual.has-preview .visual-grid {
  z-index: 2;
  opacity: 0.15;
  mix-blend-mode: screen;
  mask-image: none;
}

.game-visual.has-preview .visual-ring {
  z-index: 4;
  opacity: 0.30;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 4px rgba(var(--accent-rgb), 0.45));
}

.game-visual.has-preview .visual-ring-one {
  width: 138px;
  height: 138px;
}

.game-visual.has-preview .visual-ring-two {
  width: 94px;
  height: 94px;
}

.game-visual.has-preview .visual-ring-three {
  width: 178px;
  height: 54px;
}

.game-visual.has-preview .visual-core {
  z-index: 4;
  width: 38px;
  height: 48px;
  opacity: 0.16;
  mix-blend-mode: screen;
  filter: blur(0.2px);
}

.game-card[data-game*="arena"] .game-visual.has-preview .visual-core {
  width: 42px;
  height: 42px;
}

.game-visual.has-preview .visual-sweep {
  z-index: 6;
  opacity: 0.72;
}

.game-visual.has-preview .visual-code {
  z-index: 7;
  padding: 3px 6px;
  background: rgba(0, 8, 6, 0.58);
  color: rgba(224, 255, 241, 0.72);
  text-shadow: 0 0 8px rgba(var(--accent-rgb), 0.55);
}

.game-visual.has-preview::marker {
  display: none;
}

.game-visual.has-preview {
  box-shadow:
    inset 0 0 0 1px rgba(var(--accent-rgb), 0.08),
    inset 0 0 54px rgba(0, 0, 0, 0.30);
}

.game-visual.has-preview .game-preview::selection {
  background: transparent;
}

.game-card:hover .game-preview,
.game-card:focus-within .game-preview {
  opacity: 1;
  filter:
    saturate(1)
    contrast(1.1)
    brightness(0.92);
  transform: scale(1.055);
}

/* Dark glass at the edges preserves HUD readability and the alien-terminal feel. */
.game-visual.has-preview > .visual-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 10, 7, 0.22), transparent 30%, transparent 70%, rgba(0, 10, 7, 0.30)),
    linear-gradient(90deg, rgba(0, 10, 7, 0.20), transparent 22%, transparent 78%, rgba(0, 10, 7, 0.20));
  pointer-events: none;
}

/* Fallback retains the original procedural hologram if an image is missing. */
.game-visual.preview-missing {
  background:
    radial-gradient(circle at 50% 48%, rgba(var(--accent-rgb), 0.12), transparent 34%),
    linear-gradient(180deg, rgba(0, 224, 255, 0.025), rgba(var(--accent-rgb), 0.025));
}


/* ============================================================
   GAME CARD 16:9 FIT FIX
   The preview window now matches the game frame itself.
   ============================================================ */

.game-visual {
  height: auto;
  aspect-ratio: 16 / 9;
}

.game-preview {
  object-fit: cover;
  object-position: center;
  transform: none;
  background: #020706;
}

.game-card[data-game*="breach"] .game-preview,
.game-card[data-game*="arena"] .game-preview {
  object-position: center;
}

.game-card:hover .game-preview,
.game-card:focus-within .game-preview {
  transform: none;
}


/* ============================================================
   LOW SIGNALX ARCADE — FINAL VISUAL POLISH
   Keeps the interface level at rest and reserves 3D movement
   for pointer hover while adding acquisition, edge-lighting,
   and final terminal-detail refinement.
   ============================================================ */

/* --- Hero lock-in -------------------------------------------------------- */

.hero-panel {
  border-color: rgba(83, 255, 166, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.035),
    inset 0 0 110px rgba(31, 255, 136, 0.025),
    0 34px 110px rgba(0, 0, 0, 0.48),
    0 0 42px rgba(61, 255, 180, 0.025);
  animation: hero-signal-lock 820ms cubic-bezier(.2,.75,.2,1) both;
}

.hero-panel::after {
  width: 220px;
  opacity: 0.78;
  animation: hero-trace 7.5s ease-in-out infinite;
}

.glitch {
  text-shadow:
    0 0 24px rgba(236, 255, 246, 0.06),
    0 0 70px rgba(0, 224, 255, 0.065);
}

.online-word {
  text-shadow:
    0 0 10px rgba(141, 255, 79, 0.34),
    0 0 34px rgba(61, 255, 180, 0.12);
}

.telemetry {
  border-color: rgba(83, 255, 166, 0.24);
  background:
    linear-gradient(180deg, rgba(8, 35, 24, 0.62), rgba(1, 12, 10, 0.78)),
    radial-gradient(circle at 50% 40%, rgba(0, 224, 255, 0.055), transparent 58%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.025),
    inset 0 0 48px rgba(61, 255, 180, 0.025),
    0 0 34px rgba(0, 0, 0, 0.18);
}

/* --- Catalog hierarchy --------------------------------------------------- */

.section-heading {
  position: relative;
  padding-bottom: 18px;
}

.section-heading::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      rgba(83, 255, 166, 0.42),
      rgba(0, 224, 255, 0.12) 42%,
      rgba(83, 255, 166, 0.035) 78%,
      transparent
    );
  content: "";
}

.section-heading h2 {
  text-shadow: 0 0 26px rgba(236, 255, 246, 0.035);
}

/* --- Game transmission modules ------------------------------------------ */

.game-card {
  border-color: rgba(var(--accent-rgb), 0.27);
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(var(--accent-rgb), 0.095), transparent 32%),
    linear-gradient(145deg, rgba(5, 23, 17, 0.965), rgba(2, 9, 9, 0.985));
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.025),
    inset 0 0 72px rgba(var(--accent-rgb), 0.018),
    0 26px 72px rgba(0, 0, 0, 0.38);
}

.game-card[data-game] {
  opacity: 0;
  animation: node-acquired 640ms cubic-bezier(.18,.78,.18,1) both;
  animation-delay: calc(90ms + (var(--card-index) * 150ms));
}

.game-card::after {
  opacity: 0.62;
  box-shadow:
    0 0 12px rgba(var(--accent-rgb), 0.56),
    0 0 28px rgba(var(--accent-rgb), 0.16);
}

.game-card:hover,
.game-card:focus-within {
  --lift: -9px;
  border-color: rgba(var(--accent-rgb), 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.055),
    inset 0 0 100px rgba(var(--accent-rgb), 0.045),
    0 38px 100px rgba(0, 0, 0, 0.52),
    0 0 22px rgba(var(--accent-rgb), 0.11),
    0 0 58px rgba(var(--accent-rgb), 0.045);
}

/* One brief scan when a game transmission is first acquired. */
.game-card[data-game] .card-scan {
  opacity: 0;
  animation: acquisition-scan 950ms ease-out both;
  animation-delay: calc(220ms + (var(--card-index) * 150ms));
}

.game-card:hover .card-scan,
.game-card:focus-within .card-scan {
  opacity: 1;
  animation: card-scan 1.3s ease-out;
  animation-delay: 0ms;
}

/* Crisp viewport / monitor bezel around real gameplay. */
.game-visual {
  border: 1px solid rgba(var(--accent-rgb), 0.19);
  background: #010504;
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.025),
    inset 0 0 42px rgba(0, 0, 0, 0.48),
    0 0 20px rgba(var(--accent-rgb), 0.025);
}

.game-visual.has-preview {
  box-shadow:
    inset 0 0 0 1px rgba(var(--accent-rgb), 0.08),
    inset 0 0 54px rgba(0, 0, 0, 0.34),
    0 0 20px rgba(var(--accent-rgb), 0.025);
}

.game-preview {
  opacity: 0.90;
  filter:
    saturate(0.84)
    contrast(1.08)
    brightness(0.78);
  transition:
    filter 260ms ease,
    opacity 260ms ease;
}

.game-card:hover .game-preview,
.game-card:focus-within .game-preview {
  opacity: 1;
  filter:
    saturate(1)
    contrast(1.1)
    brightness(0.94);
}

/* Hologram mechanics stay visible but do not overpower the gameplay. */
.game-visual.has-preview .visual-grid {
  opacity: 0.12;
}

.game-visual.has-preview .visual-ring {
  opacity: 0.23;
}

.game-visual.has-preview .visual-core {
  opacity: 0.11;
}

.game-visual.has-preview .visual-sweep {
  opacity: 0.58;
}

/* Slightly cleaner typography / state lamps. */
.game-state.online::before {
  animation: node-ready-pulse 1.9s ease-in-out infinite;
}

.game-node {
  opacity: 0.92;
}

.game-card h3 {
  text-shadow:
    0 0 18px rgba(244, 255, 248, 0.03),
    0 0 32px rgba(var(--accent-rgb), 0.018);
}

.meta-item {
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.022), rgba(0, 0, 0, 0.08));
}

.primary-button {
  box-shadow:
    0 0 18px rgba(var(--accent-rgb), 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.primary-button:hover,
.primary-button:focus-visible {
  box-shadow:
    0 0 18px rgba(var(--accent-rgb), 0.22),
    0 0 34px rgba(var(--accent-rgb), 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

/* --- Footer / terminal closure ------------------------------------------ */

footer {
  position: relative;
}

footer::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 88px;
  height: 1px;
  background: var(--acid);
  box-shadow: 0 0 15px rgba(141, 255, 79, 0.48);
  content: "";
}

.footer-status i {
  animation: node-ready-pulse 1.9s ease-in-out infinite;
}

/* --- New motion ---------------------------------------------------------- */

@keyframes hero-signal-lock {
  0% {
    opacity: 0;
    filter: brightness(1.38) blur(1.5px);
    clip-path: polygon(
      0 49%,
      calc(100% - 72px) 49%,
      100% 49%,
      100% 51%,
      34px 51%,
      0 51%
    );
  }
  38% {
    opacity: 1;
    filter: brightness(1.18) blur(0);
  }
  100% {
    opacity: 1;
    filter: none;
    clip-path: polygon(
      0 0,
      calc(100% - 72px) 0,
      100% 72px,
      100% 100%,
      34px 100%,
      0 calc(100% - 34px)
    );
  }
}

@keyframes hero-trace {
  0%, 12%, 100% {
    transform: translateX(0);
    opacity: 0.38;
  }
  46%, 58% {
    transform: translateX(-150px);
    opacity: 0.95;
  }
  72% {
    opacity: 0.46;
  }
}

@keyframes node-acquired {
  0% {
    opacity: 0;
    filter: brightness(1.45) saturate(0.35);
    clip-path: polygon(
      0 48%,
      calc(100% - 36px) 48%,
      100% 50%,
      100% 52%,
      22px 52%,
      0 52%
    );
  }
  36% {
    opacity: 1;
    filter: brightness(1.18) saturate(0.72);
  }
  100% {
    opacity: 1;
    filter: none;
    clip-path: polygon(
      0 0,
      calc(100% - 36px) 0,
      100% 36px,
      100% 100%,
      22px 100%,
      0 calc(100% - 22px)
    );
  }
}

@keyframes acquisition-scan {
  0% {
    opacity: 0;
    transform: translateY(-30%);
  }
  14% {
    opacity: 0.95;
  }
  82% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translateY(700%);
  }
}

@keyframes node-ready-pulse {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.86);
    box-shadow: 0 0 6px rgba(var(--accent-rgb, 141, 255, 79), 0.45);
  }
  48% {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 0 8px rgba(var(--accent-rgb, 141, 255, 79), 0.72),
      0 0 18px rgba(var(--accent-rgb, 141, 255, 79), 0.26);
  }
}

/* Preserve accessibility for users requesting less motion. */
@media (prefers-reduced-motion: reduce) {
  .hero-panel,
  .hero-panel::after,
  .game-card[data-game],
  .game-card[data-game] .card-scan,
  .game-state.online::before,
  .footer-status i {
    animation: none !important;
  }

  .game-card[data-game] {
    opacity: 1;
  }
}

/* ============================================================
   LOW SIGNALX ARCADE — OPERATOR IDENTITY CONSOLE
   Login, registration, secure session status, and logout UI.
   ============================================================ */

[hidden] {
  display: none !important;
}

body.auth-open {
  overflow: hidden;
}

.top-rail-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.auth-trigger {
  --auth-accent: 141, 255, 79;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 194px;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid rgba(var(--auth-accent), 0.3);
  padding: 7px 16px 7px 13px;
  background:
    linear-gradient(105deg, rgba(var(--auth-accent), 0.075), rgba(1, 10, 8, 0.82) 54%),
    rgba(2, 9, 8, 0.88);
  color: var(--soft);
  text-align: left;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.02),
    0 0 18px rgba(var(--auth-accent), 0.035);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.auth-trigger::after {
  position: absolute;
  top: 0;
  right: 13px;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--auth-accent), 0.92));
  box-shadow: 0 0 12px rgba(var(--auth-accent), 0.42);
  content: "";
}

.auth-trigger:hover,
.auth-trigger:focus-visible {
  border-color: rgba(var(--auth-accent), 0.68);
  outline: none;
  background:
    linear-gradient(105deg, rgba(var(--auth-accent), 0.13), rgba(1, 10, 8, 0.9) 58%),
    rgba(2, 9, 8, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.035),
    0 0 18px rgba(var(--auth-accent), 0.11),
    0 0 34px rgba(var(--auth-accent), 0.045);
  transform: translateY(-1px);
}

.auth-trigger:disabled {
  cursor: wait;
  opacity: 0.74;
}

.auth-trigger.is-authenticated {
  --auth-accent: 53, 255, 154;
  border-color: rgba(var(--auth-accent), 0.48);
}

.auth-trigger.is-offline {
  --auth-accent: 255, 73, 109;
}

.auth-trigger-light {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(var(--auth-accent));
  box-shadow:
    0 0 7px rgba(var(--auth-accent), 0.86),
    0 0 18px rgba(var(--auth-accent), 0.34);
  animation: auth-light-pulse 1.75s ease-in-out infinite;
}

.auth-trigger.is-checking .auth-trigger-light {
  animation-duration: 0.72s;
}

.auth-trigger-copy {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.auth-trigger-copy span {
  overflow: hidden;
  color: rgba(190, 216, 206, 0.58);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.auth-trigger-copy strong {
  overflow: hidden;
  margin-top: 4px;
  color: rgb(var(--auth-accent));
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(var(--auth-accent), 0.28);
  white-space: nowrap;
}

.auth-overlay {
  position: fixed;
  z-index: 250;
  inset: 0;
  display: grid;
  justify-items: end;
  overflow-y: auto;
  opacity: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(61, 255, 180, 0.08), transparent 34rem),
    rgba(0, 4, 4, 0.76);
  backdrop-filter: blur(9px) saturate(0.78);
  transition: opacity 210ms ease;
}

.auth-overlay.is-open {
  opacity: 1;
}

.auth-overlay.is-closing {
  opacity: 0;
}

.auth-console {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(590px, 100%);
  min-height: 100%;
  overflow: hidden;
  border-left: 1px solid rgba(83, 255, 166, 0.44);
  padding: clamp(28px, 5vw, 50px);
  background:
    linear-gradient(145deg, rgba(6, 27, 20, 0.985), rgba(1, 8, 8, 0.99) 56%, rgba(3, 18, 15, 0.985)),
    #020807;
  box-shadow:
    -34px 0 100px rgba(0, 0, 0, 0.62),
    inset 1px 0 0 rgba(0, 224, 255, 0.04),
    inset 0 0 110px rgba(61, 255, 180, 0.025);
  clip-path: polygon(32px 0, 100% 0, 100% 100%, 32px 100%, 0 calc(100% - 32px), 0 32px);
  transform: translateX(104%);
  transition: transform 330ms cubic-bezier(.2, .78, .18, 1);
}

.auth-overlay.is-open .auth-console {
  transform: translateX(0);
}

.auth-overlay.is-closing .auth-console {
  transform: translateX(104%);
}

.auth-console::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(83, 255, 166, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 224, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, black, transparent 88%);
  content: "";
  pointer-events: none;
}

.auth-console::after {
  position: absolute;
  z-index: 1;
  top: 32px;
  bottom: 32px;
  left: 0;
  width: 1px;
  background: linear-gradient(transparent, var(--acid) 18%, var(--cyan) 54%, var(--toxic) 82%, transparent);
  box-shadow:
    0 0 11px rgba(141, 255, 79, 0.58),
    0 0 30px rgba(0, 224, 255, 0.14);
  content: "";
  pointer-events: none;
}

.auth-console-scan {
  position: absolute;
  z-index: 3;
  right: 0;
  left: 0;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(141, 255, 79, 0.82), rgba(0, 224, 255, 0.64), transparent);
  box-shadow: 0 0 22px rgba(61, 255, 180, 0.46);
  pointer-events: none;
}

.auth-overlay.is-open .auth-console-scan {
  animation: auth-console-scan 1.05s 180ms ease-out both;
}

.auth-console-header,
.auth-guest-view,
.auth-message,
.auth-user-view,
.auth-console-footer {
  position: relative;
  z-index: 5;
}

.auth-console-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.22);
  padding-bottom: 22px;
}

.auth-console-kicker {
  margin: 0 0 8px;
  color: var(--toxic);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-console-header h2 {
  margin: 0;
  color: #f1fff8;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: 0 0 26px rgba(61, 255, 180, 0.07);
}

.auth-close {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(83, 255, 166, 0.3);
  background: rgba(3, 15, 12, 0.72);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.auth-close span::before,
.auth-close span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1px;
  background: var(--toxic);
  content: "";
  box-shadow: 0 0 8px rgba(53, 255, 154, 0.5);
}

.auth-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.auth-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.auth-close:hover,
.auth-close:focus-visible {
  border-color: rgba(141, 255, 79, 0.74);
  outline: none;
  background: rgba(141, 255, 79, 0.08);
  box-shadow: 0 0 20px rgba(141, 255, 79, 0.09);
}

.auth-console-intro {
  max-width: 470px;
  margin: 25px 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 24px;
  border: 1px solid rgba(83, 255, 166, 0.22);
  background: rgba(0, 7, 6, 0.54);
}

.auth-tab {
  position: relative;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: rgba(190, 216, 206, 0.54);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 170ms ease,
    background 170ms ease,
    box-shadow 170ms ease;
}

.auth-tab + .auth-tab {
  border-left: 1px solid rgba(83, 255, 166, 0.18);
}

.auth-tab::after {
  position: absolute;
  right: 18%;
  bottom: -1px;
  left: 18%;
  height: 1px;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(141, 255, 79, 0.72);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition:
    opacity 170ms ease,
    transform 170ms ease;
}

.auth-tab:hover,
.auth-tab:focus-visible {
  outline: none;
  color: var(--soft);
  background: rgba(53, 255, 154, 0.04);
}

.auth-tab.is-active {
  color: var(--acid);
  background: linear-gradient(180deg, rgba(141, 255, 79, 0.08), rgba(53, 255, 154, 0.025));
  box-shadow: inset 0 0 34px rgba(61, 255, 180, 0.025);
}

.auth-tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.auth-message {
  margin: 20px 0 0;
  border: 1px solid rgba(0, 224, 255, 0.25);
  padding: 12px 14px;
  background: rgba(0, 224, 255, 0.045);
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.auth-message.success {
  border-color: rgba(141, 255, 79, 0.34);
  background: rgba(141, 255, 79, 0.055);
  color: var(--acid);
}

.auth-message.error {
  border-color: rgba(255, 73, 109, 0.42);
  background: rgba(255, 73, 109, 0.055);
  color: #ff7892;
}

.auth-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.auth-register-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.auth-field-wide {
  grid-column: 1 / -1;
}

.auth-field label {
  color: var(--soft);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-field small {
  min-height: 1em;
  color: rgba(190, 216, 206, 0.48);
  font-size: 0.66rem;
  line-height: 1.35;
}

.auth-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(83, 255, 166, 0.24);
  border-radius: 0;
  padding: 0 14px;
  outline: none;
  background:
    linear-gradient(180deg, rgba(6, 24, 18, 0.82), rgba(1, 9, 8, 0.92));
  color: #effff7;
  caret-color: var(--acid);
  box-shadow:
    inset 0 0 22px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(0, 224, 255, 0.018);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.auth-field input::placeholder {
  color: rgba(190, 216, 206, 0.28);
}

.auth-field input:hover {
  border-color: rgba(83, 255, 166, 0.4);
}

.auth-field input:focus {
  border-color: rgba(141, 255, 79, 0.78);
  background:
    linear-gradient(180deg, rgba(9, 34, 24, 0.9), rgba(1, 10, 8, 0.95));
  box-shadow:
    inset 0 0 22px rgba(0, 0, 0, 0.32),
    0 0 0 2px rgba(141, 255, 79, 0.055),
    0 0 20px rgba(61, 255, 180, 0.055);
}

.auth-field input[aria-invalid="true"] {
  border-color: rgba(255, 73, 109, 0.76);
  box-shadow:
    inset 0 0 22px rgba(0, 0, 0, 0.32),
    0 0 14px rgba(255, 73, 109, 0.07);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 70px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-width: 52px;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: var(--toxic);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  outline: none;
  color: var(--acid);
  text-shadow: 0 0 10px rgba(141, 255, 79, 0.38);
}

.auth-field-error {
  min-height: 1em;
  color: #ff7892;
  font-size: 0.66rem;
  line-height: 1.35;
}

.auth-submit,
.auth-logout {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  overflow: hidden;
  border: 1px solid rgba(141, 255, 79, 0.68);
  padding: 0 24px;
  background: linear-gradient(105deg, var(--acid), var(--toxic) 58%, var(--cyan));
  color: #021008;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  box-shadow:
    0 0 20px rgba(53, 255, 154, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition:
    filter 170ms ease,
    box-shadow 170ms ease,
    transform 170ms ease;
}

.auth-submit::after,
.auth-logout::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -35%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  content: "";
  transform: skewX(-20deg);
  transition: left 360ms ease;
}

.auth-submit:hover,
.auth-submit:focus-visible,
.auth-logout:hover,
.auth-logout:focus-visible {
  outline: none;
  filter: brightness(1.08);
  box-shadow:
    0 0 22px rgba(53, 255, 154, 0.24),
    0 0 42px rgba(0, 224, 255, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.auth-submit:hover::after,
.auth-submit:focus-visible::after,
.auth-logout:hover::after,
.auth-logout:focus-visible::after {
  left: 116%;
}

.auth-submit:disabled,
.auth-logout:disabled {
  cursor: wait;
  filter: grayscale(0.35) brightness(0.72);
  transform: none;
}

.auth-form.is-submitting .auth-submit span,
.auth-logout.is-loading span {
  animation: text-flicker 0.75s steps(2) infinite;
}

.auth-user-view {
  display: flex;
  align-items: center;
  flex: 1;
  flex-direction: column;
  padding: 42px 0 24px;
  text-align: center;
}

.identity-lock {
  position: relative;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  margin-bottom: 25px;
}

.identity-lock::before,
.identity-lock::after,
.identity-lock-ring {
  position: absolute;
  border: 1px solid rgba(53, 255, 154, 0.34);
  border-radius: 50%;
  content: "";
}

.identity-lock::before {
  inset: 0;
  border-right-color: var(--acid);
  border-bottom-color: var(--cyan);
  box-shadow: 0 0 30px rgba(61, 255, 180, 0.08);
  animation: identity-orbit 8s linear infinite;
}

.identity-lock::after {
  inset: 16px;
  border-top-color: var(--cyan);
  border-left-color: var(--acid);
  animation: identity-orbit 5.5s linear infinite reverse;
}

.identity-lock-ring {
  inset: 31px;
  background: radial-gradient(circle, rgba(141, 255, 79, 0.12), rgba(0, 224, 255, 0.035) 48%, transparent 70%);
  box-shadow:
    inset 0 0 24px rgba(53, 255, 154, 0.07),
    0 0 24px rgba(0, 224, 255, 0.04);
}

.identity-initials {
  position: relative;
  z-index: 2;
  display: grid;
  width: 62px;
  height: 70px;
  place-items: center;
  background: linear-gradient(145deg, var(--acid), var(--toxic) 52%, var(--cyan));
  color: #021008;
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  clip-path: polygon(50% 0, 94% 24%, 83% 78%, 50% 100%, 17% 78%, 6% 24%);
  filter: drop-shadow(0 0 12px rgba(61, 255, 180, 0.4));
}

.identity-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--acid);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.identity-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(141, 255, 79, 0.72);
  animation: auth-light-pulse 1.75s ease-in-out infinite;
}

.auth-user-view h3 {
  margin: 0;
  color: #f1fff8;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.identity-handle {
  margin: 10px 0 28px;
  color: var(--toxic);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  border-top: 1px solid rgba(83, 255, 166, 0.18);
  border-left: 1px solid rgba(83, 255, 166, 0.18);
  text-align: left;
}

.identity-grid > div {
  display: grid;
  gap: 7px;
  min-height: 76px;
  border-right: 1px solid rgba(83, 255, 166, 0.18);
  border-bottom: 1px solid rgba(83, 255, 166, 0.18);
  padding: 15px;
  background: rgba(53, 255, 154, 0.018);
}

.identity-grid-wide {
  grid-column: 1 / -1;
}

.identity-grid span {
  color: rgba(190, 216, 206, 0.48);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.identity-grid strong {
  overflow-wrap: anywhere;
  color: var(--acid);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.identity-note {
  max-width: 440px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.auth-logout {
  width: min(310px, 100%);
  margin-top: auto;
  border-color: rgba(255, 73, 109, 0.44);
  background: linear-gradient(105deg, rgba(255, 73, 109, 0.12), rgba(3, 16, 13, 0.9));
  color: #ff7892;
  box-shadow:
    0 0 18px rgba(255, 73, 109, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.auth-logout:hover,
.auth-logout:focus-visible {
  box-shadow:
    0 0 22px rgba(255, 73, 109, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.auth-console-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  border-top: 1px solid rgba(83, 255, 166, 0.18);
  padding-top: 15px;
  color: rgba(190, 216, 206, 0.38);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-console-footer::before {
  display: none;
}

@keyframes auth-light-pulse {
  0%, 100% {
    opacity: 0.52;
    transform: scale(0.84);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes auth-console-scan {
  0% {
    top: 2%;
    opacity: 0;
  }
  14% {
    opacity: 0.92;
  }
  88% {
    opacity: 0.64;
  }
  100% {
    top: 96%;
    opacity: 0;
  }
}

@keyframes identity-orbit {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 820px) {
  .top-rail-actions {
    width: 100%;
    justify-content: space-between;
  }

  .auth-console {
    width: min(620px, 100%);
  }
}

@media (max-width: 620px) {
  .top-rail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-trigger {
    width: 100%;
  }

  .auth-console {
    min-height: 100%;
    padding: 28px 22px;
    clip-path: none;
  }

  .auth-console::after {
    top: 0;
    bottom: 0;
  }

  .auth-console-header h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .auth-register-form {
    grid-template-columns: 1fr;
  }

  .auth-field-wide {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .auth-console {
    padding: 22px 16px;
  }

  .auth-console-header {
    gap: 16px;
  }

  .auth-tabs {
    grid-template-columns: 1fr;
  }

  .auth-tab + .auth-tab {
    border-top: 1px solid rgba(83, 255, 166, 0.18);
    border-left: 0;
  }

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

  .identity-grid-wide {
    grid-column: auto;
  }

  .auth-console-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-trigger-light,
  .identity-status i,
  .identity-lock::before,
  .identity-lock::after,
  .auth-console-scan {
    animation: none !important;
  }
}

/* ============================================================
   LOW SIGNALX ARCADE — COMMUNITY DISCUSSION CHANNELS
   Public read access, authenticated posting, owner/admin removal.
   ============================================================ */

.community {
  margin-top: 94px;
  scroll-margin-top: 28px;
}

.community-heading {
  margin-bottom: 24px;
}

.community-counter {
  display: grid;
  min-width: 132px;
  border: 1px solid rgba(83, 255, 166, 0.24);
  padding: 10px 14px;
  background: rgba(2, 12, 10, 0.66);
  text-align: right;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.community-counter span,
.community-counter strong {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.community-counter span {
  color: rgba(190, 216, 206, 0.46);
  font-size: 0.48rem;
}

.community-counter strong {
  margin-top: 4px;
  color: var(--acid);
  font-size: 0.72rem;
  text-shadow: 0 0 10px rgba(141, 255, 79, 0.3);
}

.community-grid {
  display: grid;
  grid-template-columns: minmax(218px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.channel-rail,
.discussion-panel {
  position: relative;
  border: 1px solid rgba(83, 255, 166, 0.24);
  background:
    linear-gradient(155deg, rgba(5, 23, 17, 0.965), rgba(1, 8, 8, 0.985)),
    radial-gradient(circle at 20% 10%, rgba(0, 224, 255, 0.05), transparent 18rem);
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.025),
    inset 0 0 72px rgba(61, 255, 180, 0.018),
    0 26px 72px rgba(0, 0, 0, 0.36);
}

.channel-rail {
  position: sticky;
  top: 22px;
  overflow: hidden;
  padding: 20px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.channel-rail::before,
.discussion-panel::before {
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--toxic), var(--acid), transparent);
  box-shadow: 0 0 14px rgba(83, 255, 166, 0.36);
  content: "";
}

.channel-rail::before {
  width: 76%;
}

.discussion-panel::before {
  width: 44%;
}

.channel-rail-header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.14);
  padding-bottom: 15px;
}

.channel-rail-light {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--toxic);
  box-shadow: 0 0 8px var(--toxic), 0 0 18px rgba(53, 255, 154, 0.34);
  animation: node-ready-pulse 1.9s ease-in-out infinite;
}

.channel-rail-header p,
.channel-rail-header strong,
.channel-rail-status span {
  display: block;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.channel-rail-header p {
  color: rgba(190, 216, 206, 0.43);
  font-size: 0.48rem;
}

.channel-rail-header strong {
  margin-top: 3px;
  color: var(--toxic);
  font-size: 0.65rem;
}

.discussion-tabs {
  display: grid;
  gap: 9px;
}

.discussion-tab,
.discussion-tab-loading {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(83, 255, 166, 0.14);
  padding: 15px 13px 14px 18px;
  background: rgba(0, 0, 0, 0.18);
  color: inherit;
  text-align: left;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
}

.discussion-tab {
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.discussion-tab::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: rgba(83, 255, 166, 0.26);
  content: "";
}

.discussion-tab:hover,
.discussion-tab:focus-visible,
.discussion-tab.is-active {
  border-color: rgba(141, 255, 79, 0.5);
  background:
    linear-gradient(100deg, rgba(83, 255, 166, 0.09), rgba(0, 224, 255, 0.025)),
    rgba(0, 0, 0, 0.24);
  outline: none;
  transform: translateX(3px);
  box-shadow: 0 0 24px rgba(83, 255, 166, 0.05);
}

.discussion-tab.is-active::after {
  background: var(--acid);
  box-shadow: 0 0 10px rgba(141, 255, 79, 0.72);
}

.discussion-tab-light {
  position: absolute;
  top: 14px;
  right: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(190, 216, 206, 0.28);
}

.discussion-tab.is-active .discussion-tab-light {
  background: var(--acid);
  box-shadow: 0 0 8px rgba(141, 255, 79, 0.78);
  animation: node-ready-pulse 1.9s ease-in-out infinite;
}

.discussion-tab-code,
.discussion-tab-title,
.discussion-tab-count {
  display: block;
}

.discussion-tab-code {
  color: rgba(83, 255, 166, 0.58);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.discussion-tab-title {
  max-width: calc(100% - 16px);
  margin-top: 7px;
  overflow: hidden;
  color: #effff7;
  font-size: 0.91rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discussion-tab-count {
  margin-top: 7px;
  color: rgba(190, 216, 206, 0.42);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.48rem;
  letter-spacing: 0.09em;
}

.discussion-tab-count b {
  color: var(--acid);
  font-weight: 800;
}

.discussion-tab-loading {
  color: rgba(190, 216, 206, 0.48);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.11em;
}

.channel-rail-status {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 5px 8px;
  margin-top: 22px;
  border-top: 1px solid rgba(83, 255, 166, 0.12);
  padding-top: 15px;
}

.channel-rail-status i {
  grid-row: 1 / 3;
  align-self: center;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--toxic);
  box-shadow: 0 0 8px rgba(53, 255, 154, 0.62);
}

.channel-rail-status span {
  color: rgba(190, 216, 206, 0.38);
  font-size: 0.43rem;
}

.discussion-panel {
  --discussion-accent: 53, 255, 154;
  min-width: 0;
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.discussion-panel[data-game*="arena"] {
  --discussion-accent: 141, 255, 79;
}

.discussion-panel-scan {
  position: absolute;
  z-index: 0;
  top: -18%;
  right: 0;
  left: 0;
  height: 14%;
  border-bottom: 1px solid rgba(var(--discussion-accent), 0.58);
  background: linear-gradient(to bottom, transparent, rgba(var(--discussion-accent), 0.07));
  opacity: 0.5;
  pointer-events: none;
  animation: discussion-scan 9s ease-in-out infinite;
}

.discussion-panel-header,
.discussion-message,
.discussion-identity-pending,
.discussion-guest,
.comment-form,
.comments-list,
.discussion-panel-footer {
  position: relative;
  z-index: 1;
}

.discussion-panel-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(var(--discussion-accent), 0.18);
  padding-bottom: 18px;
}

.discussion-node {
  margin: 0 0 7px;
  color: rgba(var(--discussion-accent), 0.72);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.discussion-panel-header h3 {
  margin: 0;
  color: #f3fff8;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.discussion-panel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.discussion-panel-controls > span {
  color: rgba(190, 216, 206, 0.5);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.51rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.discussion-refresh,
.discussion-auth-button,
.discussion-button,
.comment-submit,
.comment-delete {
  position: relative;
  border: 1px solid rgba(var(--discussion-accent, 53, 255, 154), 0.32);
  background: rgba(2, 12, 10, 0.72);
  color: rgb(var(--discussion-accent, 53, 255, 154));
  font: inherit;
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.discussion-refresh {
  min-height: 36px;
  padding: 0 13px;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
}

.discussion-refresh:hover,
.discussion-refresh:focus-visible,
.discussion-auth-button:hover,
.discussion-auth-button:focus-visible,
.discussion-button:hover,
.discussion-button:focus-visible,
.comment-submit:hover,
.comment-submit:focus-visible,
.comment-delete:hover,
.comment-delete:focus-visible {
  border-color: rgba(var(--discussion-accent, 53, 255, 154), 0.75);
  background: rgba(var(--discussion-accent, 53, 255, 154), 0.1);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(var(--discussion-accent, 53, 255, 154), 0.09);
}

.discussion-refresh:disabled,
.discussion-auth-button:disabled,
.discussion-button:disabled,
.comment-submit:disabled,
.comment-delete:disabled {
  cursor: wait;
  opacity: 0.55;
}

.discussion-message {
  margin-bottom: 16px;
  border: 1px solid rgba(83, 255, 166, 0.2);
  padding: 11px 13px;
  background: rgba(53, 255, 154, 0.045);
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.64rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.discussion-message.success {
  border-color: rgba(141, 255, 79, 0.36);
  color: var(--acid);
}

.discussion-message.error {
  border-color: rgba(255, 73, 109, 0.38);
  background: rgba(255, 73, 109, 0.055);
  color: #ff9bae;
}

.discussion-identity-pending,
.discussion-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 92px;
  border: 1px solid rgba(83, 255, 166, 0.12);
  background: rgba(0, 0, 0, 0.12);
  color: rgba(190, 216, 206, 0.48);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.11em;
}

.discussion-guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(var(--discussion-accent), 0.18);
  padding: 20px;
  background:
    linear-gradient(110deg, rgba(var(--discussion-accent), 0.05), transparent 62%),
    rgba(0, 0, 0, 0.16);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.discussion-guest p,
.discussion-guest h4,
.discussion-guest span {
  margin: 0;
}

.discussion-guest p {
  color: rgba(var(--discussion-accent), 0.7);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.discussion-guest h4 {
  margin-top: 6px;
  color: #effff7;
  font-size: 1.1rem;
}

.discussion-guest span {
  display: block;
  max-width: 610px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.discussion-auth-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 17px;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
}

.comment-form {
  margin-bottom: 20px;
  border: 1px solid rgba(var(--discussion-accent), 0.2);
  padding: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(var(--discussion-accent), 0.06), transparent 16rem),
    rgba(0, 0, 0, 0.17);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.comment-composer-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.comment-user-initials,
.comment-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(var(--discussion-accent), 0.38);
  background:
    radial-gradient(circle, rgba(var(--discussion-accent), 0.14), rgba(0, 0, 0, 0.48));
  color: rgb(var(--discussion-accent));
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 900;
  box-shadow: inset 0 0 16px rgba(var(--discussion-accent), 0.05);
}

.comment-user-initials {
  width: 38px;
  height: 38px;
  clip-path: polygon(50% 0, 91% 24%, 100% 67%, 58% 100%, 14% 84%, 0 39%, 24% 8%);
  font-size: 0.7rem;
}

.comment-composer-identity > div > span,
.comment-composer-identity strong,
.comment-composer-identity small {
  display: block;
}

.comment-composer-identity > div > span {
  color: rgba(190, 216, 206, 0.42);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.46rem;
  letter-spacing: 0.13em;
}

.comment-composer-identity strong {
  margin-top: 2px;
  color: #effff7;
  font-size: 0.81rem;
}

.comment-composer-identity small {
  margin-top: 2px;
  color: rgba(var(--discussion-accent), 0.65);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.57rem;
}

.comment-field,
.comment-field > span {
  display: block;
}

.comment-field > span {
  margin-bottom: 7px;
  color: rgba(var(--discussion-accent), 0.66);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.comment-field textarea {
  width: 100%;
  min-height: 116px;
  resize: vertical;
  border: 1px solid rgba(var(--discussion-accent), 0.2);
  border-radius: 0;
  padding: 13px 14px;
  background: rgba(0, 5, 4, 0.68);
  color: #effff7;
  caret-color: rgb(var(--discussion-accent));
  line-height: 1.55;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.comment-field textarea::placeholder {
  color: rgba(190, 216, 206, 0.29);
}

.comment-field textarea:focus {
  border-color: rgba(var(--discussion-accent), 0.58);
  background: rgba(0, 8, 6, 0.82);
  box-shadow:
    0 0 0 1px rgba(var(--discussion-accent), 0.07),
    0 0 24px rgba(var(--discussion-accent), 0.05);
}

.comment-field textarea[aria-invalid="true"] {
  border-color: rgba(255, 73, 109, 0.68);
  box-shadow: 0 0 18px rgba(255, 73, 109, 0.08);
}

.comment-form-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
}

.comment-form-footer > div {
  min-width: 0;
}

.comment-field-error,
.comment-character-count {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.53rem;
}

.comment-field-error {
  min-height: 1.35em;
  color: #ff8aa2;
}

.comment-character-count {
  margin-top: 4px;
  color: rgba(190, 216, 206, 0.38);
  letter-spacing: 0.08em;
}

.comment-character-count.is-near-limit {
  color: var(--amber);
}

.comment-character-count.is-over-limit {
  color: var(--danger);
}

.comment-submit {
  min-width: 170px;
  min-height: 44px;
  padding: 0 18px;
  background: linear-gradient(100deg, rgb(var(--discussion-accent)), var(--cyan));
  color: #021008;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: 0 0 20px rgba(var(--discussion-accent), 0.12);
}

.comment-submit:hover,
.comment-submit:focus-visible {
  background: linear-gradient(100deg, rgb(var(--discussion-accent)), var(--cyan));
  color: #021008;
  filter: brightness(1.12);
}

.comment-form.is-submitting {
  opacity: 0.72;
}

.comments-list {
  display: grid;
  gap: 10px;
  max-height: 720px;
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-color: rgba(var(--discussion-accent), 0.42) rgba(0, 0, 0, 0.22);
  scrollbar-width: thin;
}

.comments-list::-webkit-scrollbar {
  width: 8px;
}

.comments-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.comments-list::-webkit-scrollbar-thumb {
  background: rgba(var(--discussion-accent), 0.34);
}

.comment-entry {
  position: relative;
  border: 1px solid rgba(var(--discussion-accent), 0.14);
  padding: 15px 16px 12px;
  background:
    linear-gradient(105deg, rgba(var(--discussion-accent), 0.028), transparent 42%),
    rgba(0, 0, 0, 0.16);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  animation: comment-acquired 360ms ease-out both;
}

.comment-entry::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 1px;
  background: rgba(var(--discussion-accent), 0.72);
  box-shadow: 0 0 10px rgba(var(--discussion-accent), 0.3);
  content: "";
}

.comment-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.comment-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 0.6rem;
}

.comment-author {
  min-width: 0;
}

.comment-author-line {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.comment-author-line strong {
  overflow: hidden;
  color: #effff7;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-role {
  flex: 0 0 auto;
  border: 1px solid rgba(141, 255, 79, 0.32);
  padding: 2px 5px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.43rem;
  letter-spacing: 0.1em;
}

.comment-role.moderator {
  border-color: rgba(0, 224, 255, 0.34);
  color: var(--cyan);
}

.comment-handle,
.comment-time,
.comment-code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.comment-handle {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: rgba(var(--discussion-accent), 0.55);
  font-size: 0.54rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-time {
  color: rgba(190, 216, 206, 0.36);
  font-size: 0.48rem;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.comment-body {
  margin: 13px 0 12px;
  color: #c7ddd4;
  font-size: 0.9rem;
  line-height: 1.62;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.comment-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  border: 0;
  padding: 0;
}

.comment-code {
  color: rgba(190, 216, 206, 0.28);
  font-size: 0.45rem;
  letter-spacing: 0.12em;
}

.comment-delete {
  min-height: 27px;
  border-color: rgba(255, 73, 109, 0.22);
  padding: 0 9px;
  color: #ff839a;
  font-size: 0.47rem;
}

.comment-delete:hover,
.comment-delete:focus-visible {
  border-color: rgba(255, 73, 109, 0.62);
  background: rgba(255, 73, 109, 0.08);
  color: #ff9daf;
  box-shadow: 0 0 18px rgba(255, 73, 109, 0.08);
}

.discussion-empty,
.discussion-error {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(var(--discussion-accent), 0.12);
  padding: 28px;
  background:
    radial-gradient(circle, rgba(var(--discussion-accent), 0.045), transparent 42%),
    rgba(0, 0, 0, 0.13);
  text-align: center;
}

.discussion-empty-signal {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--discussion-accent), 0.28);
  border-radius: 50%;
  color: rgba(var(--discussion-accent), 0.74);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.5rem;
  box-shadow: inset 0 0 24px rgba(var(--discussion-accent), 0.04);
}

.discussion-empty-code {
  margin: 15px 0 6px;
  color: rgba(var(--discussion-accent), 0.6);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.discussion-empty h4 {
  margin: 0;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.discussion-error {
  border-color: rgba(255, 73, 109, 0.28);
  color: #ff91a6;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.66rem;
  line-height: 1.55;
}

.discussion-panel-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  border-top: 1px solid rgba(var(--discussion-accent), 0.13);
  padding-top: 12px;
  color: rgba(190, 216, 206, 0.3);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.44rem;
  letter-spacing: 0.12em;
}

/* Game-card path into the community channel. */
.game-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.discussion-button {
  --discussion-accent: var(--accent-rgb);
  min-height: 44px;
  border-color: rgba(var(--accent-rgb), 0.3);
  padding: 0 14px;
  color: var(--accent);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
}

.discussion-button:hover,
.discussion-button:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.68);
  background: rgba(var(--accent-rgb), 0.09);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.08);
}

.game-actions .access-code {
  margin-left: auto;
}

@keyframes discussion-scan {
  0%, 18% {
    opacity: 0;
    transform: translateY(-25%);
  }
  24% {
    opacity: 0.55;
  }
  70% {
    opacity: 0.22;
  }
  82%, 100% {
    opacity: 0;
    transform: translateY(760%);
  }
}

@keyframes comment-acquired {
  0% {
    opacity: 0;
    filter: brightness(1.35);
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .community-grid {
    grid-template-columns: 1fr;
  }

  .channel-rail {
    position: relative;
    top: auto;
  }

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

  .channel-rail-status {
    grid-template-columns: 8px repeat(2, minmax(0, 1fr));
  }

  .channel-rail-status i {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .discussion-panel-header,
  .discussion-guest,
  .comment-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .discussion-panel-header {
    display: flex;
  }

  .discussion-panel-controls {
    justify-content: space-between;
  }

  .discussion-auth-button,
  .comment-submit {
    width: 100%;
  }

  .comment-form-footer {
    display: flex;
  }

  .comment-time {
    grid-column: 2;
    justify-self: start;
  }

  .comment-header {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .community {
    margin-top: 68px;
  }

  .discussion-tabs {
    grid-template-columns: 1fr;
  }

  .channel-rail-status {
    grid-template-columns: 8px 1fr;
  }

  .channel-rail-status i {
    grid-row: 1 / 3;
  }

  .discussion-panel {
    padding: 18px 14px;
    clip-path: none;
  }

  .channel-rail {
    padding: 17px 14px;
    clip-path: none;
  }

  .discussion-panel-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .discussion-refresh {
    width: 100%;
  }

  .comment-entry {
    padding: 14px 12px 11px;
  }

  .discussion-panel-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .game-actions .access-code {
    width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .discussion-panel-scan,
  .channel-rail-light,
  .discussion-tab.is-active .discussion-tab-light,
  .comment-entry {
    animation: none !important;
  }
}


/* ============================================================
   SIGNAL BOOSTS V1
   One authenticated boost per operator per game/comment.
   ============================================================ */

.signal-boost-button {
  --boost-accent: 83, 255, 166;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  overflow: hidden;
  border: 1px solid rgba(var(--boost-accent), 0.26);
  padding: 0 12px;
  background:
    linear-gradient(110deg, rgba(var(--boost-accent), 0.045), transparent 66%),
    rgba(0, 8, 7, 0.78);
  color: rgba(var(--boost-accent), 0.78);
  font: inherit;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 180ms ease,
    filter 160ms ease,
    transform 160ms ease;
}

.signal-boost-button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--boost-accent), 0.22),
    transparent
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-110%);
}

.signal-boost-button:hover,
.signal-boost-button:focus-visible {
  border-color: rgba(var(--boost-accent), 0.7);
  background:
    linear-gradient(110deg, rgba(var(--boost-accent), 0.1), transparent 72%),
    rgba(0, 12, 9, 0.9);
  color: rgb(var(--boost-accent));
  outline: none;
  box-shadow:
    0 0 18px rgba(var(--boost-accent), 0.08),
    inset 0 0 18px rgba(var(--boost-accent), 0.035);
  transform: translateY(-1px);
}

.signal-boost-button.is-boosted {
  border-color: rgba(var(--boost-accent), 0.82);
  background:
    linear-gradient(105deg, rgba(var(--boost-accent), 0.2), rgba(0, 224, 255, 0.055)),
    rgba(0, 14, 10, 0.94);
  color: rgb(var(--boost-accent));
  box-shadow:
    0 0 16px rgba(var(--boost-accent), 0.12),
    inset 0 0 24px rgba(var(--boost-accent), 0.07);
}

.signal-boost-button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.signal-boost-button.is-busy .signal-boost-label {
  animation: text-flicker 0.72s steps(2) infinite;
}

.signal-boost-button.is-pulsing::after {
  animation: signal-boost-sweep 680ms ease-out;
}

.signal-boost-pulse {
  position: relative;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border: 1px solid rgba(var(--boost-accent), 0.62);
  border-radius: 50%;
  background: rgba(var(--boost-accent), 0.12);
  box-shadow: 0 0 8px rgba(var(--boost-accent), 0.18);
}

.signal-boost-pulse::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(var(--boost-accent), 0.24);
  border-radius: 50%;
  content: "";
  opacity: 0;
}

.signal-boost-button.is-boosted .signal-boost-pulse {
  background: rgb(var(--boost-accent));
  box-shadow:
    0 0 8px rgba(var(--boost-accent), 0.72),
    0 0 18px rgba(var(--boost-accent), 0.24);
}

.signal-boost-button.is-boosted .signal-boost-pulse::after {
  animation: signal-boost-ring 1.8s ease-out infinite;
}

.signal-boost-label,
.signal-boost-count {
  position: relative;
  z-index: 1;
}

.signal-boost-count {
  min-width: 2ch;
  color: currentColor;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.64rem;
  text-align: right;
}

.game-signal-boost {
  --boost-accent: var(--accent-rgb);
  min-height: 44px;
  padding: 0 14px;
}

.comment-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.comment-signal-boost {
  --boost-accent: var(--discussion-accent);
  min-height: 27px;
  padding: 0 9px;
  font-size: 0.47rem;
}

.comment-signal-boost .signal-boost-label {
  font-size: 0;
}

.comment-signal-boost .signal-boost-label::after {
  font-size: 0.47rem;
  content: "BOOST";
}

.comment-signal-boost.is-boosted .signal-boost-label::after {
  content: "BOOSTED";
}

@keyframes signal-boost-sweep {
  0% {
    opacity: 0;
    transform: translateX(-110%);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(110%);
  }
}

@keyframes signal-boost-ring {
  0% {
    opacity: 0.65;
    transform: scale(0.7);
  }
  72%, 100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

@media (max-width: 620px) {
  .game-signal-boost,
  .discussion-button {
    width: 100%;
  }

  .comment-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .comment-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-boost-button,
  .signal-boost-button::after,
  .signal-boost-pulse::after,
  .signal-boost-label {
    animation: none !important;
  }
}

/* ============================================================
   LOW SIGNALX ARCADE — PUBLIC OPERATOR PROFILES V1
   Public deep links, operator records, stats, activity, and
   authenticated self-service profile editing.
   ============================================================ */

body.profile-open {
  overflow: hidden;
}

.identity-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 10px;
  margin-top: 24px;
}

.auth-profile-button,
.profile-edit-button,
.profile-copy-link,
.profile-edit-cancel,
.profile-edit-save {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(83, 255, 166, 0.34);
  padding: 0 18px;
  background: rgba(3, 18, 14, 0.72);
  color: var(--toxic);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.auth-profile-button:hover,
.auth-profile-button:focus-visible,
.profile-edit-button:hover,
.profile-edit-button:focus-visible,
.profile-copy-link:hover,
.profile-copy-link:focus-visible,
.profile-edit-cancel:hover,
.profile-edit-cancel:focus-visible {
  outline: none;
  border-color: rgba(141, 255, 79, 0.74);
  background: rgba(141, 255, 79, 0.075);
  color: var(--acid);
  box-shadow: 0 0 22px rgba(61, 255, 180, 0.08);
  transform: translateY(-1px);
}

.identity-actions .auth-logout {
  margin: 0;
}

.comment-profile-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.comment-avatar.comment-profile-link {
  border: 1px solid rgba(var(--discussion-accent), 0.42);
  background:
    radial-gradient(circle, rgba(var(--discussion-accent), 0.16), transparent 68%),
    rgba(2, 12, 9, 0.88);
  color: rgb(var(--discussion-accent));
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.comment-avatar.comment-profile-link:hover,
.comment-avatar.comment-profile-link:focus-visible {
  outline: none;
  border-color: rgba(var(--discussion-accent), 0.86);
  box-shadow:
    0 0 12px rgba(var(--discussion-accent), 0.22),
    inset 0 0 12px rgba(var(--discussion-accent), 0.06);
  transform: scale(1.06);
}

.comment-author-profile {
  overflow: hidden;
  color: #effff7;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-author-profile:hover,
.comment-author-profile:focus-visible,
.comment-handle.comment-profile-link:hover,
.comment-handle.comment-profile-link:focus-visible {
  outline: none;
  color: var(--acid);
  text-shadow: 0 0 10px rgba(141, 255, 79, 0.28);
}

.comment-handle.comment-profile-link {
  width: max-content;
  max-width: 100%;
  text-align: left;
}

.profile-overlay {
  position: fixed;
  z-index: 270;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 20px;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 224, 255, 0.07), transparent 34rem),
    radial-gradient(circle at 82% 68%, rgba(61, 255, 180, 0.06), transparent 28rem),
    rgba(0, 4, 4, 0.82);
  backdrop-filter: blur(11px) saturate(0.76);
  transition: opacity 210ms ease;
}

.profile-overlay.is-open {
  opacity: 1;
}

.profile-overlay.is-closing {
  opacity: 0;
}

.profile-console {
  --profile-accent: 141, 255, 79;
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100vh - 40px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(var(--profile-accent), 0.38);
  padding: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(145deg, rgba(6, 27, 20, 0.988), rgba(1, 8, 8, 0.995) 54%, rgba(3, 18, 15, 0.99)),
    #020807;
  box-shadow:
    0 45px 130px rgba(0, 0, 0, 0.68),
    inset 0 0 0 1px rgba(0, 224, 255, 0.028),
    inset 0 0 130px rgba(61, 255, 180, 0.024),
    0 0 52px rgba(61, 255, 180, 0.045);
  clip-path: polygon(34px 0, calc(100% - 34px) 0, 100% 34px, 100% calc(100% - 34px), calc(100% - 34px) 100%, 34px 100%, 0 calc(100% - 34px), 0 34px);
  opacity: 0;
  transform: translateY(18px) scale(0.975);
  transition:
    opacity 250ms ease,
    transform 350ms cubic-bezier(.18, .8, .18, 1);
}

.profile-overlay.is-open .profile-console {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.profile-overlay.is-closing .profile-console {
  opacity: 0;
  transform: translateY(14px) scale(0.98);
}

.profile-console::-webkit-scrollbar {
  width: 9px;
}

.profile-console::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.28);
}

.profile-console::-webkit-scrollbar-thumb {
  background: rgba(var(--profile-accent), 0.3);
}

.profile-console::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(83, 255, 166, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 224, 255, 0.042) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black, transparent 92%);
  content: "";
  pointer-events: none;
}

.profile-console::after {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 34px;
  left: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acid), var(--cyan), transparent);
  box-shadow: 0 0 18px rgba(61, 255, 180, 0.44);
  content: "";
  pointer-events: none;
}

.profile-console-scan {
  position: absolute;
  z-index: 3;
  right: 0;
  left: 0;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(141, 255, 79, 0.82), rgba(0, 224, 255, 0.64), transparent);
  box-shadow: 0 0 24px rgba(61, 255, 180, 0.5);
  pointer-events: none;
}

.profile-overlay.is-open .profile-console-scan {
  animation: profile-console-scan 1.15s 140ms ease-out both;
}

.profile-console-header,
.profile-message,
.profile-loading,
.profile-error,
.profile-view,
.profile-edit-form,
.profile-console-footer {
  position: relative;
  z-index: 5;
}

.profile-console-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.24);
  padding-bottom: 20px;
}

.profile-console-kicker,
.profile-edit-heading p,
.profile-section > header p {
  margin: 0 0 7px;
  color: var(--toxic);
  font-size: 0.6rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.profile-console-header h2 {
  margin: 0;
  color: #f1fff8;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.profile-close {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(83, 255, 166, 0.32);
  background: rgba(3, 15, 12, 0.72);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.profile-close span::before,
.profile-close span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1px;
  background: var(--toxic);
  content: "";
  box-shadow: 0 0 8px rgba(53, 255, 154, 0.5);
}

.profile-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.profile-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.profile-close:hover,
.profile-close:focus-visible {
  outline: none;
  border-color: rgba(141, 255, 79, 0.76);
  background: rgba(141, 255, 79, 0.08);
  box-shadow: 0 0 20px rgba(141, 255, 79, 0.1);
}

.profile-message {
  margin: 18px 0 0;
  border: 1px solid rgba(0, 224, 255, 0.28);
  padding: 11px 14px;
  background: rgba(0, 224, 255, 0.045);
  color: var(--cyan);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-message.success {
  border-color: rgba(141, 255, 79, 0.38);
  background: rgba(141, 255, 79, 0.055);
  color: var(--acid);
}

.profile-message.error {
  border-color: rgba(255, 73, 109, 0.42);
  background: rgba(255, 73, 109, 0.055);
  color: #ff7892;
}

.profile-loading {
  display: grid;
  min-height: 330px;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: rgba(190, 216, 206, 0.62);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.profile-error {
  min-height: 330px;
  padding: 70px 20px;
  text-align: center;
}

.profile-error > p {
  margin: 0 0 10px;
  color: var(--danger);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.profile-error h3 {
  margin: 0 0 12px;
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.05em;
}

.profile-error > span {
  display: block;
  max-width: 580px;
  margin: 0 auto 24px;
  color: var(--muted);
  line-height: 1.65;
}

.profile-error button {
  min-height: 44px;
  border: 1px solid rgba(255, 73, 109, 0.46);
  padding: 0 20px;
  background: rgba(255, 73, 109, 0.06);
  color: #ff7892;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}

.profile-view {
  padding-top: 30px;
}

.profile-identity {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  min-height: 230px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.18);
  padding: 8px 12px 32px;
}

.profile-avatar-lock {
  position: relative;
  display: grid;
  width: 168px;
  height: 168px;
  place-items: center;
}

.profile-avatar-lock::before,
.profile-avatar-lock::after,
.profile-avatar-ring {
  position: absolute;
  border: 1px solid rgba(53, 255, 154, 0.34);
  border-radius: 50%;
  content: "";
}

.profile-avatar-lock::before {
  inset: 0;
  border-right-color: var(--acid);
  border-bottom-color: var(--cyan);
  animation: identity-orbit 9s linear infinite;
}

.profile-avatar-lock::after {
  inset: 19px;
  border-top-color: var(--cyan);
  border-left-color: var(--acid);
  animation: identity-orbit 6.3s linear infinite reverse;
}

.profile-avatar-ring {
  inset: 38px;
  background: radial-gradient(circle, rgba(141, 255, 79, 0.12), rgba(0, 224, 255, 0.035) 48%, transparent 70%);
  box-shadow:
    inset 0 0 28px rgba(53, 255, 154, 0.08),
    0 0 34px rgba(0, 224, 255, 0.055);
}

.profile-initials {
  position: relative;
  z-index: 2;
  display: grid;
  width: 74px;
  height: 84px;
  place-items: center;
  background: linear-gradient(145deg, var(--acid), var(--toxic) 52%, var(--cyan));
  color: #021008;
  font-size: 1.4rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  clip-path: polygon(50% 0, 94% 24%, 83% 78%, 50% 100%, 17% 78%, 6% 24%);
  filter: drop-shadow(0 0 15px rgba(61, 255, 180, 0.42));
}

.profile-role-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--acid);
  font-size: 0.61rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile-role-line i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(141, 255, 79, 0.76);
  animation: auth-light-pulse 1.75s ease-in-out infinite;
}

.profile-identity-copy h3 {
  margin: 0;
  color: #f3fff9;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  overflow-wrap: anywhere;
}

.profile-handle {
  margin: 10px 0 20px;
  color: var(--toxic);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.profile-bio {
  max-width: 700px;
  margin: 0;
  white-space: pre-wrap;
  color: #c3dacf;
  font-size: 0.98rem;
  line-height: 1.72;
}

.profile-bio.is-empty {
  color: rgba(190, 216, 206, 0.42);
  font-style: italic;
}

.profile-locator {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 22px;
}

.profile-locator > span,
.profile-locator > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  color: rgba(190, 216, 206, 0.68);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-decoration: none;
}

.profile-locator b {
  color: rgba(141, 255, 79, 0.72);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
}

.profile-locator > a {
  border-bottom: 1px solid rgba(0, 224, 255, 0.28);
  color: var(--cyan);
}

.profile-locator > a:hover,
.profile-locator > a:focus-visible {
  outline: none;
  border-color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 224, 255, 0.32);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 1px solid rgba(83, 255, 166, 0.2);
  border-left: 1px solid rgba(83, 255, 166, 0.2);
}

.profile-stats > div {
  display: grid;
  gap: 8px;
  min-height: 92px;
  border-right: 1px solid rgba(83, 255, 166, 0.2);
  border-bottom: 1px solid rgba(83, 255, 166, 0.2);
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(53, 255, 154, 0.027), transparent),
    rgba(0, 0, 0, 0.16);
}

.profile-stats span {
  color: rgba(190, 216, 206, 0.46);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-stats strong {
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-shadow: 0 0 14px rgba(141, 255, 79, 0.18);
}

.profile-commands {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.profile-edit-button {
  border-color: rgba(141, 255, 79, 0.65);
  background: linear-gradient(105deg, rgba(141, 255, 79, 0.94), rgba(53, 255, 154, 0.94), rgba(0, 224, 255, 0.92));
  color: #021008;
}

.profile-section {
  margin-top: 32px;
  border-top: 1px solid rgba(83, 255, 166, 0.21);
  padding-top: 22px;
}

.profile-section > header {
  margin-bottom: 15px;
}

.profile-section h4 {
  margin: 0;
  color: #f0fff7;
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  letter-spacing: -0.045em;
}

.profile-boosted-games {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-node-chip {
  display: inline-grid;
  gap: 4px;
  min-width: 180px;
  border: 1px solid rgba(83, 255, 166, 0.24);
  padding: 12px 15px;
  background: rgba(2, 14, 11, 0.72);
  color: var(--soft);
  text-align: left;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.profile-node-chip span {
  color: rgba(141, 255, 79, 0.58);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.48rem;
  letter-spacing: 0.12em;
}

.profile-node-chip strong {
  font-size: 0.72rem;
}

.profile-node-chip:hover,
.profile-node-chip:focus-visible {
  outline: none;
  border-color: rgba(141, 255, 79, 0.72);
  background: rgba(141, 255, 79, 0.065);
  color: var(--acid);
  box-shadow: 0 0 18px rgba(61, 255, 180, 0.06);
}

.profile-activity {
  display: grid;
  gap: 10px;
}

.profile-activity-entry {
  border: 1px solid rgba(83, 255, 166, 0.15);
  padding: 14px 16px;
  background:
    linear-gradient(100deg, rgba(53, 255, 154, 0.025), transparent 42%),
    rgba(0, 0, 0, 0.14);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.profile-activity-entry header,
.profile-activity-entry footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.profile-activity-channel {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--toxic);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.profile-activity-channel:hover,
.profile-activity-channel:focus-visible {
  outline: none;
  color: var(--acid);
  text-shadow: 0 0 10px rgba(141, 255, 79, 0.32);
}

.profile-activity-entry time,
.profile-activity-entry footer {
  color: rgba(190, 216, 206, 0.38);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.07em;
}

.profile-activity-entry > p {
  margin: 12px 0;
  white-space: pre-wrap;
  color: #c4d9d0;
  font-size: 0.87rem;
  line-height: 1.6;
}

.profile-section-empty {
  display: grid;
  min-height: 92px;
  place-items: center;
  align-content: center;
  gap: 6px;
  border: 1px dashed rgba(83, 255, 166, 0.16);
  padding: 18px;
  color: rgba(190, 216, 206, 0.38);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-align: center;
}

.profile-section-empty p {
  margin: 0;
  color: rgba(190, 216, 206, 0.42);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: normal;
}

.profile-empty-symbol {
  color: rgba(141, 255, 79, 0.42);
  font-size: 1.8rem;
}

.profile-edit-form {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin: 30px auto 0;
}

.profile-edit-heading {
  border-bottom: 1px solid rgba(83, 255, 166, 0.2);
  padding-bottom: 18px;
}

.profile-edit-heading h3 {
  margin: 0 0 8px;
  color: #f1fff8;
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.05em;
}

.profile-edit-heading > span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.profile-edit-field {
  display: grid;
  gap: 8px;
}

.profile-edit-field label {
  color: var(--soft);
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-edit-field input,
.profile-edit-field textarea {
  width: 100%;
  border: 1px solid rgba(83, 255, 166, 0.24);
  border-radius: 0;
  padding: 13px 14px;
  outline: none;
  resize: vertical;
  background:
    linear-gradient(180deg, rgba(6, 24, 18, 0.82), rgba(1, 9, 8, 0.92));
  color: #effff7;
  caret-color: var(--acid);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.3);
}

.profile-edit-field input {
  min-height: 48px;
}

.profile-edit-field input:focus,
.profile-edit-field textarea:focus {
  border-color: rgba(141, 255, 79, 0.78);
  box-shadow:
    inset 0 0 22px rgba(0, 0, 0, 0.32),
    0 0 0 2px rgba(141, 255, 79, 0.055),
    0 0 20px rgba(61, 255, 180, 0.055);
}

.profile-edit-field input[aria-invalid="true"],
.profile-edit-field textarea[aria-invalid="true"] {
  border-color: rgba(255, 73, 109, 0.75);
}

.profile-field-error {
  min-height: 1em;
  color: #ff7892;
  font-size: 0.64rem;
}

.profile-field-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(190, 216, 206, 0.42);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
}

#profile-bio-count.is-near-limit {
  color: var(--amber);
}

#profile-bio-count.is-over-limit {
  color: var(--danger);
}

.profile-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid rgba(83, 255, 166, 0.18);
  padding-top: 20px;
}

.profile-edit-save {
  min-width: 220px;
  border-color: rgba(141, 255, 79, 0.68);
  background: linear-gradient(105deg, var(--acid), var(--toxic) 58%, var(--cyan));
  color: #021008;
}

.profile-edit-save:hover,
.profile-edit-save:focus-visible {
  outline: none;
  filter: brightness(1.08);
  box-shadow:
    0 0 22px rgba(53, 255, 154, 0.24),
    0 0 42px rgba(0, 224, 255, 0.09);
  transform: translateY(-1px);
}

.profile-edit-form.is-submitting .profile-edit-save span {
  animation: text-flicker 0.75s steps(2) infinite;
}

.profile-edit-form.is-submitting button,
.profile-edit-form.is-submitting input,
.profile-edit-form.is-submitting textarea {
  cursor: wait;
  opacity: 0.72;
}

.profile-console-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  border-top: 1px solid rgba(83, 255, 166, 0.2);
  padding-top: 15px;
  color: rgba(190, 216, 206, 0.34);
  font-size: 0.5rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

@keyframes profile-console-scan {
  0% {
    top: 6%;
    opacity: 0;
  }
  12% {
    opacity: 0.9;
  }
  84% {
    opacity: 0.62;
  }
  100% {
    top: 94%;
    opacity: 0;
  }
}

@media (max-width: 820px) {
  .profile-overlay {
    padding: 0;
  }

  .profile-console {
    width: 100%;
    max-height: none;
    min-height: 100%;
    border: 0;
    padding: 24px;
    clip-path: none;
  }

  .profile-identity {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .profile-locator {
    justify-content: center;
  }

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

  .profile-commands {
    justify-content: stretch;
  }

  .profile-commands button {
    flex: 1;
  }
}

@media (max-width: 620px) {
  .identity-actions {
    grid-template-columns: 1fr;
  }

  .profile-console-header h2 {
    font-size: 2rem;
  }

  .profile-avatar-lock {
    width: 142px;
    height: 142px;
  }

  .profile-identity-copy h3 {
    font-size: 2.65rem;
  }

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

  .profile-stats > div {
    min-height: 80px;
    padding: 14px;
  }

  .profile-commands,
  .profile-edit-actions,
  .profile-activity-entry header,
  .profile-activity-entry footer,
  .profile-console-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-commands button,
  .profile-edit-actions button {
    width: 100%;
  }

  .profile-node-chip {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-console,
  .profile-console-scan,
  .profile-avatar-lock::before,
  .profile-avatar-lock::after,
  .profile-role-line i {
    animation: none !important;
    transition: none !important;
  }
}


/* ============================================================
   NETWORK FEED // LIVE SIGNAL
   ============================================================ */

.network-feed {
  margin-top: 78px;
}

.feed-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-counter {
  min-width: 92px;
  border: 1px solid rgba(61, 255, 180, 0.2);
  padding: 10px 14px;
  background: rgba(2, 18, 13, 0.58);
}

.feed-counter span {
  display: block;
  color: rgba(197, 226, 213, 0.44);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.feed-counter strong {
  color: var(--acid);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.feed-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(61, 255, 180, 0.22);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  background:
    linear-gradient(180deg, rgba(5, 28, 19, 0.94), rgba(1, 9, 8, 0.97)),
    radial-gradient(circle at 82% 12%, rgba(141, 255, 79, 0.04), transparent 30%);
  box-shadow: inset 0 0 72px rgba(61, 255, 180, 0.022), 0 28px 80px rgba(0, 0, 0, 0.34);
}

.feed-console::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(61, 255, 180, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 255, 180, 0.018) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
}

.feed-console-scan {
  position: absolute;
  z-index: 3;
  right: 0;
  left: 0;
  top: -2px;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(141, 255, 79, 0.76), rgba(0, 224, 255, 0.72), transparent);
  box-shadow: 0 0 18px rgba(61, 255, 180, 0.32);
  animation: feed-scan 7s linear infinite;
}

.feed-console-header,
.feed-console-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(61, 255, 180, 0.14);
}

.feed-console-header p,
.feed-console-header strong {
  margin: 0;
}

.feed-console-header p {
  color: rgba(164, 199, 184, 0.48);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.feed-console-header strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

#feed-status {
  color: var(--acid);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feed-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0;
  padding: 0 24px;
}

.feed-entry {
  --feed-accent: 61, 255, 180;
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 112px;
  border-bottom: 1px solid rgba(61, 255, 180, 0.12);
  opacity: 0;
  animation: feed-entry-in 480ms cubic-bezier(.2,.75,.2,1) both;
  animation-delay: calc(min(var(--feed-index), 8) * 55ms);
}

.feed-game_boosted,
.feed-comment_boosted { --feed-accent: 141, 255, 79; }
.feed-operator_joined { --feed-accent: 0, 224, 255; }

.feed-event-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;
}

.feed-event-glyph {
  position: relative;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(var(--feed-accent), 0.46);
  border-radius: 50%;
  background: rgba(2, 13, 10, 0.96);
  color: rgb(var(--feed-accent));
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 0 18px rgba(var(--feed-accent), 0.1);
}

.feed-event-line {
  position: absolute;
  top: 54px;
  bottom: -1px;
  width: 1px;
  background: linear-gradient(rgba(var(--feed-accent), 0.36), rgba(var(--feed-accent), 0.05));
}

.feed-event-body {
  padding: 18px 8px 18px 4px;
}

.feed-event-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.feed-event-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feed-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(var(--feed-accent), 0.38);
  border-radius: 50%;
  background: rgba(4, 24, 17, 0.82);
  color: rgb(var(--feed-accent));
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  cursor: pointer;
}

.feed-identity-copy { display: grid; gap: 2px; }
.feed-name-line { display: flex; align-items: center; gap: 8px; }

.feed-profile-link,
.feed-game-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #eafff2;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.feed-profile-link:hover,
.feed-game-link:hover {
  color: var(--green);
  text-shadow: 0 0 12px rgba(61, 255, 180, 0.28);
}

.feed-profile-link.inline {
  display: inline;
  color: rgb(var(--feed-accent));
}

.feed-handle {
  color: rgba(165, 209, 188, 0.5);
  font-size: 0.67rem;
  letter-spacing: 0.04em;
}

.feed-role {
  border: 1px solid rgba(141, 255, 79, 0.28);
  padding: 2px 5px;
  color: var(--acid);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.feed-time {
  color: rgba(156, 192, 176, 0.44);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.feed-action {
  margin-top: 11px;
  color: rgba(207, 230, 218, 0.76);
  font-size: 0.86rem;
  line-height: 1.55;
}

.feed-action-code {
  color: rgb(var(--feed-accent));
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feed-game-link { color: var(--teal); }

.feed-excerpt {
  margin: 10px 0 0;
  border-left: 1px solid rgba(var(--feed-accent), 0.36);
  padding: 8px 12px;
  background: linear-gradient(90deg, rgba(var(--feed-accent), 0.045), transparent 72%);
  color: rgba(213, 231, 222, 0.7);
  font-size: 0.82rem;
  line-height: 1.55;
  cursor: pointer;
}

.feed-excerpt:hover { color: #ecfff5; }

.feed-console-footer {
  border-top: 1px solid rgba(61, 255, 180, 0.1);
  border-bottom: 0;
  color: rgba(145, 181, 164, 0.38);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.feed-message {
  position: relative;
  z-index: 2;
  margin: 14px 24px 0;
  border: 1px solid rgba(255, 79, 109, 0.28);
  padding: 10px 12px;
  background: rgba(45, 4, 13, 0.45);
  color: #ff879c;
  font-size: 0.72rem;
}

.feed-loading,
.feed-empty {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(176, 207, 191, 0.48);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.feed-empty { flex-direction: column; text-align: center; }
.feed-empty p { max-width: 470px; margin: 0; }
.feed-empty-mark { color: var(--acid); font-size: 1.35rem; }

@keyframes feed-scan {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 0.7; }
  55% { opacity: 0.35; }
  100% { transform: translateY(620px); opacity: 0; }
}

@keyframes feed-entry-in {
  from { opacity: 0; transform: translateY(8px); filter: brightness(1.3); }
  to { opacity: 1; transform: translateY(0); filter: none; }
}

@media (max-width: 760px) {
  .network-feed { margin-top: 58px; }
  .feed-controls { width: 100%; justify-content: space-between; }
  .feed-console-header, .feed-console-footer { align-items: flex-start; flex-direction: column; }
  .feed-list { padding: 0 14px; }
  .feed-entry { grid-template-columns: 42px 1fr; }
  .feed-event-header { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .feed-console-scan, .feed-entry { animation: none !important; }
  .feed-entry { opacity: 1; }
}


/* ============================================================
   NOTIFICATIONS V1 // PRIVATE SIGNAL CHANNEL
   ============================================================ */

body.notification-open {
  overflow: hidden;
}

.notification-trigger {
  --notification-accent: 0, 224, 255;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 142px;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid rgba(var(--notification-accent), 0.28);
  padding: 7px 13px;
  background:
    linear-gradient(105deg, rgba(var(--notification-accent), 0.06), rgba(1, 10, 8, 0.84) 58%),
    rgba(2, 9, 8, 0.9);
  color: var(--soft);
  text-align: left;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  box-shadow: inset 0 0 0 1px rgba(0, 224, 255, 0.02);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.notification-trigger::after {
  position: absolute;
  top: 0;
  right: 12px;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--notification-accent), 0.9));
  box-shadow: 0 0 12px rgba(var(--notification-accent), 0.34);
  content: "";
}

.notification-trigger:hover,
.notification-trigger:focus-visible {
  border-color: rgba(var(--notification-accent), 0.68);
  outline: none;
  background:
    linear-gradient(105deg, rgba(var(--notification-accent), 0.12), rgba(1, 10, 8, 0.93) 60%),
    rgba(2, 9, 8, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.035),
    0 0 18px rgba(var(--notification-accent), 0.1);
  transform: translateY(-1px);
}

.notification-trigger.has-unread {
  --notification-accent: 141, 255, 79;
  border-color: rgba(var(--notification-accent), 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.025),
    0 0 16px rgba(var(--notification-accent), 0.11),
    0 0 32px rgba(var(--notification-accent), 0.035);
}

.notification-trigger-glyph {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(var(--notification-accent), 0.38);
  border-radius: 50%;
  color: rgb(var(--notification-accent));
}

.notification-trigger-glyph i {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.46;
}

.notification-trigger-glyph i:nth-child(1) { width: 5px; height: 5px; background: currentColor; opacity: 1; }
.notification-trigger-glyph i:nth-child(2) { width: 13px; height: 13px; }
.notification-trigger-glyph i:nth-child(3) { width: 21px; height: 21px; }

.notification-trigger.has-unread .notification-trigger-glyph i:nth-child(2),
.notification-trigger.has-unread .notification-trigger-glyph i:nth-child(3) {
  animation: notification-radar-pulse 1.8s ease-out infinite;
}

.notification-trigger-copy {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.notification-trigger-copy > span {
  color: rgba(190, 216, 206, 0.54);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.notification-trigger-copy strong {
  margin-top: 4px;
  color: rgb(var(--notification-accent));
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 9px rgba(var(--notification-accent), 0.28);
  white-space: nowrap;
}

.notification-overlay {
  position: fixed;
  z-index: 280;
  inset: 0;
  display: grid;
  justify-items: end;
  overflow-y: auto;
  opacity: 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 224, 255, 0.075), transparent 34rem),
    rgba(0, 4, 4, 0.78);
  backdrop-filter: blur(10px) saturate(0.76);
  transition: opacity 210ms ease;
}

.notification-overlay.is-open { opacity: 1; }
.notification-overlay.is-closing { opacity: 0; }

.notification-console {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(670px, 100%);
  min-height: 100%;
  overflow: hidden;
  border-left: 1px solid rgba(0, 224, 255, 0.44);
  padding: clamp(26px, 4vw, 44px);
  background:
    linear-gradient(145deg, rgba(4, 25, 22, 0.99), rgba(1, 8, 8, 0.995) 58%, rgba(4, 20, 16, 0.99)),
    #020807;
  box-shadow:
    -38px 0 110px rgba(0, 0, 0, 0.66),
    inset 1px 0 0 rgba(141, 255, 79, 0.035),
    inset 0 0 120px rgba(0, 224, 255, 0.02);
  clip-path: polygon(34px 0, 100% 0, 100% 100%, 34px 100%, 0 calc(100% - 34px), 0 34px);
  transform: translateX(104%);
  transition: transform 330ms cubic-bezier(.2, .78, .18, 1);
}

.notification-overlay.is-open .notification-console { transform: translateX(0); }
.notification-overlay.is-closing .notification-console { transform: translateX(104%); }

.notification-console::before {
  position: absolute;
  inset: 0;
  opacity: 0.21;
  background-image:
    linear-gradient(rgba(0, 224, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 255, 166, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, black, transparent 90%);
  content: "";
  pointer-events: none;
}

.notification-console::after {
  position: absolute;
  z-index: 1;
  top: 34px;
  bottom: 34px;
  left: 0;
  width: 1px;
  background: linear-gradient(transparent, var(--cyan) 18%, var(--acid) 53%, var(--toxic) 82%, transparent);
  box-shadow: 0 0 12px rgba(0, 224, 255, 0.52), 0 0 30px rgba(141, 255, 79, 0.12);
  content: "";
  pointer-events: none;
}

.notification-console-scan {
  position: absolute;
  z-index: 3;
  right: 0;
  left: 0;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 224, 255, 0.8), rgba(141, 255, 79, 0.66), transparent);
  box-shadow: 0 0 22px rgba(0, 224, 255, 0.38);
  pointer-events: none;
}

.notification-overlay.is-open .notification-console-scan {
  animation: notification-console-scan 1.08s 160ms ease-out both;
}

.notification-console-header,
.notification-message,
.notification-toolbar,
.notification-list,
.notification-console-footer {
  position: relative;
  z-index: 5;
}

.notification-console-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(0, 224, 255, 0.22);
  padding-bottom: 20px;
}

.notification-console-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.notification-console-header h2 {
  margin: 0;
  color: #f1fff8;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(2.15rem, 6vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: 0 0 28px rgba(0, 224, 255, 0.07);
}

.notification-close {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 224, 255, 0.34);
  background: rgba(3, 15, 12, 0.72);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.notification-close span::before,
.notification-close span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1px;
  background: var(--cyan);
  content: "";
  box-shadow: 0 0 8px rgba(0, 224, 255, 0.48);
}

.notification-close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.notification-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.notification-close:hover,
.notification-close:focus-visible {
  border-color: rgba(141, 255, 79, 0.7);
  outline: none;
  background: rgba(141, 255, 79, 0.07);
}

.notification-message {
  margin: 18px 0 0;
  border: 1px solid rgba(0, 224, 255, 0.28);
  padding: 11px 13px;
  background: rgba(0, 224, 255, 0.045);
  color: var(--cyan);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.notification-message.success {
  border-color: rgba(141, 255, 79, 0.34);
  background: rgba(141, 255, 79, 0.05);
  color: var(--acid);
}

.notification-message.error {
  border-color: rgba(255, 73, 109, 0.4);
  background: rgba(255, 73, 109, 0.05);
  color: #ff7892;
}

.notification-toolbar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0 12px;
}

.notification-unread-readout {
  display: grid;
  min-width: 128px;
  border: 1px solid rgba(141, 255, 79, 0.25);
  padding: 10px 13px;
  background: rgba(141, 255, 79, 0.035);
}

.notification-unread-readout span {
  color: rgba(190, 216, 206, 0.5);
  font-size: 0.49rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.notification-unread-readout strong {
  margin-top: 4px;
  color: var(--acid);
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.notification-toolbar-actions {
  display: flex;
  gap: 9px;
}

.notification-toolbar-actions button {
  min-height: 42px;
  border: 1px solid rgba(0, 224, 255, 0.26);
  padding: 0 14px;
  background: rgba(0, 224, 255, 0.035);
  color: var(--cyan);
  font: inherit;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.notification-toolbar-actions button:hover,
.notification-toolbar-actions button:focus-visible {
  border-color: rgba(141, 255, 79, 0.64);
  outline: none;
  color: var(--acid);
  background: rgba(141, 255, 79, 0.055);
}

.notification-toolbar-actions button:disabled {
  cursor: default;
  opacity: 0.38;
}

.notification-list {
  flex: 1;
  min-height: 240px;
  overflow-y: auto;
  border-top: 1px solid rgba(0, 224, 255, 0.13);
  border-bottom: 1px solid rgba(0, 224, 255, 0.11);
  scrollbar-color: rgba(0, 224, 255, 0.36) rgba(0, 8, 7, 0.8);
}

.notification-entry {
  --notification-entry-accent: 61, 255, 180;
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  min-height: 126px;
  border-bottom: 1px solid rgba(var(--notification-entry-accent), 0.12);
  opacity: 0;
  cursor: pointer;
  animation: notification-entry-in 440ms cubic-bezier(.2,.75,.2,1) both;
  animation-delay: calc(min(var(--notification-index), 8) * 50ms);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.notification-entry.notification-acid { --notification-entry-accent: 141, 255, 79; }
.notification-entry.notification-cyan { --notification-entry-accent: 0, 224, 255; }
.notification-entry.notification-toxic { --notification-entry-accent: 53, 255, 154; }

.notification-entry.is-unread {
  background:
    linear-gradient(90deg, rgba(var(--notification-entry-accent), 0.075), transparent 74%),
    rgba(var(--notification-entry-accent), 0.012);
  box-shadow: inset 2px 0 0 rgba(var(--notification-entry-accent), 0.72);
}

.notification-entry:hover,
.notification-entry:focus-visible {
  outline: none;
  background: linear-gradient(90deg, rgba(var(--notification-entry-accent), 0.09), transparent 78%);
  box-shadow:
    inset 2px 0 0 rgba(var(--notification-entry-accent), 0.78),
    inset 0 0 38px rgba(var(--notification-entry-accent), 0.018);
}

.notification-event-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;
}

.notification-event-glyph {
  position: relative;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(var(--notification-entry-accent), 0.5);
  border-radius: 50%;
  background: rgba(2, 13, 10, 0.97);
  color: rgb(var(--notification-entry-accent));
  font-size: 0.59rem;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(var(--notification-entry-accent), 0.11);
}

.notification-event-line {
  position: absolute;
  top: 56px;
  bottom: -1px;
  width: 1px;
  background: linear-gradient(rgba(var(--notification-entry-accent), 0.36), rgba(var(--notification-entry-accent), 0.04));
}

.notification-event-body {
  padding: 18px 8px 18px 4px;
}

.notification-event-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.notification-event-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.notification-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(var(--notification-entry-accent), 0.4);
  border-radius: 50%;
  background: rgba(4, 24, 17, 0.84);
  color: rgb(var(--notification-entry-accent));
  font: inherit;
  font-size: 0.67rem;
  font-weight: 900;
  cursor: pointer;
}

.notification-avatar:disabled,
.notification-profile-link:disabled {
  cursor: default;
}

.notification-identity-copy { display: grid; gap: 2px; min-width: 0; }
.notification-name-line { display: flex; align-items: center; gap: 7px; min-width: 0; }

.notification-profile-link {
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  color: #ecfff5;
  font: inherit;
  font-weight: 850;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.notification-profile-link:not(:disabled):hover,
.notification-profile-link:not(:disabled):focus-visible {
  outline: none;
  color: rgb(var(--notification-entry-accent));
  text-shadow: 0 0 10px rgba(var(--notification-entry-accent), 0.3);
}

.notification-profile-link.inline {
  display: inline;
  color: rgb(var(--notification-entry-accent));
  white-space: normal;
}

.notification-handle {
  overflow: hidden;
  color: rgba(165, 209, 188, 0.48);
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-role {
  flex: 0 0 auto;
  border: 1px solid rgba(141, 255, 79, 0.28);
  padding: 2px 5px;
  color: var(--acid);
  font-size: 0.47rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.notification-time-block {
  display: grid;
  justify-items: end;
  gap: 4px;
  flex: 0 0 auto;
}

.notification-unread-tag {
  color: var(--acid);
  font-size: 0.46rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-shadow: 0 0 9px rgba(141, 255, 79, 0.35);
}

.notification-time {
  color: rgba(159, 194, 176, 0.42);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notification-action {
  margin-top: 10px;
  color: rgba(214, 234, 224, 0.7);
  font-size: 0.78rem;
  line-height: 1.55;
}

.notification-action-code {
  color: rgb(var(--notification-entry-accent));
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.notification-game-name { color: var(--teal); }

.notification-excerpt {
  margin: 9px 0 0;
  border-left: 1px solid rgba(var(--notification-entry-accent), 0.36);
  padding: 7px 11px;
  background: linear-gradient(90deg, rgba(var(--notification-entry-accent), 0.04), transparent 74%);
  color: rgba(205, 227, 216, 0.66);
  font-size: 0.76rem;
  line-height: 1.5;
}

.notification-command {
  display: block;
  margin-top: 10px;
  color: rgba(var(--notification-entry-accent), 0.52);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.notification-loading,
.notification-empty {
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px;
  color: rgba(176, 207, 191, 0.48);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.notification-empty { flex-direction: column; }
.notification-empty p { max-width: 420px; margin: 0; line-height: 1.55; text-transform: none; }
.notification-empty-mark { color: var(--cyan); font-size: 1.35rem; }

.notification-console-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  border-top: 1px solid rgba(0, 224, 255, 0.14);
  padding-top: 14px;
  color: rgba(145, 181, 164, 0.36);
  font-size: 0.49rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes notification-radar-pulse {
  0% { opacity: 0.7; transform: scale(0.55); }
  72%, 100% { opacity: 0; transform: scale(1.2); }
}

@keyframes notification-console-scan {
  0% { top: 2%; opacity: 0; }
  15% { opacity: 0.9; }
  88% { opacity: 0.58; }
  100% { top: 96%; opacity: 0; }
}

@keyframes notification-entry-in {
  from { opacity: 0; transform: translateX(8px); filter: brightness(1.25); }
  to { opacity: 1; transform: translateX(0); filter: none; }
}

@media (max-width: 1080px) {
  .top-rail-actions { flex-wrap: wrap; }
}

@media (max-width: 820px) {
  .notification-trigger { min-width: 132px; }
  .notification-console { width: min(620px, 100%); }
}

@media (max-width: 620px) {
  .notification-trigger { width: 100%; }
  .notification-console {
    min-height: 100%;
    padding: 26px 18px;
    clip-path: none;
  }
  .notification-console-header h2 { font-size: clamp(2rem, 12vw, 3rem); }
  .notification-toolbar,
  .notification-console-footer { align-items: stretch; flex-direction: column; }
  .notification-toolbar-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .notification-event-header { align-items: flex-start; flex-direction: column; }
  .notification-time-block { justify-items: start; }
  .notification-entry { grid-template-columns: 42px 1fr; }
}

@media (max-width: 420px) {
  .notification-toolbar-actions { grid-template-columns: 1fr; }
  .notification-console-header { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .notification-trigger-glyph i,
  .notification-console-scan,
  .notification-entry {
    animation: none !important;
    transition: none !important;
  }
  .notification-entry { opacity: 1; }
}


/* ============================================================
   OPERATOR CONNECTIONS V1
   Follow graph, public connection directory, and scoped feed.
   ============================================================ */

.feed-controls {
  flex-wrap: wrap;
}

.feed-scope-controls {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  min-height: 44px;
  border: 1px solid rgba(83, 255, 166, 0.18);
  background: rgba(1, 12, 9, 0.72);
}

.feed-scope-button {
  min-width: 112px;
  border: 0;
  border-right: 1px solid rgba(83, 255, 166, 0.14);
  padding: 0 15px;
  background: transparent;
  color: rgba(180, 210, 195, 0.58);
  font: inherit;
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.feed-scope-button:last-child {
  border-right: 0;
}

.feed-scope-button:hover,
.feed-scope-button:focus-visible,
.feed-scope-button.is-active {
  outline: none;
  background: rgba(61, 255, 180, 0.07);
  color: var(--toxic);
  box-shadow: inset 0 -1px 0 rgba(141, 255, 79, 0.68);
}

.feed-scope-button.is-locked:not(.is-active) {
  color: rgba(154, 171, 193, 0.38);
}

.feed-entry.feed-operator_followed .feed-event-glyph {
  border-color: rgba(0, 224, 255, 0.62);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 224, 255, 0.09);
}

.feed-entry.feed-operator_followed .feed-event-line {
  background: linear-gradient(rgba(0, 224, 255, 0.38), rgba(83, 255, 166, 0.05));
}

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

.profile-follow-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(0, 224, 255, 0.45);
  padding: 0 20px;
  background:
    linear-gradient(100deg, rgba(141, 255, 79, 0.94), rgba(0, 224, 255, 0.9));
  color: #01100c;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  box-shadow: 0 0 24px rgba(61, 255, 180, 0.12);
  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 160ms ease;
}

.profile-follow-button:hover,
.profile-follow-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 0 30px rgba(61, 255, 180, 0.2);
}

.profile-follow-button.is-following {
  border-color: rgba(141, 255, 79, 0.48);
  background: rgba(141, 255, 79, 0.07);
  color: var(--acid);
  box-shadow: inset 0 0 0 1px rgba(141, 255, 79, 0.04);
}

.profile-follow-button.is-loading,
.profile-follow-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.profile-connections-section {
  border-top-color: rgba(0, 224, 255, 0.18);
}

.profile-connections-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.profile-connection-tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(83, 255, 166, 0.2);
  background: rgba(0, 8, 7, 0.62);
}

.profile-connection-tab {
  min-height: 42px;
  border: 0;
  border-right: 1px solid rgba(83, 255, 166, 0.14);
  padding: 0 14px;
  background: transparent;
  color: rgba(185, 215, 200, 0.56);
  font: inherit;
  font-size: 0.57rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.profile-connection-tab:last-child {
  border-right: 0;
}

.profile-connection-tab span {
  margin-left: 7px;
  color: var(--acid);
}

.profile-connection-tab:hover,
.profile-connection-tab:focus-visible,
.profile-connection-tab.is-active {
  outline: none;
  background: rgba(61, 255, 180, 0.06);
  color: var(--toxic);
  box-shadow: inset 0 -1px 0 var(--acid);
}

.profile-connections-message {
  margin-top: 16px;
  border: 1px solid rgba(255, 85, 112, 0.35);
  padding: 10px 12px;
  background: rgba(255, 35, 72, 0.05);
  color: #ff7890;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-connections-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 17px;
}

.profile-connections-loading,
.profile-connections-empty {
  grid-column: 1 / -1;
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(83, 255, 166, 0.13);
  background: rgba(0, 8, 7, 0.42);
  color: rgba(183, 214, 198, 0.56);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.profile-connections-empty {
  flex-direction: column;
  padding: 24px;
}

.profile-connections-empty p {
  max-width: 480px;
  margin: 0;
  color: rgba(174, 203, 190, 0.52);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.profile-connection-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  border: 1px solid rgba(83, 255, 166, 0.17);
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(4, 24, 17, 0.78), rgba(1, 10, 9, 0.88));
  animation: profile-connection-acquire 420ms ease both;
}

.profile-connection-avatar {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 224, 255, 0.44);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(61, 255, 180, 0.14), transparent 66%),
    rgba(0, 12, 10, 0.88);
  color: var(--toxic);
  font: inherit;
  font-size: 0.66rem;
  font-weight: 1000;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.profile-connection-avatar:hover,
.profile-connection-avatar:focus-visible,
.profile-connection-name:hover,
.profile-connection-name:focus-visible {
  outline: none;
  color: var(--acid);
  text-shadow: 0 0 12px rgba(141, 255, 79, 0.3);
}

.profile-connection-copy {
  min-width: 0;
}

.profile-connection-name-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-connection-name {
  max-width: 100%;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  color: #f2fff8;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.profile-connection-role {
  border: 1px solid rgba(141, 255, 79, 0.34);
  padding: 2px 5px;
  color: var(--acid);
  font-size: 0.48rem;
  font-weight: 1000;
  letter-spacing: 0.09em;
}

.profile-connection-role.moderator {
  border-color: rgba(0, 224, 255, 0.35);
  color: var(--cyan);
}

.profile-connection-handle {
  display: block;
  margin-top: 2px;
  color: rgba(83, 255, 166, 0.62);
  font-family: var(--mono);
  font-size: 0.57rem;
}

.profile-connection-bio {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: rgba(194, 218, 206, 0.62);
  font-size: 0.7rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.profile-connection-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 9px;
  color: rgba(167, 198, 182, 0.5);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.07em;
}

.notification-entry.notification-acid.notification-operator_followed {
  --notification-accent: 141, 255, 79;
}

@keyframes profile-connection-acquire {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .profile-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-connections-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .feed-scope-controls {
    width: 100%;
  }

  .feed-scope-button {
    min-width: 0;
  }

  .profile-connections-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-connection-tabs {
    width: 100%;
  }

  .profile-connection-tab {
    padding-inline: 9px;
  }
}

@media (max-width: 560px) {
  .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-connection-card {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 11px;
  }

  .profile-connection-avatar {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-connection-card {
    animation: none;
  }
}


/* ============================================================
   LOW SIGNALX ARCADE — HERO RIFT POLISH V1
   A quiet terminal at rest. On hover, the Arcade identity
   fractures into chromatic signal slices as if resolving
   through a spatial transmission.
   ============================================================ */

.hero-panel {
  transition:
    transform 420ms cubic-bezier(.16,.78,.18,1),
    border-color 320ms ease,
    box-shadow 420ms ease,
    filter 320ms ease;
  transform-origin: 50% 50%;
}

.hero-panel:hover,
.hero-panel:focus-within {
  transform: perspective(1500px) translateY(-5px) rotateX(0.7deg);
  border-color: rgba(125, 255, 116, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.075),
    inset 0 0 125px rgba(31, 255, 136, 0.055),
    0 42px 130px rgba(0, 0, 0, 0.56),
    0 0 34px rgba(141, 255, 79, 0.08),
    0 0 72px rgba(0, 224, 255, 0.045);
}

/* Give the title region its own dimensional field. */
.hero-copy {
  isolation: isolate;
}

.hero-copy::before,
.hero-copy::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0;
}

.hero-copy::before {
  top: 22%;
  left: -8%;
  width: 112%;
  height: 54%;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 10px,
      rgba(141, 255, 79, 0.05) 10px 11px,
      transparent 11px 22px
    );
  filter: blur(0.2px);
  transform: skewX(-8deg) scaleX(0.82);
}

.hero-copy::after {
  top: 48%;
  left: -5%;
  width: 108%;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(0, 224, 255, 0.85) 18%,
      rgba(245, 255, 249, 0.96) 50%,
      rgba(141, 255, 79, 0.9) 78%,
      transparent
    );
  box-shadow:
    0 0 12px rgba(0, 224, 255, 0.72),
    0 0 28px rgba(141, 255, 79, 0.36);
  transform: scaleX(0);
  transform-origin: center;
}

.hero-panel:hover .hero-copy::before,
.hero-panel:focus-within .hero-copy::before {
  animation: hero-rift-field 880ms steps(8, end) both;
}

.hero-panel:hover .hero-copy::after,
.hero-panel:focus-within .hero-copy::after {
  animation: hero-rift-seam 760ms cubic-bezier(.12,.8,.2,1) both;
}

/* ARCADE is now one metallic signal instead of blue/white/green bands. */
.glitch {
  color: transparent;
  background:
    linear-gradient(
      180deg,
      #f7fff9 0%,
      #eef8f1 36%,
      #d3e0d8 67%,
      #91a79b 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 2px 0 rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 16px rgba(141, 255, 79, 0.08));
  transition:
    transform 240ms cubic-bezier(.2,.78,.2,1),
    filter 240ms ease,
    letter-spacing 260ms ease;
}

/* Chromatic duplicates stay almost invisible at rest. */
.glitch::before,
.glitch::after {
  animation: none;
  opacity: 0.035;
  mix-blend-mode: screen;
  -webkit-text-fill-color: currentColor;
}

.glitch::before {
  color: #00e0ff;
  clip-path: inset(14% 0 70% 0);
  transform: translateX(-1px);
}

.glitch::after {
  color: #8dff4f;
  clip-path: inset(72% 0 8% 0);
  transform: translateX(1px);
}

/* Hover: the title briefly tears into offset slices, then re-locks. */
.glitch:hover,
.hero-panel:hover .glitch,
.hero-panel:focus-within .glitch {
  letter-spacing: -0.078em;
  filter:
    drop-shadow(-9px 0 0 rgba(0, 224, 255, 0.13))
    drop-shadow(8px 0 0 rgba(141, 255, 79, 0.12))
    drop-shadow(0 0 18px rgba(245, 255, 249, 0.17))
    drop-shadow(0 0 34px rgba(141, 255, 79, 0.10));
  animation: hero-rift-lock 920ms cubic-bezier(.18,.8,.18,1) both;
}

.hero-panel:hover .glitch::before,
.hero-panel:focus-within .glitch::before {
  opacity: 0.84;
  animation: hero-rift-cyan 920ms steps(9, end) both;
}

.hero-panel:hover .glitch::after,
.hero-panel:focus-within .glitch::after {
  opacity: 0.76;
  animation: hero-rift-acid 920ms steps(8, end) both;
}

/* ONLINE gains a faint energy-surface shimmer rather than extra flat color. */
.online-word {
  -webkit-text-stroke: 1.35px rgba(141, 255, 79, 0.92);
  text-shadow:
    0 0 10px rgba(141, 255, 79, 0.28),
    0 0 28px rgba(61, 255, 180, 0.10),
    0 0 58px rgba(0, 224, 255, 0.045);
  transition:
    transform 280ms ease,
    text-shadow 280ms ease,
    letter-spacing 280ms ease;
}

.hero-panel:hover .online-word,
.hero-panel:focus-within .online-word {
  transform: translateX(7px);
  letter-spacing: -0.064em;
  text-shadow:
    -5px 0 13px rgba(0, 224, 255, 0.16),
    5px 0 13px rgba(141, 255, 79, 0.18),
    0 0 22px rgba(141, 255, 79, 0.46),
    0 0 62px rgba(61, 255, 180, 0.14);
}

.hero-panel:hover .online-word::after,
.hero-panel:focus-within .online-word::after {
  animation: hero-online-rip 860ms cubic-bezier(.18,.8,.18,1) both;
}

/* Telemetry reacts as part of the same spatial lock. */
.telemetry {
  transition:
    transform 420ms cubic-bezier(.16,.78,.18,1),
    border-color 320ms ease,
    box-shadow 420ms ease;
}

.hero-panel:hover .telemetry,
.hero-panel:focus-within .telemetry {
  transform: translate3d(4px, -3px, 0);
  border-color: rgba(83, 255, 166, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.045),
    inset 0 0 68px rgba(61, 255, 180, 0.035),
    0 0 30px rgba(0, 224, 255, 0.035),
    0 0 52px rgba(141, 255, 79, 0.025);
}

.hero-panel:hover .orb-core,
.hero-panel:focus-within .orb-core {
  animation:
    orb-float 3.2s ease-in-out infinite,
    hero-core-pulse 880ms ease-out 1;
}

/* Small invitation without adding another UI element. */
.hero-kicker::after {
  margin-left: 10px;
  color: rgba(190, 216, 206, 0.40);
  content: "// HOVER TO RESOLVE";
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  opacity: 0;
  transition: opacity 280ms ease;
}

.hero-panel:hover .hero-kicker::after,
.hero-panel:focus-within .hero-kicker::after {
  opacity: 1;
}

/* The actual "ripping into existence" sequence. */
@keyframes hero-rift-lock {
  0%   { transform: translate3d(0,0,0) skewX(0deg); }
  10%  { transform: translate3d(-6px,1px,0) skewX(-1.5deg); }
  18%  { transform: translate3d(8px,-2px,0) skewX(1.2deg); }
  27%  { transform: translate3d(-3px,0,0) skewX(-0.6deg); }
  38%  { transform: translate3d(4px,1px,0) skewX(0.35deg); }
  52%  { transform: translate3d(-1px,0,0) skewX(0deg); }
  100% { transform: translate3d(0,0,0) skewX(0deg); }
}

@keyframes hero-rift-cyan {
  0%   { clip-path: inset(4% 0 82% 0); transform: translate(-18px,-2px); }
  12%  { clip-path: inset(38% 0 44% 0); transform: translate(15px,1px); }
  24%  { clip-path: inset(66% 0 18% 0); transform: translate(-11px,0); }
  38%  { clip-path: inset(20% 0 63% 0); transform: translate(8px,-1px); }
  54%  { clip-path: inset(49% 0 33% 0); transform: translate(-5px,1px); }
  72%  { clip-path: inset(13% 0 74% 0); transform: translate(3px,0); }
  100% { clip-path: inset(14% 0 70% 0); transform: translate(-1px,0); opacity: 0.09; }
}

@keyframes hero-rift-acid {
  0%   { clip-path: inset(79% 0 4% 0); transform: translate(16px,2px); }
  14%  { clip-path: inset(57% 0 24% 0); transform: translate(-14px,0); }
  29%  { clip-path: inset(31% 0 52% 0); transform: translate(12px,-1px); }
  43%  { clip-path: inset(72% 0 11% 0); transform: translate(-7px,1px); }
  61%  { clip-path: inset(45% 0 37% 0); transform: translate(5px,0); }
  78%  { clip-path: inset(80% 0 7% 0); transform: translate(-2px,0); }
  100% { clip-path: inset(72% 0 8% 0); transform: translate(1px,0); opacity: 0.08; }
}

@keyframes hero-rift-field {
  0%   { opacity: 0; transform: skewX(-8deg) scaleX(.72) translateX(-5%); }
  18%  { opacity: .72; }
  37%  { opacity: .20; transform: skewX(-8deg) scaleX(1.04) translateX(2%); }
  51%  { opacity: .62; }
  70%  { opacity: .12; }
  100% { opacity: 0; transform: skewX(-8deg) scaleX(1.0) translateX(0); }
}

@keyframes hero-rift-seam {
  0%   { opacity: 0; transform: scaleX(0); }
  16%  { opacity: .95; transform: scaleX(.34); }
  34%  { opacity: .78; transform: scaleX(1.03); }
  56%  { opacity: .22; transform: scaleX(.88) translateY(15px); }
  100% { opacity: 0; transform: scaleX(.18) translateY(-8px); }
}

@keyframes hero-online-rip {
  0%   { clip-path: inset(0 100% 0 0); transform: translateX(-12px); opacity: 0; }
  16%  { clip-path: inset(0 72% 0 0); opacity: .82; }
  39%  { clip-path: inset(0 18% 0 0); transform: translateX(7px); opacity: .52; }
  66%  { clip-path: inset(0 0 0 72%); transform: translateX(-3px); opacity: .26; }
  100% { clip-path: inset(0 0 0 100%); transform: translateX(0); opacity: 0; }
}

@keyframes hero-core-pulse {
  0%   { filter: drop-shadow(0 0 0 rgba(141,255,79,0)); }
  35%  { filter: drop-shadow(0 0 20px rgba(141,255,79,.7)) drop-shadow(0 0 38px rgba(0,224,255,.25)); }
  100% { filter: drop-shadow(0 0 4px rgba(141,255,79,.2)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel,
  .hero-copy::before,
  .hero-copy::after,
  .glitch,
  .glitch::before,
  .glitch::after,
  .online-word,
  .online-word::after,
  .telemetry,
  .orb-core {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}


/* ============================================================
   LOW SIGNALX ARCADE — HERO RIFT SILVER TUNE V2
   Replaces the remaining cyan/blue hero-rift accents with
   cold silver/pearl light while keeping toxic green as the
   Low SignalX energy color.
   ============================================================ */

.hero-panel:hover,
.hero-panel:focus-within {
  border-color: rgba(164, 184, 174, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(220, 232, 226, 0.09),
    inset 0 0 125px rgba(31, 255, 136, 0.055),
    0 42px 130px rgba(0, 0, 0, 0.56),
    0 0 34px rgba(141, 255, 79, 0.08),
    0 0 72px rgba(220, 232, 226, 0.055);
}

.hero-copy::after {
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(178, 194, 187, 0.82) 18%,
      rgba(250, 255, 252, 0.98) 50%,
      rgba(141, 255, 79, 0.88) 78%,
      transparent
    );
  box-shadow:
    0 0 12px rgba(220, 232, 226, 0.66),
    0 0 28px rgba(141, 255, 79, 0.34);
}

/* First chromatic ghost becomes cold silver instead of cyan. */
.glitch::before {
  color: #dbe6e0;
  text-shadow:
    -4px 0 8px rgba(235, 244, 239, 0.34),
    0 0 14px rgba(191, 207, 199, 0.22);
}

/* Main title hover separation: silver + acid green, no blue band. */
.glitch:hover,
.hero-panel:hover .glitch,
.hero-panel:focus-within .glitch {
  filter:
    drop-shadow(-9px 0 0 rgba(214, 226, 220, 0.16))
    drop-shadow(8px 0 0 rgba(141, 255, 79, 0.12))
    drop-shadow(0 0 18px rgba(248, 255, 251, 0.18))
    drop-shadow(0 0 34px rgba(141, 255, 79, 0.10));
}

.online-word {
  text-shadow:
    0 0 10px rgba(141, 255, 79, 0.28),
    0 0 28px rgba(61, 255, 180, 0.10),
    0 0 58px rgba(220, 232, 226, 0.045);
}

.hero-panel:hover .online-word,
.hero-panel:focus-within .online-word {
  text-shadow:
    -5px 0 13px rgba(220, 232, 226, 0.18),
    5px 0 13px rgba(141, 255, 79, 0.18),
    0 0 22px rgba(141, 255, 79, 0.46),
    0 0 62px rgba(220, 232, 226, 0.08);
}

.hero-panel:hover .telemetry,
.hero-panel:focus-within .telemetry {
  border-color: rgba(145, 170, 158, 0.44);
  box-shadow:
    inset 0 0 0 1px rgba(220, 232, 226, 0.055),
    inset 0 0 68px rgba(61, 255, 180, 0.035),
    0 0 30px rgba(220, 232, 226, 0.04),
    0 0 52px rgba(141, 255, 79, 0.025);
}

/* Re-define the cyan-slice animation as a silver signal tear. */
@keyframes hero-rift-cyan {
  0%   { clip-path: inset(4% 0 82% 0); transform: translate(-18px,-2px); color: #eef5f1; }
  12%  { clip-path: inset(38% 0 44% 0); transform: translate(15px,1px); color: #aebdb5; }
  24%  { clip-path: inset(66% 0 18% 0); transform: translate(-11px,0); color: #f8fcfa; }
  38%  { clip-path: inset(20% 0 63% 0); transform: translate(8px,-1px); color: #bbc8c1; }
  54%  { clip-path: inset(49% 0 33% 0); transform: translate(-5px,1px); color: #ffffff; }
  72%  { clip-path: inset(13% 0 74% 0); transform: translate(3px,0); color: #ccd7d1; }
  100% { clip-path: inset(14% 0 70% 0); transform: translate(-1px,0); opacity: 0.09; color: #e5eee9; }
}

@keyframes hero-core-pulse {
  0%   { filter: drop-shadow(0 0 0 rgba(141,255,79,0)); }
  35%  {
    filter:
      drop-shadow(0 0 20px rgba(141,255,79,.7))
      drop-shadow(0 0 38px rgba(220,232,226,.18));
  }
  100% { filter: drop-shadow(0 0 4px rgba(141,255,79,.2)); }
}

/* ============================================================
   LOW SIGNALX BRAND LOCKUP
   ============================================================ */

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(190px, 18vw, 270px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 5px rgba(238, 245, 241, 0.18))
    drop-shadow(0 0 14px rgba(141, 255, 79, 0.12));
  transition:
    filter 260ms ease,
    transform 260ms cubic-bezier(.2,.75,.2,1);
}

.brand-lockup:hover .brand-logo,
.brand-lockup:focus-visible .brand-logo {
  transform: translateY(-1px);
  filter:
    drop-shadow(0 0 7px rgba(245, 255, 250, 0.28))
    drop-shadow(0 0 20px rgba(141, 255, 79, 0.24))
    drop-shadow(0 0 34px rgba(141, 255, 79, 0.08));
}

.brand-lockup:focus-visible {
  outline: none;
}

.brand-node {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--toxic);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.top-rail {
  min-height: 72px;
  padding-top: 4px;
  padding-bottom: 14px;
}

@media (max-width: 820px) {
  .brand-lockup {
    width: 100%;
    justify-content: space-between;
  }

  .brand-logo {
    width: clamp(175px, 42vw, 235px);
  }
}

@media (max-width: 620px) {
  .brand-lockup {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .brand-logo {
    width: 205px;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 180px;
  }

  .brand-node {
    font-size: 0.52rem;
  }
}


/* ============================================================
   DAILY TRANSMISSION V1
   Rotating UTC challenge, local test fallback, and API-ready
   verified leaderboard console.
   ============================================================ */

.daily-transmission {
  position: relative;
  margin-bottom: 82px;
  scroll-margin-top: 28px;
}

.daily-transmission-heading {
  align-items: end;
}

.daily-header-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.daily-sync-state {
  --daily-state: 255, 182, 77;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid rgba(var(--daily-state), 0.24);
  padding: 0 14px;
  background: rgba(var(--daily-state), 0.035);
  color: rgba(var(--daily-state), 0.82);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.daily-sync-state i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgb(var(--daily-state));
  box-shadow:
    0 0 7px rgba(var(--daily-state), 0.72),
    0 0 17px rgba(var(--daily-state), 0.22);
  animation: daily-state-pulse 1.45s ease-in-out infinite;
}

.daily-sync-state.is-server {
  --daily-state: 141, 255, 79;
}

.daily-sync-state.is-local {
  --daily-state: 220, 232, 226;
}

.daily-sync-state.is-error {
  --daily-state: 255, 73, 109;
}

.daily-refresh {
  min-width: 174px;
}

.daily-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.56fr) minmax(265px, 0.64fr);
  grid-template-areas:
    "challenge leader"
    "challenge reset";
  gap: 18px;
}

.daily-card,
.daily-leaderboard-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(83, 255, 166, 0.24);
  background:
    radial-gradient(circle at 15% 0%, rgba(141, 255, 79, 0.052), transparent 22rem),
    linear-gradient(145deg, rgba(5, 24, 18, 0.97), rgba(1, 8, 8, 0.99) 62%, rgba(4, 20, 16, 0.965));
  box-shadow:
    inset 0 0 0 1px rgba(220, 232, 226, 0.024),
    inset 0 0 78px rgba(61, 255, 180, 0.018),
    0 26px 72px rgba(0, 0, 0, 0.36);
}

.daily-card::before,
.daily-leaderboard-console::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.21;
  background-image:
    linear-gradient(rgba(83, 255, 166, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 232, 226, 0.032) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black, transparent 94%);
  content: "";
  pointer-events: none;
}

.daily-card::after,
.daily-leaderboard-console::after {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, var(--acid), rgba(220, 232, 226, 0.72), transparent);
  box-shadow: 0 0 16px rgba(141, 255, 79, 0.34);
  content: "";
  pointer-events: none;
}

.daily-card > *,
.daily-leaderboard-console > * {
  position: relative;
  z-index: 3;
}

.daily-card {
  padding: 22px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.daily-challenge-card {
  --accent: var(--acid);
  --accent-rgb: 141, 255, 79;
  --secondary: var(--toxic);
  grid-area: challenge;
  display: flex;
  min-height: 448px;
  flex-direction: column;
  padding: clamp(24px, 4vw, 42px);
}

.daily-leader-card {
  grid-area: leader;
  min-height: 216px;
}

.daily-reset-card {
  grid-area: reset;
  min-height: 216px;
}

.daily-card-scan,
.daily-leaderboard-scan {
  position: absolute;
  z-index: 2;
  top: -18%;
  right: 0;
  left: 0;
  height: 14%;
  border-bottom: 1px solid rgba(141, 255, 79, 0.52);
  background: linear-gradient(to bottom, transparent, rgba(141, 255, 79, 0.07));
  opacity: 0.48;
  pointer-events: none;
  animation: daily-scan 9s ease-in-out infinite;
}

.daily-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.16);
  padding-bottom: 13px;
  color: rgba(190, 216, 206, 0.5);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.daily-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--acid);
}

.daily-live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px rgba(141, 255, 79, 0.8);
  animation: daily-state-pulse 1.55s ease-in-out infinite;
}

.daily-challenge-copy {
  max-width: 740px;
}

.daily-card-kicker {
  margin: 0 0 11px;
  color: var(--toxic);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.daily-challenge-card h3 {
  max-width: 820px;
  margin: 0;
  color: #f1fff8;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-shadow:
    0 0 26px rgba(245, 255, 249, 0.06),
    0 0 48px rgba(141, 255, 79, 0.035);
}

.daily-description {
  max-width: 710px;
  margin: 19px 0 0;
  color: #bfd5cb;
  font-size: 1rem;
  line-height: 1.7;
}

.daily-objective-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.daily-objective-grid > div {
  min-width: 0;
  border: 1px solid rgba(83, 255, 166, 0.15);
  padding: 13px 14px;
  background:
    linear-gradient(145deg, rgba(141, 255, 79, 0.035), transparent 66%),
    rgba(0, 0, 0, 0.16);
}

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

.daily-objective-grid span {
  color: rgba(190, 216, 206, 0.42);
  font-size: 0.49rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.daily-objective-grid strong {
  margin-top: 7px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.77rem;
  letter-spacing: 0.04em;
}

.daily-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}

.daily-enter-button {
  min-width: 184px;
}

.daily-ghost-button {
  min-height: 44px;
  border: 1px solid rgba(220, 232, 226, 0.26);
  padding: 0 17px;
  background: rgba(220, 232, 226, 0.035);
  color: rgba(225, 238, 231, 0.72);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.daily-ghost-button:hover,
.daily-ghost-button:focus-visible {
  border-color: rgba(141, 255, 79, 0.68);
  outline: none;
  background: rgba(141, 255, 79, 0.07);
  color: var(--acid);
  box-shadow: 0 0 20px rgba(141, 255, 79, 0.07);
  transform: translateY(-1px);
}

.daily-card-footer,
.daily-leaderboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 19px;
  border-top: 1px solid rgba(83, 255, 166, 0.12);
  padding-top: 11px;
  color: rgba(190, 216, 206, 0.34);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.daily-rank-core {
  position: relative;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  margin: 2px auto 16px;
  border: 1px solid rgba(141, 255, 79, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(141, 255, 79, 0.14), transparent 62%),
    rgba(1, 10, 8, 0.8);
  box-shadow:
    inset 0 0 24px rgba(141, 255, 79, 0.05),
    0 0 26px rgba(141, 255, 79, 0.06);
}

.daily-rank-core::before,
.daily-rank-core::after {
  position: absolute;
  border: 1px solid rgba(220, 232, 226, 0.2);
  border-radius: 50%;
  content: "";
}

.daily-rank-core::before {
  inset: 9px;
  border-top-color: var(--acid);
  animation: daily-orbit 7s linear infinite;
}

.daily-rank-core::after {
  inset: 19px;
  border-bottom-color: rgba(220, 232, 226, 0.72);
  animation: daily-orbit 4.8s linear infinite reverse;
}

.daily-rank-core span {
  position: relative;
  z-index: 2;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 950;
  text-shadow: 0 0 14px rgba(141, 255, 79, 0.38);
}

.daily-leader-copy {
  min-width: 0;
  text-align: center;
}

.daily-leader-copy p {
  margin: 0 0 6px;
  color: rgba(190, 216, 206, 0.42);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.daily-leader-copy h3 {
  overflow: hidden;
  margin: 0;
  color: #f1fff8;
  font-size: 1.08rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-leader-copy > span {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: rgba(83, 255, 166, 0.56);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-leader-score {
  display: grid;
  gap: 5px;
  margin-top: 17px;
  border: 1px solid rgba(83, 255, 166, 0.14);
  padding: 11px 13px;
  background: rgba(0, 0, 0, 0.16);
  text-align: center;
}

.daily-leader-score span {
  color: rgba(190, 216, 206, 0.42);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.daily-leader-score strong {
  overflow: hidden;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-countdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 5px;
  margin: 7px 0 16px;
}

.daily-countdown > span {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 4px;
  border: 1px solid rgba(83, 255, 166, 0.14);
  padding: 11px 5px 8px;
  background: rgba(0, 0, 0, 0.16);
}

.daily-countdown strong {
  color: #f2fff8;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  line-height: 1;
  text-shadow: 0 0 15px rgba(141, 255, 79, 0.12);
}

.daily-countdown small {
  color: rgba(190, 216, 206, 0.4);
  font-size: 0.43rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.daily-countdown b {
  padding-top: 12px;
  color: rgba(141, 255, 79, 0.52);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.25rem;
}

.daily-next-signal {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.daily-next-signal > span {
  color: rgba(190, 216, 206, 0.4);
  font-size: 0.46rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.daily-next-signal strong {
  overflow: hidden;
  color: var(--toxic);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.daily-next-signal p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: rgba(190, 216, 206, 0.58);
  font-size: 0.7rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.daily-reset-track {
  height: 4px;
  margin-top: 15px;
  overflow: hidden;
  background: rgba(83, 255, 166, 0.1);
}

.daily-reset-track i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--toxic), var(--acid), rgba(220, 232, 226, 0.9));
  box-shadow: 0 0 12px rgba(141, 255, 79, 0.4);
  transition: width 600ms linear;
}

.daily-leaderboard-console {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 30px);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.daily-leaderboard-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.18);
  padding-bottom: 18px;
}

.daily-leaderboard-header p {
  margin: 0 0 6px;
  color: var(--toxic);
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0.17em;
}

.daily-leaderboard-header h3 {
  margin: 0;
  color: #f1fff8;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.daily-scope-tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  min-height: 42px;
  border: 1px solid rgba(83, 255, 166, 0.2);
  background: rgba(0, 8, 7, 0.62);
}

.daily-scope-tab {
  min-width: 118px;
  border: 0;
  border-right: 1px solid rgba(83, 255, 166, 0.14);
  padding: 0 15px;
  background: transparent;
  color: rgba(185, 215, 200, 0.54);
  font: inherit;
  font-size: 0.57rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
}

.daily-scope-tab:last-child {
  border-right: 0;
}

.daily-scope-tab:hover,
.daily-scope-tab:focus-visible,
.daily-scope-tab.is-active {
  outline: none;
  background: rgba(61, 255, 180, 0.065);
  color: var(--acid);
  box-shadow: inset 0 -1px 0 var(--acid);
}

.daily-message {
  margin-top: 15px;
  border: 1px solid rgba(220, 232, 226, 0.22);
  padding: 11px 13px;
  background: rgba(220, 232, 226, 0.035);
  color: rgba(225, 238, 231, 0.75);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.63rem;
  line-height: 1.5;
}

.daily-message.success {
  border-color: rgba(141, 255, 79, 0.34);
  background: rgba(141, 255, 79, 0.05);
  color: var(--acid);
}

.daily-message.error {
  border-color: rgba(255, 73, 109, 0.4);
  background: rgba(255, 73, 109, 0.05);
  color: #ff8299;
}

.daily-table-heading,
.daily-leaderboard-entry {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(150px, 0.32fr) 100px;
  gap: 14px;
  align-items: center;
}

.daily-table-heading {
  margin-top: 17px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.12);
  padding: 0 15px 10px;
  color: rgba(190, 216, 206, 0.34);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.46rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.daily-leaderboard-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daily-leaderboard-entry {
  min-height: 70px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.105);
  padding: 12px 15px;
  background: linear-gradient(90deg, rgba(141, 255, 79, 0.018), transparent 54%);
  opacity: 0;
  animation: daily-row-acquire 390ms ease-out both;
  animation-delay: calc(min(var(--daily-rank-index), 9) * 45ms);
}

.daily-leaderboard-entry.is-viewer {
  background:
    linear-gradient(90deg, rgba(141, 255, 79, 0.085), transparent 72%),
    rgba(141, 255, 79, 0.014);
  box-shadow: inset 2px 0 0 rgba(141, 255, 79, 0.72);
}

.daily-entry-rank {
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 950;
}

.daily-entry-operator {
  min-width: 0;
}

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

.daily-entry-operator strong {
  color: #effff7;
  font-size: 0.82rem;
}

.daily-entry-operator span {
  margin-top: 4px;
  color: rgba(83, 255, 166, 0.54);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.55rem;
}

.daily-entry-value {
  overflow: hidden;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-entry-status {
  color: rgba(220, 232, 226, 0.5);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-align: right;
}

.daily-entry-status.is-verified {
  color: var(--acid);
}

.daily-leaderboard-loading,
.daily-leaderboard-empty {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.1);
  padding: 24px;
  color: rgba(190, 216, 206, 0.46);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
}

.daily-leaderboard-empty {
  flex-direction: column;
}

.daily-empty-mark {
  color: rgba(141, 255, 79, 0.62);
  font-size: 1.5rem;
}

@keyframes daily-state-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes daily-scan {
  0%, 18% { opacity: 0; transform: translateY(-25%); }
  24% { opacity: 0.52; }
  72% { opacity: 0.18; }
  84%, 100% { opacity: 0; transform: translateY(820%); }
}

@keyframes daily-orbit {
  to { transform: rotate(360deg); }
}

@keyframes daily-row-acquire {
  from { opacity: 0; filter: brightness(1.3); transform: translateY(7px); }
  to { opacity: 1; filter: none; transform: translateY(0); }
}

@media (max-width: 980px) {
  .daily-command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "challenge challenge"
      "leader reset";
  }

  .daily-challenge-card {
    min-height: 410px;
  }
}

@media (max-width: 760px) {
  .daily-transmission {
    margin-bottom: 64px;
  }

  .daily-transmission-heading,
  .daily-leaderboard-header {
    align-items: stretch;
    flex-direction: column;
  }

  .daily-header-controls {
    width: 100%;
    justify-content: space-between;
  }

  .daily-command-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "challenge"
      "leader"
      "reset";
  }

  .daily-objective-grid {
    grid-template-columns: 1fr;
  }

  .daily-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .daily-enter-button,
  .daily-ghost-button {
    width: 100%;
  }

  .daily-scope-tabs {
    width: 100%;
  }

  .daily-scope-tab {
    min-width: 0;
  }

  .daily-table-heading {
    display: none;
  }

  .daily-leaderboard-entry {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .daily-entry-status {
    grid-column: 2 / -1;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .daily-header-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .daily-sync-state,
  .daily-refresh {
    width: 100%;
    justify-content: center;
  }

  .daily-challenge-card,
  .daily-card,
  .daily-leaderboard-console {
    padding: 18px 14px;
    clip-path: none;
  }

  .daily-challenge-card h3 {
    font-size: clamp(2.25rem, 14vw, 3.5rem);
  }

  .daily-card-footer,
  .daily-leaderboard-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .daily-countdown {
    gap: 3px;
  }

  .daily-countdown > span {
    padding-inline: 2px;
  }

  .daily-leaderboard-entry {
    padding-inline: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .daily-sync-state i,
  .daily-live-pill i,
  .daily-card-scan,
  .daily-leaderboard-scan,
  .daily-rank-core::before,
  .daily-rank-core::after,
  .daily-leaderboard-entry {
    animation: none !important;
  }

  .daily-leaderboard-entry {
    opacity: 1;
  }
}


/* ============================================================
   LOW SIGNALX CREATOR NODE V1
   Controlled creator submissions, quarantine review, and
   isolated publication for static browser-game projects.
   ============================================================ */

.creator-network {
  margin-top: 92px;
  scroll-margin-top: 24px;
}

.creator-network-heading {
  align-items: center;
}

.creator-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.creator-node-state {
  --creator-state: 190, 216, 206;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid rgba(var(--creator-state), 0.22);
  padding: 0 13px;
  background: rgba(2, 12, 10, 0.66);
  color: rgba(var(--creator-state), 0.72);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.creator-node-state i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgb(var(--creator-state));
  box-shadow: 0 0 9px rgba(var(--creator-state), 0.62);
  animation: creator-state-pulse 1.5s ease-in-out infinite;
}

.creator-node-state.is-loading {
  --creator-state: 190, 216, 206;
}

.creator-node-state.is-online {
  --creator-state: 141, 255, 79;
}

.creator-node-state.is-offline {
  --creator-state: 255, 73, 109;
}

.creator-rail-button,
.creator-public-controls button,
.creator-view-heading button {
  min-height: 44px;
  border: 1px solid rgba(83, 255, 166, 0.27);
  padding: 0 14px;
  background: rgba(2, 12, 10, 0.72);
  color: var(--toxic);
  font: inherit;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.creator-rail-button:hover,
.creator-rail-button:focus-visible,
.creator-public-controls button:hover,
.creator-public-controls button:focus-visible,
.creator-view-heading button:hover,
.creator-view-heading button:focus-visible {
  border-color: rgba(141, 255, 79, 0.68);
  outline: none;
  background: rgba(141, 255, 79, 0.075);
  color: var(--acid);
  box-shadow: 0 0 20px rgba(61, 255, 180, 0.08);
  transform: translateY(-1px);
}

.creator-review-trigger span {
  margin-left: 7px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.creator-submit-trigger {
  min-width: 170px;
}

.creator-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 18px;
}

.creator-command-card,
.creator-protocol,
.creator-public-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(83, 255, 166, 0.23);
  background:
    radial-gradient(circle at 12% 0%, rgba(141, 255, 79, 0.055), transparent 24rem),
    linear-gradient(145deg, rgba(5, 24, 17, 0.97), rgba(1, 8, 8, 0.988));
  box-shadow:
    inset 0 0 0 1px rgba(0, 224, 255, 0.025),
    inset 0 0 80px rgba(61, 255, 180, 0.018),
    0 28px 82px rgba(0, 0, 0, 0.38);
}

.creator-command-card {
  display: flex;
  min-height: 390px;
  justify-content: center;
  flex-direction: column;
  padding: clamp(28px, 5vw, 52px);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.creator-command-card::before,
.creator-protocol::before,
.creator-public-console::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, var(--acid), var(--toxic), transparent);
  box-shadow: 0 0 15px rgba(141, 255, 79, 0.36);
  content: "";
}

.creator-command-scan {
  position: absolute;
  z-index: 0;
  top: -16%;
  right: 0;
  left: 0;
  height: 14%;
  border-bottom: 1px solid rgba(141, 255, 79, 0.48);
  background: linear-gradient(to bottom, transparent, rgba(141, 255, 79, 0.075));
  pointer-events: none;
  animation: creator-command-scan 8.8s ease-in-out infinite;
}

.creator-command-card > *:not(.creator-command-scan) {
  position: relative;
  z-index: 2;
}

.creator-command-kicker {
  margin: 0 0 12px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.creator-command-card h3 {
  max-width: 760px;
  margin: 0;
  color: #f2fff8;
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-shadow: 0 0 28px rgba(141, 255, 79, 0.045);
}

.creator-command-card > p:not(.creator-command-kicker) {
  max-width: 760px;
  margin: 22px 0 0;
  color: #b9d2c7;
  font-size: 0.98rem;
  line-height: 1.72;
}

.creator-command-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.creator-command-actions .primary-button {
  min-width: 205px;
}

.creator-ghost-button {
  min-height: 44px;
  border: 1px solid rgba(83, 255, 166, 0.28);
  padding: 0 17px;
  background: rgba(0, 8, 7, 0.68);
  color: var(--toxic);
  font: inherit;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.creator-ghost-button:hover,
.creator-ghost-button:focus-visible {
  border-color: rgba(141, 255, 79, 0.68);
  outline: none;
  background: rgba(141, 255, 79, 0.075);
  color: var(--acid);
}

.creator-protocol {
  min-height: 390px;
  padding: 24px;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.creator-protocol::before {
  width: 68%;
  background: linear-gradient(90deg, rgba(220, 232, 226, 0.72), var(--acid), transparent);
}

.creator-protocol > header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.17);
  padding-bottom: 15px;
  color: rgba(190, 216, 206, 0.56);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.51rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.creator-protocol > header strong {
  color: var(--acid);
}

.creator-protocol-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  border-top: 1px solid rgba(83, 255, 166, 0.15);
  border-left: 1px solid rgba(83, 255, 166, 0.15);
}

.creator-protocol-grid > div {
  display: grid;
  align-content: center;
  min-height: 104px;
  border-right: 1px solid rgba(83, 255, 166, 0.15);
  border-bottom: 1px solid rgba(83, 255, 166, 0.15);
  padding: 15px;
  background: rgba(0, 0, 0, 0.14);
}

.creator-protocol-grid span,
.creator-protocol-grid strong,
.creator-protocol-grid small {
  display: block;
}

.creator-protocol-grid span {
  color: rgba(190, 216, 206, 0.42);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.creator-protocol-grid strong {
  margin-top: 7px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.71rem;
  letter-spacing: 0.06em;
}

.creator-protocol-grid small {
  margin-top: 5px;
  color: rgba(190, 216, 206, 0.42);
  font-size: 0.6rem;
  line-height: 1.4;
}

.creator-protocol-note {
  margin: 18px 0 0;
  border-left: 1px solid rgba(141, 255, 79, 0.45);
  padding: 10px 13px;
  background: linear-gradient(90deg, rgba(141, 255, 79, 0.045), transparent);
  color: rgba(190, 216, 206, 0.58);
  font-size: 0.72rem;
  line-height: 1.58;
}

.creator-public-console {
  margin-top: 18px;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.creator-public-console::after {
  right: 0;
  left: auto;
  width: 180px;
  background: linear-gradient(90deg, transparent, rgba(220, 232, 226, 0.72), var(--acid));
}

.creator-public-scan {
  position: absolute;
  z-index: 3;
  top: -2px;
  right: 0;
  left: 0;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(220, 232, 226, 0.72), rgba(141, 255, 79, 0.68), transparent);
  box-shadow: 0 0 22px rgba(61, 255, 180, 0.28);
  pointer-events: none;
  animation: creator-public-scan 8.4s linear infinite;
}

.creator-public-header,
.creator-public-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.15);
  padding: 20px 24px;
}

.creator-public-header p,
.creator-public-header h3 {
  margin: 0;
}

.creator-public-header p {
  color: var(--toxic);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.creator-public-header h3 {
  margin-top: 5px;
  color: #f2fff8;
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  letter-spacing: -0.045em;
}

.creator-public-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.creator-public-controls > span {
  color: rgba(190, 216, 206, 0.48);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.53rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.creator-public-controls b {
  color: var(--acid);
  font-size: 0.72rem;
}

.creator-public-controls button {
  min-height: 38px;
}

.creator-public-message {
  position: relative;
  z-index: 2;
  margin: 16px 24px 0;
  border: 1px solid rgba(0, 224, 255, 0.26);
  padding: 11px 13px;
  background: rgba(0, 224, 255, 0.04);
  color: #9beeff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.creator-public-message.success {
  border-color: rgba(141, 255, 79, 0.35);
  background: rgba(141, 255, 79, 0.05);
  color: var(--acid);
}

.creator-public-message.error {
  border-color: rgba(255, 73, 109, 0.36);
  background: rgba(255, 73, 109, 0.05);
  color: #ff8ca2;
}

.creator-project-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.creator-project-card {
  --creator-accent: 141, 255, 79;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 480px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(var(--creator-accent), 0.23);
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--creator-accent), 0.065), transparent 18rem),
    linear-gradient(145deg, rgba(5, 23, 17, 0.97), rgba(1, 8, 8, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(220, 232, 226, 0.025),
    0 24px 62px rgba(0, 0, 0, 0.34);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  opacity: 0;
  animation: creator-card-acquire 520ms cubic-bezier(.18,.78,.18,1) both;
  animation-delay: calc(min(var(--creator-card-index), 8) * 70ms);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.creator-project-card:hover,
.creator-project-card:focus-within {
  border-color: rgba(var(--creator-accent), 0.62);
  box-shadow:
    inset 0 0 70px rgba(var(--creator-accent), 0.035),
    0 32px 82px rgba(0, 0, 0, 0.44),
    0 0 30px rgba(var(--creator-accent), 0.06);
  transform: translateY(-5px);
}

.creator-project-visual {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-bottom: 1px solid rgba(var(--creator-accent), 0.18);
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--creator-accent), 0.13), transparent 42%),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(var(--creator-accent), 0.035) 15px),
    #020806;
}

.creator-project-visual::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 8, 6, 0.12), transparent 40%, rgba(0, 8, 6, 0.48)),
    linear-gradient(90deg, rgba(0, 8, 6, 0.22), transparent 22%, transparent 78%, rgba(0, 8, 6, 0.22));
  content: "";
  pointer-events: none;
}

.creator-project-visual img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: saturate(0.85) contrast(1.08) brightness(0.76);
  transition: filter 220ms ease, opacity 220ms ease, transform 360ms ease;
}

.creator-project-card:hover .creator-project-visual img {
  opacity: 1;
  filter: saturate(1) contrast(1.08) brightness(0.92);
  transform: scale(1.025);
}

.creator-project-visual.image-missing img {
  display: none;
}

.creator-project-fallback {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  color: rgba(var(--creator-accent), 0.2);
  font-family: "Arial Black", sans-serif;
  font-size: 4.2rem;
  letter-spacing: -0.12em;
  transform: translate(-50%, -50%);
}

.creator-project-code {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 10px;
  border: 1px solid rgba(var(--creator-accent), 0.22);
  padding: 4px 6px;
  background: rgba(0, 7, 5, 0.72);
  color: rgba(225, 245, 235, 0.67);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.47rem;
  letter-spacing: 0.11em;
}

.creator-project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.creator-project-kicker {
  margin: 0 0 8px;
  overflow: hidden;
  color: rgba(var(--creator-accent), 0.66);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-project-body h4 {
  margin: 0;
  color: #f2fff8;
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.creator-project-description {
  display: -webkit-box;
  overflow: hidden;
  margin: 13px 0 0;
  color: #a9c2b7;
  font-size: 0.82rem;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.creator-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.creator-project-tags span {
  border: 1px solid rgba(var(--creator-accent), 0.18);
  padding: 4px 7px;
  background: rgba(var(--creator-accent), 0.035);
  color: rgba(211, 234, 222, 0.62);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.creator-project-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: auto;
  padding-top: 18px;
}

.creator-project-meta > div {
  min-width: 0;
  border: 1px solid rgba(var(--creator-accent), 0.13);
  padding: 9px;
  background: rgba(0, 0, 0, 0.13);
}

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

.creator-project-meta span {
  color: rgba(190, 216, 206, 0.4);
  font-size: 0.42rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.creator-project-meta strong {
  margin-top: 5px;
  color: rgb(var(--creator-accent));
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.59rem;
}

.creator-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.creator-project-launch,
.creator-project-site {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--creator-accent), 0.38);
  padding: 0 13px;
  color: rgb(var(--creator-accent));
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.creator-project-launch {
  flex: 1;
  background: linear-gradient(100deg, rgba(var(--creator-accent), 0.94), rgba(220, 232, 226, 0.88));
  color: #021008;
}

.creator-project-site {
  background: rgba(0, 8, 7, 0.72);
}

.creator-project-launch:hover,
.creator-project-launch:focus-visible,
.creator-project-site:hover,
.creator-project-site:focus-visible {
  outline: none;
  filter: brightness(1.12);
  box-shadow: 0 0 20px rgba(var(--creator-accent), 0.12);
}

.creator-loading-state,
.creator-empty-state {
  grid-column: 1 / -1;
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid rgba(83, 255, 166, 0.12);
  padding: 28px;
  background: rgba(0, 0, 0, 0.13);
  color: rgba(190, 216, 206, 0.48);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-align: center;
}

.creator-empty-state {
  flex-direction: column;
}

.creator-empty-state strong {
  color: #d9eee3;
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}

.creator-empty-state p {
  max-width: 600px;
  margin: 0;
  color: rgba(190, 216, 206, 0.48);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0;
  line-height: 1.55;
}

.creator-empty-mark {
  color: var(--acid);
  font-size: 1.8rem;
}

.creator-public-footer {
  border-top: 1px solid rgba(83, 255, 166, 0.12);
  border-bottom: 0;
  color: rgba(190, 216, 206, 0.34);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

/* --- Creator console --------------------------------------------------- */

body.creator-open {
  overflow: hidden;
}

.creator-overlay {
  position: fixed;
  z-index: 290;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 20px;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(141, 255, 79, 0.075), transparent 34rem),
    radial-gradient(circle at 88% 78%, rgba(220, 232, 226, 0.055), transparent 30rem),
    rgba(0, 4, 4, 0.84);
  backdrop-filter: blur(11px) saturate(0.76);
  transition: opacity 210ms ease;
}

.creator-overlay.is-open {
  opacity: 1;
}

.creator-overlay.is-closing {
  opacity: 0;
}

.creator-console {
  position: relative;
  width: min(1160px, 100%);
  max-height: calc(100vh - 40px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(83, 255, 166, 0.4);
  padding: clamp(22px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(6, 27, 20, 0.992), rgba(1, 8, 8, 0.997) 56%, rgba(3, 18, 15, 0.992)),
    #020807;
  box-shadow:
    0 48px 140px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(220, 232, 226, 0.03),
    inset 0 0 130px rgba(61, 255, 180, 0.022),
    0 0 58px rgba(141, 255, 79, 0.04);
  clip-path: polygon(34px 0, calc(100% - 34px) 0, 100% 34px, 100% calc(100% - 34px), calc(100% - 34px) 100%, 34px 100%, 0 calc(100% - 34px), 0 34px);
  opacity: 0;
  transform: translateY(18px) scale(0.977);
  transition: opacity 240ms ease, transform 330ms cubic-bezier(.18,.8,.18,1);
  scrollbar-color: rgba(141, 255, 79, 0.32) rgba(0, 0, 0, 0.3);
}

.creator-overlay.is-open .creator-console {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.creator-overlay.is-closing .creator-console {
  opacity: 0;
  transform: translateY(12px) scale(0.982);
}

.creator-console::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(83, 255, 166, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 232, 226, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black, transparent 94%);
  content: "";
  pointer-events: none;
}

.creator-console::after {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 34px;
  left: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 232, 226, 0.85), var(--acid), transparent);
  box-shadow: 0 0 18px rgba(141, 255, 79, 0.38);
  content: "";
  pointer-events: none;
}

.creator-console-scan {
  position: absolute;
  z-index: 3;
  right: 0;
  left: 0;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(220, 232, 226, 0.82), rgba(141, 255, 79, 0.68), transparent);
  box-shadow: 0 0 24px rgba(61, 255, 180, 0.45);
  pointer-events: none;
}

.creator-overlay.is-open .creator-console-scan {
  animation: creator-console-scan 1.15s 140ms ease-out both;
}

.creator-console-header,
.creator-console-message,
.creator-console-tabs,
.creator-auth-required,
.creator-console-view,
.creator-console-footer {
  position: relative;
  z-index: 5;
}

.creator-console-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.23);
  padding-bottom: 20px;
}

.creator-console-kicker {
  margin: 0 0 8px;
  color: var(--toxic);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.creator-console-header h2 {
  margin: 0;
  color: #f1fff8;
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.creator-close {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(83, 255, 166, 0.32);
  background: rgba(3, 15, 12, 0.72);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.creator-close span::before,
.creator-close span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1px;
  background: var(--toxic);
  content: "";
  box-shadow: 0 0 8px rgba(53, 255, 154, 0.5);
}

.creator-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.creator-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.creator-close:hover,
.creator-close:focus-visible {
  border-color: rgba(141, 255, 79, 0.76);
  outline: none;
  background: rgba(141, 255, 79, 0.08);
  box-shadow: 0 0 20px rgba(141, 255, 79, 0.1);
}

.creator-console-message {
  margin: 18px 0 0;
  border: 1px solid rgba(220, 232, 226, 0.27);
  padding: 11px 14px;
  background: rgba(220, 232, 226, 0.04);
  color: #d6e6dd;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
}

.creator-console-message.success {
  border-color: rgba(141, 255, 79, 0.38);
  background: rgba(141, 255, 79, 0.055);
  color: var(--acid);
}

.creator-console-message.error {
  border-color: rgba(255, 73, 109, 0.42);
  background: rgba(255, 73, 109, 0.055);
  color: #ff839c;
}

.creator-console-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
  border: 1px solid rgba(83, 255, 166, 0.2);
  background: rgba(0, 8, 7, 0.6);
}

.creator-console-tab {
  position: relative;
  min-height: 50px;
  border: 0;
  border-right: 1px solid rgba(83, 255, 166, 0.16);
  background: transparent;
  color: rgba(190, 216, 206, 0.54);
  font: inherit;
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}

.creator-console-tab:last-child {
  border-right: 0;
}

.creator-console-tab::after {
  position: absolute;
  right: 18%;
  bottom: -1px;
  left: 18%;
  height: 1px;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(141, 255, 79, 0.72);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 160ms ease, transform 160ms ease;
}

.creator-console-tab:hover,
.creator-console-tab:focus-visible,
.creator-console-tab.is-active {
  outline: none;
  background: rgba(141, 255, 79, 0.055);
  color: var(--acid);
}

.creator-console-tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.creator-auth-required {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  padding: 42px 20px;
  text-align: center;
}

.creator-auth-glyph {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(141, 255, 79, 0.32);
  border-radius: 50%;
  color: var(--acid);
  font-size: 2rem;
  box-shadow: inset 0 0 32px rgba(141, 255, 79, 0.05), 0 0 32px rgba(141, 255, 79, 0.04);
}

.creator-auth-required > p {
  margin: 20px 0 8px;
  color: var(--acid);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.creator-auth-required h3 {
  margin: 0;
  color: #f2fff8;
  font-family: "Arial Black", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.055em;
}

.creator-auth-required > span:not(.creator-auth-glyph) {
  max-width: 620px;
  margin-top: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.creator-auth-required button {
  min-height: 48px;
  margin-top: 24px;
  border: 1px solid rgba(141, 255, 79, 0.68);
  padding: 0 24px;
  background: linear-gradient(105deg, var(--acid), var(--toxic), rgba(220, 232, 226, 0.92));
  color: #021008;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.creator-console-view {
  padding-top: 28px;
}

.creator-submission-form {
  display: grid;
  gap: 22px;
}

.creator-form-intro {
  border-bottom: 1px solid rgba(83, 255, 166, 0.18);
  padding-bottom: 20px;
}

.creator-form-intro p,
.creator-view-heading p {
  margin: 0 0 7px;
  color: var(--toxic);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.creator-form-intro h3,
.creator-view-heading h3 {
  margin: 0;
  color: #f2fff8;
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  font-size: clamp(1.85rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.creator-form-intro > span {
  display: block;
  max-width: 780px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.creator-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.creator-field,
.creator-file-field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.creator-field-wide {
  grid-column: 1 / -1;
}

.creator-field > span,
.creator-file-field > span {
  color: var(--soft);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.creator-field input,
.creator-field textarea,
.creator-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(83, 255, 166, 0.23);
  border-radius: 0;
  padding: 12px 14px;
  outline: none;
  resize: vertical;
  background: linear-gradient(180deg, rgba(6, 24, 18, 0.83), rgba(1, 9, 8, 0.93));
  color: #effff7;
  caret-color: var(--acid);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.3);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.creator-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--toxic) 50%),
    linear-gradient(135deg, var(--toxic) 50%, transparent 50%),
    linear-gradient(180deg, rgba(6, 24, 18, 0.83), rgba(1, 9, 8, 0.93));
  background-position:
    calc(100% - 19px) 20px,
    calc(100% - 14px) 20px,
    0 0;
  background-size: 5px 5px, 5px 5px, 100% 100%;
  background-repeat: no-repeat;
}

.creator-field textarea {
  min-height: 112px;
  line-height: 1.55;
}

.creator-field input::placeholder,
.creator-field textarea::placeholder {
  color: rgba(190, 216, 206, 0.28);
}

.creator-field input:hover,
.creator-field textarea:hover,
.creator-field select:hover {
  border-color: rgba(83, 255, 166, 0.4);
}

.creator-field input:focus,
.creator-field textarea:focus,
.creator-field select:focus {
  border-color: rgba(141, 255, 79, 0.75);
  background-color: rgba(8, 31, 22, 0.92);
  box-shadow:
    inset 0 0 22px rgba(0, 0, 0, 0.32),
    0 0 0 2px rgba(141, 255, 79, 0.05),
    0 0 20px rgba(61, 255, 180, 0.05);
}

.creator-field [aria-invalid="true"] {
  border-color: rgba(255, 73, 109, 0.72);
  box-shadow: 0 0 17px rgba(255, 73, 109, 0.07);
}

.creator-field small,
.creator-field-meta,
.creator-file-field strong {
  min-height: 1em;
  color: rgba(190, 216, 206, 0.44);
  font-size: 0.61rem;
  line-height: 1.4;
}

.creator-field [data-creator-error-for]:not(:empty) {
  color: #ff839c;
}

.creator-field-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.creator-file-field {
  position: relative;
  min-height: 118px;
  border: 1px dashed rgba(83, 255, 166, 0.3);
  padding: 18px;
  background:
    linear-gradient(110deg, rgba(83, 255, 166, 0.045), transparent 68%),
    rgba(0, 7, 6, 0.6);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.creator-file-field:hover,
.creator-file-field:focus-within {
  border-color: rgba(141, 255, 79, 0.68);
  background:
    linear-gradient(110deg, rgba(141, 255, 79, 0.08), transparent 70%),
    rgba(0, 10, 7, 0.72);
  box-shadow: inset 0 0 26px rgba(61, 255, 180, 0.025);
}

.creator-file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.creator-file-field strong {
  display: flex;
  min-height: 56px;
  align-items: center;
  color: var(--toxic);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  overflow-wrap: anywhere;
}

.creator-package-field {
  border-style: solid;
  border-color: rgba(141, 255, 79, 0.34);
}

.creator-legal-grid {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(83, 255, 166, 0.16);
  padding: 17px;
  background: rgba(0, 0, 0, 0.14);
}

.creator-legal-grid label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(207, 230, 218, 0.7);
  font-size: 0.74rem;
  line-height: 1.5;
  cursor: pointer;
}

.creator-legal-grid input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--acid);
}

.creator-upload-progress {
  border: 1px solid rgba(141, 255, 79, 0.24);
  padding: 13px 15px;
  background: rgba(141, 255, 79, 0.035);
}

.creator-upload-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(190, 216, 206, 0.54);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.creator-upload-progress strong {
  color: var(--acid);
}

.creator-upload-progress > i {
  display: block;
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
  background: rgba(83, 255, 166, 0.1);
}

.creator-upload-progress b {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--toxic), var(--acid), rgba(220, 232, 226, 0.9));
  box-shadow: 0 0 14px rgba(141, 255, 79, 0.46);
  transition: width 180ms ease;
}

.creator-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(83, 255, 166, 0.18);
  padding-top: 20px;
}

.creator-form-actions > span {
  color: rgba(190, 216, 206, 0.38);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.creator-submit-button {
  position: relative;
  display: inline-flex;
  min-width: 220px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(141, 255, 79, 0.68);
  padding: 0 24px;
  background: linear-gradient(105deg, var(--acid), var(--toxic) 58%, rgba(220, 232, 226, 0.92));
  color: #021008;
  font: inherit;
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  box-shadow: 0 0 22px rgba(53, 255, 154, 0.15);
}

.creator-submit-button:hover,
.creator-submit-button:focus-visible {
  outline: none;
  filter: brightness(1.1);
  box-shadow: 0 0 28px rgba(141, 255, 79, 0.22);
  transform: translateY(-1px);
}

.creator-submit-button:disabled {
  cursor: wait;
  filter: grayscale(0.3) brightness(0.7);
  transform: none;
}

.creator-submission-form.is-submitting {
  opacity: 0.78;
}

.creator-submission-form.is-submitting .creator-submit-button span {
  animation: text-flicker 0.72s steps(2) infinite;
}

.creator-view-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(83, 255, 166, 0.18);
  padding-bottom: 18px;
}

.creator-view-heading button {
  min-height: 40px;
}

.creator-library-list,
.creator-review-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.creator-library-card,
.creator-review-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(83, 255, 166, 0.17);
  padding: 18px;
  background:
    linear-gradient(105deg, rgba(83, 255, 166, 0.035), transparent 42%),
    rgba(0, 0, 0, 0.16);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.creator-review-card {
  border-color: rgba(220, 232, 226, 0.2);
}

.creator-library-card::before,
.creator-review-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, var(--acid), transparent);
  box-shadow: 0 0 12px rgba(141, 255, 79, 0.32);
  content: "";
}

.creator-library-card > header,
.creator-review-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.creator-library-card header p,
.creator-review-card header p {
  margin: 0 0 5px;
  color: rgba(83, 255, 166, 0.6);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.49rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.creator-library-card h4,
.creator-review-card h4 {
  margin: 0;
  color: #effff7;
  font-size: 1.18rem;
}

.creator-status-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(190, 216, 206, 0.24);
  padding: 5px 8px;
  color: rgba(190, 216, 206, 0.58);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.creator-status-pill.is-pending,
.creator-status-pill.is-reviewing {
  border-color: rgba(255, 182, 77, 0.34);
  color: var(--amber);
}

.creator-status-pill.is-approved {
  border-color: rgba(141, 255, 79, 0.42);
  color: var(--acid);
}

.creator-status-pill.is-rejected {
  border-color: rgba(255, 73, 109, 0.42);
  color: #ff839c;
}

.creator-submission-description {
  margin: 14px 0 0;
  color: #b1c9be;
  font-size: 0.8rem;
  line-height: 1.58;
}

.creator-submission-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 15px;
}

.creator-submission-metrics > div {
  min-width: 0;
  border: 1px solid rgba(83, 255, 166, 0.12);
  padding: 10px;
  background: rgba(0, 0, 0, 0.13);
}

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

.creator-submission-metrics span {
  color: rgba(190, 216, 206, 0.4);
  font-size: 0.43rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.creator-submission-metrics strong {
  margin-top: 5px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
}

.creator-submission-details {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 13px;
  color: rgba(190, 216, 206, 0.38);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.49rem;
  letter-spacing: 0.07em;
}

.creator-review-notes {
  margin-top: 14px;
  border-left: 1px solid rgba(255, 182, 77, 0.42);
  padding: 9px 12px;
  background: linear-gradient(90deg, rgba(255, 182, 77, 0.04), transparent);
}

.creator-review-notes span {
  color: var(--amber);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.creator-review-notes p {
  margin: 6px 0 0;
  color: rgba(220, 232, 226, 0.68);
  font-size: 0.72rem;
  line-height: 1.5;
}

.creator-submission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.creator-card-action {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(83, 255, 166, 0.26);
  padding: 0 12px;
  background: rgba(2, 12, 10, 0.72);
  color: var(--toxic);
  font: inherit;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.creator-card-action:hover,
.creator-card-action:focus-visible {
  border-color: rgba(141, 255, 79, 0.7);
  outline: none;
  background: rgba(141, 255, 79, 0.07);
  color: var(--acid);
}

.creator-card-action.is-primary,
.creator-card-action.is-approve {
  border-color: rgba(141, 255, 79, 0.52);
  background: rgba(141, 255, 79, 0.08);
  color: var(--acid);
}

.creator-card-action.is-reject {
  border-color: rgba(255, 73, 109, 0.3);
  color: #ff839c;
}

.creator-card-action.is-reject:hover,
.creator-card-action.is-reject:focus-visible {
  border-color: rgba(255, 73, 109, 0.68);
  background: rgba(255, 73, 109, 0.07);
  color: #ff9bae;
}

.creator-review-warning {
  margin-top: 16px;
  border: 1px solid rgba(255, 182, 77, 0.25);
  padding: 11px 13px;
  background: rgba(255, 182, 77, 0.035);
  color: rgba(255, 205, 132, 0.75);
  font-size: 0.68rem;
  line-height: 1.5;
}

.creator-console-empty {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border: 1px dashed rgba(83, 255, 166, 0.16);
  padding: 28px;
  color: rgba(190, 216, 206, 0.42);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  text-align: center;
}

.creator-console-empty > span {
  color: var(--acid);
  font-size: 1.6rem;
}

.creator-console-empty strong {
  color: #d8eee3;
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
}

.creator-console-empty p {
  max-width: 560px;
  margin: 0;
  color: rgba(190, 216, 206, 0.5);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.75rem;
  line-height: 1.55;
}

.creator-console-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  border-top: 1px solid rgba(83, 255, 166, 0.18);
  padding-top: 14px;
  color: rgba(190, 216, 206, 0.33);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

@keyframes creator-state-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes creator-command-scan {
  0%, 18% { opacity: 0; transform: translateY(-30%); }
  25% { opacity: 0.52; }
  72% { opacity: 0.2; }
  86%, 100% { opacity: 0; transform: translateY(760%); }
}

@keyframes creator-public-scan {
  0% { opacity: 0; transform: translateY(0); }
  8% { opacity: 0.7; }
  58% { opacity: 0.25; }
  100% { opacity: 0; transform: translateY(700px); }
}

@keyframes creator-card-acquire {
  from { opacity: 0; transform: translateY(10px); filter: brightness(1.32); }
  to { opacity: 1; transform: translateY(0); filter: none; }
}

@keyframes creator-console-scan {
  0% { top: 4%; opacity: 0; }
  14% { opacity: 0.92; }
  86% { opacity: 0.58; }
  100% { top: 96%; opacity: 0; }
}

@media (max-width: 1040px) {
  .creator-command-grid {
    grid-template-columns: 1fr;
  }

  .creator-protocol {
    min-height: 0;
  }

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

@media (max-width: 820px) {
  .creator-network {
    margin-top: 72px;
  }

  .creator-heading-actions {
    width: 100%;
    justify-content: stretch;
  }

  .creator-heading-actions > * {
    flex: 1 1 auto;
  }

  .creator-console {
    width: 100%;
    max-height: none;
    min-height: 100%;
    border: 0;
    padding: 24px;
    clip-path: none;
  }

  .creator-overlay {
    padding: 0;
  }

  .creator-submission-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .creator-project-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .creator-public-header,
  .creator-public-footer,
  .creator-view-heading,
  .creator-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .creator-public-controls {
    width: 100%;
    justify-content: space-between;
  }

  .creator-public-controls button {
    flex: 1;
  }

  .creator-command-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .creator-command-actions button {
    width: 100%;
  }

  .creator-form-grid {
    grid-template-columns: 1fr;
  }

  .creator-field-wide {
    grid-column: auto;
  }

  .creator-console-tabs {
    grid-template-columns: 1fr;
  }

  .creator-console-tab {
    border-right: 0;
    border-bottom: 1px solid rgba(83, 255, 166, 0.14);
  }

  .creator-console-tab:last-child {
    border-bottom: 0;
  }

  .creator-submit-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .creator-command-card,
  .creator-protocol,
  .creator-public-console {
    clip-path: none;
  }

  .creator-command-card {
    min-height: 0;
    padding: 28px 18px;
  }

  .creator-command-card h3 {
    font-size: clamp(2.4rem, 15vw, 3.6rem);
  }

  .creator-protocol {
    padding: 18px 14px;
  }

  .creator-protocol-grid {
    grid-template-columns: 1fr;
  }

  .creator-public-header,
  .creator-public-footer {
    padding-inline: 16px;
  }

  .creator-console {
    padding: 22px 15px;
  }

  .creator-console-header {
    gap: 14px;
  }

  .creator-library-card > header,
  .creator-review-card > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .creator-status-pill {
    align-self: flex-start;
  }

  .creator-submission-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .creator-card-action {
    width: 100%;
  }

  .creator-console-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .creator-node-state i,
  .creator-command-scan,
  .creator-public-scan,
  .creator-project-card,
  .creator-console,
  .creator-console-scan {
    animation: none !important;
    transition: none !important;
  }

  .creator-project-card,
  .creator-console {
    opacity: 1;
    transform: none;
  }
}
/* ============================================================
   LOW SIGNALX — CYBER WARRIOR RUN SEQUENCE
   Replaces the original Signal Matrix orb.
   ============================================================ */

.cyber-runner-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(0, 224, 255, 0.28);
  border-radius: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 23px,
      rgba(0, 224, 255, 0.055) 24px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 23px,
      rgba(61, 255, 180, 0.04) 24px
    ),
    radial-gradient(
      circle at 50% 47%,
      rgba(0, 224, 255, 0.15),
      transparent 46%
    ),
    linear-gradient(
      180deg,
      rgba(3, 22, 25, 0.96),
      rgba(1, 7, 11, 0.99)
    );
  box-shadow:
    inset 0 0 45px rgba(0, 224, 255, 0.07),
    inset 0 -35px 50px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(0, 224, 255, 0.09);
  clip-path: polygon(
    10% 0,
    90% 0,
    100% 10%,
    100% 90%,
    90% 100%,
    10% 100%,
    0 90%,
    0 10%
  );
}

/* Background radar rings. */
.cyber-runner-stage::before {
  position: absolute;
  z-index: 0;
  inset: 9%;
  width: auto;
  height: auto;
  border: 1px solid rgba(0, 224, 255, 0.13);
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle,
      transparent 0 21px,
      rgba(0, 224, 255, 0.08) 22px 23px
    );
  box-shadow:
    inset 0 0 24px rgba(0, 224, 255, 0.04),
    0 0 18px rgba(0, 224, 255, 0.04);
  content: "";
  animation: cyber-radar-spin 9s linear infinite;
}

/* Horizontal and vertical targeting axes. */
.cyber-runner-stage::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: auto;
  height: auto;
  background:
    linear-gradient(
      90deg,
      transparent 0 8%,
      rgba(0, 224, 255, 0.22) 50%,
      transparent 92%
    )
    center / 100% 1px no-repeat,
    linear-gradient(
      180deg,
      transparent 0 8%,
      rgba(61, 255, 180, 0.16) 50%,
      transparent 92%
    )
    center / 1px 100% no-repeat;
  content: "";
  pointer-events: none;
}

.runner-reticle {
  position: absolute;
  z-index: 2;
  inset: 16%;
  display: block;
  border: 1px solid rgba(61, 255, 180, 0.27);
  border-right-color: transparent;
  border-radius: 50%;
  filter: drop-shadow(0 0 7px rgba(0, 224, 255, 0.16));
  animation: cyber-reticle-spin 6.5s linear infinite reverse;
}

.runner-frames {
  position: absolute;
  z-index: 4;
  inset: 6% 7% 14%;
  display: grid;
  place-items: center;
}

.runner-frame {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  user-select: none;
  pointer-events: none;
  filter:
    brightness(1.08)
    saturate(1.14)
    drop-shadow(0 0 4px rgba(0, 224, 255, 0.88))
    drop-shadow(0 0 15px rgba(0, 224, 255, 0.4));
  animation: cyber-runner-frame 500ms linear infinite;
}

.runner-frame-1 {
  animation-delay: 0ms;
}

.runner-frame-2 {
  animation-delay: 100ms;
}

.runner-frame-3 {
  animation-delay: 200ms;
}

.runner-frame-4 {
  animation-delay: 300ms;
}

.runner-frame-5 {
  animation-delay: 400ms;
}

.runner-floor {
  position: absolute;
  z-index: 3;
  right: 15%;
  bottom: 14%;
  left: 15%;
  display: block;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(0, 224, 255, 0.9) 25%,
      rgba(141, 255, 79, 0.72) 50%,
      rgba(0, 224, 255, 0.9) 75%,
      transparent
    );
  box-shadow:
    0 0 7px rgba(0, 224, 255, 0.74),
    0 0 20px rgba(0, 224, 255, 0.25);
}

.runner-scan {
  position: absolute;
  z-index: 5;
  top: -20%;
  left: 8%;
  display: block;
  width: 84%;
  height: 18%;
  border-bottom: 1px solid rgba(0, 224, 255, 0.82);
  background:
    linear-gradient(
      to bottom,
      transparent,
      rgba(0, 224, 255, 0.11)
    );
  filter: drop-shadow(0 0 7px rgba(0, 224, 255, 0.55));
  animation: cyber-runner-scan 2.5s ease-in-out infinite;
}

.runner-tag {
  position: absolute;
  z-index: 6;
  bottom: 4%;
  left: 50%;
  display: block;
  width: max-content;
  transform: translateX(-50%);
  color: rgba(137, 230, 235, 0.67);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 7px rgba(0, 224, 255, 0.42);
}

@keyframes cyber-runner-frame {
  0%,
  19.99% {
    opacity: 1;
  }

  20%,
  100% {
    opacity: 0;
  }
}

@keyframes cyber-radar-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cyber-reticle-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cyber-runner-scan {
  0% {
    top: -20%;
    opacity: 0;
  }

  12% {
    opacity: 0.85;
  }

  85% {
    opacity: 0.65;
  }

  100% {
    top: 102%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .runner-frame {
    animation: none !important;
    opacity: 0;
  }

  .runner-frame-1 {
    opacity: 1;
  }

  .runner-reticle,
  .runner-scan,
  .cyber-runner-stage::before {
    animation: none !important;
  }
}

/* ============================================================
   LOW SIGNALX — DAILY NODE SEAL V2
   Borderless LS mark. Signal slash/glitch triggers only when the
   pointer is directly over the LS—not anywhere else on the card.
   ============================================================ */

.daily-brand-lock {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lsx-ls-seal {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
  isolation: isolate;
  cursor: default;
}

/* The bright diagonal "signal slash." */
.lsx-ls-seal::before {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: -15%;
  width: 130%;
  height: 2px;
  opacity: 0;
  background:
    linear-gradient(
      90deg,
      transparent 0 5%,
      rgba(205, 220, 212, 0.78) 22%,
      rgba(255, 255, 255, 0.98) 46%,
      rgba(141, 255, 79, 0.96) 68%,
      transparent 94%
    );
  box-shadow:
    0 0 7px rgba(238, 247, 242, 0.72),
    0 0 16px rgba(141, 255, 79, 0.42);
  content: "";
  pointer-events: none;
  transform: translateY(-50%) rotate(-17deg) scaleX(0);
  transform-origin: left center;
}

/* A duplicate horizontal slice of the LS, offset during the glitch. */
.lsx-ls-seal::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  opacity: 0;
  background:
    url("/assets/brand/LS-Glow.png") center / 42px 42px no-repeat;
  clip-path: inset(40% 0 39% 0);
  content: "";
  filter:
    brightness(1.34)
    contrast(1.14)
    drop-shadow(-3px 0 2px rgba(220, 232, 226, 0.62))
    drop-shadow(3px 0 3px rgba(141, 255, 79, 0.58));
  mix-blend-mode: screen;
  pointer-events: none;
}

.lsx-ls-seal img {
  position: relative;
  z-index: 1;
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  opacity: 0.92;
  mix-blend-mode: screen;
  filter:
    brightness(1.1)
    contrast(1.08)
    drop-shadow(0 0 4px rgba(220, 232, 226, 0.2))
    drop-shadow(0 0 8px rgba(0, 224, 255, 0.16));
  transform: scale(0.97);
  transition:
    opacity 180ms ease,
    filter 220ms ease,
    transform 220ms cubic-bezier(.2,.78,.2,1);
  user-select: none;
  pointer-events: none;
}

.daily-brand-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.daily-brand-copy small,
.daily-brand-copy > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-brand-copy small {
  color: rgba(190, 216, 206, 0.42);
  font-size: 0.42rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
}

.daily-brand-copy > span {
  color: rgba(220, 232, 226, 0.68);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  line-height: 1.1;
}

/* Important: these selectors target only the LS itself. */
.lsx-ls-seal:hover img {
  opacity: 1;
  animation: daily-ls-logo-glitch 640ms steps(1, end) both;
}

.lsx-ls-seal:hover::before {
  animation: daily-ls-signal-slash 640ms cubic-bezier(.16,.78,.18,1) both;
}

.lsx-ls-seal:hover::after {
  animation: daily-ls-signal-slice 640ms steps(7, end) both;
}

@keyframes daily-ls-logo-glitch {
  0%, 100% {
    filter:
      brightness(1.1)
      contrast(1.08)
      drop-shadow(0 0 4px rgba(220, 232, 226, 0.2))
      drop-shadow(0 0 8px rgba(0, 224, 255, 0.16));
    transform: translateX(0) skewX(0deg) scale(0.97);
  }
  12% {
    filter:
      brightness(1.2)
      contrast(1.12)
      drop-shadow(-4px 0 2px rgba(224, 235, 229, 0.42))
      drop-shadow(4px 0 3px rgba(141, 255, 79, 0.36));
    transform: translateX(-3px) skewX(-2deg) scale(1.02);
  }
  22% {
    transform: translateX(4px) skewX(1.5deg) scale(1.025);
  }
  34% {
    transform: translateX(-2px) skewX(-1deg) scale(1.015);
  }
  48% {
    filter:
      brightness(1.18)
      contrast(1.1)
      drop-shadow(-2px 0 2px rgba(238, 247, 242, 0.32))
      drop-shadow(3px 0 3px rgba(141, 255, 79, 0.3));
    transform: translateX(2px) skewX(0.5deg) scale(1.01);
  }
  68% {
    transform: translateX(-1px) skewX(0deg) scale(1);
  }
}

@keyframes daily-ls-signal-slash {
  0% {
    opacity: 0;
    transform: translateY(-50%) rotate(-17deg) scaleX(0);
  }
  15% {
    opacity: 1;
    transform: translateY(-50%) rotate(-17deg) scaleX(0.34);
  }
  38% {
    opacity: 0.96;
    transform: translateY(-50%) rotate(-17deg) scaleX(1);
  }
  62% {
    opacity: 0.48;
    transform: translate(5px, -50%) rotate(-17deg) scaleX(0.86);
  }
  100% {
    opacity: 0;
    transform: translate(12px, -50%) rotate(-17deg) scaleX(0.24);
  }
}

@keyframes daily-ls-signal-slice {
  0%, 100% {
    opacity: 0;
    transform: translateX(0);
  }
  14% {
    opacity: 0.88;
    transform: translateX(-7px);
  }
  28% {
    opacity: 0.62;
    transform: translateX(8px);
  }
  43% {
    opacity: 0.94;
    transform: translateX(-4px);
  }
  60% {
    opacity: 0.42;
    transform: translateX(5px);
  }
  78% {
    opacity: 0;
    transform: translateX(0);
  }
}

@media (max-width: 560px) {
  .lsx-ls-seal {
    width: 40px;
    height: 40px;
  }

  .lsx-ls-seal img {
    width: 36px;
    height: 36px;
  }

  .lsx-ls-seal::after {
    background-size: 36px 36px;
  }

  .daily-brand-lock {
    gap: 9px;
  }
}

@media (max-width: 430px) {
  .daily-brand-copy small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lsx-ls-seal:hover img,
  .lsx-ls-seal:hover::before,
  .lsx-ls-seal:hover::after {
    animation: none !important;
  }

  .lsx-ls-seal:hover img {
    filter:
      brightness(1.16)
      contrast(1.1)
      drop-shadow(0 0 6px rgba(220, 232, 226, 0.26))
      drop-shadow(0 0 10px rgba(141, 255, 79, 0.2));
    transform: none !important;
  }
}

/* ============================================================
   LOW SIGNALX — DISTRIBUTED MODULE SEALS V3
   Carries the LS mark through the catalog, creator network, and
   terminal footer. The signal slash triggers only over the mark.
   ============================================================ */

.section-brand-lock {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.section-brand-copy {
  min-width: 0;
}

.section-ls-seal {
  flex: 0 0 auto;
  margin-top: 4px;
}

.footer-brand-lock {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-ls-seal {
  width: 34px;
  height: 34px;
}

.footer-ls-seal img {
  width: 30px;
  height: 30px;
}

.footer-ls-seal::after {
  background-size: 30px 30px;
}

@media (max-width: 620px) {
  .section-brand-lock {
    gap: 12px;
  }

  .footer-brand-lock {
    gap: 10px;
  }
}

@media (max-width: 430px) {
  .section-brand-lock {
    align-items: flex-start;
  }

  .section-ls-seal {
    margin-top: 0;
  }
}

.store-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 14px;
  border: 1px solid rgba(61, 255, 180, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(5, 7, 13, 0.72);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.store-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(61, 255, 180, 0.08) 48%,
    transparent 72%
  );
  transform: translateX(-120%);
  transition: transform 420ms ease;
  pointer-events: none;
}

.store-link:hover {
  border-color: rgba(61, 255, 180, 0.72);
  background:
    linear-gradient(180deg, rgba(61, 255, 180, 0.07), rgba(255, 255, 255, 0.01)),
    rgba(5, 7, 13, 0.88);
  box-shadow:
    0 0 18px rgba(61, 255, 180, 0.12),
    inset 0 0 16px rgba(61, 255, 180, 0.04);
  transform: translateY(-1px);
}

.store-link:hover::before {
  transform: translateX(120%);
}

.store-link-light {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #3dffb4;
  box-shadow: 0 0 10px rgba(61, 255, 180, 0.9);
}

.store-link-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.store-link-copy span {
  font-size: 9px;
  letter-spacing: 0.16em;
  opacity: 0.58;
}

.store-link-copy strong {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}