/* =========================================================
   LAN-LAB FINAL CSS REFACTOR
   Safe cleanup pass based on the working production stylesheet.

   Ziele:
   1) Bestehendes funktionierendes Layout behalten
   2) Offensichtliche Doppelungen bereinigen
   3) UI-Polish für Support / Account / Save / Mission Control integrieren
   4) Struktur und Wartbarkeit verbessern

   Hinweis:
   - Diese Datei ist als drop-in Ersatz für die bisherige lanlab.css gedacht.
   - Account-/Save-Textblöcke profitieren zusätzlich von den JS-Markup-Snippets.
   ========================================================= */

/* =========================================================
   Datei-Navigation – lanlab.css
   1) Root / Base / Global Elements
   2) App Shell / Header / Hero / Dashboard
   3) Profile / Hub / Level Cards / Overlays
   4) Mission / Board / Devices / Terminal
   5) Briefing / Success / Support / Footer
   6) Effects / Motion / Responsive
   7) Roadmap / Ranked Board / Security UI
   ========================================================= */

:root {
  --bg: #07111c;
  --bg-soft: #0d1724;
  --panel: rgba(8, 19, 33, 0.92);
  --panel-border: rgba(120, 196, 255, 0.14);
  --card: rgba(13, 29, 46, 0.92);
  --text: #eaf4ff;
  --muted: #99afc8;
  --cyan: #4fd7ff;
  --green: #67f4af;
  --amber: #ffcf6b;
  --danger: #ff7a7a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1460px;
  --font: "Segoe UI", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(79, 215, 255, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(103, 244, 175, 0.12), transparent 28%),
    linear-gradient(180deg, #07111c 0%, #08111c 45%, #050c14 100%);
  color: var(--text);
  font-family: var(--font);
}

body {
  min-height: 100vh;
}

button,
input {
  font: inherit;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: "Consolas", "Courier New", monospace;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ###### BEGIN App Shell / Header / Hero ###### */

.lanlab-app {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 22px 0 34px;
}

.lanlab-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 22px 20px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.lanlab-header__top {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(420px, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.lanlab-header__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.brand {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.game-title {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  flex-wrap: wrap;
}

.version-pill {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(79, 215, 255, 0.14);
  color: var(--cyan);
  border: 1px solid rgba(79, 215, 255, 0.22);
}

.lanlab-header__mainnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.lanlab-header__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.lanlab-header__support {
  display: block;
}

.badge--mode {
  padding-inline: 12px;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.lanlab-mode-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.lanlab-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ghost-btn--danger {
  border-color: rgba(255, 122, 122, 0.18);
  background: rgba(255, 122, 122, 0.06);
}

.ghost-btn--danger:hover {
  border-color: rgba(255, 122, 122, 0.30);
  background: rgba(255, 122, 122, 0.10);
}

.badge {
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.82rem;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge--cyan {
  color: var(--cyan);
  background: rgba(79, 215, 255, 0.12);
  border-color: rgba(79, 215, 255, 0.18);
}

.badge--green {
  color: var(--green);
  background: rgba(103, 244, 175, 0.12);
  border-color: rgba(103, 244, 175, 0.18);
}

.ghost-btn,
.mode-btn,
.launch-btn,
.terminal-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 14px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.launch-btn--restart {
  box-shadow: 0 0 0 1px rgba(79, 215, 255, 0.24), 0 10px 24px rgba(0, 0, 0, 0.28);
}

.launch-btn--restart:hover {
  transform: translateY(-1px);
}

.launch-btn--restart:active {
  transform: translateY(0);
}

.ghost-btn:hover,
.mode-btn:hover,
.launch-btn:hover,
.terminal-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 215, 255, 0.28);
}

.mode-btn.is-active,
.launch-btn {
  background: linear-gradient(135deg, rgba(79, 215, 255, 0.24), rgba(103, 244, 175, 0.18));
  border-color: rgba(79, 215, 255, 0.28);
}

.command-center {
  display: block;
  margin-top: 22px;
}

.command-center.is-hidden,
.game-shell.is-hidden {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 18px;
}

.hero-panel,
.panel {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 26px;
}

.hero-panel--intro h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.94;
}

.hero-panel--intro h1 span {
  color: var(--cyan);
}

.hero-lead {
  margin: 0;
  font-size: 1.08rem;
  color: #dce8f7;
  max-width: 62ch;
}

.hero-copy {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 68ch;
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.hero-actions,
.overlay-actions,
.save-actions,
.profile-actions-row,
.mission-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.command-btn {
  min-width: 170px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.premium-svg-banner {
  position: relative;
  display: block;
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  background:
    radial-gradient(circle at top left, rgba(79, 215, 255, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(79, 215, 255, 0.08), rgba(103, 244, 175, 0.04)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(79, 215, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 18px 36px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.premium-svg-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 215, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 22px 42px rgba(0, 0, 0, 0.26);
}

.premium-svg-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.05) 48%, transparent 64%);
  transform: translateX(-120%);
  animation: premiumBannerSweep 9s linear infinite;
  pointer-events: none;
}

.premium-svg-banner__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 18px;
  align-items: center;
  padding: 10px 12px;
}

.premium-svg-banner__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.premium-svg-banner__eyebrow {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.premium-svg-banner__title {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.15;
  font-weight: 900;
  color: #f3fbff;
}

.premium-svg-banner__copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 62ch;
}

.premium-svg-banner__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.premium-svg-banner__chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(79, 215, 255, 0.08);
  border: 1px solid rgba(79, 215, 255, 0.16);
  color: #def8ff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.premium-svg-banner__visual {
  display: grid;
  place-items: center;
  min-height: 180px;
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(79, 215, 255, 0.08), transparent 58%),
    rgba(2, 8, 16, 0.35);
  border: 1px solid rgba(79, 215, 255, 0.08);
  overflow: hidden;
}

.premium-svg-banner__svg {
  width: min(100%, 520px);
  height: auto;
  display: block;
}

.premium-svg-banner--layout-a {
  min-height: 158px;
}

.premium-svg-banner__content--layout-a {
  grid-template-columns: 140px minmax(260px, 1fr) minmax(280px, 0.95fr);
  gap: 20px;
  align-items: center;
}

.premium-svg-banner__brand {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 12px;
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(79, 215, 255, 0.08), transparent 58%),
    rgba(2, 8, 16, 0.26);
  border: 1px solid rgba(79, 215, 255, 0.08);
}

.premium-svg-banner__brand-svg {
  width: 108px;
  height: auto;
  display: block;
}

.premium-svg-banner__shield-outer {
  fill: rgba(6, 14, 24, 0.62);
  stroke: url(#kssShieldStroke);
  stroke-width: 3;
  filter: drop-shadow(0 0 12px rgba(79, 215, 255, 0.14));
}

.premium-svg-banner__shield-inner {
  fill: url(#kssShieldFill);
  stroke: rgba(163, 237, 255, 0.42);
  stroke-width: 1.6;
}

.premium-svg-banner__kss-core {
  fill: none;
  stroke: #eefbff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-svg-banner__kss-layer {
  fill: none;
  stroke: rgba(103, 244, 175, 0.88);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-svg-banner__kss-node {
  fill: #d8fbff;
  stroke: rgba(79, 215, 255, 0.95);
  stroke-width: 2;
}

.premium-svg-banner__kss-node--a,
.premium-svg-banner__kss-node--d {
  animation: premiumBannerNodePulse 2.8s ease-in-out infinite;
}

.premium-svg-banner__kss-node--b,
.premium-svg-banner__kss-node--c {
  animation: premiumBannerNodePulse 2.8s ease-in-out infinite 0.45s;
}

.premium-svg-banner__text--layout-a {
  gap: 8px;
}

.premium-svg-banner__subtitle {
  color: #d8f7ff;
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.premium-svg-banner__visual--layout-a {
  min-height: 150px;
}

.premium-svg-banner__bggrid--a path {
  fill: none;
  stroke: rgba(134, 214, 233, 0.10);
  stroke-width: 1;
}

.premium-svg-banner__frame-line {
  fill: none;
  stroke: rgba(79, 215, 255, 0.26);
  stroke-width: 2;
}

.premium-svg-banner__frame-line--inner {
  stroke: rgba(103, 244, 175, 0.18);
  stroke-width: 1.6;
}

.premium-svg-banner__trace {
  fill: rgba(10, 24, 38, 0.40);
  stroke: url(#bannerLineGradientA);
  stroke-width: 2.4;
}

.premium-svg-banner__trace-mark {
  fill: rgba(232, 251, 255, 0.95);
  animation: premiumBannerShieldPulse 3.2s ease-in-out infinite;
}

.premium-svg-banner__bggrid path {
  fill: none;
  stroke: rgba(134, 214, 233, 0.10);
  stroke-width: 1;
}

.premium-svg-banner__line {
  fill: none;
  stroke: url(#bannerLineGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14 10;
  animation: premiumBannerFlow 4.8s linear infinite;
}

.premium-svg-banner__line--secondary {
  stroke-width: 2.2;
  opacity: 0.7;
  animation-duration: 6.2s;
}

.premium-svg-banner__node {
  fill: #c6fbff;
  stroke: rgba(79, 215, 255, 0.95);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(79, 215, 255, 0.22));
}

.premium-svg-banner__node--a,
.premium-svg-banner__node--d,
.premium-svg-banner__node--g {
  animation: premiumBannerNodePulse 2.6s ease-in-out infinite;
}

.premium-svg-banner__node--b,
.premium-svg-banner__node--e {
  animation: premiumBannerNodePulse 2.6s ease-in-out infinite 0.4s;
}

.premium-svg-banner__node--c,
.premium-svg-banner__node--f {
  animation: premiumBannerNodePulse 2.6s ease-in-out infinite 0.8s;
}

.premium-svg-banner__shield {
  fill: url(#bannerShieldGradient);
  stroke: url(#bannerLineGradient);
  stroke-width: 2.6;
  filter: drop-shadow(0 0 14px rgba(79, 215, 255, 0.16));
}

  .premium-svg-banner__pulse,
  .premium-svg-banner__kss-node,
  .premium-svg-banner__trace-mark {
    animation: none !important;
    transition: none !important;
  }
}

.premium-svg-banner__pulse--2 {
  animation-delay: 1.2s;
}

@keyframes premiumBannerSweep {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes premiumBannerFlow {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -48; }
}

@keyframes premiumBannerNodePulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(79, 215, 255, 0.22));
  }
  50% {
    transform: scale(1.16);
    filter: drop-shadow(0 0 14px rgba(103, 244, 175, 0.26));
  }
}

@keyframes premiumBannerShieldPulse {
  0%, 100% {
    opacity: 0.88;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

@keyframes premiumBannerPulse {
  0% {
    opacity: 0.45;
    transform: scale(0.76);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}



.quick-card,
.dashboard-card,
.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
}

.quick-card strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--green);
}

.quick-card span,
.dashboard-card span,
.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.entry-screen {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: 20px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top, rgba(79, 215, 255, 0.11), transparent 45%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(79, 215, 255, 0.12);
}

.entry-screen__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.entry-screen__status {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.entry-screen__terminal {
  flex: 1;
  min-height: 200px;
  border-radius: var(--radius-md);
  background: rgba(2, 8, 16, 0.85);
  border: 1px solid rgba(79, 215, 255, 0.1);
  padding: 18px;
  font-family: "Consolas", "Courier New", monospace;
  color: #b7ffd8;
  line-height: 1.75;
}

.entry-screen__ok {
  color: var(--cyan);
}

.entry-screen__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.entry-screen__meta div {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.entry-screen__meta span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 4px;
}

.entry-screen__meta strong {
  font-size: 1.1rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.dashboard-grid--compact {
  margin-top: 0;
}

.dashboard-card strong,
.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.34rem;
}

.progress-bar-wrap {
  margin-top: 18px;
}

.progress-bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.progress-bar__fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  transition: width 0.24s ease;
}

.hub-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
  margin-top: 18px;
}

.panel {
  padding: 24px;
}

.panel__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.panel__head h2 {
  margin: 8px 0 0;
  font-size: 1.6rem;
}

/* ###### BEGIN Profile / Hub / Save / Scoreboard ###### */

.profile-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.panel--profile,
.panel--scoreboard {
  height: 100%;
}

.profile-box__visual {
  display: flex;
  gap: 16px;
  align-items: center;
}

.profile-avatar {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(79, 215, 255, 0.24), rgba(103, 244, 175, 0.2));
  border: 1px solid rgba(79, 215, 255, 0.2);
  font-size: 2rem;
}

.profile-rank {
  font-size: 1.2rem;
  font-weight: 800;
}

.profile-status {
  margin-top: 6px;
  color: var(--muted);
}

.field-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.text-input,
.terminal-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(2, 8, 16, 0.84);
  color: var(--text);
  padding: 13px 15px;
  outline: none;
}

.profile-actions-row .text-input {
  flex: 1;
}

.profile-stats,
.save-box,
.objective-box {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
}

.profile-stats span,
.save-box__text,
.save-state,
.objective-box__label,
.terminal-hint,
.progress-line small {
  color: var(--muted);
}

.profile-stats strong {
  display: block;
  margin-top: 7px;
  font-size: 1.08rem;
}

.save-box {
  padding: 18px;
}

.save-box__title {
  font-weight: 800;
  font-size: 1.02rem;
}

.save-box__text {
  margin: 8px 0 0;
  line-height: 1.6;
}

.save-state {
  margin-top: 12px;
}

.operator-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(79, 215, 255, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(79, 215, 255, 0.07), rgba(103, 244, 175, 0.05)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(79, 215, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.22);
}

.operator-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.04) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: operatorCardSweep 8.5s linear infinite;
  pointer-events: none;
}

.operator-card__visual {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(79, 215, 255, 0.09), transparent 58%),
    rgba(2, 8, 16, 0.42);
  border: 1px solid rgba(79, 215, 255, 0.10);
  overflow: hidden;
}

.operator-card__ring,
.operator-card__glow {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
}

.operator-card__ring {
  width: 138px;
  height: 138px;
  border: 1px solid rgba(79, 215, 255, 0.20);
  box-shadow:
    0 0 0 10px rgba(79, 215, 255, 0.03),
    0 0 30px rgba(79, 215, 255, 0.08);
  animation: operatorCardRing 6s linear infinite;
}

.operator-card__glow {
  width: 94px;
  height: 94px;
  background: radial-gradient(circle, rgba(79, 215, 255, 0.24), rgba(103, 244, 175, 0.06) 55%, transparent 72%);
  filter: blur(4px);
  animation: operatorCardGlow 3.8s ease-in-out infinite;
}

.operator-card__svg {
  position: relative;
  width: 168px;
  height: 168px;
  z-index: 2;
  overflow: visible;
}

.operator-card__shield {
  fill: rgba(7, 18, 31, 0.55);
  stroke: url(#operatorShieldStroke);
  stroke-width: 3;
  filter: drop-shadow(0 0 14px rgba(79, 215, 255, 0.18));
}

.operator-card__grid {
  fill: none;
  stroke: rgba(180, 242, 255, 0.88);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12 8;
  animation: operatorGridFlow 4.5s linear infinite;
}

.operator-card__node {
  fill: #bdf6ff;
  stroke: rgba(79, 215, 255, 0.95);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(79, 215, 255, 0.24));
}

.operator-card__node--a,
.operator-card__node--d {
  animation: operatorNodePulse 2.2s ease-in-out infinite;
}

.operator-card__node--b,
.operator-card__node--e {
  animation: operatorNodePulse 2.2s ease-in-out infinite 0.35s;
}

.operator-card__node--c,
.operator-card__node--f {
  animation: operatorNodePulse 2.2s ease-in-out infinite 0.7s;
}

.operator-card__pulse {
  fill: none;
  stroke: rgba(79, 215, 255, 0.26);
  stroke-width: 2;
  transform-origin: center;
  animation: operatorPulse 3.2s ease-out infinite;
}

.operator-card__pulse--2 {
  animation-delay: 1.1s;
}

.operator-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.operator-card__eyebrow {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.operator-card__title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.1;
  font-weight: 900;
}

.operator-card__role {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.operator-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.operator-card__metric {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.operator-card__metric span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.operator-card__metric strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  color: #f4fbff;
}

.operator-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.operator-card__chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(79, 215, 255, 0.09);
  border: 1px solid rgba(79, 215, 255, 0.18);
  color: #dff9ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.operator-card__line {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

@keyframes operatorCardSweep {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes operatorCardRing {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes operatorCardGlow {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes operatorGridFlow {
  0% {
    stroke-dashoffset: 0;
    opacity: 0.82;
  }
  100% {
    stroke-dashoffset: -40;
    opacity: 1;
  }
}

@keyframes operatorNodePulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(79, 215, 255, 0.24));
  }
  50% {
    transform: scale(1.14);
    filter: drop-shadow(0 0 14px rgba(103, 244, 175, 0.28));
  }
}

@keyframes operatorPulse {
  0% {
    opacity: 0.55;
    transform: scale(0.76);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

.scoreboard-table-wrap {
  overflow-x: auto;
}

.scoreboard-table {
  width: 100%;
  border-collapse: collapse;
}

.scoreboard-table th,
.scoreboard-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.scoreboard-table th {
  font-size: 0.84rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scoreboard-table td strong {
  font-size: 1rem;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.level-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.level-card__title {
  font-size: 1.2rem;
  font-weight: 800;
}

.level-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.level-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.level-card__stats div {
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.level-card__stats span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 5px;
}

.level-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.level-card.is-locked {
  opacity: 0.68;
}

/* ###### BEGIN Overlays / Menus ###### */

.progress-menu,
.level-menu,
.briefing-overlay,
.success-overlay {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 40;
}

.progress-menu.is-open,
.level-menu.is-open,
.briefing-overlay.is-open,
.success-overlay.is-open {
  display: block;
}

/* ###### BEGIN briefing overlay iphone scroll fix ###### */
.briefing-overlay {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.briefing-overlay .overlay-panel--briefing,
.briefing-overlay .overlay-panel--cinematic {
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 28px;
}

.briefing-overlay .overlay-actions,
.briefing-overlay .overlay-actions--cinematic {
  position: sticky;
  bottom: 0;
  z-index: 6;
  margin-top: 20px;
  padding-top: 14px;
  padding-bottom: 4px;
  background: linear-gradient(
    180deg,
    rgba(5, 14, 24, 0),
    rgba(5, 14, 24, 0.82) 24%,
    rgba(5, 14, 24, 0.96) 100%
  );
}

@media (max-width: 640px) {
  .briefing-overlay .overlay-panel--briefing,
  .briefing-overlay .overlay-panel--cinematic {
    max-height: calc(100dvh - 18px);
  }
}
/* ###### END briefing overlay iphone scroll fix ###### */

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 16, 0.72);
  backdrop-filter: blur(12px);
}

.overlay-panel {
  position: relative;
  width: min(calc(100% - 28px), 920px);
  margin: 64px auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--panel-border);
  background: rgba(7, 18, 32, 0.96);
  box-shadow: var(--shadow);
  padding: 24px;
  z-index: 2;
}

.overlay-panel--briefing,
.overlay-panel--success {
  width: min(calc(100% - 28px), 680px);
  margin-top: 88px;
}

.overlay-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.overlay-head h2 {
  margin: 8px 0 0;
  font-size: 1.7rem;
}

.overlay-lead {
  margin-top: 16px;
  line-height: 1.7;
  color: #dce8f7;
}

.briefing-box {
  margin-top: 18px;
  border-radius: var(--radius-md);
  background: rgba(2, 8, 16, 0.86);
  border: 1px solid rgba(79, 215, 255, 0.1);
  padding: 18px;
}

.briefing-box__label {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.briefing-typing {
  margin-top: 12px;
  font-family: "Consolas", "Courier New", monospace;
  color: #b7ffd8;
  line-height: 1.7;
  min-height: 92px;
  white-space: pre-line;
}

.typing-cursor {
  display: inline-block;
  width: 10px;
  height: 1.2em;
  background: rgba(79, 215, 255, 0.9);
  vertical-align: bottom;
  margin-left: 5px;
  animation: blink 0.9s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.progress-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.progress-line {
  display: grid;
  gap: 8px;
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.progress-line__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

/* ###### BEGIN Mission / Board / Devices / Terminal ###### */

/* ###### BEGIN mission layout rebuild base ###### */
.game-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 22px;
  align-items: stretch;
}

.panel--mission,
.panel--terminal {
  min-width: 0;
}
/* ###### END mission layout rebuild base ###### */

.mission-chip {
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(79, 215, 255, 0.12);
  color: var(--cyan);
  font-weight: 700;
  border: 1px solid rgba(79, 215, 255, 0.18);
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.objective-box {
  margin-top: 16px;
  padding: 16px;
}

.objective-box p {
  margin: 8px 0 0;
  line-height: 1.65;
}

.board-shell {
  position: relative;
  margin-top: 18px;
  min-height: 520px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(79, 215, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 215, 255, 0.05) 1px, transparent 1px),
    rgba(2, 8, 16, 0.88);
  background-size: 40px 40px, 40px 40px, auto;
  border: 1px solid rgba(79, 215, 255, 0.08);
  overflow: auto;
  padding: 0;
}

.network-board,
.connection-svg {
  position: absolute;
  inset: 0;
  min-width: 1200px;
  min-height: 520px;
}

.connection-svg {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.device {
  position: absolute;
  width: 138px;
  min-height: 92px;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(18, 37, 58, 0.94), rgba(9, 20, 34, 0.96));
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  backface-visibility: hidden;
  transform: none !important;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, filter 0.14s ease;
}

.device:hover,
.device:active,
.device:focus,
.device.is-selected,
.device.is-connected {
  transform: none !important;
}

.device:hover {
  border-color: rgba(79, 215, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(79, 215, 255, 0.08),
    0 20px 35px rgba(0, 0, 0, 0.24);
}

.device.is-selected {
  border-color: rgba(79, 215, 255, 0.58);
  box-shadow:
    0 0 0 4px rgba(79, 215, 255, 0.12),
    0 20px 35px rgba(0, 0, 0, 0.24);
}

.device.is-connected {
  border-color: rgba(103, 244, 175, 0.42);
  box-shadow:
    0 0 0 3px rgba(103, 244, 175, 0.10),
    0 20px 35px rgba(0, 0, 0, 0.24);
}

.device__type {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(234, 244, 255, 0.78);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.device__label {
	color: #f2f7ff;
  font-weight: 800;
  font-size: 1.05rem;
   text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.device--client .device__label,
.device--laptop .device__label {
  color: #d7ebff;
}

.device--switch .device__label {
  color: var(--cyan);
  
}

.device--router .device__label,
.device--firewall .device__label {
  color: #f2f7ff;
}

.device--server .device__label {
  color: var(--green);
}

.device--printer .device__label,
.device--wifi .device__label {
  color: #f4c8ff;
}

.terminal-output {
  min-height: 420px;
  max-height: 420px;
  overflow: auto;
  border-radius: var(--radius-lg);
  background: rgba(2, 8, 16, 0.9);
  border: 1px solid rgba(79, 215, 255, 0.08);
  padding: 16px;
  font-family: "Consolas", "Courier New", monospace;
  line-height: 1.55;
  font-size: 0.95rem;
}

.terminal-form {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.terminal-input {
  flex: 1;
}

.terminal-btn {
  min-width: 110px;
}

.terminal-line {
  margin-bottom: 8px;
}

.terminal-line--success {
  color: #b7ffd8;
}

.terminal-line--error {
  color: #ff9e9e;
}

.terminal-line--info {
  color: #d8e6f7;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 46px;
  border-radius: 999px;
  background: rgba(103, 244, 175, 0.12);
  color: var(--green);
  border: 1px solid rgba(103, 244, 175, 0.24);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.success-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.success-stats div {
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.success-stats span {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.success-stats strong {
  font-size: 1.12rem;
}

/* ###### BEGIN Footer / Briefing / Support ###### */

.lanlab-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  color: var(--muted);
  padding: 0 4px;
}

.lanlab-footer__right {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.operator-briefing-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.operator-briefing-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(79, 215, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  flex: 0 0 88px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.operator-briefing-card__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  image-rendering: auto;
}

.operator-briefing-card__label {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.operator-briefing-card__name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 4px;
}

.operator-briefing-card__role {
  margin-top: 6px;
  color: var(--muted);
}

.operator-briefing-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(220px, 0.9fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.operator-briefing-summary h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 2.4vw, 2.8rem);
  line-height: 1.12;
}

.support-box {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 0;
  border-radius: 20px;
  background: transparent;
  border: 0;
}

.support-box__content {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(220px, 0.8fr);
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(79, 215, 255, 0.10), transparent 36%),
    linear-gradient(135deg, rgba(79, 215, 255, 0.08), rgba(103, 244, 175, 0.05)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(79, 215, 255, 0.14);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.support-box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.support-progress {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  font-size: 0.8rem;
}

.support-box__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 6px;
  flex: 1;
  min-width: 220px;
}

.support-box__text span {
  font-size: 1rem;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.support-box__text small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
  max-width: 60ch;
}


.paypal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 0.94rem;
  white-space: nowrap;
  color: #0b1020;
  background: linear-gradient(135deg, #ffd166, #ffb703);
  border: 1px solid rgba(255, 209, 102, 0.42);
  box-shadow: 0 10px 22px rgba(255, 183, 3, 0.18);
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.paypal-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 14px 28px rgba(255, 183, 3, 0.24);
}

.support-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
}

.support-progress__meta span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.support-progress__meta strong {
  color: var(--green);
  font-size: 1rem;
}

.support-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 42px;
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(103, 244, 175, 0.1);
  border: 1px solid rgba(103, 244, 175, 0.16);
}

.support-badge span {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.support-badge strong {
  color: var(--green);
  font-size: 1rem;
  margin-top: 2px;
}

.support-progress__bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.support-progress__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 18px rgba(79, 215, 255, 0.24);
  transition: width 0.3s ease;
}

/* ###### BEGIN LAN-LAB Batch 1 final ###### */

.device {
  transform-origin: center center;
  will-change: box-shadow, filter;
}

.device:hover {
  filter: brightness(1.03);
}

.device.is-selected {
  animation: lanlabSelectedPulse 1.2s ease-in-out infinite;
}

.device.is-correct {
  animation: lanlabSuccessPulse 520ms ease;
}

.device.is-error {
  animation: lanlabErrorShake 360ms ease;
}

@keyframes lanlabSelectedPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(79, 215, 255, 0.18),
      0 20px 35px rgba(0, 0, 0, 0.24);
  }
  70% {
    box-shadow:
      0 0 0 10px rgba(79, 215, 255, 0),
      0 20px 35px rgba(0, 0, 0, 0.24);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(79, 215, 255, 0),
      0 20px 35px rgba(0, 0, 0, 0.24);
  }
}

@keyframes lanlabSuccessPulse {
  0% {
    filter: brightness(1);
    box-shadow:
      0 0 0 0 rgba(103, 244, 175, 0),
      0 20px 35px rgba(0, 0, 0, 0.24);
  }
  35% {
    filter: brightness(1.08);
    box-shadow:
      0 0 0 6px rgba(103, 244, 175, 0.14),
      0 22px 38px rgba(0, 0, 0, 0.28);
  }
  100% {
    filter: brightness(1);
    box-shadow:
      0 0 0 0 rgba(103, 244, 175, 0),
      0 20px 35px rgba(0, 0, 0, 0.24);
  }
}

@keyframes lanlabErrorShake {
  0%   { margin-left: 0; }
  20%  { margin-left: -4px; }
  40%  { margin-left: 4px; }
  60%  { margin-left: -3px; }
  80%  { margin-left: 3px; }
  100% { margin-left: 0; }
}

.lanlab-connection {
  transition:
    opacity 220ms ease,
    filter 180ms ease,
    stroke 180ms ease,
    stroke-width 180ms ease;
}

.lanlab-connection.is-animating {
  animation: lanlabLinePop 420ms ease;
}

.lanlab-connection.is-active {
  filter: drop-shadow(0 0 6px rgba(90, 220, 255, 0.35));
}

@keyframes lanlabLinePop {
  0% { opacity: 0.18; }
  100% { opacity: 1; }
}

.lanlab-connection.is-correct {
  stroke: rgba(110, 231, 183, 0.95);
  filter:
    saturate(1.1)
    drop-shadow(0 0 6px rgba(110, 231, 183, 0.28))
    drop-shadow(0 0 12px rgba(110, 231, 183, 0.22));
}

.lanlab-connection.is-forbidden {
  stroke: rgba(255, 107, 107, 0.95);
  filter:
    saturate(1.2)
    drop-shadow(0 0 6px rgba(255, 107, 107, 0.30))
    drop-shadow(0 0 12px rgba(255, 107, 107, 0.24));
}

.lanlab-connection.is-extra {
  stroke: rgba(246, 183, 60, 0.95);
  filter:
    saturate(1.1)
    drop-shadow(0 0 6px rgba(246, 183, 60, 0.28))
    drop-shadow(0 0 12px rgba(246, 183, 60, 0.22));
}

button,
.level-card,
.mission-actions .ghost-btn,
.mission-actions .launch-btn,
.mission-actions .terminal-btn {
  transition:
    transform 140ms ease,
    box-shadow 180ms ease,
    filter 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

button:hover,
.level-card:hover {
  transform: translateY(-1px);
}

button:active,
.level-card:active {
  transform: translateY(0);
}

#missionFeedback {
  transform-origin: center center;
}

#missionFeedback.is-visible,
#missionFeedback[data-state="show"] {
  animation: lanlabOverlayEnter 420ms cubic-bezier(.2,.8,.2,1);
}

.success-overlay.is-open .overlay-panel,
.briefing-overlay.is-open .overlay-panel,
.progress-menu.is-open .overlay-panel,
.level-menu.is-open .overlay-panel,
.roadmap-overlay.is-open .overlay-panel {
  animation: lanlabOverlayEnter 420ms cubic-bezier(.2,.8,.2,1);
}

@keyframes lanlabOverlayEnter {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.lanlabSoundToggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.lanlabSoundToggle.is-muted {
  opacity: 0.72;
}

@media (prefers-reduced-motion: reduce) {
  .device,
  button,
  .level-card,
  .lanlab-connection,
  #missionFeedback,
  .overlay-panel,
  .operator-card::before,
  .operator-card__ring,
  .operator-card__glow,
  .operator-card__grid,
  .operator-card__node,
  .operator-card__pulse,
  .lanlab-brandbar::before,
  .premium-svg-banner::before,
  .premium-svg-banner__line,
  .premium-svg-banner__node,
  .premium-svg-banner__shield-mark,
  .premium-svg-banner__pulse {
    animation: none !important;
    transition: none !important;
  }
}

/* ###### END LAN-LAB Batch 1 final ###### */

@media (max-width: 1180px) {
  .hero-grid,
  .hub-grid,
  .game-layout {
    grid-template-columns: 1fr;
  }

  .lanlab-header__top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .lanlab-header__mainnav,
  .lanlab-header__tools {
    justify-content: flex-start;
  }

  .support-box__content {
    grid-template-columns: 1fr;
  }

  .support-box__top {
    align-items: stretch;
  }

  .paypal-btn {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .dashboard-grid,
  .mission-stats,
  .success-stats,
  .quick-grid,
  .entry-screen__meta {
    grid-template-columns: repeat(2, 1fr);
  }

.premium-svg-banner__content,
  .premium-svg-banner__content--layout-a {
    grid-template-columns: 1fr;
  }

  .premium-svg-banner__brand {
    min-height: 126px;
  }

  .premium-svg-banner__visual,
  .premium-svg-banner__visual--layout-a {
    min-height: 150px;
  }

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

.lanlab-header {
    padding: 16px;
  }

  .lanlab-header__mainnav {
    gap: 8px;
  }

  .lanlab-mode-group,
  .lanlab-language-switch {
    width: 100%;
    justify-content: space-between;
  }

  .lanlab-mode-switch {
    width: 100%;
  }

  .lanlab-mode-switch .mode-btn {
    flex: 1 1 0;
  }
  
  .lanlab-language-switch .ghost-btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .badge--mode {
    width: 100%;
    text-align: center;
  }
  


  .operator-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .operator-card__visual {
    min-height: 170px;
  }

  .operator-card__metrics {
    grid-template-columns: 1fr;
  }

  .device {
    width: 122px;
    min-height: 86px;
  }
}

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

@media (max-width: 620px) {
  .lanlab-app {
    width: min(calc(100% - 18px), var(--max-width));
    padding-top: 12px;
  }

  .premium-svg-banner {
    margin-top: 16px;
    border-radius: 18px;
  }

.premium-svg-banner__content,
  .premium-svg-banner__content--layout-a {
    padding: 16px;
    gap: 14px;
  }

  .premium-svg-banner__brand-svg {
    width: 92px;
  }

  .premium-svg-banner__copy {
    font-size: 0.9rem;
  }

  .premium-svg-banner__subtitle {
    font-size: 0.88rem;
  }

  .premium-svg-banner__chip {
    min-height: 32px;
    padding: 0 10px;
  }

  .lanlab-brandbar {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .lanlab-brandbar__left,
  .lanlab-brandbar__right {
    gap: 8px;
  }

  .lanlab-brandbar__domain {
    font-size: 0.82rem;
  }

  .lanlab-brandbar__claim {
    font-size: 0.78rem;
  }

.lanlab-brandbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(79, 215, 255, 0.07), rgba(103, 244, 175, 0.04)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(79, 215, 255, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.lanlab-brandbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.04) 48%, transparent 64%);
  transform: translateX(-120%);
  animation: lanlabBrandbarSweep 10s linear infinite;
  pointer-events: none;
}

.lanlab-brandbar__left,
.lanlab-brandbar__right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lanlab-brandbar__domain {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f2fbff;
}

.lanlab-brandbar__separator {
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(79, 215, 255, 0.18), rgba(103, 244, 175, 0.55));
}

.lanlab-brandbar__claim {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.lanlab-brandbar__chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ddf8ff;
  background: rgba(79, 215, 255, 0.08);
  border: 1px solid rgba(79, 215, 255, 0.16);
}

@keyframes lanlabBrandbarSweep {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

  .hero-panel,
  .panel,
  .overlay-panel {
    padding: 18px;
  }

  .dashboard-grid,
  .mission-stats,
  .success-stats,
  .quick-grid,
  .entry-screen__meta {
    grid-template-columns: 1fr;
  }

  .terminal-form,
  .lanlab-footer,
  .overlay-head {
    flex-direction: column;
    align-items: stretch;
  }

.operator-card__svg {
    width: 148px;
    height: 148px;
  }

  .operator-card__chips {
    gap: 8px;
  }

  .level-card__stats {
    grid-template-columns: 1fr;
  }

  .board-shell {
    min-height: 620px;
  }
}

  .board-shell {
    min-height: 620px;
  }
}

/* ###### BEGIN roadmap ui ###### */
.command-btn--highlight {
  position: relative;
  background: linear-gradient(135deg, rgba(79, 215, 255, 0.22), rgba(103, 244, 175, 0.18));
  border: 1px solid rgba(79, 215, 255, 0.38);
  box-shadow:
    0 10px 24px rgba(79, 215, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #eafcff;
}

.command-btn--highlight::before {
  content: "IN PLANUNG";
  position: absolute;
  top: -10px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(79, 215, 255, 0.95), rgba(103, 244, 175, 0.9));
  color: #04111f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(79, 215, 255, 0.22);
}

.command-btn--highlight:hover,
.command-btn--highlight:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(79, 215, 255, 0.55);
  box-shadow:
    0 14px 30px rgba(79, 215, 255, 0.22),
    0 0 0 1px rgba(103, 244, 175, 0.14);
}
.command-btn--highlight:active {
  transform: translateY(0);
}

.roadmap-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
  z-index: 1400;
}

.roadmap-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.roadmap-overlay .overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 22, 0.58);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .22s ease;
}

.roadmap-overlay.is-open .overlay-backdrop {
  opacity: 1;
}

.overlay-panel--roadmap {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 32px));
  transform: translateY(18px);
  transition: transform .22s ease;
}

.roadmap-overlay.is-open .overlay-panel--roadmap {
  transform: translateY(0);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.roadmap-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(79, 215, 255, 0.16);
  background: linear-gradient(180deg, rgba(18, 35, 54, 0.9), rgba(8, 19, 33, 0.96));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  transform: translateY(10px);
  opacity: 0;
  animation: roadmapCardIn 0.45s ease forwards;
}

.roadmap-card__stage {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(79, 215, 255, 0.12);
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.roadmap-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.missionFeedback {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(83, 154, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 18, 31, 0.92), rgba(8, 14, 24, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.missionFeedback__group + .missionFeedback__group {
  margin-top: 10px;
}

.missionFeedback__label {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8bb8d9;
}

.missionFeedback__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.missionFeedback__item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(255,255,255,0.04);
  color: #dce8f5;
  border: 1px solid rgba(255,255,255,0.06);
}

.missionFeedback__item.is-missing {
  border-color: rgba(83, 154, 255, 0.18);
  color: #8fd8ff;
}

.missionFeedback__item.is-forbidden {
  border: 1px solid rgba(255, 96, 96, 0.34);
  background: linear-gradient(180deg, rgba(255, 96, 96, 0.16), rgba(255, 96, 96, 0.08));
  color: #ffd7d7;
}

.missionFeedback__item.is-extra {
  border-color: rgba(246, 183, 60, 0.24);
  color: #ffd37a;
}

@keyframes roadmapCardIn {
  to { transform: translateY(0); opacity: 1; }
}

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

@media (max-width: 680px) {
  .roadmap-grid { grid-template-columns: 1fr; }
}
/* ###### END roadmap ui ###### */


/* ###### BEGIN scrollfree stage + randomized board ###### */
/* ###### BEGIN mission layout rebuild override ###### */
.game-layout {
  grid-template-columns: 1fr;
  align-items: stretch;
}
/* ###### END mission layout rebuild override ###### */

.panel--mission,
.panel--terminal {
  min-width: 0;
}

/* ###### BEGIN larger mission board ###### */
.board-shell {
  height: clamp(640px, 74vh, 920px);
  min-height: clamp(640px, 74vh, 920px);
  overflow: hidden;
  isolation: isolate;
}
/* ###### END larger mission board ###### */

.network-board,
.connection-svg {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
}

.connection-svg {
  z-index: 1;
}

.network-board {
  z-index: 2;
}

/* ###### BEGIN larger board devices ###### */
.device {
  width: clamp(152px, 13vw, 186px);
  min-height: 116px;
  padding: 14px 14px 16px;
  transform: translate(-50%, -50%);
  align-items: center;
  text-align: center;
  gap: 8px;
  border-radius: 22px;
}
/* ###### END larger board devices ###### */

.device__icon {
  position: relative;
  width: 56px;
  height: 36px;
  display: block;
  flex: 0 0 36px;
}

.device__type,
.device__label {
  position: relative;
  z-index: 2;
}

.device__type {
  font-size: 0.68rem;
}

.device__label {
  font-size: 1rem;
  line-height: 1.15;
}

.device-glyph {
  position: absolute;
  display: block;
  box-sizing: border-box;
}

.device-glyph--screen {
  inset: 0 6px 10px;
  border-radius: 8px;
  border: 2px solid rgba(191, 228, 255, 0.9);
  background: linear-gradient(180deg, rgba(191, 228, 255, 0.24), rgba(79, 215, 255, 0.12));
}

.device-glyph--stand {
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(191, 228, 255, 0.85);
}

.device-glyph--rack {
  inset: 2px 4px 6px;
  border-radius: 9px;
  border: 2px solid rgba(79, 215, 255, 0.92);
  background: linear-gradient(180deg, rgba(79, 215, 255, 0.18), rgba(79, 215, 255, 0.08));
}

.device-glyph--ports {
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 6px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(79, 215, 255, 0.95) 0 5px, transparent 5px 9px);
}

.device-glyph--router {
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 18px;
  border-radius: 999px 999px 12px 12px;
  border: 2px solid rgba(255, 202, 107, 0.9);
  background: linear-gradient(180deg, rgba(255, 202, 107, 0.2), rgba(255, 202, 107, 0.08));
}

.device-glyph--antenna {
  bottom: 20px;
  width: 2px;
  height: 14px;
  background: rgba(255, 202, 107, 0.9);
}

.device-glyph--antenna.left { left: 18px; transform: rotate(-18deg); }
.device-glyph--antenna.right { right: 18px; transform: rotate(18deg); }

.device-glyph--shield {
  left: 50%;
  top: 1px;
  width: 28px;
  height: 34px;
  transform: translateX(-50%);
  clip-path: polygon(50% 0, 100% 16%, 88% 100%, 12% 100%, 0 16%);
  border: 2px solid rgba(255, 202, 107, 0.88);
  background: linear-gradient(180deg, rgba(255, 202, 107, 0.22), rgba(255, 202, 107, 0.08));
}

.device-glyph--tower {
  left: 50%;
  top: 0;
  width: 24px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 8px;
  border: 2px solid rgba(103, 244, 175, 0.9);
  background: linear-gradient(180deg, rgba(103, 244, 175, 0.22), rgba(103, 244, 175, 0.08));
}

.device-glyph--led {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  right: 14px;
  background: rgba(103, 244, 175, 0.95);
  box-shadow: 0 0 10px rgba(103, 244, 175, 0.42);
}

.device-glyph--led.led-1 { top: 10px; }
.device-glyph--led.led-2 { top: 18px; }

.device-glyph--printer-top {
  left: 14px;
  right: 14px;
  top: 3px;
  height: 11px;
  border-radius: 7px 7px 3px 3px;
  background: rgba(244, 200, 255, 0.9);
}

.device-glyph--printer-body {
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 22px;
  border-radius: 8px;
  border: 2px solid rgba(244, 200, 255, 0.9);
  background: linear-gradient(180deg, rgba(244, 200, 255, 0.2), rgba(244, 200, 255, 0.08));
}

.device-glyph--ap-base {
  left: 50%;
  bottom: 4px;
  width: 28px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(244, 200, 255, 0.9);
}

.device-glyph--wave {
  left: 50%;
  border-radius: 999px 999px 0 0;
  border-top: 2px solid rgba(244, 200, 255, 0.9);
  transform: translateX(-50%);
}

.device-glyph--wave.wave-1 {
  bottom: 14px;
  width: 24px;
  height: 12px;
}

.device-glyph--wave.wave-2 {
  bottom: 18px;
  width: 38px;
  height: 18px;
}

.device-glyph--node {
  inset: 7px 11px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.12);
}

/* ###### BEGIN compact lower terminal ###### */
.terminal-output {
  min-height: 220px;
  max-height: 280px;
}
/* ###### END compact lower terminal ###### */

/* ###### BEGIN rebuilt mission responsive ###### */
@media (max-width: 1180px) {
  .game-layout {
    grid-template-columns: 1fr;
  }

  .board-shell {
    height: clamp(580px, 66vh, 760px);
    min-height: clamp(580px, 66vh, 760px);
  }
}

@media (max-width: 900px) {
  .device {
    width: 136px;
    min-height: 104px;
  }

  .board-shell {
    height: 540px;
    min-height: 540px;
  }

  .terminal-output {
    min-height: 210px;
    max-height: 250px;
  }
}

@media (max-width: 620px) {
  .board-shell {
    height: 470px;
    min-height: 470px;
  }

  .device {
    width: 118px;
    min-height: 94px;
    padding: 12px;
    border-radius: 18px;
  }

  .device__icon {
    width: 48px;
    height: 30px;
  }

  .device__label {
    font-size: 0.92rem;
  }

  .terminal-form {
    flex-direction: column;
  }

  .terminal-btn {
    width: 100%;
  }
}
/* ###### END rebuilt mission responsive ###### */
/* ###### END scrollfree stage + randomized board ###### */


/* ###### BEGIN cinematic briefing + success v4 ###### */
.overlay-panel--cinematic,
.overlay-panel--cinematic-success {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top center, rgba(79, 215, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(9, 24, 40, 0.98) 0%, rgba(5, 14, 24, 0.98) 100%);
  border-color: rgba(79, 215, 255, 0.2);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.overlay-panel--cinematic::before,
.overlay-panel--cinematic-success::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 0%, rgba(79, 215, 255, 0.03) 50%, transparent 100%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  opacity: 0.55;
}

.overlay-panel--briefing {
  width: min(calc(100% - 28px), 940px);
}

.overlay-panel--success {
  width: min(calc(100% - 28px), 760px);
}

.briefing-overlay.is-open .overlay-panel--cinematic,
.success-overlay.is-open .overlay-panel--cinematic-success {
  animation: cinematicPanelIn 0.42s ease-out;
}

@keyframes cinematicPanelIn {
  0% { transform: translateY(16px) scale(0.985); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.overlay-cinematic-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -8px -8px 20px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.overlay-cinematic-bar__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.overlay-cinematic-bar__dot:first-child { background: rgba(255, 122, 122, 0.7); }
.overlay-cinematic-bar__dot:nth-child(2) { background: rgba(255, 207, 107, 0.72); }
.overlay-cinematic-bar__dot:nth-child(3) { background: rgba(103, 244, 175, 0.72); }

.overlay-cinematic-bar__label {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.overlay-head--cinematic {
  align-items: center;
}

.briefing-meta-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.briefing-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79, 215, 255, 0.09);
  border: 1px solid rgba(79, 215, 255, 0.16);
  color: #dff8ff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.operator-briefing-layout--cinematic {
  grid-template-columns: minmax(300px, 0.95fr) minmax(280px, 1.05fr);
  margin-top: 22px;
}

.operator-briefing-card--cinematic,
.operator-briefing-summary--cinematic,
.briefing-sidecard,
.briefing-box--cinematic {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.operator-briefing-card--cinematic::after,
.operator-briefing-summary--cinematic::after,
.briefing-sidecard::after,
.briefing-box--cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(79, 215, 255, 0.08), transparent 32%, transparent 68%, rgba(103, 244, 175, 0.06));
}

.operator-briefing-card__signal {
  margin-top: 10px;
  color: var(--green);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.operator-briefing-summary--cinematic {
  padding: 20px;
  border-radius: var(--radius-md);
}

.operator-briefing-summary__tagline {
  margin: 14px 0 0;
  color: #dce8f7;
  line-height: 1.65;
  max-width: 42ch;
}

.overlay-lead--cinematic {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(103, 244, 175, 0.06);
  border: 1px solid rgba(103, 244, 175, 0.12);
}

.briefing-cinematic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 18px;
  margin-top: 18px;
}

.briefing-box--cinematic {
  padding: 20px;
}

.briefing-typing--cinematic {
  min-height: 148px;
  color: #cbffe3;
  text-shadow: 0 0 8px rgba(103, 244, 175, 0.1);
}

.briefing-sidecard {
  padding: 18px;
  border-radius: var(--radius-md);
}

.briefing-sidecard__label {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.briefing-objective-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}

.briefing-objective-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.briefing-objective-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(79, 215, 255, 0.12);
  border: 1px solid rgba(79, 215, 255, 0.18);
  color: var(--cyan);
  font-weight: 800;
}

.briefing-objective-list strong {
  display: block;
  color: #e8f4ff;
  line-height: 1.5;
}

.overlay-actions--cinematic {
  margin-top: 22px;
}

.overlay-actions--cinematic .launch-btn,
.overlay-actions--cinematic .ghost-btn {
  min-width: 180px;
}

.overlay-panel--cinematic-success {
  text-align: center;
}

.success-aura {
  position: absolute;
  inset: -10% 20% auto;
  height: 220px;
  background: radial-gradient(circle, rgba(103, 244, 175, 0.28) 0%, rgba(79, 215, 255, 0.1) 42%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.success-topline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.success-badge,
.success-grade-wrap {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ecfff5;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.success-grade-wrap strong {
  margin-left: 8px;
  font-size: 1.3rem;
  color: var(--green);
}

.success-icon--cinematic {
  position: relative;
  z-index: 1;
  width: 124px;
  height: 124px;
  margin: 20px auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(103, 244, 175, 0.34), rgba(79, 215, 255, 0.12));
  border: 1px solid rgba(103, 244, 175, 0.28);
  box-shadow: 0 0 0 10px rgba(103, 244, 175, 0.05), 0 0 48px rgba(103, 244, 175, 0.18);
  animation: successPulse 2.2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 10px rgba(103, 244, 175, 0.05), 0 0 48px rgba(103, 244, 175, 0.18); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 16px rgba(103, 244, 175, 0.04), 0 0 60px rgba(103, 244, 175, 0.24); }
}

.success-perfect-line {
  margin: 14px auto 0;
  max-width: 42ch;
  color: #dff9eb;
  line-height: 1.6;
}

.success-stats--cinematic {
  margin-top: 22px;
  gap: 14px;
}

.success-stats--cinematic > div {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.success-nextunlock {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(79, 215, 255, 0.08);
  border: 1px solid rgba(79, 215, 255, 0.14);
  color: #dff8ff;
  font-weight: 700;
}

@media (max-width: 900px) {
  .briefing-cinematic-grid,
  .operator-briefing-layout--cinematic {
    grid-template-columns: 1fr;
  }

  .success-topline,
  .briefing-meta-chips {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .overlay-panel--briefing,
  .overlay-panel--success {
    width: min(calc(100% - 18px), 940px);
    margin-top: 18px;
    padding: 18px;
  }

  .success-topline {
    flex-direction: column;
  }

  .overlay-actions--cinematic .launch-btn,
  .overlay-actions--cinematic .ghost-btn {
    min-width: 0;
    width: 100%;
  }
}

.success-overlay {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.success-overlay .overlay-panel--success,
.success-overlay .overlay-panel--cinematic-success {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 28px;
}

.success-overlay .overlay-actions,
.success-overlay .overlay-actions--cinematic {
  position: sticky;
  bottom: 0;
  z-index: 6;
  margin-top: 20px;
  padding-top: 14px;
  padding-bottom: 4px;
  background: linear-gradient(
    180deg,
    rgba(5, 14, 24, 0),
    rgba(5, 14, 24, 0.82) 24%,
    rgba(5, 14, 24, 0.96) 100%
  );
}

.success-overlay .overlay-actions .ghost-btn,
.success-overlay .overlay-actions .launch-btn,
.success-overlay .overlay-actions--cinematic .ghost-btn,
.success-overlay .overlay-actions--cinematic .launch-btn {
  min-width: 180px;
}

@media (max-width: 640px) {
  .success-overlay .overlay-panel--success,
  .success-overlay .overlay-panel--cinematic-success {
    max-height: calc(100vh - 18px);
  }
}
/* ###### END cinematic briefing + success v4 ###### */

/* ###### BEGIN level menu scroll fix safe ###### */
body.lanlab-overlay-open {
  overflow: hidden;
}

.level-menu.is-open {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.level-menu.is-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at top, rgba(79, 215, 255, 0.10), transparent 40%),
    rgba(5, 10, 18, 0.82);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.level-menu.is-open .overlay-backdrop {
  display: none;
}

.level-menu.is-open .overlay-panel {
	position: relative;
  z-index: 1;
  margin: 32px auto 48px;
}

@media (max-width: 620px) {
  .level-menu.is-open .overlay-panel {
    margin: 16px auto 28px;
  }
}

/* ###### BEGIN V8 Security Status Box ###### */
.lanlabSecurityStatus {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(79, 215, 255, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(10, 18, 28, 0.92), rgba(7, 13, 20, 0.96));
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.lanlabSecurityStatus::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(79, 215, 255, 0.08), transparent);
  transform: translateX(-100%);
  animation: lanlabSecurityScan 4.5s linear infinite;
  pointer-events: none;
}

.lanlabSecurityStatus__icon {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
}

.lanlabSecurityStatus__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(79, 215, 255, 0.35);
  border-radius: 999px;
  animation: lanlabSecurityPulse 2.2s ease-in-out infinite;
}

.lanlabSecurityStatus__shield {
  position: relative;
  z-index: 1;
  font-size: 20px;
  line-height: 1;
}

.lanlabSecurityStatus__content {
  min-width: 0;
  flex: 1 1 auto;
}

.lanlabSecurityStatus__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 4px;
}

.lanlabSecurityStatus__text {
  font-size: 14px;
  font-weight: 600;
}

.lanlabSecurityStatus__pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(79, 215, 255, 0.9);
  box-shadow: 0 0 14px rgba(79, 215, 255, 0.65);
}

/* States */
.lanlabSecurityStatus[data-security-state="idle"] .lanlabSecurityStatus__pulse {
  background: rgba(140, 150, 160, 0.7);
  box-shadow: 0 0 10px rgba(140, 150, 160, 0.35);
}

.lanlabSecurityStatus[data-security-state="secure_connecting"] .lanlabSecurityStatus__pulse,
.lanlabSecurityStatus[data-security-state="submitting"] .lanlabSecurityStatus__pulse {
  animation: lanlabSecurityDot 1s ease-in-out infinite;
}

.lanlabSecurityStatus[data-security-state="verified"] {
  border-color: rgba(95, 255, 154, 0.28);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(95, 255, 154, 0.08);
}

.lanlabSecurityStatus[data-security-state="verified"] .lanlabSecurityStatus__ring {
  border-color: rgba(95, 255, 154, 0.45);
}

.lanlabSecurityStatus[data-security-state="verified"] .lanlabSecurityStatus__pulse {
  background: rgba(95, 255, 154, 0.95);
  box-shadow: 0 0 16px rgba(95, 255, 154, 0.6);
}

.lanlabSecurityStatus[data-security-state="rejected"] {
  border-color: rgba(255, 104, 104, 0.28);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(255, 104, 104, 0.08);
}

.lanlabSecurityStatus[data-security-state="rejected"] .lanlabSecurityStatus__ring {
  border-color: rgba(255, 104, 104, 0.42);
}

.lanlabSecurityStatus[data-security-state="rejected"] .lanlabSecurityStatus__pulse {
  background: rgba(255, 104, 104, 0.95);
  box-shadow: 0 0 16px rgba(255, 104, 104, 0.55);
}

.lanlabSecurityStatus[data-security-state="offline"] .lanlabSecurityStatus__pulse {
  background: rgba(255, 168, 77, 0.95);
  box-shadow: 0 0 16px rgba(255, 168, 77, 0.5);
}

/* ###### BEGIN V8 Verification Overlay ###### */
.verificationOverlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 8, 14, 0.72);
  backdrop-filter: blur(8px);
}

.verificationOverlay.is-open {
  display: flex;
}

.verificationOverlay__card {
  width: min(100%, 460px);
  padding: 28px 24px;
  border-radius: 22px;
  border: 1px solid rgba(79, 215, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(10, 18, 28, 0.96), rgba(7, 13, 20, 0.98));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255,255,255,0.02);
  text-align: center;
}

.verificationOverlay__icon {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}

.verificationOverlay__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(79, 215, 255, 0.4);
  border-radius: 999px;
  animation: lanlabSecurityPulse 1.8s ease-in-out infinite;
}

.verificationOverlay__shield {
  font-size: 28px;
}

.verificationOverlay__eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}

.verificationOverlay__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.verificationOverlay__text {
  font-size: 14px;
  opacity: 0.84;
}

.verificationOverlay__dots {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
}

.verificationOverlay__dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(79, 215, 255, 0.9);
  animation: lanlabDotBounce 1s ease-in-out infinite;
}

.verificationOverlay__dots span:nth-child(2) {
  animation-delay: 0.12s;
}

.verificationOverlay__dots span:nth-child(3) {
  animation-delay: 0.24s;
}

/* ###### BEGIN V8 Verified Badge ###### */
.serverVerifiedBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(95, 255, 154, 0.28);
  background: rgba(95, 255, 154, 0.08);
  color: rgba(195, 255, 214, 0.96);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.serverVerifiedBadge__icon {
  font-size: 12px;
}

/* ###### BEGIN V8 Reject Card ###### */
.missionFeedback__item.is-reject,
.missionFeedback__item.is-forbidden {
  border-color: rgba(255, 104, 104, 0.28);
  background: rgba(255, 104, 104, 0.08);
  color: rgba(255, 214, 214, 0.96);
}
/* ###### END V8 Reject Card ###### */
/* ###### END V8 Verified Badge ###### */
/* ###### END V8 Verification Overlay ###### */
/* ###### END V8 Security Status Box ###### */
/* ###### BEGIN V8 Animations ###### */
@keyframes lanlabSecurityPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes lanlabSecurityScan {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(140%);
  }
}

@keyframes lanlabSecurityDot {
  0%, 100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

@keyframes lanlabDotBounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.65;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* ###### BEGIN Ranked Board Top 3 Premium ###### */

.lanlab-ranked-row--top1 {
  border-color: rgba(255, 214, 102, 0.18);
  background:
    radial-gradient(circle at left top, rgba(255, 214, 102, 0.10), transparent 36%),
    radial-gradient(circle at right center, rgba(88, 234, 196, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)),
    rgba(10, 24, 38, 0.90);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 0 1px rgba(255, 214, 102, 0.05);
}

.lanlab-ranked-row--top2 {
  border-color: rgba(191, 215, 234, 0.16);
  background:
    radial-gradient(circle at left top, rgba(191, 215, 234, 0.09), transparent 34%),
    radial-gradient(circle at right center, rgba(110, 195, 255, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.038), rgba(255,255,255,0.018)),
    rgba(10, 22, 36, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 1px rgba(191, 215, 234, 0.04);
}

.lanlab-ranked-row--top3 {
  border-color: rgba(201, 145, 102, 0.18);
  background:
    radial-gradient(circle at left top, rgba(201, 145, 102, 0.10), transparent 34%),
    radial-gradient(circle at right center, rgba(255, 183, 120, 0.05), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.036), rgba(255,255,255,0.016)),
    rgba(12, 22, 34, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 1px rgba(201, 145, 102, 0.04);
}

.lanlab-ranked-rank--top1,
.lanlab-ranked-rank--top2,
.lanlab-ranked-rank--top3 {
  position: relative;
  overflow: hidden;
}

.lanlab-ranked-rank--top1 {
  background:
    linear-gradient(180deg, rgba(255, 214, 102, 0.26), rgba(88, 234, 196, 0.14)),
    rgba(255,255,255,0.03);
  color: #fff7dc;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 0 18px rgba(255, 214, 102, 0.08);
}

.lanlab-ranked-rank--top2 {
  background:
    linear-gradient(180deg, rgba(206, 225, 240, 0.22), rgba(118, 188, 255, 0.12)),
    rgba(255,255,255,0.03);
  color: #edf7ff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 16px rgba(191, 215, 234, 0.06);
}

.lanlab-ranked-rank--top3 {
  background:
    linear-gradient(180deg, rgba(201, 145, 102, 0.24), rgba(255, 191, 142, 0.10)),
    rgba(255,255,255,0.03);
  color: #fff0e5;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 16px rgba(201, 145, 102, 0.06);
}

.lanlab-ranked-rank__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0.00) 35%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0.00) 65%,
    transparent 100%
  );
  transform: translateX(-120%);
  opacity: 0.55;
  pointer-events: none;
}

.lanlab-ranked-row--top1 .lanlab-ranked-rank__shine,
.lanlab-ranked-row--top2 .lanlab-ranked-rank__shine,
.lanlab-ranked-row--top3 .lanlab-ranked-rank__shine {
  animation: lanlabRankedShine 3.8s ease-in-out infinite;
}

.lanlab-ranked-name--top1 {
  color: #fff8df;
}

.lanlab-ranked-name--top2 {
  color: #eef7ff;
}

.lanlab-ranked-name--top3 {
  color: #fff0e4;
}

.lanlab-ranked-sub--top1 {
  color: rgba(255, 226, 151, 0.64);
}

.lanlab-ranked-sub--top2 {
  color: rgba(205, 227, 242, 0.72);
}

.lanlab-ranked-sub--top3 {
  color: rgba(231, 186, 146, 0.72);
}

.lanlab-ranked-metric__value--top1 {
  color: #fff7de;
}

.lanlab-ranked-metric__value--top2 {
  color: #eff8ff;
}

.lanlab-ranked-metric__value--top3 {
  color: #fff0e4;
}

@keyframes lanlabRankedShine {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  18% {
    opacity: 0.55;
  }
  42% {
    transform: translateX(120%);
    opacity: 0;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* ###### END Ranked Board Top 3 Premium ###### */

.lanlab-ranked-section {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(90, 220, 255, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02)),
    radial-gradient(circle at top center, rgba(88, 234, 196, 0.08), transparent 58%),
    rgba(7, 18, 31, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 10px 28px rgba(0,0,0,0.16);
}

.lanlab-ranked-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lanlab-ranked-section__title {
  margin: 2px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #eaf7ff;
}

.lanlab-ranked-section__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(95, 225, 255, 0.20);
  background: rgba(76, 182, 255, 0.08);
  color: #bfefff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.lanlab-ranked-board {
  min-height: 82px;
}

.lanlab-ranked-empty {
  padding: 16px 14px;
  border: 1px dashed rgba(255,255,255,0.10);
  border-radius: 16px;
  text-align: center;
  color: rgba(225, 240, 255, 0.78);
  background: rgba(255,255,255,0.025);
  font-size: 0.95rem;
}

.lanlab-ranked-list {
  display: grid;
  gap: 10px;
}

.lanlab-ranked-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 120px 110px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
    rgba(10, 22, 37, 0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.lanlab-ranked-row--top1 {
  border-color: rgba(107, 255, 213, 0.24);
  background:
    radial-gradient(circle at left top, rgba(88, 234, 196, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)),
    rgba(10, 24, 38, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 1px rgba(90, 255, 210, 0.05);
}

.lanlab-ranked-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.045);
  color: #f3fbff;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.lanlab-ranked-row--top1 .lanlab-ranked-rank {
  background: linear-gradient(180deg, rgba(88, 234, 196, 0.22), rgba(88, 234, 196, 0.10));
  color: #dffff6;
}

.lanlab-ranked-namewrap {
  min-width: 0;
}

.lanlab-ranked-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f2f8ff;
  font-weight: 800;
  font-size: 1rem;
}

.lanlab-ranked-sub {
  margin-top: 2px;
  color: rgba(197, 219, 237, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.lanlab-ranked-metric {
  text-align: right;
}

.lanlab-ranked-metric__label {
  display: block;
  margin-bottom: 4px;
  color: rgba(197, 219, 237, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lanlab-ranked-metric__value {
  color: #f3fbff;
  font-weight: 900;
  font-size: 1rem;
}

@media (max-width: 720px) {
  .lanlab-ranked-section {
    padding: 14px;
  }

  .lanlab-ranked-section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .lanlab-ranked-section__badge {
    min-height: 30px;
    font-size: 0.78rem;
  }

  .lanlab-ranked-row {
	  border: 1px solid rgba(255,255,255,0.05);
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }

  .lanlab-ranked-metric {
    text-align: left;
  }

  .lanlab-ranked-row > .lanlab-ranked-metric:nth-of-type(1),
  .lanlab-ranked-row > .lanlab-ranked-metric:nth-of-type(2) {
    grid-column: 2;
  }
}

/* ###### END Ranked Board Final ###### */

/* ###### BEGIN Briefing Ranked Board ###### */
.lanlab-ranked-section--briefing {
  margin-top: 18px;
}

.lanlab-ranked-section--briefing .lanlab-ranked-board {
  min-height: 76px;
}
/* ###### END Briefing Ranked Board ###### */
/* ###### BEGIN PATCH 8 ###### */
.lanlab-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lanlab-language-switch .ghost-btn.is-active {
  box-shadow: 0 0 0 1px rgba(79, 215, 255, 0.55), 0 0 18px rgba(79, 215, 255, 0.18);
  background: rgba(79, 215, 255, 0.12);
  color: #f4fbff;
}
/* ###### END PATCH 8 ###### */
/* ###### END lanlab.css ###### */

/* ###################################################################### */
/* ###### BEGIN LAN-LAB UI POLISH PATCH ################################# */
/* ###################################################################### */

/* ------ shared small button sizing ------ */
.ghost-btn--small {
  min-height: 38px;
  padding: 0.58rem 0.92rem;
  border-radius: 12px;
  font-size: 0.84rem;
}

/* ------ header support / paypal polish ------ */
.support-box__content {
  grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  padding: 18px 20px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(79, 215, 255, 0.12), transparent 38%),
    radial-gradient(circle at right center, rgba(255, 207, 107, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(79, 215, 255, 0.08), rgba(103, 244, 175, 0.05)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(79, 215, 255, 0.16);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.support-box__top {
  gap: 18px;
  align-items: center;
}

.support-box__text {
  gap: 7px;
}

.support-box__text span {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.support-box__text small {
  max-width: 64ch;
  font-size: 0.88rem;
}

.paypal-btn {
  position: relative;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #0a1020;
  background:
    linear-gradient(135deg, #ffd76a 0%, #ffbf1f 52%, #ffb300 100%);
  border: 1px solid rgba(255, 215, 106, 0.55);
  box-shadow:
    0 14px 28px rgba(255, 183, 3, 0.22),
    0 0 0 1px rgba(255, 214, 102, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.38);
  overflow: hidden;
}

.paypal-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.28) 48%, transparent 64%);
  transform: translateX(-130%);
  animation: lanlabPaypalSweep 4.8s linear infinite;
  pointer-events: none;
}

.paypal-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
    0 18px 34px rgba(255, 183, 3, 0.26),
    0 0 0 1px rgba(255, 214, 102, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.42);
}

.paypal-btn:active {
  transform: translateY(0);
}

.support-progress {
  gap: 10px;
  align-items: stretch;
}

.support-progress__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.support-progress__meta span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
}

.support-progress__meta strong {
  color: #8fffc9;
  font-size: 1.08rem;
  font-weight: 900;
}

.support-progress__bar {
  position: relative;
  height: 13px;
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04)),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.support-progress__fill {
  position: relative;
  min-width: 6px;
  background: linear-gradient(90deg, #57dcff 0%, #72ffd1 62%, #8effc2 100%);
  box-shadow:
    0 0 20px rgba(79, 215, 255, 0.26),
    0 0 28px rgba(103, 244, 175, 0.18);
}

.support-progress__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.20) 48%, transparent 62%);
  transform: translateX(-130%);
  animation: lanlabProgressSweep 5.2s linear infinite;
}

/* ------ account card polish ------ */
.lanlab-account-box {
  display: grid;
  gap: 12px;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(103, 244, 175, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(16, 37, 58, 0.92), rgba(8, 20, 34, 0.96));
  border: 1px solid rgba(103, 244, 175, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 16px 32px rgba(0, 0, 0, 0.22);
}

.lanlab-account-box.is-guest {
  border-color: rgba(79, 215, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(79, 215, 255, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(14, 34, 56, 0.92), rgba(8, 20, 34, 0.96));
}

.lanlab-account-box__title {
  color: #7ce4ff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lanlab-account-box__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.lanlab-account-box__name {
  color: #f4fbff;
  font-weight: 900;
  font-size: 1.18rem;
  line-height: 1.2;
}

.lanlab-account-box__state {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(103, 244, 175, 0.12);
  border: 1px solid rgba(103, 244, 175, 0.2);
  color: #9cffca;
}

.lanlab-account-box.is-guest .lanlab-account-box__state {
  background: rgba(79, 215, 255, 0.12);
  border-color: rgba(79, 215, 255, 0.20);
  color: #9cecff;
}

.lanlab-account-box__meta {
  display: grid;
  gap: 9px;
}

.lanlab-account-box__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #d7e8f8;
  line-height: 1.5;
}

.lanlab-account-box__chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  color: #e8f4ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.lanlab-account-box__chip--ok {
  background: rgba(103, 244, 175, 0.10);
  border-color: rgba(103, 244, 175, 0.20);
  color: #a1ffd0;
}

.lanlab-account-box__chip--soft {
  background: rgba(79, 215, 255, 0.08);
  border-color: rgba(79, 215, 255, 0.18);
  color: #a8ecff;
}

.lanlab-account-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

/* ------ save box / save state polish ------ */
.save-box {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.save-box__text {
  margin: 0;
}

.save-actions {
  margin-top: 0;
}

.save-state {
  margin-top: 0;
}

.save-state--account {
  display: grid;
  gap: 10px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(16, 36, 58, 0.72), rgba(8, 19, 32, 0.82));
  border: 1px solid rgba(79, 215, 255, 0.12);
}

.save-state__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.save-state__user {
  color: #f3fbff;
  font-weight: 800;
}

.save-state__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.save-state__chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #def3ff;
  font-size: 0.8rem;
  font-weight: 700;
}

.save-state__chip--ok {
  background: rgba(103, 244, 175, 0.10);
  border-color: rgba(103, 244, 175, 0.18);
  color: #a4ffd2;
}

.save-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ------ mission control polish ------ */
.panel--mission-control .panel__head {
  margin-bottom: 14px;
}

.mission-control__intro {
  margin-bottom: 1.1rem;
}

.mission-control-card {
  border-radius: 20px;
}

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

.mission-control__stat {
  display: grid;
  gap: 3px;
}

.mission-progress__meta span,
.mission-progress__meta strong {
  line-height: 1.2;
}

.mission-control__chips {
  margin-top: 0.95rem;
}

.mission-checklist {
  margin-top: 0.9rem;
}

.mission-checklist li {
  border-radius: 12px;
  padding: 0.68rem 0.8rem 0.68rem 1.85rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

/* ------ responsive ------ */
@media (max-width: 1180px) {
  .support-box__content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .lanlab-account-box__actions,
  .save-state__actions {
    flex-direction: column;
  }

  .lanlab-account-box__actions .ghost-btn,
  .save-state__actions .ghost-btn {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .support-box__content {
    padding: 16px;
  }

  .support-box__top {
    align-items: stretch;
  }

  .paypal-btn {
    width: 100%;
  }

  .mission-control__stats {
    grid-template-columns: 1fr;
  }
}

/* ------ motion ------ */
@keyframes lanlabPaypalSweep {
  0%   { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}

@keyframes lanlabProgressSweep {
  0%   { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}

/* ###################################################################### */
/* ###### BEGIN LAN-LAB COMPLETE FINAL STAGE PACK ######################## */
/* ###################################################################### */

/* ====================================================================== */
/* ===== 1) SHARED BUTTON / CHIP POLISH ================================= */
/* ====================================================================== */

.ghost-btn--small {
  min-height: 38px;
  padding: 0.58rem 0.92rem;
  border-radius: 12px;
  font-size: 0.84rem;
}

.mission-chip,
.operator-card__chip,
.save-state__chip,
.lanlab-account-box__chip {
  letter-spacing: 0.02em;
}

/* ====================================================================== */
/* ===== 2) SUPPORT / PAYPAL / COMMUNITY GOAL =========================== */
/* ====================================================================== */

.support-box__content {
  grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  padding: 18px 20px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(79, 215, 255, 0.12), transparent 38%),
    radial-gradient(circle at right center, rgba(255, 207, 107, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(79, 215, 255, 0.08), rgba(103, 244, 175, 0.05)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(79, 215, 255, 0.16);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.support-box__top {
  gap: 18px;
  align-items: center;
}

.support-box__text {
  gap: 7px;
}

.support-box__text span {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.support-box__text small {
  max-width: 64ch;
  font-size: 0.88rem;
}

.paypal-btn {
  position: relative;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #0a1020;
  background: linear-gradient(135deg, #ffd76a 0%, #ffbf1f 52%, #ffb300 100%);
  border: 1px solid rgba(255, 215, 106, 0.55);
  box-shadow:
    0 14px 28px rgba(255, 183, 3, 0.22),
    0 0 0 1px rgba(255, 214, 102, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.38);
  overflow: hidden;
}

.paypal-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.28) 48%, transparent 64%);
  transform: translateX(-130%);
  animation: lanlabPaypalSweep 4.8s linear infinite;
  pointer-events: none;
}

.paypal-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
    0 18px 34px rgba(255, 183, 3, 0.26),
    0 0 0 1px rgba(255, 214, 102, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.42);
}

.paypal-btn:active {
  transform: translateY(0);
}

.support-progress {
  display: grid;
  gap: 10px;
  align-items: stretch;
}

.support-progress__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.support-progress__meta span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
}

.support-progress__meta strong {
  color: #8fffc9;
  font-size: 1.08rem;
  font-weight: 900;
}

.support-progress__bar {
  position: relative;
  height: 13px;
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04)),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.support-progress__fill {
  position: relative;
  min-width: 6px;
  background: linear-gradient(90deg, #57dcff 0%, #72ffd1 62%, #8effc2 100%);
  box-shadow:
    0 0 20px rgba(79, 215, 255, 0.26),
    0 0 28px rgba(103, 244, 175, 0.18);
}

.support-progress__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.20) 48%, transparent 62%);
  transform: translateX(-130%);
  animation: lanlabProgressSweep 5.2s linear infinite;
}

/* ====================================================================== */
/* ===== 3) HUB ACCOUNT CARD / AUTH STATUS ============================== */
/* ====================================================================== */

.lanlab-account-box {
  display: grid;
  gap: 12px;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(103, 244, 175, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(16, 37, 58, 0.92), rgba(8, 20, 34, 0.96));
  border: 1px solid rgba(103, 244, 175, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 16px 32px rgba(0, 0, 0, 0.22);
}

.lanlab-account-box.is-guest {
  border-color: rgba(79, 215, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(79, 215, 255, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(14, 34, 56, 0.92), rgba(8, 20, 34, 0.96));
}

.lanlab-account-box__title {
  color: #7ce4ff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lanlab-account-box__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.lanlab-account-box__name {
  color: #f4fbff;
  font-weight: 900;
  font-size: 1.18rem;
  line-height: 1.2;
}

.lanlab-account-box__state {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(103, 244, 175, 0.12);
  border: 1px solid rgba(103, 244, 175, 0.2);
  color: #9cffca;
}

.lanlab-account-box.is-guest .lanlab-account-box__state {
  background: rgba(79, 215, 255, 0.12);
  border-color: rgba(79, 215, 255, 0.20);
  color: #9cecff;
}

.lanlab-account-box__meta {
  display: grid;
  gap: 9px;
}

.lanlab-account-box__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #d7e8f8;
  line-height: 1.5;
}

.lanlab-account-box__chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  color: #e8f4ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.lanlab-account-box__chip--ok {
  background: rgba(103, 244, 175, 0.10);
  border-color: rgba(103, 244, 175, 0.20);
  color: #a1ffd0;
}

.lanlab-account-box__chip--soft {
  background: rgba(79, 215, 255, 0.08);
  border-color: rgba(79, 215, 255, 0.18);
  color: #a8ecff;
}

.lanlab-account-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

/* ====================================================================== */
/* ===== 4) SAVE BOX / SAVE STATUS ===================================== */
/* ====================================================================== */

.save-box {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.save-box__text {
  margin: 0;
}

.save-actions {
  margin-top: 0;
}

.save-state {
  margin-top: 0;
}

.save-state--account {
  display: grid;
  gap: 10px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16, 36, 58, 0.72), rgba(8, 19, 32, 0.82));
  border: 1px solid rgba(79, 215, 255, 0.12);
}

.save-state__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.save-state__user {
  color: #f3fbff;
  font-weight: 800;
}

.save-state__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.save-state__chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #def3ff;
  font-size: 0.8rem;
  font-weight: 700;
}

.save-state__chip--ok {
  background: rgba(103, 244, 175, 0.10);
  border-color: rgba(103, 244, 175, 0.18);
  color: #a4ffd2;
}

.save-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ====================================================================== */
/* ===== 5) OPERATOR CARD SMALL POLISH ================================= */
/* ====================================================================== */

.operator-card__metrics {
  gap: 10px;
}

.operator-card__metric {
  border-radius: 14px;
}

.operator-card__chips {
  gap: 8px;
}

.operator-card__line {
  line-height: 1.65;
}

/* ====================================================================== */
/* ===== 6) MISSION CONTROL FINAL STAGE ================================= */
/* ====================================================================== */

.panel--mission-control {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 20px;
}

.panel--mission-control::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(90, 229, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(18, 36, 58, 0.45), rgba(5, 15, 29, 0));
  pointer-events: none;
}

.panel--mission-control .panel__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.mission-control__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(91, 229, 255, 0.22);
  background: rgba(16, 44, 68, 0.72);
  color: #7fe7ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(91, 229, 255, 0.12);
}

.mission-control__intro {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  max-width: 56ch;
  color: rgba(214, 235, 255, 0.78);
  line-height: 1.7;
}

.mission-control__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.mission-control-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(120, 170, 220, 0.16);
  background: linear-gradient(180deg, rgba(15, 31, 49, 0.94), rgba(8, 19, 33, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.mission-control-card--primary {
  border-color: rgba(91, 229, 255, 0.22);
  background: linear-gradient(180deg, rgba(18, 42, 66, 0.96), rgba(9, 21, 37, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(91, 229, 255, 0.08);
}

.mission-control-card__label {
  margin: 0;
  color: #72defc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.mission-control-card h3 {
  margin: 0;
  color: #f3fbff;
  font-size: 1.18rem;
  line-height: 1.25;
}

.mission-control-card p {
  margin: 0;
  color: rgba(217, 235, 251, 0.78);
  line-height: 1.7;
}

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

.mission-control__stat {
  display: grid;
  gap: 4px;
  align-content: start;
  min-height: 72px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(130, 178, 221, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.mission-control__stat span {
  display: block;
  color: rgba(176, 208, 235, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mission-control__stat strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 800;
}

.mission-control__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}

.mission-control__actions .launch-btn,
.mission-control__actions .ghost-btn {
  min-height: 44px;
}

.mission-progress {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.mission-progress__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: rgba(213, 233, 250, 0.8);
  font-size: 0.88rem;
}

.mission-progress__meta strong {
  color: #ffffff;
}

.mission-progress__bar {
  position: relative;
  height: 12px;
  margin: 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22);
}

.mission-progress__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #52d8ff 0%, #71ffd1 100%);
  box-shadow: 0 0 18px rgba(82, 216, 255, 0.32);
}

.mission-control__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.mission-control__chips .mission-chip {
  min-height: 36px;
  padding: 0.5rem 0.82rem;
}

.mission-checklist {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.mission-checklist li {
  position: relative;
  margin: 0;
  padding: 0.84rem 0.9rem 0.84rem 2.2rem;
  border-radius: 14px;
  line-height: 1.55;
  color: rgba(219, 235, 251, 0.84);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.mission-checklist li::before {
  content: "◦";
  position: absolute;
  left: 0.9rem;
  top: 0.72rem;
  color: #6edfff;
  font-size: 1.1rem;
  font-weight: 900;
}

.mission-checklist li.is-done::before {
  content: "✓";
  color: #78ffc8;
}

/* ====================================================================== */
/* ===== 7) RESPONSIVE ================================================== */
/* ====================================================================== */

@media (max-width: 1180px) {
  .support-box__content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .lanlab-account-box__actions,
  .save-state__actions {
    flex-direction: column;
  }

  .lanlab-account-box__actions .ghost-btn,
  .save-state__actions .ghost-btn {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .support-box__content {
    padding: 16px;
  }

  .support-box__top {
    align-items: stretch;
  }

  .paypal-btn {
    width: 100%;
  }

  .panel--mission-control {
    padding: 18px 16px 16px;
  }

  .mission-control__stats {
    grid-template-columns: 1fr;
  }

  .mission-control__actions {
    flex-direction: column;
  }

  .mission-control__actions .launch-btn,
  .mission-control__actions .ghost-btn {
    width: 100%;
  }
}

/* ====================================================================== */
/* ===== 8) MOTION ====================================================== */
/* ====================================================================== */

@keyframes lanlabPaypalSweep {
  0%   { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}

@keyframes lanlabProgressSweep {
  0%   { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}

/* ###################################################################### */
/* ###### END LAN-LAB COMPLETE FINAL STAGE PACK ########################## */
/* ###################################################################### */

/* ###### BEGIN Performance Intel Panel ###### */

.panel--performance-intel {
  position: relative;
  overflow: hidden;
}

.panel--performance-intel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(90, 229, 255, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(18, 36, 58, 0.35), rgba(5, 15, 29, 0));
  pointer-events: none;
}

.performance-intel__intro {
  position: relative;
  z-index: 1;
  margin: 0.4rem 0 1rem;
  color: rgba(214, 235, 255, 0.78);
  line-height: 1.65;
  max-width: 60ch;
}

.performance-intel__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.performance-intel-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(120, 170, 220, 0.16);
  background: linear-gradient(180deg, rgba(15, 31, 49, 0.94), rgba(8, 19, 33, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 28px rgba(0, 0, 0, 0.18);
}

.performance-intel-card--highlight {
  border-color: rgba(103, 244, 175, 0.20);
  background: linear-gradient(180deg, rgba(16, 44, 52, 0.94), rgba(8, 23, 28, 0.98));
}

.performance-intel-card__label {
  margin-bottom: 0.45rem;
  color: #72defc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.performance-intel-card h3 {
  margin: 0 0 0.45rem;
  color: #f3fbff;
  font-size: 1.12rem;
  line-height: 1.25;
}

.performance-intel-card p {
  margin: 0;
  color: rgba(217, 235, 251, 0.78);
  line-height: 1.6;
}

.performance-intel__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1rem;
}

@media (max-width: 620px) {
  .performance-intel__actions {
    flex-direction: column;
  }

  .performance-intel__actions .launch-btn {
    width: 100%;
  }
}

/* ###### END Performance Intel Panel ###### */

/* ###### BEGIN Performance Intel Spacing Fix ###### */

.panel--performance-intel {
  margin-top: 26px;
}

@media (max-width: 860px) {
  .panel--performance-intel {
    margin-top: 20px;
  }
}

/* ###### END Performance Intel Spacing Fix ###### */

/* ###### BEGIN Daily Intel Card ###### */

.lanlabDailyIntelCard {
  margin-top: 22px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 16px 18px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(10, 14, 24, 0.96));
  border: 1px solid rgba(90, 140, 255, 0.18);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  min-height: 185px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lanlabDailyIntelCard:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 170, 255, 0.32);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(90, 140, 255, 0.08) inset;
}

.lanlabDailyIntelHead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8db8ff;
}

.lanlabDailyIntelPulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 0 0 rgba(103, 232, 249, 0.7);
  animation: lanlabIntelPulse 1.9s infinite;
}

@keyframes lanlabIntelPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(103, 232, 249, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(103, 232, 249, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(103, 232, 249, 0);
  }
}

.lanlabDailyIntelBadge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  background: rgba(80, 130, 255, 0.14);
  border: 1px solid rgba(120, 160, 255, 0.22);
  color: #bcd3ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.lanlabDailyIntelTitle {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.3;
  color: #f5f9ff;
}

.lanlabDailyIntelText {
  margin: 0;
  color: rgba(224, 233, 255, 0.88);
  line-height: 1.65;
  font-size: 0.96rem;
}

.lanlabDailyIntelCard.is-changing {
  animation: lanlabIntelSwap 0.45s ease;
}

.commandCenterGrid,
.commandCenterPanels,
.commandCenterContent {
  row-gap: 28px;
}

@keyframes lanlabIntelSwap {
  0% {
    opacity: 0.55;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ###### END Daily Intel Card ###### */

/* ###### BEGIN Language Badge Active Glow ###### */

.langSwitch button.is-active,
.lanlabLangBtn.is-active,
button[data-action="set-language"].is-active {
  border-color: rgba(92, 239, 190, 0.72);
  background:
    linear-gradient(180deg, rgba(28, 78, 74, 0.92), rgba(18, 47, 53, 0.96));
  color: #9fffe1;
  box-shadow:
    0 0 0 1px rgba(92, 239, 190, 0.18) inset,
    0 0 16px rgba(92, 239, 190, 0.18),
    0 0 28px rgba(92, 239, 190, 0.10);
}

.langSwitch button.is-active:hover,
.lanlabLangBtn.is-active:hover,
button[data-action="set-language"].is-active:hover {
  border-color: rgba(120, 255, 210, 0.82);
  color: #caffef;
}

/* ###### END Language Badge Active Glow ###### */

/* ###################################################################### */
/* ###### END LAN-LAB UI POLISH PATCH ################################### */
/* ###################################################################### */



/* ###### BEGIN KWS MASTER LOGO PATCH ###### */
/* ###### BEGIN KWS BRAND CARD FIX ###### */

.premium-svg-banner__brand {
  padding: 2px;
  display: grid;
  place-items: center;
}

.premium-svg-banner__brand-logo {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

@media (max-width: 820px) {
  .premium-svg-banner__brand-logo {
    width: 200px;
  }
}

/* ###### END KWS BRAND CARD FIX ###### */

/* ###### BEGIN HERO BRAND SPLIT ###### */


/* ###### END HERO BRAND SPLIT ###### */

/* ###### BEGIN HERO KWS-HIGHEND FINAL OVERRIDE ###### */
/* ###### BEGIN HERO KWS-HIGHEND FINAL OVERRIDE ###### */

.hero-panel--intro.hero-panel--intro-brand {
  position: relative;
  overflow: hidden;
}

.hero-panel--intro.hero-panel--intro-brand::after {
  content: "";
  position: absolute;
  top: 7%;
  right: 0;
  width: 570px;
  height: 570px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(79, 215, 255, 0.18) 0%, rgba(79, 215, 255, 0.08) 40%, transparent 76%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.hero-panel__split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(520px, 1.18fr) minmax(460px, 1fr);
  align-items: center;
  gap: 10px;
}

.hero-panel__content {
  min-width: 0;
  max-width: 700px;
  padding-right: 6px;
}

.hero-panel__brand {
  position: relative;
  display: grid;
  place-items: center;
  justify-items: start;
  min-height: 480px;
  padding: 0;
}

.hero-panel__brand::before {
  content: "";
  position: absolute;
  inset: 1% -2% 5% -10%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(79, 215, 255, 0.15) 0%, rgba(79, 215, 255, 0.07) 42%, transparent 76%);
  filter: blur(24px);
  pointer-events: none;
}

.hero-panel__brand-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 550px);
  max-width: 550px; /* 500 */
  max-height: 610px; /* 560 */
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: translateX(-72px);
  transform-origin: center center;
  backface-visibility: hidden;
  image-rendering: auto;
  filter:
    drop-shadow(0 24px 42px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 30px rgba(79, 215, 255, 0.26))
    drop-shadow(0 0 90px rgba(79, 215, 255, 0.18))
    drop-shadow(0 0 140px rgba(79, 215, 255, 0.10));
  transition: transform 220ms ease, filter 220ms ease;
}

.hero-panel__brand-logo:hover {
  transform: translateX(-72px) translateY(-2px) scale(1.02);
  filter:
    drop-shadow(0 28px 48px rgba(0, 0, 0, 0.40))
    drop-shadow(0 0 36px rgba(79, 215, 255, 0.32))
    drop-shadow(0 0 110px rgba(79, 215, 255, 0.20))
    drop-shadow(0 0 160px rgba(79, 215, 255, 0.12));
}

@media (max-width: 1280px) {
  .hero-panel__brand-logo {
    width: min(100%, 460px);
    max-width: 450px;
    max-height: 500px;
    transform: translateX(-46px);
  }

  .hero-panel__brand-logo:hover {
    transform: translateX(-46px) translateY(-2px) scale(1.02);
  }
}

  .hero-panel__content {
    max-width: 690px;
  }

  .hero-panel__brand {
    min-height: 400px;
  }

  .hero-panel__brand-logo {
    width: min(100%, 410px);
    max-width: 450px; /*410px */
    max-height: 500px; /* 460 px */
    transform: translateX(-65px);
  }

  .hero-panel__brand-logo:hover {
    transform: translateX(-65px) translateY(-2px) scale(1.02);
  }
}

@media (max-width: 1100px) {
  .hero-panel__split {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-panel__content {
    max-width: none;
    padding-right: 0;
  }

  .hero-panel--intro h1,
  .hero-lead,
  .hero-copy {
    max-width: none;
  }

  .hero-panel__brand {
    min-height: 0;
    justify-content: start;
    justify-items: start;
    padding-left: 0;
  }

  .hero-panel__brand-logo {
    width: min(100%, 320px);
    max-width: 320px;
    max-height: 360px;
    transform: translateX(-14px);
  }

  .hero-panel__brand-logo:hover {
    transform: translateX(-14px) translateY(-2px) scale(1.02);
  }
}

@media (max-width: 620px) {
  .hero-panel__brand {
    justify-content: center;
    justify-items: center;
  }

  .hero-panel__brand-logo {
    width: min(100%, 230px);
    max-width: 230px;
    max-height: 260px;
    transform: translateX(0);
  }

  .hero-panel__brand-logo:hover {
    transform: translateY(-2px) scale(1.02);
  }
}

/* ###### END HERO KWS-HIGHEND FINAL OVERRIDE ###### */

/* ###### BEGIN TERMINAL CURSOR BLINK ###### */

.terminal-cursor {
  display: inline-block;
  width: 10px;
  height: 1.05em;
  margin-left: 8px;
  vertical-align: -0.12em;
  border-radius: 2px;
  background: currentColor;
  box-shadow:
    0 0 8px rgba(79, 215, 255, 0.45),
    0 0 16px rgba(79, 215, 255, 0.22);
  animation: terminalCursorBlink 1.05s steps(1, end) infinite;
}

@keyframes terminalCursorBlink {
  0%, 48% {
    opacity: 1;
  }
  49%, 100% {
    opacity: 0.18;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terminal-cursor {
    animation: none;
    opacity: 0.9;
  }
}

/* ###### END TERMINAL CURSOR BLINK ###### */

/* ###### BEGIN RIGHT SYSTEM BOOT FINAL PATCH ###### */

.hero-panel--entry {
  position: relative;
  overflow: hidden;
}

.hero-panel--entry::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(79, 215, 255, 0.10), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(79, 215, 255, 0.06), transparent 26%);
  pointer-events: none;
}

.entry-screen {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.entry-screen__boot-hero {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 16px 18px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015) 32%, rgba(0,0,0,0.10) 100%);
  border: 1px solid rgba(79, 215, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 16px 34px rgba(0, 0, 0, 0.20);
}

.entry-screen__boot-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 18px;
  background:
    radial-gradient(circle, rgba(79, 215, 255, 0.12) 0%, rgba(79, 215, 255, 0.03) 44%, transparent 74%);
  border: 1px solid rgba(79, 215, 255, 0.10);
  overflow: hidden;
}

.entry-screen__boot-logo {
  display: block;
  width: 78px;
  max-width: 78px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 18px rgba(79, 215, 255, 0.20));
}

.entry-screen__boot-copy {
  min-width: 0;
}

.entry-screen__boot-title {
  margin: 4px 0 4px;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #f4fbff;
}

.entry-screen__boot-subtitle {
  margin: 0;
  color: #9dc4d7;
  font-size: 0.96rem;
  line-height: 1.45;
}

.entry-screen__boot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.entry-screen__boot-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(79, 215, 255, 0.14);
  background: rgba(6, 21, 35, 0.65);
  color: #dff7ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.entry-screen__boot-badge--live {
  background: linear-gradient(135deg, rgba(79, 215, 255, 0.16), rgba(103, 244, 175, 0.10));
  border-color: rgba(103, 244, 175, 0.18);
  color: #eafff7;
}

.entry-screen__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.entry-screen__status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(7, 22, 36, 0.82);
  border: 1px solid rgba(79, 215, 255, 0.14);
  color: #dff7ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry-screen__account-slot {
  width: 100%;
}

.entry-screen__account-slot .lanlab-account-box {
  width: 100%;
  max-width: 560px;
  padding: 16px 18px 14px;
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  border-color: rgba(79, 215, 255, 0.10);
}

.entry-screen__account-slot .lanlab-account-box__headline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.entry-screen__account-slot .lanlab-account-box__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.entry-screen__account-slot .lanlab-account-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.entry-screen__terminal {
  min-height: 320px;
  padding: 24px 20px 22px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(1, 10, 19, 0.98), rgba(0, 7, 15, 0.98));
  border: 1px solid rgba(79, 215, 255, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.02),
    0 18px 36px rgba(0,0,0,0.22);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.98rem;
  line-height: 1.72;
  color: #d9fbff;
}

.entry-screen__terminal > div {
  margin: 0 0 2px;
  white-space: nowrap;
}

.entry-screen__ok {
  margin-top: 8px;
  color: #37d9ff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.terminal-cursor {
  display: inline-block;
  width: 10px;
  height: 1.05em;
  margin-left: 8px;
  vertical-align: -0.12em;
  border-radius: 2px;
  background: currentColor;
  box-shadow:
    0 0 8px rgba(79, 215, 255, 0.45),
    0 0 16px rgba(79, 215, 255, 0.22);
  animation: terminalCursorBlink 1.05s steps(1, end) infinite;
}

@keyframes terminalCursorBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0.18; }
}

.entry-screen__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.entry-screen__meta > div {
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(79, 215, 255, 0.08);
}

.entry-screen__meta span {
  display: block;
  margin-bottom: 8px;
  color: #8fb0c0;
  font-size: 0.84rem;
}

.entry-screen__meta strong {
  display: block;
  color: #f5fbff;
  font-size: 1.05rem;
  line-height: 1.2;
}

@media (max-width: 1200px) {
  .entry-screen__boot-hero {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .entry-screen__boot-logo-wrap {
    width: 96px;
    height: 96px;
  }

  .entry-screen__boot-logo {
    width: 70px;
    max-width: 70px;
  }

  .entry-screen__account-slot .lanlab-account-box {
    max-width: 100%;
  }

  .entry-screen__terminal {
    min-height: 300px;
    font-size: 0.92rem;
  }
}

@media (max-width: 720px) {
  .entry-screen__boot-hero {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .entry-screen__meta {
    grid-template-columns: 1fr;
  }

  .entry-screen__terminal > div {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terminal-cursor {
    animation: none;
    opacity: 0.9;
  }
}


.myhex{
	width: 100%;
	height:200px;
	transition: transform 220ms ease, filter 220ms ease;
}

/* ###### BEGIN PREMIUM HEX BANNER HIGHEND PATCH ###### */

.premium-svg-banner.premium-svg-banner--hex {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(18, 42, 62, 0.92), rgba(8, 20, 34, 0.96) 52%, rgba(20, 53, 74, 0.92) 100%);
  border: 1px solid rgba(79, 215, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 18px 34px rgba(0, 0, 0, 0.24),
    0 0 42px rgba(79, 215, 255, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.premium-svg-banner.premium-svg-banner--hex::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(79, 215, 255, 0.10), transparent 28%),
    radial-gradient(circle at 82% 50%, rgba(79, 215, 255, 0.10), transparent 26%),
    linear-gradient(90deg, rgba(79,215,255,0.03), transparent 24%, transparent 76%, rgba(79,215,255,0.03));
  pointer-events: none;
}

.premium-svg-banner.premium-svg-banner--hex:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 215, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 0 0 1px rgba(255,255,255,0.025),
    0 22px 42px rgba(0, 0, 0, 0.28),
    0 0 56px rgba(79, 215, 255, 0.12);
}

.premium-svg-banner__content--layout-a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.premium-svg-banner__brand {
  display: grid;
  place-items: center;
  min-height: 160px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.08)),
    radial-gradient(circle, rgba(79,215,255,0.10) 0%, rgba(79,215,255,0.03) 46%, transparent 76%);
  border: 1px solid rgba(79, 215, 255, 0.08);
}

.premium-svg-banner__brand-logo {
  display: block;
  width: 96px;
  max-width: 96px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 18px rgba(79, 215, 255, 0.18))
    drop-shadow(0 0 34px rgba(79, 215, 255, 0.10));
}

.premium-svg-banner__text {
  min-width: 0;
}

.premium-svg-banner__eyebrow {
  margin-bottom: 10px;
  color: #49d8ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.premium-svg-banner__title {
  margin: 0 0 8px;
  color: #f3fbff;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.premium-svg-banner__subtitle {
  margin-bottom: 10px;
  color: #eefaff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.premium-svg-banner__copy {
  margin: 0;
  color: #9eb7c7;
  font-size: 0.98rem;
  line-height: 1.55;
}

.premium-svg-banner__visual {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  height: 200px;
  background:
    linear-gradient(180deg, rgba(4, 16, 28, 0.90), rgba(4, 13, 23, 0.96));
  border: 1px solid rgba(79, 215, 255, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

.premium-svg-banner__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 50%, rgba(79,215,255,0.12), transparent 26%),
    radial-gradient(circle at 30% 50%, rgba(79,215,255,0.06), transparent 24%);
  pointer-events: none;
  z-index: 1;
}

.premium-svg-banner__visual-img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
}

.premium-svg-banner__visual-img--hex {
  opacity: 0.98;
  filter:
    saturate(1.08)
    brightness(1.02)
    drop-shadow(0 0 18px rgba(79, 215, 255, 0.12))
    drop-shadow(0 0 28px rgba(79, 215, 255, 0.08));
}

.premium-svg-banner.premium-svg-banner--hex:hover .premium-svg-banner__visual-img--hex {
  filter:
    saturate(1.12)
    brightness(1.04)
    drop-shadow(0 0 22px rgba(79, 215, 255, 0.16))
    drop-shadow(0 0 34px rgba(79, 215, 255, 0.10));
}

@media (max-width: 980px) {
  .premium-svg-banner__content--layout-a {
    grid-template-columns: 110px 1fr;
  }

  .premium-svg-banner__visual {
    grid-column: 1 / -1;
    height: 180px;
  }

  .premium-svg-banner__visual-img {
    height: 180px;
  }
}

@media (max-width: 620px) {
  .premium-svg-banner__content--layout-a {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .premium-svg-banner__brand {
    min-height: 120px;
  }

  .premium-svg-banner__brand-logo {
    width: 82px;
    max-width: 82px;
  }

  .premium-svg-banner__visual {
    height: 160px;
  }

  .premium-svg-banner__visual-img {
    height: 160px;
  }
}

/* ###### END PREMIUM HEX BANNER HIGHEND PATCH ###### */


/* ###### BEGIN KWS PREMIUM CARD 200PX HIGHEND ###### */

.kws-premium-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 320px;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  padding: 0 18px 0 0;
  overflow: hidden;
  border-radius: 24px;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(23, 51, 72, 0.94), rgba(8, 20, 34, 0.98) 50%, rgba(23, 55, 76, 0.94) 100%);
  border: 1px solid rgba(79, 215, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 18px 34px rgba(0,0,0,0.24),
    0 0 44px rgba(79,215,255,0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.kws-premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 50%, rgba(79,215,255,0.10), transparent 24%),
    radial-gradient(circle at 86% 50%, rgba(79,215,255,0.10), transparent 22%),
    linear-gradient(90deg, rgba(79,215,255,0.03), transparent 22%, transparent 78%, rgba(79,215,255,0.03));
  pointer-events: none;
}

.kws-premium-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 215, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 0 0 1px rgba(255,255,255,0.025),
    0 22px 42px rgba(0,0,0,0.28),
    0 0 58px rgba(79,215,255,0.12);
}

.kws-premium-card__media {
  position: relative;
  z-index: 1;
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.10)),
    radial-gradient(circle, rgba(79,215,255,0.12) 0%, rgba(79,215,255,0.03) 46%, transparent 76%);
  border-right: 1px solid rgba(79, 215, 255, 0.08);
  overflow: hidden;
}

.kws-premium-card__media-img {
  display: block;
  width: 84px;
  max-width: 84px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 12px 22px rgba(0,0,0,0.30))
    drop-shadow(0 0 18px rgba(79,215,255,0.20))
    drop-shadow(0 0 36px rgba(79,215,255,0.10));
}

.kws-premium-card__body {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-right: 6px;
}

.kws-premium-card__eyebrow {
  margin-bottom: 10px;
  color: #49d8ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kws-premium-card__title {
  margin: 0 0 8px;
  color: #f3fbff;
  font-size: clamp(1.45rem, 1.8vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.kws-premium-card__subtitle {
  margin-bottom: 10px;
  color: #eefaff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.kws-premium-card__copy {
  margin: 0;
  color: #9eb7c7;
  font-size: 0.98rem;
  line-height: 1.55;
}

.kws-premium-card__visual {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(4,16,28,0.92), rgba(4,13,23,0.98));
  border: 1px solid rgba(79,215,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 12px 24px rgba(0,0,0,0.18);
}

.kws-premium-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 75% 50%, rgba(79,215,255,0.12), transparent 24%),
    radial-gradient(circle at 30% 50%, rgba(79,215,255,0.06), transparent 22%);
  pointer-events: none;
}

.kws-premium-card__visual-img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0.98;
  filter:
    saturate(1.08)
    brightness(1.02)
    drop-shadow(0 0 18px rgba(79,215,255,0.12))
    drop-shadow(0 0 30px rgba(79,215,255,0.08));
}

.kws-premium-card:hover .kws-premium-card__visual-img {
  filter:
    saturate(1.12)
    brightness(1.04)
    drop-shadow(0 0 24px rgba(79,215,255,0.16))
    drop-shadow(0 0 38px rgba(79,215,255,0.10));
}

@media (max-width: 980px) {
  .kws-premium-card {
    grid-template-columns: 150px minmax(0, 1fr);
    height: auto;
    min-height: 200px;
    max-height: none;
    padding: 0 16px 16px 0;
  }

  .kws-premium-card__visual {
    grid-column: 1 / -1;
    height: 200px;
  }

  .kws-premium-card__visual-img {
    height: 200px;
  }
}

@media (max-width: 620px) {
  .kws-premium-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .kws-premium-card__media {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 140px;
    min-height: 140px;
    max-height: 140px;
    border-right: 0;
  }

  .kws-premium-card__visual {
    height: 160px;
    min-height: 160px;
    max-height: 160px;
  }

  .kws-premium-card__visual-img {
    height: 160px;
    min-height: 160px;
    max-height: 160px;
  }
}

/* ###### END KWS PREMIUM CARD 200PX HIGHEND ###### */

/* ###### BEGIN KWS SPLIT BANNER HIGHEND FINAL FIX ###### */

.kws-split-banner {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  width: 100% !important;
}

.kws-split-banner__top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 190px;
  padding: 22px 22px 22px 24px;
  overflow: hidden;
  border-radius: 24px;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(22, 50, 70, 0.94), rgba(8, 20, 34, 0.98) 52%, rgba(24, 58, 80, 0.94) 100%);
  border: 1px solid rgba(79, 215, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 18px 34px rgba(0,0,0,0.24),
    0 0 44px rgba(79,215,255,0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.kws-split-banner__top::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(79,215,255,0.08), transparent 26%),
    radial-gradient(circle at 84% 50%, rgba(79,215,255,0.10), transparent 24%),
    linear-gradient(90deg, rgba(79,215,255,0.03), transparent 22%, transparent 78%, rgba(79,215,255,0.03));
  pointer-events: none;
}

.kws-split-banner__top:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 215, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 0 0 1px rgba(255,255,255,0.025),
    0 22px 42px rgba(0,0,0,0.28),
    0 0 58px rgba(79,215,255,0.12);
}

.kws-split-banner__text {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.kws-split-banner__eyebrow {
  margin-bottom: 12px;
  color: #49d8ff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kws-split-banner__title {
  margin: 0 0 10px;
  color: #f4fbff;
  font-size: clamp(1.6rem, 2.1vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.kws-split-banner__subtitle {
  margin-bottom: 10px;
  color: #eefaff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}

.kws-split-banner__copy {
  margin: 0;
  color: #9eb7c7;
  font-size: 1rem;
  line-height: 1.55;
}

/* Logo rechts */
.kws-split-banner__logo-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 190px;
  min-width: 190px;
  height: 190px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.kws-split-banner__logo {
  display: block;
  width: 150px;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 16px 28px rgba(0,0,0,0.30))
    drop-shadow(0 0 20px rgba(79,215,255,0.22))
    drop-shadow(0 0 42px rgba(79,215,255,0.12));
}

.kws-split-banner__logo--large {
  width: 150px;
  max-width: 150px;
}

.kws-split-banner__top:hover .kws-split-banner__logo--large {
  filter:
    drop-shadow(0 18px 50px rgba(0,0,0,0.32))
    drop-shadow(0 0 26px rgba(79,215,255,0.26))
    drop-shadow(0 0 52px rgba(79,215,255,0.16));
}

/* Unteres Hex-Bild */
.kws-split-banner__bottom {
  position: relative;
  width: 100%;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(22, 50, 70, 0.94), rgba(8, 20, 34, 0.98) 52%, rgba(24, 58, 80, 0.94) 100%);
  border: 1px solid rgba(79,215,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 14px 28px rgba(0,0,0,0.20),
    0 0 34px rgba(79,215,255,0.08);
}

.kws-split-banner__bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 50%, rgba(79,215,255,0.10), transparent 24%),
    radial-gradient(circle at 28% 50%, rgba(79,215,255,0.05), transparent 22%),
    linear-gradient(90deg, rgba(79,215,255,0.03), transparent 22%, transparent 78%, rgba(79,215,255,0.03));
  pointer-events: none;
}

.kws-split-banner__bottom-img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  object-fit: cover;
  opacity: 0.98;
  filter:
    saturate(1.08)
    brightness(1.02)
    drop-shadow(0 0 18px rgba(79,215,255,0.12))
    drop-shadow(0 0 30px rgba(79,215,255,0.08));
}

@media (max-width: 860px) {
  .kws-split-banner__top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kws-split-banner__logo-wrap {
    width: 140px;
    min-width: 140px;
    height: 140px;
  }

  .kws-split-banner__logo,
  .kws-split-banner__logo--large {
    width: 110px;
    max-width: 110px;
  }
}

@media (max-width: 620px) {
  .kws-split-banner__top {
    padding: 18px;
  }

  .kws-split-banner__bottom,
  .kws-split-banner__bottom-img {
    height: 170px;
    min-height: 170px;
    max-height: 170px;
  }
}

/* ###### END KWS SPLIT BANNER HIGHEND FINAL FIX ###### */

.kws-split-banner > .kws-split-banner__top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 190px !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 0 !important;
}

.kws-split-banner > .kws-split-banner__bottom {
  display: block !important;
  width: 100% !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  margin: 0 !important;
  margin-top: 0 !important;
}

.kws-split-banner > .kws-split-banner__bottom img,
.kws-split-banner > .kws-split-banner__bottom .kws-split-banner__bottom-img {
  display: block !important;
  width: 100% !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  object-fit: cover !important;
}


/* ###### END RIGHT SYSTEM BOOT FINAL PATCH ###### */

/* ###### BEGIN POLICY OVERLAY ###### */

.lanlab-footer__linkbtn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.lanlab-footer__linkbtn:hover {
  text-decoration: underline;
}

.policy-overlay[hidden] {
  display: none !important;
}

.policy-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.policy-overlay .overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 16, 0.72);
  backdrop-filter: blur(6px);
}

.policy-overlay__panel {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 32px));
  margin: 40px auto;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(7, 18, 30, 0.98), rgba(5, 13, 23, 0.98));
  border: 1px solid rgba(79, 215, 255, 0.14);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(79, 215, 255, 0.08);
  padding: 22px;
}

.policy-overlay__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.policy-overlay__head h2 {
  margin: 8px 0 0;
  font-size: 2rem;
  line-height: 1.1;
}

.policy-overlay__body {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(79, 215, 255, 0.08);
}

.policy-overlay__frame {
  display: block;
  width: 100%;
  height: min(70vh, 760px);
  border: 0;
  background: #fff;
}

@media (max-width: 720px) {
  .policy-overlay__panel {
    width: calc(100vw - 20px);
    margin: 14px auto;
    padding: 16px;
    border-radius: 18px;
  }

  .policy-overlay__head {
    flex-direction: column;
    align-items: stretch;
  }

  .policy-overlay__frame {
    height: 68vh;
  }
}


.progress-menu .overlay-panel {
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* ###### END POLICY OVERLAY ###### */

/* ###### BEGIN LANLAB LIVE USERS WIDGET ###### */

.lanlab-live-users {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(10, 24, 40, 0.92), rgba(7, 16, 29, 0.96));
  box-shadow:
    0 0 0 1px rgba(0, 255, 255, 0.06) inset,
    0 0 20px rgba(0, 255, 255, 0.12);
  color: #dffcff;
  white-space: nowrap;
}

.lanlab-live-users__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #6dffb4;
  box-shadow:
    0 0 8px rgba(109, 255, 180, 0.95),
    0 0 18px rgba(109, 255, 180, 0.55);
  animation: lanlabLivePulse 1.8s infinite ease-in-out;
}

.lanlab-live-users__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(210, 245, 255, 0.82);
}

.lanlab-live-users__count {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(0, 255, 255, 0.22);
}

@keyframes lanlabLivePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.75;
  }
}

@media (max-width: 900px) {
  .lanlab-live-users {
    min-height: 38px;
    padding: 0 12px;
    gap: 8px;
  }

  .lanlab-live-users__label {
    font-size: 11px;
  }

  .lanlab-live-users__count {
    font-size: 16px;
  }
}

/* ###### END LANLAB LIVE USERS WIDGET ###### */