/* UI Reboot 2026 - Cold Signal */
:root {
  /* palette */
  --color-base: #061012;
  --color-panel: #0b1c1f;
  --color-frame: #0f2b2f;
  --color-primary: #7fb0ab;
  --color-amber: #ffb347;
  --color-danger: #ff5533;
  --text-primary: #7fb0ab;
  --text-muted: #7fb0ab;
  --border-strong: rgba(31, 209, 195, 0.6);
  --border-faint: rgba(31, 209, 195, 0.25);
  --header-cyan-mid: rgba(31, 209, 195, 0.35);
  --shadow-outer: 0 8px 20px rgba(0, 0, 0, 0.55);
  --glow-inner: 0 0 12px rgba(31, 209, 195, 0.35);
  --noise-opacity: 0.06;
  /* spacing - kompakter für kleinere Bildschirme */
  --space-4: 5px;
  --space-8: 8px;
  --space-12: 11px;
  --space-16: 14px;
  --space-20: 18px;
  --space-28: 20px;
  /* typography - kleinere Basisgrößen */
  --font-display: 'Orbitron', 'Eurostile', 'Bank Gothic', 'Glass_TTY_VT220', monospace;
  --font-mono: 'Glass_TTY_VT220', 'JetBrains Mono', monospace;
  --font-body: 'Rajdhani', 'Eurostile', 'Segoe UI', sans-serif;
  --fs-10: 9px;
  --fs-12: 10px;
  --fs-14: 11px;
  --fs-16: 13px;
  /* bevels - DEAKTIVIERT (auf 0 gesetzt für normale Ecken) */
  --bevel-sm: 0px;
  --bevel-lg: 0px;
  --bevel-hud: 0px;
  /* overlays */
  --scanline-color: rgba(0, 0, 0, 0.24);
  --center-hero-image: url('../docs/UI_UX_CONCEPT_DEMO.png');
  /* timing */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 80ms;
  --t-mid: 160ms;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; height: 100%; }
body.ui-reboot {
  background: radial-gradient(circle at 20% 10%, rgba(31, 209, 195, 0.08), transparent 40%),
              radial-gradient(circle at 70% 25%, rgba(31, 209, 195, 0.06), transparent 45%),
              radial-gradient(circle at 50% 80%, rgba(31, 209, 195, 0.04), transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  display: block;
}

body.ui-reboot.ng-shell {
  background: linear-gradient(180deg, rgba(6, 16, 18, 0.38), rgba(0, 0, 0, 0.62)), url('../pics/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


body.ui-reboot .ui-frame.ui-frame--heavy.ng-sections-frame {
  margin-top: var(--space-4);
  overflow: hidden;
  overflow-x: hidden;
  position: relative;
  background: transparent;
  padding: 5px;
  background: rgba(11, 28, 31, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-color: rgba(31, 209, 195, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 22px rgba(0, 0, 0, 0.48);
}

body.ui-reboot .ui-frame.ui-frame--heavy.ng-sections-frame::before {
 content: '';
 position: absolute;
 inset: 0;
 background-image: repeating-linear-gradient(
   0deg,
   var(--scanline-color) 0,
   var(--scanline-color) 1px,
   transparent 1px,
   transparent 3px
 );
 opacity: 0.35;
 pointer-events: none;
 mix-blend-mode: screen;
}

body.ui-reboot .ui-frame.ui-frame--heavy.ng-sections-frame .ng-dashboard-cleanup {
  position: absolute;
  top: var(--space-8);
  right: var(--space-8);
  z-index: 5;
  min-width: 38px;
  height: 32px;
  padding: 0 var(--space-8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

 body.ui-reboot .ui-frame.ui-frame--heavy.ng-sections-frame .ng-sections-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-4) var(--space-12);
  padding-top: calc(var(--space-4) + 6px);
  margin: 0 auto var(--space-4);
  width: 100%;
 }

 body.ui-reboot .ui-frame.ui-frame--heavy.ng-sections-frame .ng-sections-tabs > .tab[data-section="defense"] {
  align-self: stretch;
  min-width: 64px;
  padding-left: var(--space-16);
  padding-right: var(--space-16);
 }

 body.ui-reboot .ui-frame.ui-frame--heavy.ng-sections-frame .ng-sections-tabs > .tab[data-section="defense"] > i {
  font-size: 18px;
 }

body.ui-reboot::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: none;
  opacity: var(--noise-opacity);
  pointer-events: none;
  mix-blend-mode: screen;
}

.ui-cut {
  clip-path: none;
}

.ui-cut-lg {
  clip-path: none;
}

.ui-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  grid-template-areas:
    'header header'
    'left   center'
    'ticker ticker';
  grid-template-columns: var(--panel-left-width, 320px) 1fr;
  grid-template-rows: auto 1fr auto;
  gap: var(--space-12);
 }

 body.ui-reboot .ui-shell.ui-shell--modules.panel-left-collapsed.panel-right-collapsed {
  row-gap: var(--space-4);
  column-gap: var(--space-12);
 }

 body.ui-reboot .ng-sections-slider.ui-frame.ui-frame--ghost {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
 }


 body.ui-reboot .ng-sections-slider.ui-frame.ui-frame--ghost .ui-gap-12 {
  gap: var(--space-4);
 }


.ui-shell > * { position: relative; z-index: 1; }

.ui-frame {
  position: relative;
  padding: var(--space-8);
  overflow: hidden;
}

.ui-frame::before,
.ui-frame::after {
  display: none;
}

.ui-frame--ghost {
  background: linear-gradient(180deg, rgba(11, 28, 31, 0.5), rgba(7, 20, 22, 0.35));
  border-color: var(--border-faint);
  box-shadow: none;
}

.ui-frame__title {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--fs-12);
  color: var(--color-primary);
  letter-spacing: 0.6px;
  margin-bottom: var(--space-8);
  margin-left: var(--bevel-sm);
  margin-right: var(--bevel-sm);
  padding-top: var(--space-4);
  text-transform: uppercase;
}

.ui-frame.ui-frame--heavy .ui-frame__title {
  padding-bottom: 10px;
  margin-bottom: 10px;
  margin-left: calc(var(--bevel-lg) + 4px);
  margin-right: calc(var(--bevel-lg) + 4px);
  border-bottom: 1px solid rgba(31, 209, 195, 0.16);
  text-shadow: 0 0 10px rgba(31, 209, 195, 0.12);
}

.ui-frame.ui-frame--heavy {
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  isolation: isolate;
}

 .ui-frame.ui-frame--heavy .hud-edge--left,
 .ui-frame.ui-frame--heavy .hud-edge--right {
  display: none;
 }

.ui-frame.ui-frame--heavy > .ui-frame__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.ui-frame.ui-frame--heavy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(31, 209, 195, 0.02) 3px,
    rgba(31, 209, 195, 0.02) 6px
  );
  pointer-events: none;
  z-index: 0;
}

.ui-frame.ui-frame--glass {
  background: rgba(11, 28, 31, 0.28);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-color: rgba(31, 209, 195, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 22px rgba(0, 0, 0, 0.48);
}

.ui-frame.ui-frame--glass::before {
  border-color: rgba(31, 209, 195, 0.14);
  box-shadow: inset 0 0 10px rgba(31, 209, 195, 0.06);
}

.ui-frame.ui-frame--glass::after {
  opacity: 0.55;
  background-image: radial-gradient(ellipse at center, rgba(31, 209, 195, 0.08), transparent 55%);
  background-size: 140% 140%;
  background-position: center;
  background-repeat: no-repeat;
}

.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: 5px 10px;
  background: rgba(31, 209, 195, 0.08);
  border: 1px solid var(--border-faint);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: var(--fs-10);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.ui-btn:hover { background: rgba(31, 209, 195, 0.14); border-color: var(--border-strong); }
.ui-btn:active { transform: translateY(1px); background: rgba(31, 209, 195, 0.2); }
.ui-btn.is-amber { border-color: var(--color-amber); color: var(--color-amber); }
.ui-btn.is-amber:hover { background: rgba(255, 179, 71, 0.15); }
.ui-btn.is-danger { border-color: var(--color-danger); color: var(--color-danger); }
.ui-btn.is-danger:hover { background: rgba(255, 85, 51, 0.15); }

 .ng-jump-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 5px;
   padding: 6px 10px;
   min-width: 38px;
   height: 32px;
   background: rgba(31, 209, 195, 0.08);
   border: 1px solid var(--border-faint);
   border-radius: 2px;
   color: var(--text-primary);
   font: 500 10px/1 var(--font-display);
   letter-spacing: 0.5px;
   text-transform: uppercase;
   cursor: pointer;
   text-decoration: none;
   transition: background var(--t-fast), border-color var(--t-fast);
 }

 .ng-jump-btn:hover { background: rgba(31, 209, 195, 0.14); border-color: var(--border-strong); }
.ng-jump-btn:active { transform: translateY(1px); background: rgba(31, 209, 195, 0.2); }

 .ng-toplist-alliance-pic {
   width: 28px;
   height: 28px;
   display: block;
   object-fit: cover;
 }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ui-form { display: grid; gap: var(--space-12); }
.ui-field { display: grid; gap: var(--space-4); }
.ui-field__label { font-family: var(--font-display); letter-spacing: 0.6px; color: var(--text-muted); font-size: var(--fs-12); text-transform: uppercase; }
.ui-input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-faint);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-12);
  letter-spacing: 0.4px;
}
.ui-input:focus { outline: 1px solid var(--color-primary); border-color: var(--color-primary); box-shadow: inset var(--glow-inner); }
.ui-actions { display: flex; gap: var(--space-8); justify-content: flex-end; }

.ui-meter {
  position: relative;
  height: 14px;
  background: #071114;
  border: 1px solid var(--border-faint);
  overflow: hidden;
  clip-path: polygon(var(--bevel-sm) 0, calc(100% - var(--bevel-sm)) 0, 100% var(--bevel-sm), 100% calc(100% - var(--bevel-sm)), calc(100% - var(--bevel-sm)) 100%, var(--bevel-sm) 100%, 0 calc(100% - var(--bevel-sm)), 0 var(--bevel-sm));
}

.ui-meter__fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, rgba(31, 209, 195, 0.8), rgba(31, 209, 195, 0.35));
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.45);
  transition: width var(--t-mid) var(--ease);
}

.ui-meter.is-amber .ui-meter__fill { background: linear-gradient(90deg, rgba(255, 179, 71, 0.85), rgba(255, 179, 71, 0.45)); }
.ui-meter.is-danger .ui-meter__fill { background: linear-gradient(90deg, rgba(255, 85, 51, 0.9), rgba(255, 85, 51, 0.55)); }

.ui-list {
  display: grid;
  gap: var(--space-8);
  font-size: var(--fs-12);
}

.ui-list__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-8);
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(31, 209, 195, 0.12);
  clip-path: polygon(var(--bevel-sm) 0, calc(100% - var(--bevel-sm)) 0, 100% var(--bevel-sm), 100% calc(100% - var(--bevel-sm)), calc(100% - var(--bevel-sm)) 100%, var(--bevel-sm) 100%, 0 calc(100% - var(--bevel-sm)), 0 var(--bevel-sm));
  position: relative;
  overflow: hidden;
}

.ui-list__row .label { color: var(--text-muted); font-family: var(--font-mono); }
.ui-list__row .value { color: var(--text-primary); }

.ui-list__row::before,
.ui-list__row::after {
  content: '';
  position: absolute;
  inset: 2px;
  pointer-events: none;
  clip-path: inherit;
}

.ui-list__row::before { border: 1px solid rgba(31, 209, 195, 0.12); box-shadow: inset 0 0 6px rgba(31, 209, 195, 0.08); }

.ui-list__row::after {
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(31, 209, 195, 0.25), transparent 60%),
    linear-gradient(225deg, rgba(31, 209, 195, 0.16), transparent 60%),
    linear-gradient(45deg, rgba(31, 209, 195, 0.18), transparent 60%),
    linear-gradient(315deg, rgba(31, 209, 195, 0.12), transparent 60%);
  background-size: 8px 8px;
  background-repeat: no-repeat;
  background-position: top left, top right, bottom left, bottom right;
}

.ui-stack { display: grid; gap: 10px; }
body.ui-reboot .ng-tile-dashboard.ui-stack,
body.ui-reboot #ng-tile-dashboard.ui-stack {
  display: grid;
  gap: 2px;
}
.ui-gap-8 { gap: 8px; }

.ui-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-12);
}

.ui-table th,
.ui-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-faint);
  color: var(--text-primary);
  text-align: left;
}

.ui-table th { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.6px; font-family: var(--font-display); }
.ui-table tr:nth-child(2n) { background: rgba(255, 255, 255, 0.02); }
.ui-table .is-right { text-align: right; }
.ui-table .is-center { text-align: center; }

.ui-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--border-faint);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  clip-path: polygon(var(--bevel-sm) 0, calc(100% - var(--bevel-sm)) 0, 100% var(--bevel-sm), 100% calc(100% - var(--bevel-sm)), calc(100% - var(--bevel-sm)) 100%, var(--bevel-sm) 100%, 0 calc(100% - var(--bevel-sm)), 0 var(--bevel-sm));
}

.ui-link { color: var(--color-primary); text-decoration: none; }
.ui-link:hover { text-decoration: underline; }

.ui-card-objective {
  grid-area: center;
}

.ui-panel-left { grid-area: left; }
.ui-panel-header { grid-area: header; }
.ui-panel-nav { grid-area: nav; }

 body.ui-reboot #ng-comm-fullview-content {
  opacity: 1;
  transition: opacity 260ms var(--ease);
 }

 body.ui-reboot #ng-comm-fullview-content.is-transitioning {
  opacity: 0;
 }

.ui-panel-left {
 position: relative;
 transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ui-shell.panel-left-collapsed .panel-toggle-btn--left .arrow {
  transform: rotate(180deg);
}

.panel-toggle-btn {
  position: absolute;
  z-index: 1001;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-primary);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.panel-toggle-btn:hover {
  background: transparent;
  border: none;
}

.panel-toggle-btn--left {
    left: 10px;
    top: calc(100% + 10px);
    transform: none;
    border-radius: 0;
    clip-path: none;
    flex-direction: column;
    gap: 6px;
    padding: 16px 0 0 3px;
    align-items: flex-start;
    justify-content: flex-start;
}

 body.ui-reboot .ui-shell-header #toggle-left-panel {
  position: absolute;
  left: 10px;
  right: auto;
  top: calc(100% + 10px);
  bottom: auto;
  justify-self: auto;
  align-self: auto;
 }

.panel-toggle-btn--left::before,
.panel-toggle-btn--left::after,
.panel-toggle-btn--left .burger-line {
  content: '';
  display: block;
  height: 3px;
  background: var(--color-primary);
  transform: rotate(-45deg);
  transform-origin: left center;
  transition: all 0.3s ease;
  animation: blink-lines 5s ease-in-out infinite;
}

@keyframes blink-lines {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 4px var(--color-primary));
  }
}

.panel-toggle-btn--left::before {
  width: 6px;
}

.panel-toggle-btn--left .burger-line {
  width: 18px;
}

.panel-toggle-btn--left::after {
  width: 32px;
}

.panel-toggle-btn--left:hover::before,
.panel-toggle-btn--left:hover::after,
.panel-toggle-btn--left:hover .burger-line {
  box-shadow: 0 0 6px var(--color-primary);
}

.ui-panel-left.ui-stack {
  display: grid;
  gap: var(--space-12);
  padding: var(--space-8);
}

.ui-panel-left .ui-frame:not(.ui-frame--glass):not(.ui-frame--heavy):not(.ui-frame--light) {
  background: linear-gradient(180deg, rgba(7, 18, 20, 0.94), rgba(4, 12, 14, 0.88));
  border-color: rgba(31, 209, 195, 0.32);
  box-shadow: var(--shadow-outer), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.ui-panel-left .ui-frame::before { border-color: rgba(31, 209, 195, 0.28); }

.ng-sections-slider.ui-frame.ui-frame--ghost {
  display: block;
  padding: var(--space-12);
  background: linear-gradient(180deg, rgba(11, 28, 31, 0.65), rgba(7, 20, 22, 0.45));
}

.ng-sections-slider.ui-frame.ui-frame--ghost.is-hidden-initial { display: none; }

.ui-btn--ghost {
  background: rgba(31, 209, 195, 0.04);
  border-color: var(--border-faint);
  color: var(--text-primary);
}

.ui-aircraft-card {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-8);
}

.ui-aircraft-nav {
  width: 32px;
  height: 32px;
  font-family: var(--font-display);
  font-size: var(--fs-12);
  letter-spacing: 0.6px;
}

.ui-aircraft-viewport {
  position: relative;
  padding: var(--space-8);
  max-height: 120px;
  background: linear-gradient(180deg, rgba(11, 28, 31, 0.9), rgba(7, 20, 22, 0.9));
  border: 1px solid var(--border-faint);
  clip-path: polygon(var(--bevel-lg) 0, calc(100% - var(--bevel-lg)) 0, 100% var(--bevel-lg), 100% calc(100% - var(--bevel-lg)), calc(100% - var(--bevel-lg)) 100%, var(--bevel-lg) 100%, 0 calc(100% - var(--bevel-lg)), 0 var(--bevel-lg));
  overflow: hidden;
}

.ui-aircraft-viewport::before,
.ui-aircraft-viewport::after {
  content: '';
  position: absolute;
  inset: 2px;
  pointer-events: none;
  clip-path: inherit;
}

.ui-aircraft-viewport::before { border: 1px solid rgba(31, 209, 195, 0.18); box-shadow: inset 0 0 8px rgba(31, 209, 195, 0.12); }

.ui-aircraft-viewport::after {
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(31, 209, 195, 0.3), transparent 60%),
    linear-gradient(225deg, rgba(31, 209, 195, 0.18), transparent 60%),
    linear-gradient(45deg, rgba(31, 209, 195, 0.22), transparent 60%),
    linear-gradient(315deg, rgba(31, 209, 195, 0.14), transparent 60%);
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: top left, top right, bottom left, bottom right;
}

.ui-aircraft-image {
  width: 100%;
  height: 100%;
  max-height: 100px;
  object-fit: cover;
  object-position: center;
  display: block;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.ui-aircraft-title {
  position: absolute;
  left: var(--space-8);
  bottom: var(--space-8);
  font-family: var(--font-display);
  font-size: var(--fs-10);
  color: var(--color-primary);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.ui-aircraft-stats { margin-top: var(--space-12); }

.ui-section-label {
  font-family: var(--font-display);
  letter-spacing: 0.7px;
  color: var(--color-primary);
  font-size: var(--fs-12);
  margin-bottom: var(--space-8);
}

.ui-scan-grid {
  position: relative;
  width: 100%;
  min-height: 200px;
  background: radial-gradient(circle, rgba(31, 209, 195, 0.08) 0%, rgba(11, 28, 31, 0.95) 65%);
  border: 1px solid var(--border-faint);
  overflow: hidden;
}

.ui-log {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: #7fb0ab;
}

.ui-log strong { color: #8a9299; }
.ui-log__line { display: block; margin-bottom: 4px; }

.ui-log__time { color: #6a7580; margin-right: 6px; }

 .ng-cityview-card{
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    overflow: visible;
 }

 body.ui-reboot .ng-cityview-card.ng-grid-cityinfo{
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    padding: 0;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card::before {
  content: none;
 }
 
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-cityinfo::before {
  content: "";
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card {
  position: relative;
  box-shadow: none;
 }


 .ng-cityview-card-title{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #7fb0ab;
    font: 600 11px/1.2 'Glass_TTY_VT220', monospace;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding-left: 22px;
    width: 100%;
    text-align: center;
 }

 .ng-cityview-card-title .ng-skyline-legend {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
 }

 .ng-cityview-card-title > div {
  width: 100%;
  text-align: center;
 }

 .ng-cityview-card-title {
  gap: 8px;
 }

 .ng-cityview-card-title .ng-card-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: rgba(31, 209, 195, 0.28);
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(1px);
 }

 .ng-cityview-card-title .ng-card-drag-handle i {
  font-size: 18px;
  line-height: 1;
 }

 .ng-tiles-grid,
 .ng-build-tiles-grid,
 .ng-defense-tiles-grid {
  position: relative;
  overflow: hidden;
 }

 .ng-cityview-card.ng-tiles-card {
  border-radius: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: min(1200px, 100%);
	background: rgba(11, 28, 31, 0.28);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	border-color: rgba(31, 209, 195, 0.16);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 22px rgba(0, 0, 0, 0.48);
  padding: 6px;
}


 .ng-cityview-card.ng-tiles-card .ng-tiles-grid,
 .ng-cityview-card.ng-tiles-card .ng-build-tiles-grid,
 .ng-cityview-card.ng-tiles-card .ng-defense-tiles-grid {
  background: transparent;
  border: 0;
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
 }

 body.ui-reboot .ng-cityview-card.ng-tiles-card .ng-tiles-grid {
  grid-template-columns: repeat(auto-fit, 200px);
  gap: 12px;
  justify-content: center;
 }

 body.ui-reboot .ng-cityview-card.ng-tiles-card .ng-build-tiles-grid,
 body.ui-reboot .ng-cityview-card.ng-tiles-card .ng-defense-tiles-grid {
  gap: 12px;
 }

 body.ui-reboot .ng-build-tiles-grid.ng-build-tiles-grid--grouped {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
 }

 body.ui-reboot .ng-build-group-title {
  color: #7fb0ab;
  font: 600 11px/1.2 'Glass_TTY_VT220', monospace;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 4px;
 }

 body.ui-reboot .ng-build-group-title--center {
  text-align: center;
 }

 body.ui-reboot .ng-build-group-title--split {
  display: grid;
  grid-template-columns: repeat(5, 200px);
  align-items: center;
  justify-content: center;
 }

 body.ui-reboot .ng-build-group-title__left {
  grid-column: 1 / span 2;
  text-align: center;
 }

 body.ui-reboot .ng-build-group-title__right {
  grid-column: 4 / span 2;
  text-align: center;
 }

 body.ui-reboot .ng-build-row {
  display: grid;
  gap: 12px;
  justify-content: center;
 }

 body.ui-reboot .ng-build-row--spacer {
  grid-template-columns: repeat(5, 200px);
 }

 body.ui-reboot .ng-build-row:not(.ng-build-row--spacer) {
  grid-template-columns: repeat(5, 200px);
 }

 body.ui-reboot .ng-tile-spacer {
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 8 / 7;
  min-height: 1px;
 }

 body.ui-reboot .ng-build-row .ng-tile {
  width: min(100%, 200px);
  max-width: 200px;
  height: auto;
  aspect-ratio: 8 / 7;
  position: relative;
 }

 body.ui-reboot .ng-tile-grid-tech.ng-tech-tiles-grid--grouped {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
 }

 body.ui-reboot .ng-tech-row {
  display: grid;
  gap: 12px;
  justify-content: center;
 }

 body.ui-reboot .ng-tech-row--3 {
  grid-template-columns: repeat(3, 200px);
 }

 body.ui-reboot .ng-tech-row--4 {
  grid-template-columns: repeat(4, 200px);
 }

 body.ui-reboot .ng-tech-row--2 {
  grid-template-columns: repeat(2, 200px);
 }

 body.ui-reboot .ng-tech-row .ng-tile {
  width: min(100%, 200px);
  max-width: 200px;
  height: auto;
  aspect-ratio: 8 / 7;
  position: relative;
 }

 body.ui-reboot .ng-hangar-tiles-grid.ng-hangar-tiles-grid--grouped {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
 }

 body.ui-reboot .ng-hangar-row {
  display: grid;
  gap: 12px;
  justify-content: center;
 }

 body.ui-reboot .ng-hangar-row--4 {
  grid-template-columns: repeat(4, 200px);
 }

 body.ui-reboot .ng-hangar-row--3 {
  grid-template-columns: repeat(3, 200px);
 }

 body.ui-reboot .ng-hangar-row .ng-tile {
  width: min(100%, 200px);
  max-width: 200px;
  height: auto;
  aspect-ratio: 8 / 7;
  position: relative;
 }

 @media (max-width: 719px) {
  body.ui-reboot .ng-build-row,
  body.ui-reboot .ng-build-row--spacer,
  body.ui-reboot .ng-build-row:not(.ng-build-row--spacer) {
   grid-template-columns: repeat(auto-fit, 200px);
  }

  body.ui-reboot .ng-tech-row,
  body.ui-reboot .ng-tech-row--3,
  body.ui-reboot .ng-tech-row--4,
  body.ui-reboot .ng-tech-row--2 {
   grid-template-columns: repeat(auto-fit, 200px);
  }

  body.ui-reboot .ng-hangar-row,
  body.ui-reboot .ng-hangar-row--4,
  body.ui-reboot .ng-hangar-row--3 {
   grid-template-columns: repeat(auto-fit, 200px);
  }

  body.ui-reboot .ng-tile-spacer {
   display: none;
  }

  body.ui-reboot .ng-build-group-title--split {
   justify-content: center;
   gap: 12px;
  }
 }

 body.ui-reboot .ng-cityview-card.ng-tiles-card.ng-tiles-card--defense {
  max-width: min(calc(3 * 200px + 2 * 32px + 32px), 100%);
 }

 @media (min-width: 720px) {
  body.ui-reboot .ng-cityview-card.ng-tiles-card.ng-tiles-card--defense .ng-defense-tiles-grid {
   grid-template-columns: repeat(3, 200px);
   justify-content: center;
  }
 }

 body.ui-reboot .ng-tile-title {
  background: transparent;
  color: #7fb0ab;
  font: 600 11px/1.2 'Glass_TTY_VT220', monospace;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55), 0 0 10px rgba(0, 0, 0, 0.65);
 }

 .ng-system-msg-count,
 .ng-active-jobs-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border: 1px solid rgba(31, 209, 195, 0.22);
  background: rgba(31, 209, 195, 0.06);
  color: rgba(31, 209, 195, 0.75);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  margin-right: 8px;
 }

.ng-cityview-card.ng-grid-flotten .ng-flight-list[data-role="flight-list-incoming"].ng-flight-list--has-incoming,
.ng-cityview-card.ng-grid-flotten .ng-flight-list.ui-log.ng-flight-list--has-incoming,
.ng-cityview-card.ng-grid-radar .ng-flight-list[data-role="flight-list-incoming"].ng-flight-list--has-incoming,
.ng-cityview-card.ng-grid-radar .ng-flight-list.ui-log.ng-flight-list--has-incoming,
.ng-cityview-card.ng-grid-flotten-incoming .ng-flight-list[data-role="flight-list-incoming"].ng-flight-list--has-incoming,
.ng-cityview-card.ng-grid-flotten-incoming .ng-flight-list.ui-log.ng-flight-list--has-incoming {
  color: var(--color-danger);
}

 .ng-cityview-card.ng-grid-flotten .ng-flight-card,
 .ng-cityview-card.ng-grid-flotten-outgoing .ng-flight-card,
 .ng-cityview-card.ng-grid-flotten-incoming .ng-flight-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(60, 70, 80, 0.18);
 }

 .ng-cityview-card.ng-grid-flotten .ng-flight-card:last-child,
 .ng-cityview-card.ng-grid-flotten-outgoing .ng-flight-card:last-child,
 .ng-cityview-card.ng-grid-flotten-incoming .ng-flight-card:last-child {
  border-bottom: 0;
 }

 .ng-cityview-card.ng-grid-flotten .ng-flight-title,
 .ng-cityview-card.ng-grid-flotten-outgoing .ng-flight-title,
 .ng-cityview-card.ng-grid-flotten-incoming .ng-flight-title {
  flex: 1 1 auto;
  min-width: 0;
  color: #8a9299;
  white-space: normal;
  overflow-wrap: anywhere;
 }

 .ng-cityview-card.ng-grid-flotten .ng-flight-countdown,
 .ng-cityview-card.ng-grid-flotten-outgoing .ng-flight-countdown,
 .ng-cityview-card.ng-grid-flotten-incoming .ng-flight-countdown {
  flex: 0 0 auto;
  color: rgba(31, 209, 195, 0.85);
  white-space: normal;
  font-size: var(--fs-12);
  line-height: 1.2;
 }

 .ng-cityview-card.ng-grid-flotten .ng-flight-card.incoming .ng-flight-title,
 .ng-cityview-card.ng-grid-flotten .ng-flight-card.incoming .ng-flight-countdown,
 .ng-cityview-card.ng-grid-flotten-incoming .ng-flight-card.incoming .ng-flight-title,
 .ng-cityview-card.ng-grid-flotten-incoming .ng-flight-card.incoming .ng-flight-countdown {
  color: var(--color-danger);
 }

 .ng-player-avatar.ng-player-avatar--icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-strong);
  background: rgba(15, 43, 47, 0.3);
 }

 .ng-player-avatar.ng-player-avatar--icon i {
  font-size: 28px;
  color: var(--color-primary);
 }

 .ng-cityview-card.ng-grid-cityinfo {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  padding: 0;
 }

 .ng-cityview-card.ng-grid-cityinfo > .ng-cityview-card-title {
  padding-left: 0;
 }

 .ng-cityview-card.ng-grid-cityinfo .ng-cityinfo-imagewrap {
  display: flex;
  flex: 1;
  min-height: 0;
  justify-content: center;
  align-items: stretch;
  padding: 0 13%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
 }

 .ng-cityview-card.ng-grid-cityinfo .ng-cityinfo-imagewrap::before {
  content: "";
  position: absolute;
  inset: 0 13% 0 13%;
  pointer-events: none;
  z-index: 3;
  background-repeat: no-repeat;
  background-size:
    24px 2px,
    2px 24px,
    24px 2px,
    2px 24px,
    24px 2px,
    2px 24px,
    24px 2px,
    2px 24px,
    100% 100%;
  background-position:
    left 6px top 6px,
    left 6px top 6px,
    right 6px top 6px,
    right 6px top 6px,
    left 6px bottom 6px,
    left 6px bottom 6px,
    right 6px bottom 6px,
    right 6px bottom 6px,
    center;
  background-image:
    linear-gradient(rgba(31, 209, 195, 0.55), rgba(31, 209, 195, 0.55)),
    linear-gradient(rgba(31, 209, 195, 0.55), rgba(31, 209, 195, 0.55)),
    linear-gradient(rgba(31, 209, 195, 0.55), rgba(31, 209, 195, 0.55)),
    linear-gradient(rgba(31, 209, 195, 0.55), rgba(31, 209, 195, 0.55)),
    linear-gradient(rgba(31, 209, 195, 0.45), rgba(31, 209, 195, 0.45)),
    linear-gradient(rgba(31, 209, 195, 0.45), rgba(31, 209, 195, 0.45)),
    linear-gradient(rgba(31, 209, 195, 0.45), rgba(31, 209, 195, 0.45)),
    linear-gradient(rgba(31, 209, 195, 0.45), rgba(31, 209, 195, 0.45)),
    linear-gradient(rgba(31, 209, 195, 0.16), rgba(31, 209, 195, 0.16));
 }

 .ng-cityview-card.ng-grid-cityinfo .ng-cityinfo-image {
  width: 100%;
  max-width: none;
  max-height: none;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  position: relative;
  z-index: 1;
  animation:
    crtScanDrift 18s linear infinite,
    crtFlicker 3.6s steps(42, end) infinite,
    crtJitter 4s steps(16, end) infinite,
    ngGlitchShift 3.5s steps(24, end) infinite;
 }
 
 .ng-cityview-card.ng-grid-cityinfo .ng-cityinfo-imagewrap::after {
  content: "";
  position: absolute;
  inset: 0 13% 0 13%;
  pointer-events: none;
  z-index: 2;
  background-image: repeating-linear-gradient(
    0deg,
    var(--scanline-color) 0,
    var(--scanline-color) 2px,
    transparent 2px,
    transparent 4px
  );
  opacity: 0.75;
  mix-blend-mode: normal;
  background-position: 0 0;
  animation:
    crtScanDrift 18s linear infinite,
    crtFlicker 3.6s steps(42, end) infinite,
    crtJitter 4s steps(16, end) infinite,
    ngGlitchShift 3.5s steps(24, end) infinite,
    ngScanlinesDown 6s linear infinite;
 }

.ng-cityview-card.ng-grid-cityinfo .ng-cityinfo-imagewrap .ng-crt-testcard-layer {
  z-index: 3;
  opacity: 0;
  background-image:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.00) 22%,
      rgba(0, 0, 0, 0.25) 65%,
      rgba(0, 0, 0, 0.00) 100%),
    repeating-linear-gradient(90deg,
      rgba(31, 209, 195, 0.16) 0,
      rgba(31, 209, 195, 0.16) 10%,
      rgba(255, 185, 2, 0.14) 10%,
      rgba(255, 185, 2, 0.14) 20%,
      rgba(55, 168, 255, 0.14) 20%,
      rgba(55, 168, 255, 0.14) 30%,
      rgba(255, 123, 94, 0.14) 30%,
      rgba(255, 123, 94, 0.14) 40%,
      rgba(84, 212, 154, 0.14) 40%,
      rgba(84, 212, 154, 0.14) 50%,
      rgba(255, 255, 255, 0.12) 50%,
      rgba(255, 255, 255, 0.12) 60%,
      rgba(0, 0, 0, 0.22) 60%,
      rgba(0, 0, 0, 0.22) 100%);
  mix-blend-mode: screen;
}

.ng-cityview-card.ng-grid-cityinfo .ng-cityinfo-imagewrap .ng-crt-testcard-layer.is-flashing {
  animation: ngTestcardFlash 0.18s steps(12, end) 1;
}

.ng-cityview-card.ng-grid-cityinfo .ng-cityinfo-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  padding: 3px 50px 3px;
}

 .ng-cityview-card.ng-grid-cityinfo .ng-cityinfo-kv {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--fs-12);
 }

 .ng-cityview-card.ng-grid-cityinfo .ng-cityinfo-kv .k {
  color: rgba(231, 248, 246, 0.68);
 }

 .ng-cityview-card.ng-grid-cityinfo .ng-cityinfo-kv .v {
  color: #7fb0ab;
 }

 .ng-demo1-surface {
  position: relative;
  min-height: 220px;
  padding: 18px;
  overflow: hidden;
  background-color: #000000;
  background-image: radial-gradient(#11581E, #041607), url("https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif");
  background-repeat: no-repeat;
  background-size: cover;
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(128, 255, 128, 0.8);
  text-shadow:
    0 0 1ex rgba(51, 255, 51, 1),
    0 0 2px rgba(255, 255, 255, 0.8);
 }

 .ng-demo1-surface .noise {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image: url("https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif");
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  opacity: .12;
  mix-blend-mode: screen;
  filter: contrast(1.25) brightness(1.05);
 }

 .ng-demo1-surface .overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0) 100%
    );
  background-size: auto 4px;
  z-index: 2;
 }

 .ng-demo1-surface .overlay::before {
  content: "";
  pointer-events: none;
  position: absolute;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    0deg,
    transparent 0px,
    transparent 280px,
    rgba(32, 128, 32, 0.05) 280px,
    rgba(32, 128, 32, 0.25) 283px,
    rgba(32, 128, 32, 0.15) 290px,
    transparent 300px
  );
  background-repeat: repeat-y;
  background-size: 100% 300px;
  animation: ngDemo1Scan 12s linear 0s infinite;
 }

 @keyframes ngDemo1Scan {
  0% { background-position: 0 0; }
  100% { background-position: 0 300px; }
 }

 .ng-demo1-surface .terminal {
  position: relative;
  z-index: 3;
  max-width: 100%;
  padding: 0;
  text-transform: uppercase;
 }

 .ng-demo1-surface .output {
  color: rgba(128, 255, 128, 0.8);
  text-shadow:
    0 0 1px rgba(51, 255, 51, 0.4),
    0 0 2px rgba(255, 255, 255, 0.8);
 }

 .ng-demo1-surface .output::before {
  content: "> ";
 }

 .ng-demo1-surface a {
  color: #7fb0ab;
  text-decoration: none;
 }

 .ng-demo1-surface a::before { content: "["; }
 .ng-demo1-surface a::after { content: "]"; }

 .ng-demo1-surface .errorcode {
  color: white;
 }

.ng-cityview-dashboard.grid-stack,
.ng-dashboard-gridstack.grid-stack {
  display: block;
  position: relative;
  width: 100%;
  min-height: 280px;
  overflow-x: hidden;
}

body.ui-reboot.ng-shell .ng-cityview-dashboard.grid-stack {
  display: block;
}

/* Gap nur für Container mit ui-resizable-disabled Items */
.ng-cityview-dashboard.grid-stack.has-resizable-disabled,
.ng-dashboard-gridstack.grid-stack.has-resizable-disabled {
  gap: 0;
}

.ng-cityview-dashboard.grid-stack > .ng-dashboard-gridstack {
  width: 100%;
  min-width: 100%;
}

body.ui-reboot.ng-shell .ng-cityview-dashboard.grid-stack > .ng-dashboard-gridstack {
  grid-column: 1 / -1;
}

.ng-dashboard-gridstack.grid-stack {
  width: 100%;
  min-width: 100%;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-header-radar-mini {
  grid-column: auto;
  grid-row: auto;
}

.ng-cityview-dashboard.grid-stack .grid-stack-item,
.ng-dashboard-gridstack.grid-stack .grid-stack-item {
  position: absolute;
  padding: 3px;
  background: transparent;
  box-sizing: border-box;
}

 .ng-dashboard-gridstack.grid-stack .grid-stack-item[gs-x="0"],
 .ng-dashboard-gridstack.grid-stack .grid-stack-item:not([gs-x])[data-gs-x="0"] { left: 0%; }
 .ng-dashboard-gridstack.grid-stack .grid-stack-item[gs-x="1"],
 .ng-dashboard-gridstack.grid-stack .grid-stack-item:not([gs-x])[data-gs-x="1"] { left: 25%; }
 .ng-dashboard-gridstack.grid-stack .grid-stack-item[gs-x="2"],
 .ng-dashboard-gridstack.grid-stack .grid-stack-item:not([gs-x])[data-gs-x="2"] { left: 50%; }
 .ng-dashboard-gridstack.grid-stack .grid-stack-item[gs-x="3"],
 .ng-dashboard-gridstack.grid-stack .grid-stack-item:not([gs-x])[data-gs-x="3"] { left: 75%; }

 .ng-dashboard-gridstack.grid-stack .grid-stack-item[gs-w="1"],
 .ng-dashboard-gridstack.grid-stack .grid-stack-item:not([gs-w])[data-gs-w="1"] { width: 25%; }
 .ng-dashboard-gridstack.grid-stack .grid-stack-item[gs-w="2"],
 .ng-dashboard-gridstack.grid-stack .grid-stack-item:not([gs-w])[data-gs-w="2"] { width: 50%; }
 .ng-dashboard-gridstack.grid-stack .grid-stack-item[gs-w="3"],
 .ng-dashboard-gridstack.grid-stack .grid-stack-item:not([gs-w])[data-gs-w="3"] { width: 75%; }
 .ng-dashboard-gridstack.grid-stack .grid-stack-item[gs-w="4"],
 .ng-dashboard-gridstack.grid-stack .grid-stack-item:not([gs-w])[data-gs-w="4"] { width: 100%; }

.ng-cityview-dashboard.grid-stack .grid-stack-item-content,
.ng-dashboard-gridstack.grid-stack .grid-stack-item-content {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .grid-stack-item-content > .ng-cityview-card,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .grid-stack-item-content > .ng-header-radar-mini {
  height: 100%;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 20px;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-header-radar-mini {
  border: 1px solid rgba(31, 209, 195, 0.18);
  padding: 6px;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card > .ng-cityview-card-title,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card > .ng-hacker-title {
  flex: 0 0 auto;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card > .ng-cityview-card-content,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card > .ng-cityview-card-body,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card .ui-log {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates {
  font-size: var(--fs-12);
  line-height: 1.3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coordinates-card-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-player.ng-row-protected {
  color: #7fb0ab;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-player {
  color: #7fb0ab;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-player.ng-row-protected a,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-player.ng-row-protected span,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-player.ng-row-protected i {
  color: inherit;
}

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player),
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player),
 body.ui-reboot.ng-shell .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player),
 body.ui-reboot.ng-shell .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player),
 .ng-comm-fullview-content .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player),
 .ng-comm-fullview-content .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player),
 body.ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player),
 body.ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player),
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player),
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) {
  color: var(--color-danger);
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) a,
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) span,
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) i,
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) a,
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) span,
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) i,
 body.ui-reboot.ng-shell .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) a,
 body.ui-reboot.ng-shell .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) span,
 body.ui-reboot.ng-shell .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) i,
 body.ui-reboot.ng-shell .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) a,
 body.ui-reboot.ng-shell .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) span,
 body.ui-reboot.ng-shell .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) i,
 .ng-comm-fullview-content .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) a,
 .ng-comm-fullview-content .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) span,
 .ng-comm-fullview-content .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) i,
 .ng-comm-fullview-content .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) a,
 .ng-comm-fullview-content .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) span,
 .ng-comm-fullview-content .ng-coord-embed .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) i,
 body.ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) a,
 body.ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) span,
 body.ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) i,
 body.ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) a,
 body.ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) span,
 body.ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) i,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) a,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) span,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-protected:not(.ng-row-player) i,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) a,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) span,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-row.ng-row-occupied.ng-row-unattackable:not(.ng-row-player) i {
  color: inherit;
 }

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-player a,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-player span,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-row.ng-row-occupied.ng-row-player i {
  color: inherit;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-table th.ng-col-actions {
  text-align: center;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-table th.ng-col-points,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-table td.ng-col-points {
  text-align: center;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-table th,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-table td {
  text-align: center;
  vertical-align: middle;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-table td .ng-terminal-action {
  justify-content: center;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-table td.ng-col-owner {
  text-align: center;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-table td.ng-col-owner .ng-coord-avatar {
  display: inline-block;
  vertical-align: middle;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coordinates-card-body > .ng-coordinates-embedded {
  min-height: 0;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates > .ng-cityview-card-content,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates > .ng-cityview-card-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

body.ng-page-coordinates .ng-coord-embed,
#ng-comm-fullview-content .ng-page-coordinates .ng-coord-embed,
.ng-comm-fullview-content .ng-page-coordinates .ng-coord-embed {
  max-width: var(--ng-content-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

 body.ui-reboot.ng-shell .ng-coord-embed .ng-coord-embed-navwrap,
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-coord-embed .ng-coord-embed-navwrap,
 body.ng-page-coordinates .ng-coord-embed .ng-coord-embed-navwrap,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-embed .ng-coord-embed-navwrap,
 .ng-comm-fullview-content .ng-page-coordinates .ng-coord-embed .ng-coord-embed-navwrap {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: var(--space-8);
  align-items: stretch;
 }

 body.ui-reboot.ng-shell .ng-coord-embed .ng-coord-embed-navbtn,
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-coord-embed .ng-coord-embed-navbtn,
 body.ng-page-coordinates .ng-coord-embed .ng-coord-embed-navbtn,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-embed .ng-coord-embed-navbtn,
 .ng-comm-fullview-content .ng-page-coordinates .ng-coord-embed .ng-coord-embed-navbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-width: 56px;
  min-height: 56px;
  padding: 0;
  text-decoration: none;
  color: #7fb0ab;
  background: transparent;
  border: 0;
  clip-path: none;
  box-shadow: none;
 }

 body.ui-reboot.ng-shell .ng-coord-embed .ng-coord-embed-navbtn i,
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-coord-embed .ng-coord-embed-navbtn i,
 body.ng-page-coordinates .ng-coord-embed .ng-coord-embed-navbtn i,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-embed .ng-coord-embed-navbtn i,
 .ng-comm-fullview-content .ng-page-coordinates .ng-coord-embed .ng-coord-embed-navbtn i {
  font-size: 34px;
  line-height: 1;
 }

 body.ui-reboot.ng-shell .ng-coord-embed .ng-coord-embed-navbtn:hover,
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-coord-embed .ng-coord-embed-navbtn:hover,
 body.ng-page-coordinates .ng-coord-embed .ng-coord-embed-navbtn:hover,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-embed .ng-coord-embed-navbtn:hover,
 .ng-comm-fullview-content .ng-page-coordinates .ng-coord-embed .ng-coord-embed-navbtn:hover {
  color: rgba(31, 209, 195, 1);
 }

 body.ng-page-coordinates .ng-coord-shell,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
 }

 body.ng-page-coordinates .ng-coord-shell,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-shell,
 .ng-comm-fullview-content .ng-page-coordinates .ng-coord-shell {
  max-width: var(--ng-content-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
 }

 @media (min-width: 980px) {
  body.ng-page-coordinates .ng-coord-shell,
  #ng-comm-fullview-content .ng-page-coordinates .ng-coord-shell {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    align-items: start;
  }
 }

 body.ng-page-coordinates .ng-coord-nav,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
 }

 body.ng-page-coordinates .ng-coord-main,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-main {
  min-width: 0;
 }

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-table,
body.ng-page-coordinates .ng-coord-table,
#ng-comm-fullview-content .ng-page-coordinates .ng-coord-table,
.ng-coord-embed .ng-coord-table,
#ng-comm-fullview-content .ng-coord-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  background: rgba(11, 28, 31, 0.6);
  border: 1px solid rgba(60, 70, 80, 0.4);
  border-radius: 6px;
  overflow: hidden;
}

body.ng-page-coordinates .ng-coord-table thead th,
#ng-comm-fullview-content .ng-page-coordinates .ng-coord-table thead th {
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-11);
  letter-spacing: 0.5px;
  color: #7fb0ab;
  border-bottom: 1px solid rgba(31, 209, 195, 0.22);
  padding: 8px 8px;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-table tbody td,
body.ng-page-coordinates .ng-coord-table tbody td,
#ng-comm-fullview-content .ng-page-coordinates .ng-coord-table tbody td {
  padding: 7px 8px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(60, 70, 80, 0.22);
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-col-actions,
body.ng-page-coordinates .ng-col-actions,
#ng-comm-fullview-content .ng-page-coordinates .ng-col-actions {
  text-align: center;
}

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-noobschutz-icon,
 body.ng-page-coordinates .ng-noobschutz-icon,
 #ng-comm-fullview-content .ng-page-coordinates .ng-noobschutz-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 18px;
  line-height: 1;
  color: var(--color-danger);
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-col-actions a.ng-terminal-action i,
 body.ng-page-coordinates .ng-col-actions a.ng-terminal-action i,
 #ng-comm-fullview-content .ng-page-coordinates .ng-col-actions a.ng-terminal-action i {
  font-size: 18px;
  line-height: 1;
 }
 
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-col-actions a.ng-terminal-action,
 body.ng-page-coordinates .ng-col-actions a.ng-terminal-action,
 #ng-comm-fullview-content .ng-page-coordinates .ng-col-actions a.ng-terminal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  text-decoration: none;
  color: #7fb0ab;
 }
 
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-col-actions a.ng-terminal-action:hover,
 body.ng-page-coordinates .ng-col-actions a.ng-terminal-action:hover,
 #ng-comm-fullview-content .ng-page-coordinates .ng-col-actions a.ng-terminal-action:hover {
  color: rgba(31, 209, 195, 1);
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-col-actions a.ng-terminal-action:visited,
 body.ng-page-coordinates .ng-col-actions a.ng-terminal-action:visited,
 #ng-comm-fullview-content .ng-page-coordinates .ng-col-actions a.ng-terminal-action:visited {
  color: #7fb0ab;
 }

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-coordinates .ng-coord-table tbody tr:nth-child(even),
body.ng-page-coordinates .ng-coord-table tbody tr:nth-child(even),
#ng-comm-fullview-content .ng-page-coordinates .ng-coord-table tbody tr:nth-child(even) {
  background: rgba(31, 209, 195, 0.06);
}

 body.ng-page-coordinates .ng-coord-main-header,
 #ng-comm-fullview-content .ng-page-coordinates .ng-coord-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  flex-wrap: wrap;
 }

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-radar {
  overflow: hidden;
}

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy {
  overflow: hidden;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-galaxy-card-body {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-galaxy-canvas {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 12, 0.55);
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-galaxy-tooltip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
 }

 body.ui-reboot.ng-shell .ng-galaxy-tooltip.ng-galaxy-tooltip--overlay {
  position: fixed;
  z-index: 2147483647;
  pointer-events: none;
 }

 body.ui-reboot.ng-shell .ng-galaxy-tooltip.ng-galaxy-tooltip--overlay::before,
 body.ui-reboot.ng-shell .ng-galaxy-tooltip.ng-galaxy-tooltip--overlay::after,
 body.ui-reboot.ng-shell .ng-galaxy-tooltip.ng-galaxy-tooltip--overlay .ng-gx-card::before,
 body.ui-reboot.ng-shell .ng-galaxy-tooltip.ng-galaxy-tooltip--overlay .ng-gx-card::after {
  content: none;
  display: none;
 }

 body.ui-reboot.ng-shell .ng-galaxy-tooltip.ng-galaxy-tooltip--overlay .ng-gx-card {
  width: 260px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px;
  color: rgba(231, 248, 246, 0.92);
  background: rgba(11, 28, 31, 0.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(31, 209, 195, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 22px rgba(0, 0, 0, 0.48);
  clip-path: none;
 }

 body.ui-reboot.ng-shell .ng-galaxy-tooltip.ng-galaxy-tooltip--overlay .ng-gx-card__img {
  width: 92px;
  height: 72px;
  overflow: hidden;
  border: 1px solid rgba(231, 248, 246, 0.18);
  background: rgba(0, 0, 0, 0.35);
  clip-path: none;
 }

 body.ui-reboot.ng-shell .ng-galaxy-tooltip.ng-galaxy-tooltip--overlay .ng-gx-card__img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
 }

 body.ui-reboot.ng-shell .ng-galaxy-tooltip.ng-galaxy-tooltip--overlay .ng-gx-card__img--empty {
  background:
   linear-gradient(180deg, rgba(31, 209, 195, 0.10), rgba(0, 0, 0, 0.00)),
   repeating-linear-gradient(90deg, rgba(231, 248, 246, 0.08) 0, rgba(231, 248, 246, 0.08) 6px, rgba(0, 0, 0, 0) 6px, rgba(0, 0, 0, 0) 12px);
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card {
  width: 260px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px;
  color: rgba(231, 248, 246, 0.92);
  background: rgba(11, 28, 31, 0.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(31, 209, 195, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 22px rgba(0, 0, 0, 0.48);
  clip-path: none;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card::before,
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card::after {
  content: none;
  display: none;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card__img {
  width: 92px;
  height: 72px;
  overflow: hidden;
  border: 1px solid rgba(231, 248, 246, 0.18);
  background: rgba(0, 0, 0, 0.35);
  clip-path: none;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card__img--empty {
  background:
   linear-gradient(180deg, rgba(31, 209, 195, 0.10), rgba(0, 0, 0, 0.00)),
   repeating-linear-gradient(90deg, rgba(231, 248, 246, 0.08) 0, rgba(231, 248, 246, 0.08) 6px, rgba(0, 0, 0, 0) 6px, rgba(0, 0, 0, 0) 12px);
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card__body {
  min-width: 0;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card__row--top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card__title {
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card__badge {
  font-size: var(--fs-10);
  padding: 2px 6px;
  border: 1px solid rgba(231, 248, 246, 0.18);
  background: color-mix(in srgb, var(--color-primary) 18%, transparent);
  clip-path: none;
  white-space: nowrap;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card__meta {
  margin-top: 8px;
  display: grid;
  gap: 6px;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card__kv {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--fs-10);
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card__kv .k {
  color: rgba(231, 248, 246, 0.62);
  white-space: nowrap;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-gx-card__kv .v {
  color: rgba(231, 248, 246, 0.92);
  text-align: right;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-galaxy-legend {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: rgba(231, 248, 246, 0.8);
  font-size: var(--fs-10);
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-galaxy-legend label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-galaxy-legend input[type="checkbox"] {
  accent-color: var(--color-primary);
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-dot {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(231, 248, 246, 0.35);
  background: rgba(231, 248, 246, 0.2);
  display: inline-block;
 }
 
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-dot-free { background: rgba(31, 209, 195, 0.65); }
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-dot-city { background: color-mix(in srgb, var(--color-primary) 25%, transparent); }
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-dot-self { background: rgba(255, 255, 255, 0.85); }
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-dot-capital { background: var(--color-primary); }
 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-dot-protected { background: rgba(120, 180, 255, 0.80); }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-galaxy .ng-galaxy-status {
  font-size: var(--fs-11);
  color: rgba(231, 248, 246, 0.7);
 }

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-radar > .ng-header-radar-mini {
  flex: 1 1 0;
  min-height: 0;
}

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-radar > .ng-header-radar-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-radar > .ui-stack.ui-gap-8 {
  flex: 1 1 0;
  min-height: 0;
  overflow: auto;
  align-items: center;
  text-align: center;
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-radar > .ui-stack.ui-gap-8 > div {
  width: 100%;
 }

 .ng-airport-layout .ng-fleet-item {
  padding-bottom: 10px;
 }

 .ng-airport-layout .ng-fleet-item > .ng-fleet-input {
  margin-top: auto;
 }

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-skyline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-gebaeude .ng-cityview-skyline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-sky {
  background: transparent;
  border: none;
  padding: 4px 3px;
  text-align: center;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-skybar {
  position: relative;
  width: 14px;
  height: 58px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(30, 40, 50, 0.3);
  border: 1px solid rgba(31, 209, 195, 0.12);
  overflow: hidden;
  clip-path: polygon(var(--bevel-sm) 0, calc(100% - var(--bevel-sm)) 0, 100% var(--bevel-sm), 100% calc(100% - var(--bevel-sm)), calc(100% - var(--bevel-sm)) 100%, var(--bevel-sm) 100%, 0 calc(100% - var(--bevel-sm)), 0 var(--bevel-sm));
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-gebaeude .ng-cityview-skybar {
  width: 18px;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-gebaeude .ng-cityview-sky {
  padding: 4px 2px;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-gebaeude .ng-cityview-skyname {
  font-size: var(--fs-10);
  line-height: 1.15;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-active-jobs-card .ng-empty-state {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-active-jobs-card .ng-empty-text {
  text-align: center;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-flotten-outgoing .ui-stack.ui-gap-8,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-flotten-incoming .ui-stack.ui-gap-8 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-flotten-outgoing .ui-stack.ui-gap-8 > div,
body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-flotten-incoming .ui-stack.ui-gap-8 > div {
  width: 100%;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-skyfill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10%;
  background: rgba(31, 209, 195, 0.32);
  transition: height .4s ease;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-lager .ng-cityview-res-grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-lager .ng-depot-header {
  margin-bottom: 6px;
  padding-bottom: 4px;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-lager .ng-depot-resources {
  gap: 10px;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-lager .ng-cityview-res {
  padding: 4px 0;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-lager .ng-cityview-res-name {
  font-size: 11px;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-lager .ng-cityview-res-now {
  font-size: 12px;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-lager .ng-depot-meter-wrap {
  margin-top: 8px;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-sky.is-below .ng-cityview-skyfill {
  background: rgba(160, 128, 80, 0.42);
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-skyline-median-line {
  background: rgba(31, 209, 195, 0.22);
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-skyline-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  font-size: var(--fs-10);
  font-weight: 600;
  letter-spacing: 0.4px;
  color: rgba(31, 209, 195, 0.6);
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-skyline-legend-line {
  display: none;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-skylabel {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-skykey {
  color: rgba(31, 209, 195, 0.55);
  font-size: var(--fs-10);
  font-weight: 700;
  letter-spacing: 0.4px;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-skylvl {
  color: rgba(230, 255, 252, 0.8);
  font-size: var(--fs-10);
  font-weight: 700;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-skyname {
  color: rgba(31, 209, 195, 0.45);
  font-size: var(--fs-10);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-header-radar-mini {
  position: relative;
  width: auto;
  height: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  max-height: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgba(31, 209, 195, 0.18);
  clip-path: polygon(var(--bevel-lg) 0, calc(100% - var(--bevel-lg)) 0, 100% var(--bevel-lg), 100% calc(100% - var(--bevel-lg)), calc(100% - var(--bevel-lg)) 100%, var(--bevel-lg) 100%, 0 calc(100% - var(--bevel-lg)), 0 var(--bevel-lg));
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-header-radar-mini::before {
  content: none;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-header-radar-mini::after {
  content: none;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-header-radar-mini.ng-crt-surface {
  position: relative;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.55);
  background-image:
    radial-gradient(rgba(17, 88, 30, 0.55), rgba(4, 22, 7, 0.45)),
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.78) 100%);
  box-shadow:
    inset 0 0 26px rgba(0, 0, 0, 0.65),
    inset 0 0 90px rgba(0, 0, 0, 0.85);
  animation:
    crtScanDrift 18s linear infinite,
    crtFlicker 3.6s steps(42, end) infinite,
    crtJitter 4s steps(16, end) infinite,
    ngGlitchShift 3.5s steps(24, end) infinite;
}

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-header-radar-mini.ng-crt-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image: url("https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif");
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.06;
  mix-blend-mode: screen;
  filter: contrast(1.25) brightness(1.05);
 }

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-header-radar-mini.ng-crt-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background-image: repeating-linear-gradient(
    0deg,
    var(--scanline-color) 0,
    var(--scanline-color) 2px,
    transparent 2px,
    transparent 4px
  );
  opacity: 0.45;
  mix-blend-mode: normal;
  background-position: 0 0;
  animation: ngScanlinesDown 6s linear infinite;
}

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-header-radar-mini.ng-crt-surface .ng-radar-scanline {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  z-index: 4;
  background-image: linear-gradient(
    0deg,
    transparent 0%,
    rgba(32, 128, 32, 0.18) 2%,
    rgba(32, 128, 32, 0.85) 3%,
    rgba(32, 128, 32, 0.18) 3%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  mix-blend-mode: screen;
  opacity: 0.75;
  animation: ngRadarScanLine 8s linear infinite;
 }

 @keyframes ngRadarScanLine {
  0% { transform: translateY(-110%); }
  100% { transform: translateY(110%); }
 }

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-header-radar-mini .ng-radar-canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: hue-rotate(-55deg) saturate(1.35) brightness(1.05) contrast(1.1);
}

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-header-radar-mini.ng-crt-surface .ng-radar-live {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 6;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(128, 255, 128, 0.85);
  background: transparent;
  text-shadow:
    0 0 1ex rgba(51, 255, 51, 0.55),
    0 0 2px rgba(255, 255, 255, 0.35);
 }

 body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-header-radar-mini.ng-crt-surface .ng-radar-live::before {
  content: "·";
  display: inline-block;
  width: 10px;
  text-align: center;
  margin-right: 4px;
  transform: translateY(-0.5px);
  opacity: 1;
  animation: ngRadarLiveDotBlink 1.2s steps(2, end) infinite;
 }

 @keyframes ngRadarLiveDotBlink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0.15; }
 }

 .ng-radar-canvas {
  display: block;
 }

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-header-radar-mini .ng-radar-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 22px;
  height: 22px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 209, 195, 0.28);
  background: rgba(4, 10, 12, 0.55);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--fs-12);
  letter-spacing: 0.6px;
  clip-path: polygon(var(--bevel-sm) 0, calc(100% - var(--bevel-sm)) 0, 100% var(--bevel-sm), 100% calc(100% - var(--bevel-sm)), calc(100% - var(--bevel-sm)) 100%, var(--bevel-sm) 100%, 0 calc(100% - var(--bevel-sm)), 0 var(--bevel-sm));
  box-shadow: 0 0 14px rgba(31, 209, 195, 0.14);
}

.ng-cityview-dashboard.grid-stack .grid-stack-item.ui-draggable-dragging,
.ng-dashboard-gridstack.grid-stack .grid-stack-item.ui-draggable-dragging {
  z-index: 50;
}

body.ng-dashboard-dragging .ng-dashboard-gridstack.grid-stack::before,
body.ng-dashboard-dragging .ng-grid-test-grid.grid-stack::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(31, 209, 195, 0.22) 2px, transparent 2px),
    linear-gradient(to bottom, rgba(31, 209, 195, 0.18) 2px, transparent 2px);
  background-size: calc(100% / 4) 80px;
  opacity: 0.75;
  mix-blend-mode: screen;
}

body.ng-dashboard-dragging .ng-cityview-dashboard.grid-stack .grid-stack-placeholder > .placeholder-content,
.ng-dashboard-gridstack.grid-stack .grid-stack-placeholder > .placeholder-content {
  border: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
}

body.ng-dashboard-dragging .ng-cityview-dashboard.grid-stack .grid-stack-placeholder > .placeholder-content::after,
.ng-dashboard-gridstack.grid-stack .grid-stack-placeholder > .placeholder-content::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: rgba(31, 209, 195, 0.20);
  border: 1px solid rgba(31, 209, 195, 0.75);
  box-shadow: 0 0 10px rgba(31, 209, 195, 0.22);
  transform: translate(-50%, -50%) rotate(45deg);
}

.ng-system-message-body {
  margin-top: 8px;
  padding: 12px;
  background: rgba(7, 20, 22, 0.5);
  border: 1px solid rgba(31, 209, 195, 0.15);
  border-radius: 6px;
}

.ng-system-message-body a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.ng-system-message-body a:hover {
  color: #7fb0ab;
  text-shadow: 0 0 8px var(--color-primary);
}

.ng-action-cell {
  white-space: nowrap;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

/* ===========================
   ALLIANZ-SEITEN STYLES
   =========================== */

/* Tab-Navigation (horizontal) - Header-Style */

a.ng-tab,
.ng-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-16);
  min-height: 32px;
  background: rgba(31, 209, 195, 0.05);
  border: 1px solid rgba(31, 209, 195, 0.25);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: var(--fs-10);
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

a.ng-tab:hover,
.ng-tab:hover {
  background: rgba(31, 209, 195, 0.1);
  border-color: rgba(31, 209, 195, 0.4);
  color: var(--text-primary);
}

a.ng-tab.active,
.ng-tab.active {
  background: rgba(31, 209, 195, 0.15);
  border-color: rgba(31, 209, 195, 0.5);
  color: var(--color-primary);
  box-shadow: 0 0 10px rgba(31, 209, 195, 0.2) inset;
  text-shadow: 0 0 8px rgba(31, 209, 195, 0.6);
}

.ng-tab-icon {
  font-size: 14px;
}

/* Alliance Sections */
.ng-alliance-section {
  background: rgba(7, 20, 22, 0.5);
  border: 1px solid rgba(31, 209, 195, 0.1);
  border-radius: 8px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-8);
  margin-bottom: var(--space-4);
}

.ng-alliance-section:last-child {
  margin-bottom: 0;
}

.ng-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 var(--space-3) 0;
  padding-bottom: var(--space-2);
}

/* Alliance Overview */
.ng-alliance-overview {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

 .ng-alliance-image-admin {
  display: grid;
  justify-items: center;
  gap: var(--space-8);
  padding: var(--space-8);
 }

 .ng-alliance-image-frame {
  width: 300px;
  height: 300px;
  position: relative;
  border: 1px solid rgba(31, 209, 195, 0.35);
  background: rgba(7, 18, 20, 0.55);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  box-shadow: 0 0 18px rgba(31, 209, 195, 0.10) inset;
  cursor: pointer;
  overflow: hidden;
 }

 .ng-alliance-image-frame:focus {
  outline: none;
  border-color: rgba(31, 209, 195, 0.7);
 }

 .ng-alliance-image-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
 }

 .ng-alliance-image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: var(--fs-14);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #7fb0ab;
 }

 .ng-alliance-image-status {
  font-size: var(--fs-11);
  color: rgba(231, 248, 246, 0.7);
  min-height: 14px;
 }

 .ng-alliance-image-hint {
  text-align: center;
  font-size: var(--fs-11);
  line-height: 1.35;
  color: rgba(231, 248, 246, 0.65);
  max-width: 320px;
 }

.ng-alliance-header {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.ng-alliance-image {
  flex-shrink: 0;
}

.ng-alliance-image img {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(31, 209, 195, 0.2);
}

.ng-alliance-stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ng-stat-item {
  display: flex;
  gap: var(--space-2);
  align-items: baseline;
}

.ng-stat-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 100px;
}

.ng-stat-value {
  color: #7fb0ab;
  font-weight: 600;
}

/* Info Items (für Bewerbungen etc.) */
.ng-info-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(7, 18, 20, 0.5);
  border: 1px solid rgba(31, 209, 195, 0.1);
  border-radius: 6px;
  margin-bottom: var(--space-2);
}

.ng-info-item:last-child {
  margin-bottom: 0;
}

.ng-info-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  margin-left: var(--space-2);
}

.ng-info-value {
  color: #7fb0ab;
}

/* Application Items (Bewerbungen) */
.ng-application-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(7, 18, 20, 0.6);
  border: 1px solid rgba(31, 209, 195, 0.15);
  border-radius: 8px;
  margin-bottom: 12px;
}

.ng-application-item:last-child {
  margin-bottom: 0;
}

.ng-application-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 150px;
}

.ng-application-name {
  color: var(--color-primary);
  font-size: 14px;
}

.ng-application-date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.ng-application-text {
  flex: 1;
  min-width: 200px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  border-left: 3px solid rgba(31, 209, 195, 0.3);
}

.ng-application-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.ng-inline-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ng-reject-form .ng-input {
  min-width: 150px;
}

/* No Data State */
.ng-no-data {
  padding: var(--space-4);
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  font-size: var(--font-size-xs);
}

/* Data Tables */
.ng-table-container {
  overflow-x: auto;
}

.ng-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ng-data-table th,
.ng-data-table td {
  padding: var(--space-2) var(--space-3);
  text-align: left;
  border-bottom: 1px solid rgba(31, 209, 195, 0.1);
}

.ng-data-table th {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(31, 209, 195, 0.05);
}

.ng-data-table tbody tr:hover {
  background: rgba(31, 209, 195, 0.05);
}

.ng-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.ng-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-14);
}

.ng-table th,
.ng-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(31, 209, 195, 0.12);
}

.ng-table tbody th {
  width: 44%;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--fs-12);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(31, 209, 195, 0.06);
}

.ng-table thead th {
  border-bottom: 1px solid rgba(31, 209, 195, 0.18);
}

.ng-table tbody tr:hover {
  background: rgba(31, 209, 195, 0.04);
}

.ng-text-right {
  text-align: right;
}

.ng-terminal-box {
  width: 100%;
  border: 1px solid rgba(31, 209, 195, 0.18);
  background: rgba(6, 16, 18, 0.72);
  clip-path: polygon(var(--bevel-lg) 0, calc(100% - var(--bevel-lg)) 0, 100% var(--bevel-lg), 100% calc(100% - var(--bevel-lg)), calc(100% - var(--bevel-lg)) 100%, var(--bevel-lg) 100%, 0 calc(100% - var(--bevel-lg)), 0 var(--bevel-lg));
}

.ng-terminal-box--wide {
  max-width: 980px;
  margin: 0 auto;
}

.ng-terminal-header {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(31, 209, 195, 0.14);
  background: linear-gradient(90deg, rgba(31, 209, 195, 0.14) 0%, rgba(31, 209, 195, 0.04) 55%, rgba(31, 209, 195, 0) 100%);
}

.ng-terminal-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-14);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.ng-terminal-content {
  padding: var(--space-12);
  color: rgba(255, 255, 255, 0.78);
}

.ng-terminal-lead {
  margin: 0 0 var(--space-8) 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-14);
}

.ng-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: 8px 16px;
  background: rgba(31, 209, 195, 0.1);
  border: 1px solid rgba(31, 209, 195, 0.3);
  border-radius: 6px;
  color: #7fb0ab;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.ng-button:hover {
  background: rgba(31, 209, 195, 0.2);
  border-color: var(--color-primary);
  box-shadow: 0 0 8px rgba(31, 209, 195, 0.2);
}

.ng-button-primary {
  background: linear-gradient(135deg, rgba(31, 209, 195, 0.25) 0%, rgba(31, 209, 195, 0.1) 100%);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.ng-button-primary:hover {
  background: linear-gradient(135deg, rgba(31, 209, 195, 0.4) 0%, rgba(31, 209, 195, 0.2) 100%);
  box-shadow: 0 0 12px rgba(31, 209, 195, 0.3);
}

.ng-button-danger {
  background: rgba(220, 53, 69, 0.15);
  border-color: rgba(220, 53, 69, 0.5);
  color: #dc3545;
}

.ng-button-danger:hover {
  background: rgba(220, 53, 69, 0.25);
  border-color: #dc3545;
  box-shadow: 0 0 8px rgba(220, 53, 69, 0.3);
}

/* Inputs */
.ng-input {
  padding: 8px 12px;
  background: rgba(7, 18, 20, 0.8);
  border: 1px solid rgba(31, 209, 195, 0.2);
  border-radius: 6px;
  color: #7fb0ab;
  font-size: 13px;
  transition: all 0.2s ease;
}

.ng-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 8px rgba(31, 209, 195, 0.2);
}

.ng-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Textarea */
.ng-textarea {
  width: 100%;
  min-height: 100px;
  padding: var(--space-3);
  background: rgba(7, 18, 20, 0.8);
  border: 1px solid rgba(31, 209, 195, 0.2);
  border-radius: 6px;
  color: #7fb0ab;
  font-size: 13px;
  resize: vertical;
  transition: all 0.2s ease;
}

.ng-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 8px rgba(31, 209, 195, 0.2);
}

/* Utility Classes */
.ng-flex { display: flex; }
.ng-flex-1 { flex: 1; }
.ng-items-center { align-items: center; }
.ng-gap-6 { gap: 6px; }
.ng-gap-10 { gap: 10px; }
.ng-inline-block { display: inline-block; }
.ng-text-left { text-align: left; }
.ng-pl-10 { padding-left: 10px; }
.ng-mt-4 { margin-top: var(--space-4); }
.ng-mb-4 { margin-bottom: var(--space-4); }

/* Error/Success Messages */
.ng-error-message {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

.ng-success-message {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: 6px;
  color: var(--text-muted);
}

/* Links */
.ng-link {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.ng-link:hover {
  color: #7fb0ab;
  text-shadow: 0 0 8px var(--color-primary);
}

/* Center Panel (für embedded/fullscreen pages) */
/* ============================================================
   LANDING PAGE STYLES (from ng_index.php)
   ============================================================ */

/* Override Hintergrundbild für Landing Page */
body.ui-reboot.ng-shell.landing-page {
    background: linear-gradient(180deg, rgba(6, 16, 18, 0.45), rgba(0, 0, 0, 0.7)), url('../pics/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Landing Page Specific Styles */
.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: var(--space-20);
    text-align: center;
}

.landing-logo {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--color-primary);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: var(--space-8);
    text-shadow: 0 0 30px rgba(31, 209, 195, 0.5), 0 0 60px rgba(31, 209, 195, 0.3);
    animation: logoGlow 3s ease-in-out infinite;
}

.landing-logo span {
    color: var(--text-primary);
    opacity: 0.8;
}

@keyframes logoGlow {
    0%, 100% { text-shadow: 0 0 30px rgba(31, 209, 195, 0.5), 0 0 60px rgba(31, 209, 195, 0.3); }
    50% { text-shadow: 0 0 40px rgba(31, 209, 195, 0.7), 0 0 80px rgba(31, 209, 195, 0.4); }
}

.landing-tagline {
    font-family: var(--font-mono);
    font-size: var(--fs-14);
    color: var(--text-muted);
    letter-spacing: 3px;
    margin-bottom: var(--space-28);
}

.landing-login-panel {
    background: linear-gradient(180deg, rgba(11, 28, 31, 0.95), rgba(7, 20, 22, 0.9));
    border: 1px solid var(--border-strong);
    padding: var(--space-28);
    width: min(480px, 90vw);
    box-shadow: 0 0 40px rgba(31, 209, 195, 0.15), var(--shadow-outer);
    position: relative;
}

.landing-login-panel::before {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(31, 209, 195, 0.2);
    pointer-events: none;
}

.landing-login-title {
    font-family: var(--font-display);
    font-size: var(--fs-16);
    color: var(--color-primary);
    letter-spacing: 2px;
    margin-bottom: var(--space-20);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
}

.landing-login-title i {
    font-size: 1.2em;
}

.landing-form {
    display: grid;
    gap: var(--space-16);
}

.landing-input-group {
    position: relative;
}

.landing-input-group label {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-10);
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
}

.landing-input {
    width: 100%;
    padding: var(--space-12) var(--space-16);
    background: rgba(6, 16, 18, 0.8);
    border: 1px solid var(--border-faint);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: var(--fs-14);
    transition: all 0.2s ease;
}

.landing-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(31, 209, 195, 0.3), inset 0 0 10px rgba(31, 209, 195, 0.1);
}

.landing-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.landing-submit {
    width: 100%;
    padding: var(--space-16);
    background: linear-gradient(180deg, rgba(31, 209, 195, 0.2), rgba(31, 209, 195, 0.1));
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: var(--fs-14);
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.landing-submit:hover {
    background: linear-gradient(180deg, rgba(31, 209, 195, 0.35), rgba(31, 209, 195, 0.2));
    box-shadow: 0 0 25px rgba(31, 209, 195, 0.4);
    transform: translateY(-2px);
}

.landing-submit:active {
    transform: translateY(0);
}

.landing-error {
    background: rgba(255, 85, 51, 0.15);
    border: 1px solid rgba(255, 85, 51, 0.5);
    color: var(--color-danger);
    padding: var(--space-12);
    margin-bottom: var(--space-16);
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.landing-divider {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    margin: var(--space-16) 0;
}

.landing-divider::before,
.landing-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-faint), transparent);
}

.landing-divider span {
    font-family: var(--font-mono);
    font-size: var(--fs-10);
    color: var(--text-muted);
    letter-spacing: 1px;
}

.landing-alt-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
}

.landing-alt-btn {
    padding: var(--space-12);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-faint);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: var(--fs-10);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.landing-alt-btn i {
    font-size: 1.5em;
    color: var(--color-primary);
}

.landing-alt-btn:hover {
    background: rgba(31, 209, 195, 0.1);
    border-color: var(--color-primary);
}

.landing-alt-btn.is-primary {
    grid-column: 1 / -1;
    background: rgba(255, 179, 71, 0.1);
    border-color: var(--color-amber);
}

.landing-alt-btn.is-primary i {
    color: var(--color-amber);
}

.landing-alt-btn.is-primary:hover {
    background: rgba(255, 179, 71, 0.2);
}

/* Stats Bar */
.landing-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-20);
    margin-top: var(--space-28);
    flex-wrap: wrap;
}

.landing-stat {
    text-align: center;
    padding: var(--space-12) var(--space-16);
    background: rgba(11, 28, 31, 0.6);
    border: 1px solid var(--border-faint);
    min-width: 100px;
}

.landing-stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--color-primary);
    line-height: 1;
}

.landing-stat-label {
    font-family: var(--font-mono);
    font-size: var(--fs-10);
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: var(--space-4);
}

/* Side Panels */
.landing-side-panel {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    max-height: 70vh;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(11, 28, 31, 0.9), rgba(7, 20, 22, 0.85));
    border: 1px solid var(--border-faint);
    padding: var(--space-16);
    z-index: 10;
}

.landing-panel-title {
    font-family: var(--font-display);
    font-size: var(--fs-12);
    color: var(--color-primary);
    letter-spacing: 1px;
    margin-bottom: var(--space-12);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid rgba(31, 209, 195, 0.2);
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.landing-terminal {
    font-family: var(--font-mono);
    font-size: var(--fs-10);
    color: var(--text-muted);
    line-height: 1.6;
}

.landing-terminal-line {
    margin-bottom: var(--space-4);
}

.landing-terminal-prompt {
    color: var(--color-primary);
}

.landing-alliance-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-8) 0;
    border-bottom: 1px solid rgba(31, 209, 195, 0.1);
    font-family: var(--font-mono);
    font-size: var(--fs-12);
}

.landing-alliance-rank {
    color: var(--color-amber);
    width: 24px;
}

.landing-alliance-name {
    color: var(--text-primary);
    flex: 1;
}

.landing-alliance-count {
    color: var(--text-muted);
}

/* Footer */
.landing-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-12) var(--space-20);
    background: linear-gradient(180deg, transparent, rgba(6, 16, 18, 0.9));
    display: flex;
    justify-content: center;
    gap: var(--space-20);
}

.landing-footer a {
    font-family: var(--font-mono);
    font-size: var(--fs-10);
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.landing-footer a:hover {
    color: var(--color-primary);
}

/* Hide side panels on mobile */
@media (max-width: 1200px) {
    .landing-side-panel {
        display: none;
    }
}

@media (max-width: 600px) {
    .landing-alt-actions {
        grid-template-columns: 1fr;
    }
    
    .landing-stats {
        gap: var(--space-8);
    }
    
    .landing-stat {
        min-width: 80px;
        padding: var(--space-8);
    }
}

/* ============================================================
   DASHBOARD CARD: CITYINFO (RADAR STYLE)
   UI-FRAME STYLES AUS TILES_AND_DICES.CSS (verschoben)
   Kontextspezifische Styles für ui-frame in verschiedenen Modulen
   ============================================================ */

/* Comm Fullview Content - ui-frame Styles */
.ng-comm-fullview-content .ui-frame {
    background: rgba(15, 25, 32, 0.6);
    border: 1px solid rgba(30, 58, 63, 0.5);
    border-radius: 10px;
    margin-bottom: 16px;
}

.ng-comm-fullview-content .ui-frame__title {
    font-size: 15px;
    background: transparent;
}

/* ==========================================================================
   Trade Center - Comm Fullview
   ========================================================================== */
#ng-comm-fullview-content {
    position: relative;
    background: transparent;
    border: 0;
    color: var(--text-primary);
}

 #ng-comm-fullview-content.is-coordinates-view {
     background: transparent;
 }

 #ng-comm-fullview-content.is-trade-view {
     background: transparent;
 }

 #ng-comm-fullview.is-coordinates-view {
     background: transparent;
 }

 #ng-comm-fullview.is-trade-view {
     background: transparent;
 }

 #ng-comm-fullview {
    background: transparent;
    border: 0;
}

.ng-tech-tree-shell {
   position: relative;
   min-height: min(72vh, 720px);
   width: 100%;
   background: linear-gradient(180deg, rgba(6, 16, 18, 0.65), rgba(6, 16, 18, 0.92));
   border: 1px solid var(--border-faint);
   box-shadow: inset var(--glow-inner);
   overflow: hidden;
 }

 .ng-tech-tree__svg {
   width: 100%;
   height: 100%;
   display: block;
 }

 .ng-tech-tree__edge {
  stroke: rgba(31, 209, 195, 0.28);
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
 }

 .ng-tech-tree__edge--base { stroke: rgba(31, 209, 195, 0.22); }
 .ng-tech-tree__edge--tech-base { stroke: rgba(31, 209, 195, 0.18); }
 .ng-tech-tree__edge--req {
   stroke: rgba(255, 179, 71, 0.55);
  stroke-dasharray: 2.2 1.6;
 }

 .ng-tech-tree__edge.is-met { stroke: rgba(31, 209, 195, 0.42); }
 .ng-tech-tree__edge.is-missing { stroke: rgba(255, 85, 51, 0.55); }

 .ng-tech-tree__edge-label {
   fill: rgba(231, 248, 246, 0.72);
   font-family: var(--font-mono);
   font-size: 0.95px;
   letter-spacing: 0.1px;
   text-anchor: middle;
   dominant-baseline: central;
   pointer-events: none;
 }

 .ng-tech-tree__card {
   fill: rgba(11, 28, 31, 0.72);
   stroke: rgba(31, 209, 195, 0.22);
  stroke-width: 1.1;
   vector-effect: non-scaling-stroke;
 }

 .ng-tech-tree__card--capital { fill: rgba(31, 209, 195, 0.08); stroke: rgba(31, 209, 195, 0.45); }
 .ng-tech-tree__card--building { stroke: rgba(31, 209, 195, 0.28); }
 .ng-tech-tree__card--tech { stroke: rgba(31, 209, 195, 0.22); }

 .ng-tech-tree__card.is-built { stroke: rgba(31, 209, 195, 0.52); }
 .ng-tech-tree__card.is-available { stroke: rgba(255, 179, 71, 0.45); }
 .ng-tech-tree__card.is-locked { stroke: rgba(255, 85, 51, 0.45); fill: rgba(11, 28, 31, 0.62); }

 .ng-tech-tree__card-header {
   fill: rgba(231, 248, 246, 0.92);
   font-family: var(--font-display);
   font-size: 1.05px;
   letter-spacing: 0.12px;
   text-anchor: start;
   dominant-baseline: central;
   pointer-events: none;
 }

 .ng-tech-tree__card-img {
   opacity: 0.95;
 }

 .ng-tech-tree__card-req {
   fill: rgba(231, 248, 246, 0.72);
   font-family: var(--font-mono);
   font-size: 0.9px;
   letter-spacing: 0.08px;
   text-anchor: start;
   dominant-baseline: hanging;
   pointer-events: none;
 }

 .ng-tech-tree__card-req tspan.is-met {
   fill: rgba(31, 209, 195, 0.92);
 }

 .ng-tech-tree__card-req tspan.is-missing {
   fill: rgba(255, 85, 51, 0.92);
 }

 .ng-tech-tree__label {
   fill: rgba(231, 248, 246, 0.86);
   font-family: var(--font-display);
   font-size: 0.90px;
   letter-spacing: 0.15px;
   text-anchor: middle;
   dominant-baseline: central;
   pointer-events: none;
 }

 .ng-tech-tree__label.ng-tech-tree__label--left {
   text-anchor: start;
 }

 .ng-tech-tree__level {
   fill: #7fb0ab;
   font-family: var(--font-mono);
   font-size: 1.05px;
   text-anchor: end;
   dominant-baseline: central;
   pointer-events: none;
 }

 .ng-tech-tree__level.ng-tech-tree__level--right {
   text-anchor: end;
 }

 .ng-tech-tree__from {
   fill: rgba(231, 248, 246, 0.58);
   font-family: var(--font-mono);
   font-size: 0.78px;
   letter-spacing: 0.08px;
   text-anchor: start;
   dominant-baseline: hanging;
   pointer-events: none;
 }

 .ng-tech-tree__icon {
   opacity: 0.95;
 }

 .ng-tech-tree__legend {
   position: absolute;
   right: var(--space-12);
   bottom: var(--space-12);
   background: rgba(5, 15, 18, 0.75);
   border: 1px solid rgba(31, 209, 195, 0.22);
   padding: var(--space-8) var(--space-12);
   backdrop-filter: blur(8px);
   -webkit-backdrop-filter: blur(8px);
 }

 .ng-tech-tree__legend-title {
   font-family: var(--font-display);
   font-size: var(--fs-10);
   letter-spacing: 0.8px;
   color: var(--color-primary);
   margin-bottom: var(--space-8);
 }

 .ng-tech-tree__legend-row {
   display: grid;
   grid-template-columns: 14px 1fr;
   align-items: center;
   gap: var(--space-8);
   font-size: var(--fs-10);
   color: var(--text-muted);
   margin-bottom: 6px;
 }

 .ng-tech-tree__legend-dot {
   width: 10px;
   height: 10px;
   border: 1px solid rgba(31, 209, 195, 0.22);
   background: rgba(11, 28, 31, 0.72);
   display: inline-block;
 }

 .ng-tech-tree__legend-dot.is-built { border-color: rgba(31, 209, 195, 0.52); }
 .ng-tech-tree__legend-dot.is-available { border-color: rgba(255, 179, 71, 0.45); }
 .ng-tech-tree__legend-dot.is-locked { border-color: rgba(255, 85, 51, 0.45); }

 .ng-tech-tree__legend-line {
   height: 2px;
   width: 14px;
   display: inline-block;
   background: rgba(31, 209, 195, 0.22);
 }

 .ng-tech-tree__legend-line.is-req {
   background: rgba(255, 179, 71, 0.55);
 }

#ng-comm-fullview-content .ng-trade-shell {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-16);
    background: var(--color-frame);
    border: 1px solid var(--border-strong);
    box-shadow: inset var(--glow-inner), var(--shadow-outer);
    clip-path: none;
}

#ng-comm-fullview-content .ng-trade-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(0deg, var(--scanline-color) 0, var(--scanline-color) 1px, transparent 1px, transparent 3px);
    opacity: 0.6;
    pointer-events: none;
    mix-blend-mode: screen;
}

#ng-comm-fullview-content .ng-trade-shell::after {
    content: '';
    position: absolute;
    left: var(--space-12);
    right: var(--space-12);
    top: var(--space-12);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    opacity: 0.8;
    pointer-events: none;
}

#ng-comm-fullview-content .ng-trade-shell > * {
    position: relative;
    z-index: 1;
}

#ng-comm-fullview-content .ng-center-panel--trade {
    display: grid;
    gap: var(--space-16);
}

#ng-comm-fullview-content .ng-trade-shell .ng-widget {
    background: var(--color-panel);
    border: 1px solid var(--border-faint);
    padding: var(--space-16);
    clip-path: none;
    box-shadow: inset var(--glow-inner);
}

#ng-comm-fullview-content .ng-trade-shell .ng-widget-title {
    margin: 0 0 var(--space-12);
    font-family: var(--font-display);
    font-size: var(--fs-14);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-faint);
    padding-bottom: var(--space-8);
}

#ng-comm-fullview-content .ng-preferences.ng-widget,
#ng-spa-content .ng-preferences.ng-widget {
    background: var(--color-panel);
    border: 1px solid var(--border-faint);
    padding: var(--space-16);
    box-shadow: inset var(--glow-inner);
}

#ng-comm-fullview-content .ng-preference-sections,
#ng-spa-content .ng-preference-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
}

@media (min-width: 900px) {
    #ng-comm-fullview-content .ng-preference-sections,
    #ng-spa-content .ng-preference-sections {
        grid-template-columns: 1fr 1fr;
    }
}

#ng-comm-fullview-content .ng-pref-block.ng-widget,
#ng-spa-content .ng-pref-block.ng-widget {
    background: rgba(7, 18, 20, 0.7);
    border: 1px solid rgba(31, 209, 195, 0.15);
    padding: var(--space-16);
    clip-path: polygon(var(--space-8) 0, calc(100% - var(--space-8)) 0, 100% var(--space-8), 100% calc(100% - var(--space-8)), calc(100% - var(--space-8)) 100%, var(--space-8) 100%, 0 calc(100% - var(--space-8)), 0 var(--space-8));
}

#ng-comm-fullview-content .ng-pref-form,
#ng-spa-content .ng-pref-form {
    display: grid;
    gap: var(--space-10);
}

#ng-comm-fullview-content .ng-pref-form label,
#ng-spa-content .ng-pref-form label {
    font-size: var(--fs-10);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

#ng-comm-fullview-content .ng-pref-inline,
#ng-spa-content .ng-pref-inline {
    color: rgba(231, 248, 246, 0.82);
    font-size: var(--fs-16);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-info {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-12);
    background: var(--color-base);
    border: 1px solid var(--border-faint);
    clip-path: polygon(var(--space-8) 0, calc(100% - var(--space-8)) 0, 100% var(--space-8), 100% calc(100% - var(--space-8)), calc(100% - var(--space-8)) 100%, var(--space-8) 100%, 0 calc(100% - var(--space-8)), 0 var(--space-8));
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-label {
    font-size: var(--fs-12);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-value {
    font-family: var(--font-mono);
    font-size: var(--fs-14);
    color: var(--text-primary);
}

#ng-comm-fullview-content .ng-trade-shell .ng-status-active {
    color: var(--color-primary);
}

#ng-comm-fullview-content .ng-trade-shell .ng-market-prices {
    display: grid;
    gap: var(--space-8);
}

#ng-comm-fullview-content .ng-trade-shell .ng-price-header,
#ng-comm-fullview-content .ng-trade-shell .ng-price-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 0.8fr;
    gap: var(--space-8);
    align-items: center;
}

#ng-comm-fullview-content .ng-trade-shell .ng-price-header {
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--border-faint);
    font-size: var(--fs-12);
    color: var(--text-muted);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

#ng-comm-fullview-content .ng-trade-shell .ng-price-row {
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--border-faint);
}

#ng-comm-fullview-content .ng-trade-shell .ng-resource-name {
    font-weight: 600;
}

#ng-comm-fullview-content .ng-trade-shell .ng-trend-up {
    color: var(--color-primary);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trend-down {
    color: var(--color-danger);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trend-stable {
    color: var(--text-muted);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-form {
    display: grid;
    gap: var(--space-16);
    grid-template-columns: 1fr;
    grid-template-areas:
        "buy"
        "sell"
        "fleet"
        "actions";
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-panel {
    background: var(--color-base);
    border: 1px solid var(--border-faint);
    padding: var(--space-12);
    clip-path: polygon(var(--space-8) 0, calc(100% - var(--space-8)) 0, 100% var(--space-8), 100% calc(100% - var(--space-8)), calc(100% - var(--space-8)) 100%, var(--space-8) 100%, 0 calc(100% - var(--space-8)), 0 var(--space-8));
    box-shadow: inset var(--glow-inner);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-panel--buy { grid-area: buy; }
#ng-comm-fullview-content .ng-trade-shell .ng-trade-panel--sell { grid-area: sell; }
#ng-comm-fullview-content .ng-trade-shell .ng-trade-panel--fleet { grid-area: fleet; }
#ng-comm-fullview-content .ng-trade-shell .ng-trade-panel--actions { grid-area: actions; }

#ng-comm-fullview-content .ng-trade-shell .ng-trade-panel--actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
    padding: var(--space-8) var(--space-12);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-factor {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    min-width: 180px;
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-12);
    flex-wrap: wrap;
    width: 100%;
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-action-buttons {
    display: flex;
    gap: var(--space-8);
    flex-wrap: wrap;
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-alert {
    width: 100%;
    padding: var(--space-8) var(--space-12);
    border: 1px solid var(--border-faint);
    background: var(--color-panel);
    font-size: var(--fs-12);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    clip-path: polygon(var(--space-8) 0, calc(100% - var(--space-8)) 0, 100% var(--space-8), 100% calc(100% - var(--space-8)), calc(100% - var(--space-8)) 100%, var(--space-8) 100%, 0 calc(100% - var(--space-8)), 0 var(--space-8));
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-alert--success {
    border-color: var(--border-strong);
    color: var(--color-primary);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-alert--error {
    border-color: rgba(255, 85, 51, 0.5);
    color: var(--color-danger);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-factor-label {
    font-size: var(--fs-10);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-factor-value {
    font-family: var(--font-mono);
    font-size: var(--fs-14);
    color: var(--color-primary);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-factor-detail {
    font-size: var(--fs-12);
    color: var(--text-muted);
}

#ng-comm-fullview-content .ng-trade-shell .ng-section-title {
    font-family: var(--font-display);
    font-size: var(--fs-12);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: var(--space-12);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-group {
    display: grid;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-resource-btn {
    background: var(--color-panel);
    border: 1px solid var(--border-faint);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: var(--fs-12);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: var(--space-8) var(--space-12);
    cursor: pointer;
    clip-path: polygon(var(--space-8) 0, calc(100% - var(--space-8)) 0, 100% var(--space-8), 100% calc(100% - var(--space-8)), calc(100% - var(--space-8)) 100%, var(--space-8) 100%, 0 calc(100% - var(--space-8)), 0 var(--space-8));
    transition: border-color var(--t-mid), box-shadow var(--t-mid), color var(--t-mid);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-resource-btn.is-active,
#ng-comm-fullview-content .ng-trade-shell .ng-trade-resource-btn:hover {
    border-color: var(--border-strong);
    color: var(--color-primary);
    box-shadow: inset var(--glow-inner);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-limit {
    font-size: var(--fs-12);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-costs {
    display: grid;
    gap: var(--space-8);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-cost-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: var(--space-12);
    padding: var(--space-8) var(--space-12);
    background: var(--color-panel);
    border: 1px solid var(--border-faint);
    clip-path: polygon(var(--space-8) 0, calc(100% - var(--space-8)) 0, 100% var(--space-8), 100% calc(100% - var(--space-8)), calc(100% - var(--space-8)) 100%, var(--space-8) 100%, 0 calc(100% - var(--space-8)), 0 var(--space-8));
    cursor: pointer;
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-cost-row.is-active {
    border-color: var(--border-strong);
    box-shadow: inset var(--glow-inner);
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-cost-row.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-cost-label {
    font-family: var(--font-display);
    font-size: var(--fs-12);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-cost-value {
    font-family: var(--font-mono);
    font-size: var(--fs-14);
    color: var(--text-primary);
    min-width: 90px;
    text-align: right;
}

#ng-comm-fullview-content .ng-trade-shell .ng-trade-cost-meta {
    font-size: var(--fs-10);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    min-width: 110px;
    text-align: right;
}

#ng-comm-fullview-content .ng-trade-shell .ng-form-label {
    font-size: var(--fs-12);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

#ng-comm-fullview-content .ng-trade-shell .ng-form-select,
#ng-comm-fullview-content .ng-trade-shell .ng-form-input {
    width: 100%;
    padding: var(--space-8) var(--space-12);
    background: var(--color-panel);
    border: 1px solid var(--border-faint);
    color: var(--text-primary);
    font-family: var(--font-mono);
}

#ng-comm-fullview-content .ng-trade-shell .ng-form-select:focus,
#ng-comm-fullview-content .ng-trade-shell .ng-form-input:focus {
    outline: 1px solid var(--color-primary);
    border-color: var(--border-strong);
    box-shadow: inset var(--glow-inner);
}

#ng-comm-fullview-content .ng-trade-shell .ng-fleet-list {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

#ng-comm-fullview-content .ng-trade-shell .ng-fleet-item {
    background: var(--color-panel);
    border: 1px solid var(--border-faint);
    padding: var(--space-8) var(--space-12);
    clip-path: polygon(var(--space-8) 0, calc(100% - var(--space-8)) 0, 100% var(--space-8), 100% calc(100% - var(--space-8)), calc(100% - var(--space-8)) 100%, var(--space-8) 100%, 0 calc(100% - var(--space-8)), 0 var(--space-8));
}

#ng-comm-fullview-content .ng-trade-shell .ng-fleet-name {
    font-family: var(--font-display);
    font-size: var(--fs-12);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

#ng-comm-fullview-content .ng-trade-shell .ng-fleet-count,
#ng-comm-fullview-content .ng-trade-shell .ng-fleet-capacity {
    font-size: var(--fs-12);
    color: var(--text-muted);
}

#ng-comm-fullview-content .ng-trade-shell .ng-no-data {
    padding: var(--space-12);
    border: 1px dashed var(--border-faint);
    color: var(--text-muted);
    text-align: center;
    clip-path: polygon(var(--space-8) 0, calc(100% - var(--space-8)) 0, 100% var(--space-8), 100% calc(100% - var(--space-8)), calc(100% - var(--space-8)) 100%, var(--space-8) 100%, 0 calc(100% - var(--space-8)), 0 var(--space-8));
}

#ng-comm-fullview-content .ng-trade-shell .ng-transaction-log,
#ng-comm-fullview-content .ng-trade-shell .ng-system-status {
    display: grid;
    gap: var(--space-8);
}

#ng-comm-fullview-content .ng-trade-shell .ng-status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-8) var(--space-12);
    background: var(--color-base);
    border: 1px solid var(--border-faint);
    clip-path: polygon(var(--space-8) 0, calc(100% - var(--space-8)) 0, 100% var(--space-8), 100% calc(100% - var(--space-8)), calc(100% - var(--space-8)) 100%, var(--space-8) 100%, 0 calc(100% - var(--space-8)), 0 var(--space-8));
}

@media (min-width: 860px) {
    #ng-comm-fullview-content .ng-trade-shell .ng-trade-form {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "buy sell"
            "fleet sell"
            "actions actions";
    }
}

@media (max-width: 720px) {
    #ng-comm-fullview-content .ng-trade-shell .ng-trade-action-row {
        flex-direction: column;
        align-items: flex-start;
    }

    #ng-comm-fullview-content .ng-trade-shell .ng-trade-action-buttons {
        width: 100%;
    }

    #ng-comm-fullview-content .ng-trade-shell .ng-trade-action-buttons .ng-button {
        flex: 1 1 0;
    }

    #ng-comm-fullview-content .ng-trade-shell .ng-trade-cost-row {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "label value"
            "meta button";
        row-gap: var(--space-8);
    }

    #ng-comm-fullview-content .ng-trade-shell .ng-trade-cost-label {
        grid-area: label;
    }

    #ng-comm-fullview-content .ng-trade-shell .ng-trade-cost-value {
        grid-area: value;
        text-align: right;
    }

    #ng-comm-fullview-content .ng-trade-shell .ng-trade-cost-meta {
        grid-area: meta;
        text-align: left;
    }

    #ng-comm-fullview-content .ng-trade-shell .ng-trade-cost-row .ng-button {
        grid-area: button;
        justify-self: end;
    }
}

@media (max-width: 720px) {
    #ng-comm-fullview-content .ng-trade-shell .ng-price-header {
        display: none;
    }

    #ng-comm-fullview-content .ng-trade-shell .ng-price-row {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "name name"
            "stock buy"
            "sell trend";
        row-gap: var(--space-8);
        padding: var(--space-12) 0;
    }

    #ng-comm-fullview-content .ng-trade-shell .ng-price-row .ng-price-col {
        display: grid;
        gap: var(--space-4);
        font-size: var(--fs-12);
    }

    #ng-comm-fullview-content .ng-trade-shell .ng-price-row .ng-price-col::before {
        content: '';
        font-size: var(--fs-10);
        text-transform: uppercase;
        letter-spacing: 0.6px;
        color: var(--text-muted);
    }

    #ng-comm-fullview-content .ng-trade-shell .ng-price-row .ng-price-col:nth-child(1) {
        grid-area: name;
        font-size: var(--fs-14);
    }
    #ng-comm-fullview-content .ng-trade-shell .ng-price-row .ng-price-col:nth-child(1)::before { content: 'Ressource'; }

    #ng-comm-fullview-content .ng-trade-shell .ng-price-row .ng-price-col:nth-child(2) { grid-area: stock; }
    #ng-comm-fullview-content .ng-trade-shell .ng-price-row .ng-price-col:nth-child(2)::before { content: 'TC Stock'; }

    #ng-comm-fullview-content .ng-trade-shell .ng-price-row .ng-price-col:nth-child(3) { grid-area: buy; }
    #ng-comm-fullview-content .ng-trade-shell .ng-price-row .ng-price-col:nth-child(3)::before { content: 'Buy'; }

    #ng-comm-fullview-content .ng-trade-shell .ng-price-row .ng-price-col:nth-child(4) { grid-area: sell; }
    #ng-comm-fullview-content .ng-trade-shell .ng-price-row .ng-price-col:nth-child(4)::before { content: 'Sell'; }

    #ng-comm-fullview-content .ng-trade-shell .ng-price-row .ng-price-col:nth-child(5) { grid-area: trend; }
    #ng-comm-fullview-content .ng-trade-shell .ng-price-row .ng-price-col:nth-child(5)::before { content: 'Trend'; }
}

/* NG Template System (Phase 2)
 * Single Source of Truth – wird schrittweise aus bestehenden CSS-Dateien befüllt.
 */

:root {
  --ng-template-version: 1;
}

/* ==========================================================================
   HEADER / HUD (Template-Chrome)
   ========================================================================== */

.ui-shell-header {
  grid-area: header;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  
  /* === HOLOGRAFISCHES SCHWEBENDES HUD === */
  background: rgba(5, 15, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  
  /* Holografischer Rand */
  border: 1px solid var(--header-cyan-mid);
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid var(--border-strong);
  
  /* Schwebendes Hologramm-Glow */
  box-shadow:
    0 0 25px var(--header-cyan-mid),
    0 0 50px var(--scanline-color),
    0 4px 30px rgba(0, 0, 0, 0.4),
    inset 0 0 30px var(--scanline-color);
  
  position: relative;
  z-index: 1000;
  isolation: isolate;
  min-height: 136px;
  overflow: visible;
}

.ui-shell-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    var(--scanline-color) 3px,
    var(--scanline-color) 6px
  );
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.ui-shell-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    var(--scanline-color) 0%,
    var(--header-cyan-mid) 20%,
    var(--border-strong) 50%,
    var(--header-cyan-mid) 80%,
    var(--scanline-color) 100%
  );
  animation: holo-line-pulse 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes holo-line-pulse {
  0%, 100% { opacity: 0.7; box-shadow: 0 0 8px var(--header-cyan-mid); }
  50% { opacity: 1; box-shadow: 0 0 15px var(--border-strong), 0 0 30px var(--header-cyan-mid); }
}

.ui-shell-header > * {
  position: relative;
  z-index: 1;
}

.ui-hud-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  padding: var(--space-8) var(--space-16);
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  height: 100%;
  width: fit-content;
}

.ui-hud-block--left {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: var(--space-12);
  justify-content: flex-start;
  align-items: stretch;
}

 body.ui-reboot .ui-shell-header .ui-hud-block.ui-hud-block--left {
  padding-top: 0;
  padding-left: 10px;
 }

.ui-hud-block--left .header-avatar {
  grid-column: 1;
  grid-row: 1 / span 2;
  height: auto;
  aspect-ratio: 1 / 1;
  align-self: center;
}

.ui-hud-block--left .header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ui-hud-block--left .ui-hud-meta {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.ui-hud-block--left .ui-hud-comm-tabs {
  grid-column: 2;
  grid-row: 2;
  width: auto;
  margin-top: 0;
}

 body.ui-reboot .ui-shell-header.ui-panel-header {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: clamp(100px, 16vh, 176px);
  padding: 0;
 }

 body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-left {
  flex: 0 0 25%;
  width: 25%;
  height: 100%;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

 body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-right {
  flex: 0 0 25%;
  width: 25%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  min-width: 0;
}

 body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-middle {
  flex: 0 0 50%;
  width: 50%;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

 body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-right .ui-hud-block.ui-hud-block--center {
  height: 100%;
  width: 100%;
 }

 body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-right .ui-hud-block.ui-hud-block--center {
  display: flex;
  justify-content: flex-end;
 }

 body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-right .ui-hud-block.ui-hud-block--center {
  justify-content: flex-end;
 }

 body.ui-reboot .ui-shell-header > .ng-header-top-right .ui-hud-block.ui-hud-block--center {
  padding-top: 0;
  padding-right: 0;
 }

 body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-left .ui-hud-block.ui-hud-block--left {
  width: 100%;
 }

 body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-left .ui-hud-block.ui-hud-block--left {
  height: 100%;
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: stretch;
  justify-items: stretch;
  gap: var(--space-12);
  padding: 0 var(--space-12);
}

 body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-left .header-avatar {
  flex: none;
  width: 80px;
  height: 80px;
  aspect-ratio: 1 / 1;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1;
  grid-row: 1 / span 2;
}

 body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-left .ui-hud-meta {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-6);
  grid-column: 2;
  grid-row: 1;
}

body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-left .personal-symbols {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  grid-column: 2;
  grid-row: 2;
}

body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-left .personal-symbols .ng-city-switcher {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-left .personal-symbols .ng-city-switcher-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-6);
}

body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-left .personal-symbols .ng-city-coords,
body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-left .personal-symbols .ng-city-switcher-btn .ng-city-coords {
  display: inline;
}

body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-left .ui-hud-meta {
  height: 100%;
}

 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs {
  background: transparent;
  border: 0;
  padding-left: 4px;
  padding-right: 4px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
}

 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .ng-header-comm-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  position: relative;
 }

 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .ng-header-comm-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 50%;
  height: 50%;
  flex-wrap: wrap;
 }

 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .ng-header-comm-row--secondary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50%;
  height: 50%;
  flex-wrap: wrap;
 }

 body.ui-reboot #ng-second-header-page-tabs {
  width: 100%;
  justify-content: center;
 }

 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .tab,
 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .tab:visited,
 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .ng-comm-tab-btn,
 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .ng-city-switcher-btn {
  font-size: 11px;
  border: none;
  background: transparent;
  position: relative;
  color: var(--text-muted);
  font-family: var(--font-display);
  height: auto;
  min-width: 0;
 }

 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs a.tab,
 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs a.tab:visited,
 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs a.tab:hover,
 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs a.tab:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
 }

 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .tab:hover,
 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .ng-comm-tab-btn:hover,
 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .ng-city-switcher-btn:hover {
  background: var(--ng-tab-cyan-hover);
  color: var(--text-primary);
 }

 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .tab.is-active,
 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .tab.is-active:visited,
 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .ng-comm-tab-btn.is-active,
 body.ui-reboot .ui-shell-header.ui-panel-header .ui-hud-comm-tabs .ng-city-switcher-btn.is-active {
  background: var(--ng-tab-cyan-active);
  color: var(--color-primary);
  text-shadow: 0 0 8px var(--ng-tab-cyan-active-glow);
  box-shadow: 0 0 10px color-mix(in srgb, var(--color-primary) 20%, transparent) inset;
 }

 body.ui-reboot #ng-second-header-page-tabs .tab {
  border-radius: 4px;
  padding: var(--space-8) var(--space-16);
  font-size: 11px;
  background: transparent;
  position: relative;
  overflow: visible;
  clip-path: none;
  border: 0;
  color: var(--color-amber);
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

 body.ui-reboot #ng-second-header-page-tabs .tab::before {
  content: '';
  border: 0;
 }

 body.ui-reboot #ng-second-header-page-tabs .tab .ng-tab-label {
  display: inline;
 }

 body.ui-reboot #ng-second-header-page-tabs .tab > i {
  display: none;
 }

 body.ui-reboot #ng-second-header-page-tabs .tab:hover {
  background: var(--ng-tab-amber-hover);
 }

 body.ui-reboot #ng-second-header-page-tabs .tab.is-active {
  background: var(--ng-tab-amber-active);
  color: var(--color-amber);
  text-shadow: 0 0 8px var(--ng-tab-amber-active-glow);
  box-shadow: 0 0 10px color-mix(in srgb, var(--color-amber) 25%, transparent) inset;
 }

 body.ui-reboot #ng-second-header-page-tabs .tab.is-active > i {
  color: var(--color-amber);
 }

 body.ui-reboot .ng-header-top-left .header-avatar {
  width: 80px;
  height: 80px;
 }

 body.ui-reboot .ng-header-top-left .header-avatar img {
  width: 80px;
  height: 80px;
  object-fit: cover;
 }

 body.ui-reboot .ng-header-top-left .ui-hud-name {
  font-size: var(--fs-16);
 }

 body.ui-reboot .ng-header-top-left .ui-hud-stats .ui-hud-stat .k {
  font-size: var(--fs-12);
 }

 body.ui-reboot .ng-header-top-left .ui-hud-stats .ui-hud-stat .v {
  font-size: var(--fs-14);
 }

 body.ui-reboot .ng-header-top-right .ui-hud-micro-item .k {
  font-size: var(--fs-12);
 }

 body.ui-reboot .ng-header-top-right .ui-hud-micro-item .v {
  font-size: var(--fs-16);
 }

.ui-hud-block--center {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  align-content: center;
}

.ui-hud-block--center > .ui-hud-micro {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.ui-hud-meta { display: grid; gap: 5px; }
.ui-hud-name {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: var(--fs-14);
}

.ui-hud-stats {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  flex-wrap: wrap;
}

.ui-hud-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.3px;
  padding: var(--space-4) var(--space-6);
  background: transparent;
  border: none;
}

.ui-hud-stat .k {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.5px;
}

.ui-hud-stat .v { color: var(--color-primary); font-weight: 600; }

.ui-hud-micro {
  display: flex;
  gap: var(--space-12);
  align-items: center;
  flex-wrap: nowrap;
  min-width: max-content;
  min-height: 32px;
}

.ui-hud-micro-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-6) var(--space-10);
  padding-bottom: 10px; /* Platz für Micro-Balken */
  border: none;
  position: relative; /* Für absolute Positionierung der Micro-Balken */
  min-width: 70px;
  white-space: nowrap;
}

.ui-hud-micro-item:hover {
  border-color: rgba(31, 209, 195, 0.4);
}

.ui-hud-micro-item .k {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.7;
}

.ui-hud-micro-item .v {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
}

.ui-hud-micro-item:hover .v {
  color: var(--text-primary);
}

.ui-hud-micro-item.is-alert {
  border-color: rgba(255, 179, 71, 0.55);
  background: rgba(255, 179, 71, 0.05);
}

.ui-hud-micro-item.is-alert .k,
.ui-hud-micro-item.is-alert .v {
  color: var(--color-amber);
}

.ui-hud-res-meter {
  width: 100%;
  height: 4px;
  background: rgba(10, 14, 18, 0.8);
  border: 1px solid rgba(31, 209, 195, 0.2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  margin-top: 4px;
}

.ui-hud-res-meter-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(31, 209, 195, 0.6), rgba(74, 158, 255, 0.8));
  border-radius: 2px;
  transition: width 0.5s ease;
  position: relative;
  overflow: hidden;
}

.ui-hud-res-meter-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 25%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.2) 75%, transparent 100%);
  animation: hud-res-shimmer 2.5s ease-in-out infinite;
}

@keyframes hud-res-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.ui-hud-res-meter.is-warn .ui-hud-res-meter-fill {
  background: linear-gradient(90deg, rgba(255, 179, 71, 0.8), rgba(255, 154, 60, 0.9));
}

.ui-hud-res-meter.is-full .ui-hud-res-meter-fill {
  background: linear-gradient(90deg, rgba(255, 85, 51, 0.85), rgba(255, 107, 77, 0.95));
  animation: hud-res-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes hud-res-pulse {
  0% { box-shadow: 0 0 4px rgba(255, 107, 77, 0.5); }
  100% { box-shadow: 0 0 10px rgba(255, 85, 51, 0.8), 0 0 15px rgba(255, 85, 51, 0.4); }
}

.ui-hud-res-meter-label {
  position: absolute;
  top: -14px;
  right: 0;
  font-size: 8px;
  color: #6f8995;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ui-hud-micro-group[data-group="depot"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  border: none;
  padding: 6px 10px 10px;
  position: relative;
}

.ui-hud-micro-group[data-group="depot"] .ui-hud-micro-item {
  padding-bottom: 0;
}

.ui-hud-micro-group[data-group="oxygen"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  border: none;
  padding: 6px 10px 10px;
  position: relative;
}

.ui-hud-micro-group[data-group="oxygen"] .ui-hud-micro-item {
  padding-bottom: 0;
}

.ui-top-hud--left { justify-self: start; }
.ui-top-hud--right { justify-self: end; text-align: right; }

.ui-top-actions { 
  display: flex; 
  gap: var(--space-8); 
  align-items: center;
  padding-left: var(--space-12);
  border-left: 1px solid rgba(31, 209, 195, 0.2);
  margin-left: var(--space-8);
}

.ui-hud-clock {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--color-primary);
  letter-spacing: 1px;
  padding: 4px;
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
}

 body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-right .ui-hud-block.ui-hud-block--center {
  position: relative;
 }

 body.ui-reboot .ui-shell-header.ui-panel-header > .ng-header-top-right .ui-hud-block.ui-hud-block--center .ng-header-clock {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
 }

.ui-header-meta { display: grid; gap: var(--space-8); }
.ui-header-name { font-family: var(--font-display); color: var(--text-primary); letter-spacing: 0.8px; text-transform: uppercase; }
.ui-header-credits { font-family: var(--font-mono); color: var(--color-primary); }

.ui-panel-hero { padding: var(--space-12); display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); }

.ui-header-left { display: grid; gap: var(--space-12); justify-items: start; }
.ui-header-right { display: grid; justify-items: end; }

.ui-header-gap {
  min-height: 48px;
  background: transparent;
  border: none;
  box-shadow: none;
  pointer-events: none;
}

.ui-header-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  background: transparent;
}

.header-avatar {
  width: 64px;
  height: 64px;
  border: none;
  box-shadow: none;
  overflow: hidden;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  flex-shrink: 0;
}

 .header-avatar.ng-crt-avatar {
  position: relative;
  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.78),
    inset 0 0 110px rgba(0, 0, 0, 0.98);
  animation:
    crtScanDrift 18s linear infinite,
    crtFlicker 3.6s steps(42, end) infinite,
    crtJitter 4s steps(16, end) infinite;
 }

 .header-avatar.ng-crt-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
  background-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 34%,
    rgba(0, 0, 0, 0.25) 52%,
    rgba(0, 0, 0, 0.98) 100%
  );
 }

 .header-avatar.ng-crt-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
  background-image: repeating-linear-gradient(
    0deg,
    var(--scanline-color) 0,
    var(--scanline-color) 2px,
    transparent 2px,
    transparent 4px
  );
  opacity: 0.75;
  mix-blend-mode: normal;
  background-position: 0 0;
  animation: ngScanlinesDown 6s linear infinite;
 }

.header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

/* ==================== Produktionsanzeige im Header ==================== */
.ui-hud-prod {
    font-size: 7px;
    color: #6a8590;
    font-family: 'Glass_TTY_VT220', monospace;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.ui-hud-prod.is-negative {
    color: #c45a45;
}

/* ==================== Stadt-Switcher im Header ==================== */
.ng-city-switcher {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.ng-city-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(31, 209, 195, 0.08);
    border: 1px solid rgba(31, 209, 195, 0.2);
    border-radius: 4px;
    color: #7fb0ab;
    font-size: 12px;
    font-family: 'Glass_TTY_VT220', monospace;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ng-city-switcher-btn:hover {
    background: rgba(31, 209, 195, 0.15);
    border-color: rgba(31, 209, 195, 0.4);
}

.ng-city-coords {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ng-city-switcher-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(11, 28, 31, 0.95);
    border: 1px solid rgba(31, 209, 195, 0.3);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.ng-city-switcher-list {
    padding: 4px;
}

.ng-city-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
    font-size: 12px;
}

.ng-city-item:hover {
    background: rgba(31, 209, 195, 0.15);
}

.ng-city-item.is-active {
    background: rgba(31, 209, 195, 0.2);
    border-left: 2px solid rgba(31, 209, 195, 0.8);
}

.ng-city-item-coords {
    font-family: 'Glass_TTY_VT220', monospace;
    font-weight: 600;
    color: #37a8ff;
}

.ng-city-item-name {
    color: #8a9299;
    font-size: 11px;
}

/* ==========================================================================
   KOMMUNIKATION TABS IM HEADER
   ========================================================================== */
.ui-hud-comm-tabs {
  display: flex;
  gap: 8px;
  margin-top: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
}
.ui-hud-comm-tabs .ng-city-switcher {
  width: auto;
  justify-content: flex-end;
}
.ui-hud-comm-tabs .ng-city-switcher-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  padding: 6px 10px;
  min-width: 38px;
  height: 32px;
  border: 1px solid rgba(31, 209, 195, 0.3);
  border-radius: 4px;
  color: var(--text-muted);
  font: 500 10px/1 var(--font-display);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ui-hud-comm-tabs .ng-city-switcher-btn i {
  font-size: 14px;
  line-height: 1;
}
.ng-city-switcher-btn .ng-city-icon-main,
.ng-city-switcher-btn .ng-city-icon-colony {
  font-size: 14px;
  line-height: 1;
}
.ng-city-switcher-btn .ng-city-icon-colony {
  display: none;
}
.ng-city-switcher-btn .ng-city-icon-main {
  display: inline;
}
.ng-city-switcher-btn:not(.is-main-city) .ng-city-icon-main {
  display: none;
}
.ng-city-switcher-btn:not(.is-main-city) .ng-city-icon-colony {
  display: inline;
}
.ui-hud-comm-tabs .ng-comm-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 10px;
  min-width: 38px;
  height: 32px;
  border: 1px solid rgba(31, 209, 195, 0.3);
  border-radius: 4px;
  color: var(--text-muted);
  font: 500 10px/1 var(--font-display);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ui-hud-comm-tabs .ng-comm-tab-btn:hover {
  background: linear-gradient(135deg, rgba(40, 80, 90, 0.7) 0%, rgba(30, 60, 70, 0.8) 100%);
  border-color: rgba(31, 209, 195, 0.5);
  color: var(--text-primary);
}
.ui-hud-comm-tabs .ng-comm-tab-btn.is-active {
  background: linear-gradient(135deg, rgba(31, 209, 195, 0.2) 0%, rgba(20, 80, 90, 0.4) 100%);
  border-color: rgba(31, 209, 195, 0.7);
  color: var(--color-primary);
  box-shadow: 0 0 8px rgba(31, 209, 195, 0.25);
}
.ui-hud-comm-tabs .ng-comm-tab-btn i {
    font-size: 14px;
    line-height: 1;
}
.ui-hud-comm-tabs .ng-comm-tab-btn span {
    display: inline;
    white-space: nowrap;
}
@media (max-width: 1400px) {
  .ui-hud-comm-tabs .ng-comm-tab-btn span {
    display: none;
  }
  .ui-hud-comm-tabs .ng-comm-tab-btn {
    min-width: 32px;
    padding: 6px 8px;
  }
  .ui-hud-comm-tabs .ng-city-switcher-btn {
    min-width: 32px;
    padding: 6px 8px;
  }
}

/* Unread Messages Notification Dot */
.ng-comm-tab-btn {
  position: relative;
}
.ng-unread-dot {
  position: absolute;
  top: -3px;
  right: -4px;
  width: 10px;
  height: 10px;
  background: #ff3344;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 51, 68, 0.8), 0 0 12px rgba(255, 51, 68, 0.5), 0 0 2px rgba(255, 255, 255, 0.3) inset;
  animation: ng-unread-pulse 1.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ng-unread-pulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
    box-shadow: 0 0 6px rgba(255, 51, 68, 0.8), 0 0 12px rgba(255, 51, 68, 0.5), 0 0 2px rgba(255, 255, 255, 0.3) inset;
  }
  50% { 
    opacity: 0.7; 
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(255, 51, 68, 1), 0 0 20px rgba(255, 51, 68, 0.7), 0 0 2px rgba(255, 255, 255, 0.5) inset;
  }
}

@media (min-width: 1920px) {
  .ui-hud-block {
    min-height: 96px;
    padding: 12px 17px;
    gap: var(--space-12);
  }


  .ui-hud-stat {
    font-size: var(--fs-12);
    gap: 7px;
  }

  .ui-hud-stat .k {
    font-size: 11px;
  }

  .ui-hud-micro-item {
    padding: 6px 10px;
    gap: 6px;
  }

  .ui-hud-micro-item .k {
    font-size: 11px;
  }

  .ui-hud-micro-item .v {
    font-size: 13px;
  }

  .header-avatar {
    width: 67px;
    height: 67px;
  }
}

@media (min-width: 2560px) {
  .ui-hud-block {
    min-height: 115px;
    padding: 17px 22px;
  }


  .ui-hud-stat {
    font-size: var(--fs-14);
    gap: 10px;
  }

  .ui-hud-stat .k {
    font-size: 13px;
  }

  .ui-hud-micro-item {
    padding: 10px 14px;
    gap: 7px;
  }

  .ui-hud-micro-item .k {
    font-size: 13px;
  }

  .ui-hud-micro-item .v {
    font-size: 17px;
  }

  .header-avatar {
    width: 86px;
    height: 86px;
  }
}

@media (min-width: 3840px) {
  .ui-hud-block {
    min-height: 144px;
    padding: 22px 29px;
  }


  .ui-hud-stat .k {
    font-size: 16px;
  }

  .ui-hud-micro-item {
    padding: 12px 17px;
    gap: 9px;
  }

  .ui-hud-micro-item .k {
    font-size: 16px;
  }

  .ui-hud-micro-item .v {
    font-size: 20px;
  }

  .header-avatar {
    width: 115px;
    height: 115px;
  }
}

 /* Header höher für Comm-Tabs */
 .ui-shell-header.ui-panel-header {
  min-height: 80px;
  align-items: flex-start;
  padding: 0;
 }
 
 /* ==========================================================================
   NAVIGATION TABS (global)
   ========================================================================== */
 .ui-hud-tabs { display: flex; justify-content: center; width: 100%; }

/* ==========================================================================
   TAB-GRUPPEN (Segmented Control Style)
   ========================================================================== */
.tab-group {
display: flex;
position: relative;
background: rgba(31, 209, 195, 0.05);
border: 1px solid rgba(31, 209, 195, 0.25);
border-radius: 6px;
padding: 4px;
gap: 4px;
}

.tab-group::before {
content: attr(data-group-label);
position: absolute;
top: -14px;
left: 50%;
transform: translateX(-50%);
font-size: 7px;
font-family: var(--font-display);
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--text-muted);
opacity: 0.7;
background: transparent;
padding: 0 6px;
white-space: nowrap;
}

.tab-group .tab-group__item {
border-radius: 4px;
padding: var(--space-8) var(--space-16);
font-size: 11px;
border: none;
background: transparent;
position: relative;
}

.tab-group .tab-group__item:not(:last-child)::after {
content: '';
position: absolute;
right: 0;
top: 20%;
height: 60%;
width: 1px;
background: rgba(31, 209, 195, 0.3);
}

.tab-group .tab-group__item:hover {
background: rgba(31, 209, 195, 0.1);
}

.tab-group .tab-group__item.is-active {
background: rgba(31, 209, 195, 0.15);
color: var(--color-primary);
text-shadow: 0 0 8px rgba(31, 209, 195, 0.6);
box-shadow: 0 0 10px rgba(31, 209, 195, 0.2) inset;
}

.tab-group .tab-group__item i {
font-size: 12px;
margin-right: 4px;
opacity: 0.8;
}

.tab-group .tab-group__item.is-active i {
opacity: 1;
}

/* Header-Nav */
.ui-header-nav {
width: 100%;
display: flex;
align-items: center;
justify-content: flex-start;
padding: 0;
background: transparent;
}

.ui-header-nav .ui-nav-tabs {
flex: 0 1 auto;
display: flex;
gap: var(--space-8);
flex-wrap: nowrap;
justify-content: flex-start;
padding: 6px 8px;
background: linear-gradient(180deg, rgba(11, 28, 31, 0.96), rgba(7, 20, 22, 0.94));
border: 1px solid var(--border-faint);
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
clip-path: polygon(var(--bevel-sm) 0, calc(100% - var(--bevel-sm)) 0, 100% var(--bevel-sm), 100% calc(100% - var(--bevel-sm)), calc(100% - var(--bevel-sm)) 100%, var(--bevel-sm) 100%, 0 calc(100% - var(--bevel-sm)), 0 var(--bevel-sm));
}

.ui-header-nav .ui-actions { flex-shrink: 0; display: flex; gap: var(--space-8); }

.ui-nav-split {
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-20);
}

.ui-nav-tabs--left { justify-content: flex-start; }
.ui-nav-tabs--right { justify-content: flex-end; }

@media (max-width: 1280px) {
.ui-shell-header {
grid-template-columns: 1fr;
gap: 0;
}
}

/* Base ui-nav-tabs */
.ui-nav-tabs {
  display: flex;
  gap: var(--space-4);
}

/* Zentrierte Page Tabs */
.ui-nav-tabs.ng-page-tabs {
  justify-content: center;
}

body.ui-reboot .ui-nav-tabs a.tab,
body.ui-reboot .ui-nav-tabs a.tab:visited,
body.ui-reboot .ui-nav-tabs a.tab:hover,
body.ui-reboot .ui-nav-tabs a.tab:active,
body.ui-reboot .ui-nav-tabs a.tab:focus {
  text-decoration: none;
}

body.ui-reboot .ui-nav-tabs.ng-sections-tabs > a.tab,
body.ui-reboot .ui-nav-tabs.ng-sections-tabs > a.tab:visited {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.ui-reboot .ui-nav-tabs.ng-sections-tabs > a.tab > i {
  display: block;
  line-height: 1;
}

.ui-nav-tabs .tab {
padding: 8px 14px;
border: 1px solid var(--border-faint);
color: var(--text-primary);
background: rgba(255, 255, 255, 0.02);
font-family: var(--font-display);
font-size: var(--fs-14);
text-transform: uppercase;
letter-spacing: 0.8px;
cursor: pointer;
clip-path: polygon(
0 0,
100% 0,
100% calc(100% - var(--bevel-sm)),
calc(100% - var(--bevel-sm)) 100%,
var(--bevel-sm) 100%,
0 calc(100% - var(--bevel-sm)),
0 var(--bevel-sm)
);
position: relative;
overflow: hidden;
}

.ui-nav-tabs .tab.is-active { border-color: var(--color-primary); box-shadow: inset var(--glow-inner); }

.ui-nav-tabs .tab::before,
.ui-nav-tabs .tab::after {
content: '';
position: absolute;
inset: 2px;
pointer-events: none;
clip-path: inherit;
}

.ui-nav-tabs .tab::before { border: 1px solid rgba(31, 209, 195, 0.18); box-shadow: inset 0 0 6px rgba(31, 209, 195, 0.1); }

.ui-nav-tabs .tab::after {
inset: 0;
background-image:
linear-gradient(135deg, rgba(31, 209, 195, 0.35), transparent 60%),
linear-gradient(225deg, rgba(31, 209, 195, 0.2), transparent 60%),
linear-gradient(45deg, rgba(31, 209, 195, 0.25), transparent 60%),
linear-gradient(315deg, rgba(31, 209, 195, 0.16), transparent 60%);
background-size: 10px 10px;
background-repeat: no-repeat;
background-position: top left, top right, bottom left, bottom right;
}

.ui-nav-tabs--vertical {
flex-direction: column;
gap: var(--space-6);
}

.ui-nav-tabs--vertical .tab {
width: 100%;
display: flex;
align-items: center;
gap: var(--space-8);
padding: 10px 14px;
text-align: left;
}

.ui-nav-tabs--vertical .tab i {
font-size: 16px;
opacity: 0.75;
}

.ui-nav-tabs--vertical .tab.is-active i {
opacity: 1;
color: var(--color-primary);
}


.ng-widget {
  background: rgba(7, 18, 20, 0.7);
  border: 1px solid rgba(31, 209, 195, 0.15);
  border-radius: 10px;
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  backdrop-filter: blur(8px);
}

.ng-widget-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(31, 209, 195, 0.2);
}

.ng-center-panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4);
}

.ng-center-panel-padding {
  padding-top: 100px;
}

/* --- Styles aus center_panel.php --- */
.ui-frame-maxwidth {
  max-width: 960px;
  margin: 0 auto;
}

.ui-frame__body-grid {
  display: grid;
  gap: 12px;
}

.ui-input-search {
  padding: 10px;
  border: 1px solid var(--border-faint);
  background: rgba(255,255,255,0.02);
  color: var(--text-primary);
}

.ui-section-label-margin {
  margin-top: 12px;
}

/* Full-width overrides for legacy shell scaffolding */
body.ui-reboot .ng-root-grid {
  max-width: none;
  width: 100%;
  padding: var(--space-12) var(--space-12);
  margin: 0;
  display: block;
}

.ng-flight-strip,
.ng-attack-banner,
.ng-preferences-page,
.ng-shell-grid,
.ui-panel-left,
.ui-panel-header,
.ui-card-objective,
.ng-header-d,
.ng-header-middle,
.ng-header-topbar,
.ng-shell-center {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.ng-progress-fill-dyn {
  background: var(--color-primary);
}

.ng-progress-container {
  display: flex;
  align-items: center;
  margin-bottom: 3px;
}

.ng-progress-label {
  width: 35px;
  font-size: 14px;
  color: #464543;
}

.ng-progress-bar-visual {
  width: 100px;
  height: 40px;
  border: 1px solid #464543;
  margin: 0 2px;
  position: relative;
  background-color: #000000;
}

.ng-progress-fill {
  height: 14px;
  background-color: #464543;
  margin: 1px;
}

.ng-progress-percent {
  font-size: 14px;
  min-width: 30px;
}

.ng-hu-progress {
  display: block;
  position: relative;
  width: 100%;
  height: 16px;
  background: #272a2e;
  border: 1px solid #42484f;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .6), inset 0 0 4px rgba(0, 0, 0, .7)
}

.ng-hu-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6d8f3a, #9dc451);
  box-shadow: 0 0 4px #9dc451aa, 0 0 12px -2px #9dc451cc;
  transition: width .6s cubic-bezier(.4, .08, .2, 1)
}

.ng-hu-progress-bar .ng-hu-progress-label {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 600;
  color: #132009;
  font-family: monospace;
  letter-spacing: .5px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .3);
}

.ng-left-panel {
  grid-area: left;
  width: var(--panel-left-width, 320px);
  min-width: 0;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s ease,
              transform 0.3s ease;
}

.ui-shell.panel-left-collapsed {
  --panel-left-width: 0px;
}

.ui-shell.panel-left-collapsed .ng-left-panel,
.ui-shell.panel-left-collapsed .ui-panel-left {
  width: 0;
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
  overflow: hidden;
}

.ui-panel-left .ng-left-panel {
  position: static;
  inset: auto;
  transform: none;
  opacity: 1;
  width: 100%;
  pointer-events: auto;
  grid-area: auto;
  align-self: start;
}

.ui-panel-left .ng-left-content {
  width: 100%;
}

.panel-toggle-btn--left .arrow {
  display: none;
}

.ui-center-hero {
  grid-area: center;
  min-width: 0;
  width: 100%;
  position: relative;
  min-height: 520px;
  background: transparent;
  overflow: auto;
  outline: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ui-center-hero::before,
.ui-center-hero::after {
  display: none;
}

.ui-center-hero__content {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  justify-content: center;
  padding: var(--space-20);
  gap: var(--space-12);
  pointer-events: none;
}

.ui-center-hero__panel {
  background: linear-gradient(180deg, rgba(11, 28, 31, 0.9), rgba(7, 20, 22, 0.86));
  border: 1px solid var(--border-strong);
  box-shadow: inset var(--glow-inner), 0 0 0 1px rgba(0, 0, 0, 0.5), 0 14px 32px rgba(0, 0, 0, 0.55);
  padding: var(--space-16);
  width: min(520px, 90%);
  clip-path: polygon(var(--bevel-lg) 0, calc(100% - var(--bevel-lg)) 0, 100% var(--bevel-lg), 100% calc(100% - var(--bevel-lg)), calc(100% - var(--bevel-lg)) 100%, var(--bevel-lg) 100%, 0 calc(100% - var(--bevel-lg)), 0 var(--bevel-lg));
  pointer-events: auto;
  backdrop-filter: blur(2px);
 }

 /* ========================================================================== 
    BUILD/DEFENSE LIST CARDS (Content-Mode)
    ========================================================================== */
 .ng-building-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  min-width: 0;
  padding: var(--space-12);
  background: linear-gradient(180deg, rgba(11, 28, 31, 0.82), rgba(7, 20, 22, 0.76));
  border: 1px solid rgba(31, 209, 195, 0.18);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.03);
  clip-path: polygon(var(--bevel-lg) 0, calc(100% - var(--bevel-lg)) 0, 100% var(--bevel-lg), 100% calc(100% - var(--bevel-lg)), calc(100% - var(--bevel-lg)) 100%, var(--bevel-lg) 100%, 0 calc(100% - var(--bevel-lg)), 0 var(--bevel-lg));
 }

 .ng-building-item .ng-building-image {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(31, 209, 195, 0.22);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.45), 0 10px 18px rgba(0,0,0,0.28);
  clip-path: polygon(var(--bevel-sm) 0, calc(100% - var(--bevel-sm)) 0, 100% var(--bevel-sm), 100% calc(100% - var(--bevel-sm)), calc(100% - var(--bevel-sm)) 100%, var(--bevel-sm) 100%, 0 calc(100% - var(--bevel-sm)), 0 var(--bevel-sm));
 }

 .ng-building-item .ng-building-info,
 .ng-building-item .ng-defense-info,
 .ng-building-item .ng-hangar-main {
  flex: 1 1 auto;
  min-width: 0;
 }

 .ng-defense-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-8);
 }

 .ng-defense-resources .ng-resource-item {
  width: auto;
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(31, 209, 195, 0.18);
  background: rgba(6, 16, 18, 0.60);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.4px;
  color: var(--text-primary);
  clip-path: polygon(var(--bevel-sm) 0, calc(100% - var(--bevel-sm)) 0, 100% var(--bevel-sm), 100% calc(100% - var(--bevel-sm)), calc(100% - var(--bevel-sm)) 100%, var(--bevel-sm) 100%, 0 calc(100% - var(--bevel-sm)), 0 var(--bevel-sm));
 }

 .ng-defense-mainrow {
  display: flex;
  gap: var(--space-12);
  align-items: flex-start;
  justify-content: space-between;
 }

 .ng-defense-col {
  flex: 1 1 auto;
  min-width: 0;
 }

 .ng-defense-controls {
  flex: 0 0 auto;
 }

 .ng-defense-actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
 }

 .ng-action-btn {
  min-height: 34px;
  min-width: 34px;
  padding: 0 10px;
  border: 1px solid rgba(31, 209, 195, 0.22);
  background: rgba(31, 209, 195, 0.08);
  color: var(--text-primary);
  font-family: var(--font-display);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  clip-path: polygon(var(--bevel-sm) 0, calc(100% - var(--bevel-sm)) 0, 100% var(--bevel-sm), 100% calc(100% - var(--bevel-sm)), calc(100% - var(--bevel-sm)) 100%, var(--bevel-sm) 100%, 0 calc(100% - var(--bevel-sm)), 0 var(--bevel-sm));
 }

 .ng-action-btn.ng-btn-disabled,
 .ng-action-btn:disabled {
  opacity: 0.45;
 }

 .ng-input-number {
  min-height: 34px;
  width: 64px;
  padding: 0 10px;
  border: 1px solid rgba(31, 209, 195, 0.22);
  background: rgba(6, 16, 18, 0.70);
  color: var(--text-primary);
  font-family: var(--font-mono);
  clip-path: polygon(var(--bevel-sm) 0, calc(100% - var(--bevel-sm)) 0, 100% var(--bevel-sm), 100% calc(100% - var(--bevel-sm)), calc(100% - var(--bevel-sm)) 100%, var(--bevel-sm) 100%, 0 calc(100% - var(--bevel-sm)), 0 var(--bevel-sm));
 }

 @media (max-width: 520px) {
  .ng-building-item {
   flex-direction: column;
  }
  .ng-building-item .ng-building-image {
   width: 100%;
   height: 140px;
  }
  .ng-defense-mainrow {
   flex-direction: column;
  }
 }
/* tiles_and_dices.css
 * Enthält ausgelagerte Styles für:
 * - Sections Slider / Panels
 * - Inline Detail Panel (Build/Tech)
 * - Cube Tiles (Würfel)
 * - Generic & Tile Progress Bars
 * - Mini Active Tiles (Panel + Main Bar)
 * - Tech Tiles Grid & Progress
 *
 * Hinweis: Alle Klassenbezeichnungen wurden unverändert übernommen,
 * damit vorhandenes JavaScript weiterhin funktioniert.
 */

.ng-main-sections-bar {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: .5rem 1rem; /* zusätzlicher Rand links/rechts */
	margin-bottom: .75rem;
	align-items: center;
	width: 100%;
}

.ng-main-sections-row {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
}

.ng-main-sections-row-top,
.ng-main-sections-row-bottom {
	width: 100%;
	margin: 0 auto;
}

.ng-main-sections-row-top { max-width: 760px; }
.ng-main-sections-row-bottom { max-width: 1100px; }

.ng-main-sections-bar .ng-section-trigger {
	position: relative;
	cursor: pointer;
	transition: transform .25s ease, box-shadow .25s ease;
	outline: none;
	border: 0;
	background: #111;
	color: #eee;
	min-height: 120px;
}

@media (max-width: 960px) {
	.ng-main-sections-bar {
		align-items: stretch;
	}
	.ng-main-sections-row {
		justify-content: center;
	}
}


.ng-tile-building-active .ng-tile-progress-wrap {
	opacity: 1
}

/* Tech: sichtbare Progress-Bar sobald is-researching oder data-researching=1 */
.ng-tile-tech.is-researching .ng-tile-progress-wrap,
.ng-tile-tech[data-researching="1"] .ng-tile-progress-wrap {
	opacity: 1
}

/* Mini Active Tile entfernt */

/* Sicherstellen, dass Progress über dem Front-Face-Inhalt liegt */
.ng-tile-cube .ng-tile-progress-wrap {
	z-index: 10
}

/* Tech spezifische Farbvariante */
.ng-tile-tech .ng-tile-progress-bar {
	background: linear-gradient(90deg, #7cb3ff, #c6e2ff);
	box-shadow: 0 0 6px -1px #c6e2ff, 0 0 14px -3px #7cb3ff
}

/* === Migriert aus JS (ensureStyles / injectGenericProgressStyles) === */
/* Flash & Delay States - siehe animations.css */

.ng-tile-delayed {
	filter: saturate(.4) brightness(.85);
}

/* Generische Fortschrittsbalken (Tech / Hangar / Defense) */
.ng-tech-progress-wrap,
.ng-hangar-progress-wrap,
.ng-defense-progress-wrap {
	position: relative;
	margin: 6px 0 8px;
	width: 100%;
	height: 8px;
	background: rgba(0, 0, 0, .35);
	border: 1px solid #3a332b;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 1px 3px rgba(0, 0, 0, .55);
}

.ng-tech-progress-bar,
.ng-hangar-progress-bar,
.ng-defense-progress-bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #7cb3ff, #c6e2ff);
	box-shadow: inset 0 0 3px rgba(0, 0, 0, .5);
	transition: width .25s linear;
}

.ng-defense-progress-bar {
	background: linear-gradient(90deg, #c89d3a, #f1d17b);
}

.ng-hangar-progress-bar {
	background: linear-gradient(90deg, #9ecb6b, #c5e39b);
}

.ng-tech-progress-bar span,
.ng-hangar-progress-bar span,
.ng-defense-progress-bar span {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 10px;
	font-weight: 600;
	color: #1b1405;
	font-family: monospace;
	letter-spacing: .5px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
}

/* Labels / Badges (vormals inline via Object.assign) */
.ng-live-eta {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, .55);
	padding: 6px 12px 7px;
	border: 1px solid #464543;
	border-radius: 10px;
	font-size: 20px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: .5px;
	color: #f2e7d2;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), 0 2px 6px -1px rgba(0, 0, 0, .6);
	backdrop-filter: blur(3px);
}

/* DEPRECATED (Queued Anzeige entfernt) */
.ng-live-pending {
	position: absolute;
	bottom: 6px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(40, 40, 40, .75);
	padding: 2px 8px 3px;
	border: 1px solid #464543;
	border-radius: 6px;
	font-size: 11px;
	letter-spacing: .5px;
	color: #464543;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .4);
}

/* Hinweis: Progress-Bar-Höhe der Tiles wird ausschließlich hier gesteuert (keine JS-Injektion mehr). */

.ng-main-sections-bar .ng-section-trigger.is-active {
	box-shadow: 0 0 0 2px #37a8ff inset, 0 0 12px #37a8ff55;
}

.ng-main-sections-bar .ng-section-trigger:active {
	transform: scale(.97);
}

/* Dashboard Tiles (responsive, keep aspect ratio) */
.ng-main-sections-bar .ng-tile.ng-tile-system {
	position: relative;
	display: block;
	flex: 0 0 min(100%, 320px);
	width: min(100%, 320px);
	height: auto;
	aspect-ratio: 16 / 9;
	min-height: 0;
	border: 1px solid rgba(55, 168, 255, 0.3);
	border-radius: 8px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(10, 14, 18, 0.95), rgba(15, 22, 30, 0.9));
	color: #cfcfcf;
	text-align: left;
	box-shadow: 
		0 0 0 1px rgba(55, 168, 255, 0.1) inset,
		0 4px 20px rgba(0, 0, 0, 0.4),
		0 0 30px rgba(55, 168, 255, 0.05);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ng-main-sections-bar .ng-tile.ng-tile-system:hover {
	border-color: rgba(55, 168, 255, 0.6);
	box-shadow: 
		0 0 0 1px rgba(55, 168, 255, 0.2) inset,
		0 6px 30px rgba(0, 0, 0, 0.5),
		0 0 40px rgba(55, 168, 255, 0.15);
	transform: translateY(-2px);
}

.ng-main-sections-row-top .ng-tile.ng-tile-system {
	flex-basis: min(100%, 320px);
	max-width: 320px;
}

.ng-main-sections-row-bottom .ng-tile.ng-tile-system {
	flex-basis: min(100%, 320px);
	max-width: 320px;
}

.ng-main-sections-bar .ng-tile.ng-tile-system .ng-tile-bg {
	position: absolute;
	inset: 0;
	background-image: var(--ng-tile-bg);
	background-size: cover;
	background-position: center;
	transition: transform .4s ease, filter .3s ease;
	filter: brightness(0.7) saturate(0.9);
}

.ng-main-sections-bar .ng-tile.ng-tile-system:hover .ng-tile-bg {
	filter: brightness(0.85) saturate(1.1);
	transform: scale(1.03);
}

.ng-main-sections-bar .ng-tile.ng-tile-system::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, 
		transparent 0%,
		transparent 40%,
		rgba(10, 14, 18, 0.7) 70%,
		rgba(10, 14, 18, 0.95) 100%
	);
	z-index: 1;
	pointer-events: none;
}

.ng-main-sections-bar .ng-tile.ng-tile-system::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, 
		transparent,
		rgba(55, 168, 255, 0.5),
		rgba(55, 168, 255, 0.8),
		rgba(55, 168, 255, 0.5),
		transparent
	);
	z-index: 2;
	opacity: 0;
	transition: opacity .3s ease;
}

.ng-main-sections-bar .ng-tile.ng-tile-system:hover::after {
	opacity: 1;
}

.ng-main-sections-bar .ng-tile-building:hover .ng-tile-bg {
	filter: none;
}

.ng-main-sections-bar .ng-tile.ng-tile-system .ng-tile-title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	display: block;
	padding: 12px 14px;
	font: 700 15px/1.2 'Glass_TTY_VT220', monospace;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #7fb0ab;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
	background: linear-gradient(180deg, transparent, rgba(10, 14, 18, 0.6));
}

.ng-main-sections-bar .ng-tile.ng-tile-system:hover .ng-tile-title {
	color: #37a8ff;
}

/* HUD Corner Decorations for System Tiles */
.ng-main-sections-bar .ng-tile.ng-tile-system .ng-tile-corner {
	position: absolute;
	width: 12px;
	height: 12px;
	z-index: 3;
	pointer-events: none;
}

.ng-main-sections-bar .ng-tile.ng-tile-system .ng-tile-corner--tl {
	top: 0;
	left: 0;
	border-top: 2px solid rgba(55, 168, 255, 0.5);
	border-left: 2px solid rgba(55, 168, 255, 0.5);
}

.ng-main-sections-bar .ng-tile.ng-tile-system .ng-tile-corner--tr {
	top: 0;
	right: 0;
	border-top: 2px solid rgba(55, 168, 255, 0.5);
	border-right: 2px solid rgba(55, 168, 255, 0.5);
}

.ng-main-sections-bar .ng-tile.ng-tile-system .ng-tile-corner--bl {
	bottom: 0;
	left: 0;
	border-bottom: 2px solid rgba(55, 168, 255, 0.5);
	border-left: 2px solid rgba(55, 168, 255, 0.5);
}

.ng-main-sections-bar .ng-tile.ng-tile-system .ng-tile-corner--br {
	bottom: 0;
	right: 0;
	border-bottom: 2px solid rgba(55, 168, 255, 0.5);
	border-right: 2px solid rgba(55, 168, 255, 0.5);
}

.ng-main-sections-bar .ng-tile.ng-tile-system:hover .ng-tile-corner {
	border-color: rgba(55, 168, 255, 0.9);
}

/* Tile Icon */
.ng-main-sections-bar .ng-tile.ng-tile-system .ng-tile-icon {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	font-size: 24px;
	color: rgba(55, 168, 255, 0.6);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
	transition: color .3s ease, transform .3s ease;
}

.ng-main-sections-bar .ng-tile.ng-tile-system:hover .ng-tile-icon {
	color: rgba(55, 168, 255, 1);
	transform: scale(1.1);
}

.ng-main-sections-bar .ng-tile.ng-tile-system.has-no-image .ng-tile-bg {
	background: none;
	opacity: 1;
}

.ng-main-sections-bar .ng-tile.ng-tile-system .ng-tile-img-missing {
	position: absolute;
	right: 6px;
	top: 6px;
	z-index: 1;
	background: rgba(0,0,0,.4);
	border: 1px solid #333;
	border-radius: 3px;
	padding: 0 6px;
	color: #d0c7b1;
	font-size: 12px;
}

/* Tile Slide In Animation - siehe animations.css */

.ng-sections-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	touch-action: pan-y pinch-zoom;
	/* Vertikalmodus (Dropdown) initial geschlossen */
	height: 0;
	transition: height .45s cubic-bezier(.32,.72,.24,1);
}

/* Horizontaler Track (alt) entfernt: .ng-sections-track war für horizontalen Slider zuständig */

.ng-section-panel {
	flex: 0 0 100%;
	opacity: .35;
	transition: opacity .4s ease;
}

.ng-section-panel.is-active {
	opacity: 1;
}

/* Section Panel - siehe animations.css für .ng-section-panel-inner */

.ng-tiles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 32px;
	padding: 0 5% 24px;
}

/* Legacy class kept for compatibility; now just forwards to the common grid */
.ng-build-tiles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 32px;
	padding: 0 5%;
}

.ng-build-tiles-grid .ng-tile-building.ng-tile-cube,
.ng-section-panel .ng-tile-building.ng-tile-cube,
.ng-tiles-grid .ng-tile-building.ng-tile-cube,
.ng-tiles-grid .ng-tile-tech,
.ng-tiles-grid .ng-tile-defense,
.ng-tiles-grid .ng-tile-hangar {
	width: min(100%, 200px);
	max-width: 200px;
	height: auto;
	aspect-ratio: 8 / 7;
}

@media (min-width:1200px) {
	.ng-build-tiles-grid,
	.ng-tiles-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}

.ng-sections-pagination {
	display: flex;
	justify-content: center;
	gap: .5rem;
	margin: .5rem 0 1.25rem;
}

.ng-panel-error {
	background: #4d1f1f;
	color: #ffb4b4;
	padding: 1rem;
	border: 1px solid #752d2d;
	border-radius: 6px;
	font-size: .9rem;
}

.ng-sections-placeholder {
	text-align: center;
	color: #7fb0ab;
}

.ng-sections-slider.is-hidden-initial {
	display: none;
}

/* Vertikalmodus Overrides */
.ng-sections-slider.vertical-mode .ng-sections-track {
  display: block;
  transform: none;
  width: 100%;
}
.ng-sections-slider.vertical-mode .ng-section-panel {
  width: 100%;
  display: none;
  flex: none;
}
.ng-sections-slider.vertical-mode .ng-section-panel.is-active { display: block; }
.ng-sections-slider.vertical-mode.is-collapsing,
.ng-sections-slider.vertical-mode.is-expanding { overflow: hidden; }

/* === Cube Tiles === */
.ng-tile-cube {
	position: relative;
	perspective: 900px;
	perspective-origin: 50% 50%;
	transform: translateZ(0);
}

 .ng-tile.ng-tile-cube {
	align-items: stretch;
	justify-content: stretch;
 }

.ng-tile-cube .ng-cube-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	will-change: transform;
	pointer-events: none;
	flex: 0 0 100%;
	min-width: 100%;
	transition: transform .55s cubic-bezier(.32, .72, .24, 1);
}

.ng-tile-cube[data-cube-step="0"] .ng-cube-inner {
	transform: translateZ(calc(var(--cube-half, 0px) * -1)) rotateY(0deg);
}

.ng-tile-cube[data-cube-step="1"] .ng-cube-inner {
	transform: translateZ(calc(var(--cube-half, 0px) * -1)) rotateY(-90deg);
}

.ng-tile-cube[data-cube-step="2"] .ng-cube-inner {
	transform: translateZ(calc(var(--cube-half, 0px) * -1)) rotateY(-180deg);
}

.ng-tile-cube[data-cube-step="3"] .ng-cube-inner {
	transform: translateZ(calc(var(--cube-half, 0px) * -1)) rotateY(-270deg);
}

.ng-cube-face {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	transform: translateZ(0);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 6px;
	box-sizing: border-box;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	border: 0;
	border-radius: 6px;
}

.ng-tile-cube[data-cube-step="0"] .ng-cube-face.ng-face-front,
.ng-tile-cube[data-cube-step="1"] .ng-cube-face.ng-face-actions,
.ng-tile-cube[data-cube-step="2"] .ng-cube-face.ng-face-info,
.ng-tile-cube[data-cube-step="3"] .ng-cube-face.ng-face-extra {
	pointer-events: auto;
}

.ng-cube-face.ng-face-front {
	align-items: stretch;
	justify-content: flex-start;
	padding-top: 6px;
	position: relative;
}

/* Cube Glitch Effect - siehe animations.css */

.ng-cube-face.ng-face-front .ng-tile-title {
	margin-top: 0;
	align-self: flex-start;
}

/* === Level Badge Konsolidiert === */
/* Front-Face (Cube) nie Badge anzeigen */
.ng-tile-cube .ng-face-front .ng-tile-level-badge {
	display: none;
}

.ng-tile-cube[data-cube-step="1"] .ng-tile-progress-wrap,
.ng-tile-cube[data-cube-step="2"] .ng-tile-progress-wrap,
.ng-tile-cube[data-cube-step="3"] .ng-tile-progress-wrap,
.ng-tile-cube[data-cube-step="1"] .ng-live-eta,
.ng-tile-cube[data-cube-step="2"] .ng-live-eta,
.ng-tile-cube[data-cube-step="3"] .ng-live-eta {
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
}

.ng-tile-cube[data-cube-step="0"] .ng-tile-progress-wrap,
.ng-tile-cube[data-cube-step="0"] .ng-live-eta {
	opacity: 1;
	transition: opacity .25s ease;
}

.ng-cube-face .ng-face-title {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .5px;
	margin-bottom: 4px;
	color: #d6e9ff;
	text-align: center;
}

.ng-cube-face .ng-face-row {
	font-size: 10px;
	margin: 2px 0;
	color: #b8c6d2;
	text-align: center;
	line-height: 1.3;
}

.ng-cube-face .ng-face-btn {
	margin-top: 6px;
	background: #2e5ea1;
	border: 0;
	color: #7fb0ab;
	font-size: 10px;
	padding: 5px 10px;
	border-radius: 4px;
	cursor: pointer;
	letter-spacing: .5px;
	text-transform: uppercase;
	font-weight: 600;
}

.ng-cube-face .ng-face-btn:hover {
	background: #3872c4;
}

.ng-cube-face .ng-cost {
	display: inline-block;
	font-weight: 600;
	font-size: 10px;
	letter-spacing: .4px;
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(0, 0, 0, .35);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 1px 2px rgba(0, 0, 0, .6);
}

.ng-cube-face .ng-cost.ng-ir {
	color: #ffd071;
}

.ng-cube-face .ng-cost.ng-hz {
	color: #d6e9ff;
}

.ng-cube-face .ng-cost.ng-o2 {
	color: #9fd6ff;
}

.ng-cube-face .ng-face-time {
	color: #f5e9d4;
}

.ng-face-skeleton {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 4px 0;
}

/* Skeleton Loading - siehe animations.css */

.ng-face-skeleton .ng-skel-line.short {
	width: 55%;
}

.ng-cube-face.ng-face-front {
	transform: rotateY(0deg) translateZ(var(--cube-half, 0px));
}

.ng-cube-face.ng-face-actions {
	transform: rotateY(90deg) translateZ(var(--cube-half, 0px));
}

.ng-cube-face.ng-face-info {
	transform: rotateY(180deg) translateZ(var(--cube-half, 0px));
}

.ng-cube-face.ng-face-extra {
	transform: rotateY(270deg) translateZ(var(--cube-half, 0px));
}

.ng-tile-cube.is-flipping .ng-cube-inner {
	transition: transform .55s cubic-bezier(.5, 1, .32, 1);
}

.ng-cube-face-front-placeholder {
	display: none;
	font-size: 11px;
	color: #ccc;
}

/* Cube Indicators entfernt */
.ng-tile-cube .ng-cube-inner .ng-cube-face form {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ng-tile-cube .ng-cube-inner .ng-cube-face form button {
	width: auto;
}

/* Mini Active Tiles entfernt */

.ng-section-panel[data-section="build"],
.ng-section-panel[data-section="tech"],
.ng-section-panel[data-section="defense"],
.ng-section-panel[data-section="hangar"],
.ng-section-panel[data-section="airport"] {
	position: relative;
}

.ng-section-panel[data-section="build"] .ng-section-panel-inner,
.ng-section-panel[data-section="tech"] .ng-section-panel-inner,
.ng-section-panel[data-section="defense"] .ng-section-panel-inner,
.ng-section-panel[data-section="hangar"] .ng-section-panel-inner,
.ng-section-panel[data-section="airport"] .ng-section-panel-inner {
	position: relative;
	min-height: 140px;
}

.ng-section-panel[data-section="build"] .ng-tile-bg,
.ng-section-panel[data-section="tech"] .ng-tile-bg,
.ng-section-panel[data-section="defense"] .ng-tile-bg,
.ng-section-panel[data-section="hangar"] .ng-tile-bg {
	animation: crtScanDrift 18s linear infinite;
}

.ng-section-panel[data-section="build"] .ng-tile .ng-tile-bg::after,
.ng-section-panel[data-section="tech"] .ng-tile .ng-tile-bg::after,
.ng-section-panel[data-section="defense"] .ng-tile .ng-tile-bg::after,
.ng-section-panel[data-section="hangar"] .ng-tile .ng-tile-bg::after {
	animation: none;
}

.ng-section-panel[data-section="build"] .ng-cube-face .ng-face-front,
.ng-section-panel[data-section="tech"] .ng-cube-face .ng-face-front,
.ng-section-panel[data-section="defense"] .ng-cube-face .ng-face-front,
.ng-section-panel[data-section="hangar"] .ng-cube-face .ng-face-front {
	animation: crtScanDrift 18s linear infinite;
}



/* NOTE: Removed .ng-main-mini-slot and .ng-main-mini-tile UI */

/* Basis Badge (große Tiles) */
.ng-tile-level-badge {
	position: absolute;
	display: inline-block;
	right: 4px;
	bottom: 4px;
	z-index: 3;
	background: rgba(0, 0, 0, .68);
	padding: 3px 6px 4px;
	font-size: 11px;
	letter-spacing: .5px;
	color: #464543;
	border: 1px solid rgba(255, 185, 2, .25);
	border-radius: 4px;
	font-weight: 600;
	backdrop-filter: blur(2px);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .45), 0 0 4px rgba(0, 0, 0, .45);
	pointer-events: none;
	line-height: 1;
	white-space: nowrap;
	width: auto;
	height: auto;
	min-width: 0;
	max-width: none;
	max-height: none;
}

/* Mini tile overrides removed */

/* @keyframes ngTileLevelPulse - siehe animations.css */

/* Mini tile progress removed */

/* Mini slot anchor removed */

@media (prefers-reduced-motion:reduce) {
	.ng-tile-cube .ng-cube-inner {
		transition: none;
	}
}

.ng-tile-building.ng-tile-active-debug,
.ng-tile-tech.ng-tile-active-debug,
.ng-tile-bg.ng-tile-active-debug,
.ng-tile-bg-img.ng-tile-active-debug {
	outline: 2px solid #ff4500 !important;
	position: relative;
}

/* === Tech Tile Grid === */
.ng-tile-grid-tech {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 32px;
	margin-top: .5rem;
}

@media (min-width:1200px) {
	.ng-tile-grid-tech {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}

.ng-tile-tech {
	position: relative;
	background: #101214;
	border: 1px solid #303840;
	height: 175px;
	width: 200px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	overflow: hidden;
}

.ng-tile-tech .ng-tile-title {
	background: rgba(0, 0, 0, .6);
	font-size: 11px;
	padding: 4px 6px 5px;
	color: #464543;
	letter-spacing: .5px;
	text-align: center;
	z-index: 2
}

.ng-tile-tech .ng-tile-level {
	color: inherit;
	font-weight: inherit;
	margin-left: 4px;
}

.ng-tile-tech .ng-tile-body {
	flex: 1;
	padding: 4px 6px 6px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	z-index: 2
}

.ng-tile-tech .ng-costs {
	font-size: 10px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: #b9c9d4;
	margin-bottom: 4px
}

.ng-tile-tech .ng-costs .ir {
	color: #ffd071
}

.ng-tile-tech .ng-costs .ox {
	color: #9fd6ff
}

.ng-tile-tech .ng-req {
	font-size: 10px;
	color: #ff7b5e;
	margin-top: auto
}

.ng-tile-tech.is-researching {
	border-color: #ff8a33;
	box-shadow: 0 0 6px #ff8a3355
}

.ng-tile-tech.is-expensive {
	opacity: .65;
}

.ng-tile-tech.is-locked {
	filter: grayscale(.75) brightness(.6);
	position: relative;
}

.ng-tile-tech.is-locked:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(145deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .75));
	z-index: 1
}

.ng-tile-tech:focus {
	outline: 2px solid #37a8ff;
	outline-offset: 0
}



.ng-tile-tech .ng-tile-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: none;
	transition: none;
	z-index: 0
}

.ng-tile-tech .ng-progress {
	position: relative;
	height: 8px;
	background: #1a242a;
	border: 1px solid #263139;
	border-radius: 2px;
	overflow: hidden;
	margin-top: auto
}

/* Tech Progress Animation - siehe animations.css für .ng-tech-progress-fill::after */

.ng-tile-tech.has-no-image {
	background: linear-gradient(145deg, #14181c, #101214);
}

.ng-tile-tech.has-no-image .ng-tile-bg {
	display: none
}

.ng-tile-tech.has-no-image:before {
	content: "?";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 34px;
	color: #223843;
	font-weight: 600;
	opacity: .35;
}

/* Missing Image Badge (Tech) */
.ng-tile-img-missing{position:absolute;top:4px;left:4px;z-index:6;background:rgba(0,0,0,.55);color:#ff9d7b;font-size:10px;font-weight:600;padding:3px 5px 4px;border:1px solid rgba(255,157,123,.4);border-radius:4px;letter-spacing:.5px;backdrop-filter:blur(2px);box-shadow:0 0 0 1px rgba(0,0,0,.4);}
/* Generische Variante für Tiles ohne Bild (alle Typen) */
.ng-tile.has-no-image .ng-tile-bg{display:none;}
.ng-tile.has-no-image{background:linear-gradient(145deg,#14181c,#101214);}
.ng-tile.has-no-image::before{content:"?";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:34px;color:#223843;font-weight:600;opacity:.35;}

/* === Base Tiles, Sections, States & Effects (migriert aus ng_style.css) === */
/* Dashboard container wrapper */
.ng-tile-dashboard {
	display: block;
	margin: 10px 0 30px;
}

/* Dock spezifische Varianten */
.dock-container {
	position: relative;
}

.dock-container .ng-tile {
	position: relative;
	padding-top: 26px;
	align-items: flex-start;
}

.dock-container .ng-tile .ng-tile-title {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 5;
	margin: 0;
}

.dock-container .ng-tile.ng-tile-small {
	padding-top: 22px;
}

.dock-container .ng-tile.ng-tile-small .ng-tile-title {
	font-size: 12px;
}

/* Tile Grundform */

.ng-tile {
	position: relative;
	width: 200px;
	height: 175px;
	background: #111;
	border: 1px solid #4C4742;
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	outline: none;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	isolation: isolate;
	z-index: 0;
	font-family: 'Glass_TTY_VT220', monospace;
	transition: border-color .25s, filter .25s, transform .25s;
}

.ng-tiles-grid .ng-tile:hover,
.ng-build-tiles-grid .ng-tile:hover,
.ng-defense-tiles-grid .ng-tile:hover,
.ng-tiles-grid .ng-tile:focus-within,
.ng-build-tiles-grid .ng-tile:focus-within,
.ng-defense-tiles-grid .ng-tile:focus-within {
	z-index: 5;
 }

/* Größenmodifikatoren */
.ng-tile-small {
	width: 150px;
	height: 125px;
}

.ng-tile-small .ng-tile-title {
	font-size: 12px;
	padding: 3px 4px 5px;
}

.ng-tile-large {
	width: 248px;
	height: 248px;
}

.ng-tile-large .ng-tile-title {
	font-size: 14px;
	letter-spacing: 1px;
	padding: 6px 8px 8px;
}

@media (max-width:1100px) {
	.ng-tile-large {
		width: 220px;
		height: 220px;
	}
}

@media (max-width:900px) {
	.ng-tile-section[data-section="system"] {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}

	.ng-tile-large {
		width: 100%;
		height: 220px;
	}
}

@media (max-width:600px) {
	.ng-tile-large {
		height: 190px;
	}
}

/* Forschungsstatus / Blink - siehe animations.css */

.ng-tile-tech.is-researching .ng-tile-bg {
	filter: none;
}

/* Forschung abgeschlossen Overlay */
.ng-tech-complete-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 14, 18, .78);
	color: #ffd9a3;
	font-size: 12px;
	letter-spacing: .5px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s ease;
	z-index: 6;
	text-align: center;
	padding: 4px;
}

.ng-tech-complete-overlay.is-visible {
	opacity: 1;
	pointer-events: auto;
}

/* Lock andere Tech-Würfel während eine Forschung läuft */
.ng-tile-tech.is-locked {
	filter: none;
	opacity: 0.65;
	pointer-events: none;
}

.ng-face-form .ng-face-btn {
	cursor: pointer;
}

.ng-tech-complete-inner {
	background: rgba(40, 50, 60, .55);
	padding: 6px 8px;
	border: 1px solid #ffb366;
	border-radius: 4px;
	box-shadow: 0 0 4px #ff9f3a88;
}

.ng-tech-timer {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #7fb0ab;
	letter-spacing: .5px;
	font-family: monospace;
	line-height: 1.1;
}

.ng-tile-tech .ng-tile-title {
	position: relative;
}

.ng-tile-tech .ng-tile-title .ng-tech-timer {
	display: block;
}

/* Hangar & Defense Aktivität - siehe animations.css */

.ng-unit-timer {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .5px;
	font-family: monospace;
	color: #c8e4ff;
	text-shadow: 0 0 4px rgba(0, 160, 255, 0.35);
}

.ng-tile-system.is-active-defense .ng-unit-timer {
	color: #ffd3b0;
	text-shadow: 0 0 4px rgba(255, 120, 0, 0.35);
}

/* Laufender Auftrag Border-Blink - siehe animations.css */

/* Sektionen */
.ng-tile-section {
	margin-bottom: 28px;
}

.ng-tile-section-header {
	font-size: 13px;
	letter-spacing: 1px;
	color: #4C4742;
	margin: 4px 2px 8px;
	font-family: 'Glass_TTY_VT220', monospace;
}

.ng-tile-section[data-section="modal"],
.ng-tile-section[data-section="build"],
.ng-tile-section[data-section="system"] {
	display: grid;
	gap: 18px;
}

.ng-tile-section[data-section="modal"] {
	grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
}

.ng-tile-section[data-section="build"] {
	grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
}

.ng-tile-section[data-section="system"] {
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 22px 20px;
	margin-bottom: 34px;
}

.ng-tile-section-header {
	grid-column: 1/-1;
}

/* Hintergrund / Bild - CRT Animationen siehe animations.css */

.ng-tile-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: inherit;
}

/* 3D Cube Vorderseite - CRT Animationen siehe animations.css */

/* CRT / Scanline / Flicker Effekte */
/* @keyframes crtScanDrift - siehe animations.css */
/* @keyframes crtFlicker - siehe animations.css */

/* @keyframes crtJitter - siehe animations.css */

/* @keyframes ngFlicker - siehe animations.css */

/* @keyframes ngGlitchShift - siehe animations.css */

/* @keyframes ngPowerDip - siehe animations.css */
/* CRT Disabled State - siehe animations.css */

.ng-tile::before,
.ng-cube-face .ng-face-front::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
	background-image: repeating-linear-gradient(
		0deg,
		var(--scanline-color) 0,
		var(--scanline-color) 2px,
		transparent 2px,
		transparent 4px
	);
	opacity: 0.75;
	mix-blend-mode: normal;
	background-position: 0 0;
	animation: ngScanlinesDown 6s linear infinite;
 }

 .ng-tile-bg::before,
 .ng-tile-bg::after {
 	pointer-events: none;
 }

 .ng-crt-vhs-layer,
 .ng-crt-testcard-layer {
 	position: absolute;
 	inset: 0;
 	pointer-events: none;
 }

@media (prefers-reduced-motion: reduce) {
 	.ng-tile::before,
 	.ng-cube-face .ng-face-front::before {
 		animation: none;
 	}
 }

.ng-tile.crt-test-layer {
	border: 2px solid #39ff14 !important;
	background: repeating-linear-gradient(45deg, #222 0px, #222 4px, #444 4px, #444 8px) !important;
}

/* Tile Overlay Glitch - siehe animations.css */

body.ng-effect-b .ng-tile.ng-glitch-rotate .ng-tile-bg,
body.ng-effect-b .ng-tile.ng-glitch-mirror .ng-tile-bg,
body.ng-effect-b .ng-tile.ng-no-tr .ng-tile-bg {
	transition: none !important;
}

.ng-tile:hover .ng-tile-bg { filter: none; }

/* Reaktiviere subtilen Glitch auf Tiles standardmäßig */
/* Hinweis: Basis-Animationen kommen weiter oben; keine erzwungene Deaktivierung hier */

.ng-tile:nth-child(3n) .ng-tile-bg::before {
	animation-delay: -2s, .3s;
}

.ng-tile:nth-child(4n) .ng-tile-bg::before {
	animation-delay: -4s, .6s;
}

.ng-tile:nth-child(5n) .ng-tile-bg::before {
	animation-delay: -6s, .9s;
}

.ng-tile:nth-child(3n+2) .ng-tile-bg::after {
	animation-delay: .4s, -3s, 0s;
}

.ng-tile:nth-child(4n+1) .ng-tile-bg::after {
	animation-delay: .8s, -5s, 2s;
}

.ng-tile:nth-child(5n+3) .ng-tile-bg::after {
	animation-delay: 1.2s, -7s, 1s;
}

.ng-tile:focus {
	border-color: #464543;
}

/* Zustände */
.ng-tile-disabled .ng-tile-bg {
	filter: grayscale(1) brightness(.5) !important;
}

.ng-tile-disabled {
	cursor: not-allowed;
}

.ng-tile-inactive {
	position: relative;
}

.ng-tile-inactive .ng-tile-bg {
	filter: grayscale(.65) brightness(.7);
	opacity: .85;
}

.ng-tile-inactive:after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(200, 175, 118, .25);
	border-radius: 8px;
	pointer-events: none;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .35) inset;
}

.ng-tile-locked {
	position: relative;
}

.ng-tile-locked::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	z-index: 1;
}

.ng-tile-locked-label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 1px;
	color: #B84C2F;
	z-index: 2;
	text-shadow: 0 0 4px rgba(0, 0, 0, .8);
}

.ng-tile-locked .ng-tile-title {
	opacity: .25;
}

/* Kopf / Badges */
.ng-tile-title {
	position: relative;
	z-index: 3;
	background: rgba(0, 0, 0, .75);
	width: 100%;
	text-align: center;
	font-size: 10px;
	padding: 4px 6px 6px;
	color: #464543;
	letter-spacing: .5px;
}

.ng-tile-corner {
	position: absolute;
	font-size: 13px;
	padding: 3px 5px;
	background: rgba(0, 0, 0, .45);
	color: #1e3a3f;
	z-index: 2;
	pointer-events: none;
	backdrop-filter: blur(2px);
}

.ng-tile-corner-tl {
	top: 3px;
	left: 3px;
}

.ng-tile-corner-tr {
	top: 3px;
	right: 3px;
}

.ng-tile-corner-bl {
	bottom: 30px;
	left: 3px;
}

.ng-tile-corner-br {
	bottom: 30px;
	right: 3px;
}

/* (Pulse Animation bleibt verfügbar – ggf. Klasse hinzufügen, nicht aktiv per Default) */

/* Hangar Upgrade Bar */
.ng-hangar-upgrade-bar {
	display: grid;
	grid-template-columns: 140px 1fr 160px;
	gap: 18px;
	align-items: center;
	background: #111;
	border: 1px solid #2a2724;
	padding: 10px 16px;
	height: 100px;
	margin: 0 0 18px;
	position: relative;
	border-radius: 8px;
}

@media (max-width:650px) {
	.ng-hangar-upgrade-bar {
		grid-template-columns: 1fr 1fr;
		height: auto;
		row-gap: 12px;
	}

	.ng-hu-action {
		grid-column: 1/-1;
		justify-self: start;
	}
}

/* Laufende Gebäudeaktivität (Pulse) - siehe animations.css */

.ng-tile-building .ng-live-badge {
	font-family: inherit;
	backdrop-filter: blur(2px);
}

.ng-tile-building .ng-live-eta {
	font-family: monospace;
	letter-spacing: .5px;
	backdrop-filter: blur(2px);
	text-align: center;
}

/* Fehlende Voraussetzung Hinweis */
.ng-tile-missing-hint {
	position: absolute;
	left: 50%;
	top: -8px;
	transform: translate(-50%, -100%);
	background: #2b2116;
	color: #7fb0ab;
	border: 1px solid #464543;
	padding: 6px 10px;
	border-radius: 6px;
	font-size: 11px;
	line-height: 1.3;
	white-space: nowrap;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .5);
	z-index: 200;
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s ease, transform .15s ease;
}

.ng-tile-missing-hint.show {
	opacity: 1;
	transform: translate(-50%, -110%);
}

/* Overlay / Popups / Modal Frames */
.ng-tile-overlay {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, .8);
	backdrop-filter: blur(4px);
	z-index: 15000;
	opacity: 0;
	visibility: hidden;
	transition: all .3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ng-tile-overlay.active {
	opacity: 1;
	visibility: visible;
}

.ng-tile-popups-root {
	position: fixed;
	inset: 0;
	z-index: 15010;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 24px 40px;
	gap: 0;
}

.ng-tile-popups-root.active {
	pointer-events: none;
}

.ng-tile-popups-root .ng-tile-modal {
	pointer-events: auto;
	margin: 0;
	transform: scale(.94);
	opacity: 0;
	transition: transform .28s ease, opacity .28s ease;
	max-width: min(1200px, 90vw);
	max-height: 85vh;
}

.ng-tile-popups-root.active .ng-tile-modal {
	transform: scale(1);
	opacity: 1;
}

.ng-tile-modal {
	background: #1e1e1e;
	border: 2px solid #464543;
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	backdrop-filter: blur(10px);
	position: relative;
	z-index: 10002;
}

.ng-tile-modal>* {
	position: relative;
	z-index: 2;
}

.ng-tile-modal .ng-terminal-static {
	text-align: left !important;
}

.ng-tile-modal .ng-terminal-content {
	scrollbar-width: thin;
}

.ng-tile-modal .ng-terminal-content::-webkit-scrollbar {
	width: 10px;
}

.ng-tile-modal .ng-terminal-content::-webkit-scrollbar-track {
	background: #0a0a0a;
}

.ng-tile-modal .ng-terminal-content::-webkit-scrollbar-thumb {
	background: #2d2a27;
	border-radius: 6px;
}

.ng-tile-modal .ng-terminal-content::-webkit-scrollbar-thumb:hover {
	background: #3a342e;
}

.ng-tile-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(.94);
	opacity: 0;
	transition: all .25s ease;
	z-index: 16000;
	display: flex;
	flex-direction: column;
	width: min(640px, 90vw);
	height: min(470px, 80vh);
	background: #101010;
	border: 1px solid #4C4742;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .65);
}

.ng-tile-popup.active {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.ng-tile-popup-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 12px;
	border-bottom: 1px solid #4C4742;
}

.ng-tile-popup-title {
	font-size: 16px;
	color: #464543;
}

.ng-tile-popup-close {
	background: none;
	border: 1px solid #4C4742;
	color: #464543;
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
	padding: 4px 8px;
}

.ng-tile-popup-close:hover {
	background: #111;
}

.ng-tile-popup-body {
	flex: 1;
	overflow: auto;
	padding: 10px;
}

.ng-tile-popup-body::-webkit-scrollbar {
	width: 8px;
}

.ng-tile-popup-body::-webkit-scrollbar-track {
	background: #000;
}

.ng-tile-popup-body::-webkit-scrollbar-thumb {
	background: #4C4742;
}

.ng-tile-popup-body::-webkit-scrollbar-thumb:hover {
	background: #464543;
}

.ng-tile:focus-visible{ outline: 2px solid #1e3a3f; outline-offset: 2px; }

/* Debug Kachelmarkierung */
.ng-tile-building.ng-tile-active-debug,
.ng-tile-tech.ng-tile-active-debug,
.ng-tile-bg.ng-tile-active-debug,
.ng-tile-bg-img.ng-tile-active-debug {
	outline: 2px solid #ff4500 !important;
	position: relative;
}

/* ==================== Mission Control Container ==================== */
.ng-mission-control {
    min-height: fit-content;
    height: auto;
    overflow: visible;
}

/* ui-frame--heavy innerhalb Mission Control */
.ng-mission-control .ui-frame--heavy {
    position: relative;
    z-index: 1;
}

/* ==================== City View (ng_city_view.php / embed=1) ==================== */
.ng-cityview {
    color: #7fb0ab;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.ng-cityview-head{
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 6px 0 12px;
}
.ng-cityview-title{
    color: #37a8ff;
    font: 700 16px/1.1 'Glass_TTY_VT220', monospace;
    letter-spacing: 1.2px;
}
.ng-cityview-sub{
    color: #6f8995;
    font-size: 12px;
    letter-spacing: .4px;
    margin-top: 6px;
}
.ng-cityview-badges{ display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.ng-cityview-badges-group { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ng-cityview-badges-title {
    color: #6f8995;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.ng-cityview-badge{
    background: rgba(15, 20, 25, 0.85);
    border: 1px solid rgba(55, 168, 255, 0.3);
    border-radius: 999px;
    color: #7fb0ab;
    font: 600 11px/1.1 'Glass_TTY_VT220', monospace;
    letter-spacing: .7px;
    padding: 6px 10px;
}
.ng-cityview-badge.is-hot{
    border-color: rgba(255, 102, 0, .55);
    color: #ffd089;
    box-shadow: 0 0 0 1px rgba(255, 102, 0, .14) inset;
}

.ng-cityview-alerts{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}
.ng-cityview-alert{
    background: rgba(60, 20, 10, .22);
    border: 1px solid rgba(255, 102, 0, .32);
    border-radius: 10px;
    color: #ffb273;
    font-size: 12px;
    letter-spacing: .4px;
    padding: 8px 10px;
}


.ng-active-jobs-clock{
    display: flex;
    justify-content: center;
    margin: -4px 0 8px;
    color: #5a6570;
    font-size: 11px;
}

/* ==================== VEREINFACHTE RESSOURCEN ==================== */
.ng-cityview-res-grid{ display: grid; gap: 12px; grid-template-columns: 1fr; }
.ng-cityview-res{
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 6px 0;
    border-bottom: 1px solid rgba(60, 70, 80, 0.2);
}
.ng-cityview-res:last-child { border-bottom: none; }
.ng-cityview-res-head{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.ng-cityview-res-name{ color: #8a9299; font-weight: 600; letter-spacing: .3px; font-size: 12px; }
.ng-cityview-res-now{ color: #7fb0ab; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13px; }
.ng-cityview-res-meta{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 4px; }
.ng-cityview-kv{ color: #5a6570; font-size: 11px; letter-spacing: .2px; }
.ng-cityview-kv.is-negative { color: #c45a45; }
.ng-cityview-meter{ height: 4px; background: rgba(40, 50, 60, 0.5); border: none; border-radius: 2px; overflow: hidden; margin-top: 6px; }
.ng-cityview-meter-fill{ height: 100%; width: 0; background: #4a6070; transition: width .4s ease; }
.ng-cityview-res.is-warn .ng-cityview-meter-fill{ background: #8a7050; }
.ng-cityview-res.is-full .ng-cityview-meter-fill{ background: #8a5045; }

/* ==================== VEREINFACHTE Depot-Gruppe ==================== */
.ng-cityview-depot-group {
    background: transparent;
    border: none;
    font-size: 11px;
    padding: 0;
}
.ng-cityview-depot-group::before,
.ng-cityview-depot-group::after { display: none; }
.ng-cityview-depot-group.is-warn,
.ng-cityview-depot-group.is-full { border-color: transparent; }
.ng-depot-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(60, 70, 80, 0.3);
}
.ng-depot-title {
    color: #7fb0ab;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    flex: 1;
}
.ng-depot-pct {
    color: #8a9299;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    font-weight: 600;
}
.ng-cityview-depot-group.is-warn .ng-depot-pct { color: #a08050; }
.ng-cityview-depot-group.is-full .ng-depot-pct { color: #a06050; }

.ng-depot-resources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 520px) {
    .ng-depot-resources { grid-template-columns: 1fr; }
}
.ng-depot-resources .ng-cityview-res {
    background: transparent;
    border: none;
    border-bottom: none;
    padding: 0;
}

.ng-depot-meter-wrap {
    margin-top: 12px;
    position: relative;
}
.ng-depot-meter {
    height: 16px;
    background: linear-gradient(90deg, rgba(10, 14, 18, 0.95), rgba(15, 20, 25, 0.9));
    border: 1px solid rgba(31, 209, 195, 0.3);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}
.ng-depot-meter-cap {
    position: absolute;
    right: 0;
    top: -18px;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #5a6570;
    z-index: 2;
    pointer-events: none;
}
.ng-depot-meter-fill {
    height: 100%;
    background: #4a6070;
    border-radius: 2px;
    transition: width 0.4s ease;
}
.ng-depot-meter-fill::after { display: none; }
.ng-cityview-depot-group.is-warn .ng-depot-meter-fill { background: #8a7050; }
.ng-cityview-depot-group.is-full .ng-depot-meter-fill { background: #8a5045; }

/* ==================== VEREINFACHTE Oxygen-Gruppe (Tank) ==================== */
.ng-cityview-oxygen-group {
    background: transparent;
    border: none;
    padding: 0;
}
.ng-cityview-oxygen-group::before,
.ng-cityview-oxygen-group::after { display: none; }
.ng-cityview-oxygen-group.is-warn,
.ng-cityview-oxygen-group.is-full { border-color: transparent; }
.ng-cityview-oxygen-group.is-warn .ng-depot-pct { color: #a08050; }
.ng-cityview-oxygen-group.is-full .ng-depot-pct { color: #a06050; }
.ng-cityview-oxygen-group.is-warn .ng-depot-meter-fill { background: #8a7050; }
.ng-cityview-oxygen-group.is-full .ng-depot-meter-fill { background: #8a5045; }

.ng-depot-meter-glow { display: none; }
.ng-depot-meter-ticks { display: none; }

/* Sauerstoff-Anzeige (separater Tank) */
.ng-cityview-res-oxygen { border-left: none; }
.ng-oxygen-icon { display: none; }


/* Median-Linie in Skyline */
.ng-skyline-median-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50%;
    height: 1px;
    background: rgba(100, 110, 120, 0.5);
    pointer-events: none;
    z-index: 2;
}
.ng-skyline-median-line::before { display: none; }

/* Skyline Legende */
.ng-skyline-legend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 10px;
    font-size: 9px;
    font-weight: 500;
    color: #5a6570;
}
.ng-skyline-legend-line { display: none; }
.ng-skyline-legend-symbol { color: #6a7580; font-size: 10px; }
.ng-skyline-legend-text { letter-spacing: 0.2px; }

.ng-cityview-skylabel{ display:flex; justify-content:center; gap:6px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.ng-cityview-skykey{ color:#7fb0ab; font-size: 10px; font-weight: 600; letter-spacing: .2px; }
.ng-cityview-skylvl{ color:#9aa0a8; font-size: 10px; font-weight: 600; }
.ng-cityview-sky.is-above .ng-cityview-skylvl { color: #6a9080; }
.ng-cityview-sky.is-below .ng-cityview-skylvl { color: #907a6a; }
.ng-cityview-skyname{ color:#5a6570; font-size: 9px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Upgrades */
.ng-cityview-upgrades{ display: grid; gap: 10px; }
.ng-cityview-upgrade{ background: rgba(13,17,21,.8); border: 1px solid rgba(42,46,50,.9); border-radius: 10px; padding: 10px; }
.ng-cityview-upgrade.is-active{ border-color: rgba(255, 179, 87, .7); box-shadow: 0 0 0 1px rgba(255,179,87,.14) inset; }
.ng-cityview-upgrade.is-active.is-ready{ border-color: rgba(255, 179, 87, .7); box-shadow: 0 0 0 1px rgba(255,179,87,.14) inset; }
.ng-cityview-upgrade.is-ready{ border-color: rgba(84,212,154,.55); }
.ng-cityview-upgrade.is-locked{ border-color: rgba(111,137,149,.45); }
.ng-cityview-upgrade-main{ display:flex; justify-content:space-between; gap:10px; }
.ng-cityview-upgrade-name{ color:#7fb0ab; font-weight: 700; letter-spacing: .3px; }
.ng-cityview-upgrade-to{ color:#7fb0ab; font-variant-numeric: tabular-nums; }
.ng-cityview-upgrade-meta{ display:flex; flex-wrap:wrap; gap: 8px 10px; margin-top: 8px; align-items: center; }
.ng-cityview-tag{ border-radius: 999px; font-size: 10px; letter-spacing: .7px; padding: 4px 8px; border: 1px solid rgba(42,46,50,.9); color: #9d968e; background: rgba(15,20,25,.75); }
.ng-cityview-tag.is-running{ border-color: rgba(255,179,87,.55); color: #ffd089; }
.ng-cityview-tag.is-req{ border-color: rgba(111,137,149,.45); color: #7fb0ab; }
.ng-cityview-tag.is-missing{ border-color: rgba(255,107,77,.55); color: #ffb273; }
.ng-cityview-tag.is-ok{ border-color: rgba(84,212,154,.45); color: #54d49a; }
.ng-cityview-cost{ color: #6f8995; font-size: 11px; font-variant-numeric: tabular-nums; }
.ng-cityview-note{ color: #6f8995; font-size: 12px; margin-top: 10px; }

/* ==================== VEREINFACHTE Aktive Jobs Card ==================== */
.ng-active-jobs-card { position: relative; }
.ng-active-jobs-count {
    background: transparent;
    border: none;
    color: #6a7580;
    font-size: 10px;
    font-weight: 600;
    margin-left: 6px;
}
.ng-active-jobs-empty {
    align-items: center;
    color: #5a6570;
    display: flex;
    font-size: 12px;
    gap: 8px;
    justify-content: center;
    padding: 16px 10px;
}
.ng-empty-icon { font-size: 16px; opacity: 0.5; }
.ng-active-jobs-list { 
    display: flex;
    flex-direction: column;
    gap: 0; 
}
.ng-active-job-item {
    width: 100%;
    align-items: center;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(60, 70, 80, 0.2);
    border-radius: 0;
    display: flex;
    gap: 12px;
    padding: 10px 0;
}
.ng-active-job-item:last-child { border-bottom: none; }
.ng-active-job-item:hover { background: rgba(60, 70, 80, 0.1); }
.ng-active-job-item[data-job-type="build"] { border-left: none; }
.ng-active-job-item[data-job-type="tech"] { border-left: none; }
.ng-active-job-item[data-job-type="defense"] { border-left: none; }
.ng-active-job-item[data-job-type="plane"] { border-left: none; }
.ng-job-info { flex: 1; min-width: 0; }
.ng-job-name {
    color: #9aa0a8;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ng-job-level, .ng-job-amount {
    background: transparent;
    border-radius: 0;
    color: #6a7580;
    font-size: 10px;
    font-weight: 600;
    margin-left: 6px;
    padding: 0;
}
.ng-job-label {
    color: #5a6570;
    font-size: 10px;
    letter-spacing: 0.2px;
    margin-top: 2px;
}
.ng-job-timer {
    align-items: center;
    background: transparent;
    border: none;
    display: flex;
    flex-shrink: 0;
    padding: 0;
}
.ng-timer-value {
    color: #7fb0ab;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.ng-active-job-item.is-done { opacity: 0.5; }
.ng-job-timer.is-finishing .ng-timer-value { color: #a08050; }

/* ==================== Airport / Fleet Management ==================== */
.ng-airport-layout{
    align-items: start;
    display: grid;
    gap: 32px;
    grid-template-columns: 1.15fr 1fr;
}
@media (max-width:1400px) {
    .ng-airport-layout{ gap: 26px; }
}
@media (max-width:1150px) {
    .ng-airport-layout{ grid-template-columns: 1fr; }
}
@media (max-width:860px) {
    .ng-airport-layout{ gap: 22px; }
}

.ng-airport-col{
    border: 1px solid rgba(55, 168, 255, 0.2);
    border-radius: 14px;
    overflow: hidden;
    padding: 18px 20px 22px;
    position: relative;
}
.ng-airport-col h3{
    align-items: center;
    color: #7fb0ab;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    letter-spacing: 1px;
    margin: 0 0 14px;
}
.ng-airport-col h3:before{
    background: #37a8ff;
    border-radius: 50%;
    box-shadow: 0 0 6px #37a8ff;
    content: "";
    height: 6px;
    width: 6px;
}

.ng-fleet-grid{
    --thumb: 78px;
    display: grid;
    gap: 18px 16px;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
@media (max-width:600px) {
    .ng-fleet-grid{ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

.ng-fleet-item{
    border: 1px solid rgba(55, 168, 255, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    padding: 12px 12px 14px;
    position: relative;
    transition: background .25s, border-color .25s, transform .25s;
    min-height: 200px;
}
.ng-fleet-item:before{
    background: none;
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity .3s;
}
.ng-fleet-item:hover{
    border-color: rgba(55, 168, 255, 0.4);
    transform: translateY(-3px);
}
.ng-fleet-item:hover:before{ opacity: 1; }
.ng-fleet-image-thumb{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}
.ng-fleet-item:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.55) 60%,rgba(0,0,0,.75));
    z-index:1;
    pointer-events:none;
}
.ng-fleet-item:hover .ng-fleet-image-thumb{ filter:brightness(1) saturate(1); transform:scale(1.03); }
.ng-fleet-item > .ng-fleet-name, .ng-fleet-item > .ng-fleet-available, .ng-fleet-item > .ng-fleet-input{ position:relative; z-index:2; }
.ng-fleet-name{
    color: #7fb0ab;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-top: 4px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.ng-fleet-available{
    color: #9d968e;
    font-size: 11px;
    letter-spacing: .5px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.ng-fleet-input{
    display: grid;
    grid-template-columns: 36px minmax(72px, 1fr) 36px;
    gap: 6px;
    margin-top: 4px;
    align-items: stretch;
}
.ng-fleet-input-field{
    width: 100%;
    font-size: 12px !important;
    padding: 6px 4px;
    text-align: center;
    min-width: 72px;
    max-width: 92px;
    background: #0b0f14;
    border: 1px solid rgba(55, 168, 255, 0.2);
    border-radius: 6px;
    color: #7fb0ab;
}
.ng-fleet-actions-row{
    margin-top: 4px;
    display: flex;
    justify-content: flex-end;
}
.ng-fleet-item .ng-button-small{
    background: rgba(15, 20, 25, 0.9);
    border: 1px solid rgba(55, 168, 255, 0.2);
    border-radius: 6px;
    color: #7fb0ab;
    cursor: pointer;
    font-size: 10px;
    letter-spacing: .5px;
    padding: 4px 8px;
}
.ng-button-ghost{
    background: rgba(10, 14, 18, 0.9);
    border: 1px solid rgba(55, 168, 255, 0.2);
    border-radius: 6px;
    color: #7fb0ab;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.ng-button-ghost:focus-visible{ outline: 2px solid #37a8ff; outline-offset: 2px; }
.ng-button-ghost:hover{ background: rgba(20, 28, 38, 0.95); border-color: rgba(55, 168, 255, 0.4); }
.ng-fleet-minus, .ng-fleet-plus{ min-width: 36px; }
.ng-fleet-item .ng-button-small:hover{ background: rgba(20, 28, 38, 0.95); border-color: rgba(55, 168, 255, 0.4); }

.ng-mission-select{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 4px 0 10px;
}
.ng-mission-option{
    align-items: center;
    background: rgba(10, 14, 18, 0.9);
    border: 1px solid rgba(55, 168, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    position: relative;
    transition: background .25s, border-color .25s, box-shadow .25s;
    color: #7fb0ab;
}
.ng-mission-option:hover{ background: rgba(15, 20, 28, 0.95); border-color: rgba(55, 168, 255, 0.4); }
.ng-mission-option input{ accent-color: #37a8ff; cursor: pointer; }
.ng-mission-option.is-selected{ border-color: #37a8ff; box-shadow: 0 0 10px rgba(55, 168, 255, 0.2); }

#attack-options, #transport-options{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}
.ng-attack-option, .ng-transport-option{
    align-items: center;
    background: rgba(13, 17, 21, 0.85);
    border: 1px solid rgba(55, 168, 255, 0.15);
    border-radius: 8px;
    display: flex;
    font-size: 11px;
    gap: 8px;
    letter-spacing: .5px;
    padding: 8px 10px;
    color: #7fb0ab;
}
.ng-transport-grid{
    display: grid;
    gap: 10px 14px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 8px;
}
@media (max-width:560px) {
    .ng-transport-grid{ grid-template-columns: 1fr; }
}

/* Airport Target Selection */
.ng-target-section{
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(55, 168, 255, 0.1);
}
.ng-target-section label{
    color: #7fb0ab;
    font-size: 12px;
    letter-spacing: .5px;
    margin-bottom: 8px;
    display: block;
}
.ng-target-input{
    background: #0b0f14;
    border: 1px solid rgba(55, 168, 255, 0.2);
    border-radius: 8px;
    color: #7fb0ab;
    font-size: 13px;
    padding: 10px 12px;
    width: 100%;
}
.ng-target-input:focus{
    border-color: #37a8ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(55, 168, 255, 0.15);
}

/* Airport Column Modifiers */
.ng-airport-col.col-fleet{
    /* Linke Spalte: Flotten-Auswahl */
    flex: 1.15;
}
.ng-airport-col.col-mission{
    /* Rechte Spalte: Missionsauswahl & Ziel */
    flex: 1;
}

/* Transport Item Styles */
.ng-transport-item{
    align-items: center;
    background: rgba(13, 17, 21, 0.85);
    border: 1px solid rgba(55, 168, 255, 0.15);
    border-radius: 8px;
    display: flex;
    gap: 8px;
    padding: 8px 10px;
}
.ng-transport-item label{
    color: #7fb0ab;
    font-size: 11px;
    letter-spacing: .5px;
    min-width: 72px;
}
.ng-transport-item .ng-transport-input{
    flex: 1;
    font-size: 12px !important;
    padding: 4px 6px;
    text-align: right;
    background: rgba(6, 10, 14, 0.9);
    border: 1px solid rgba(55, 168, 255, 0.2);
    border-radius: 6px;
    color: #7fb0ab;
}
.ng-transport-item .ng-button-small{ font-size: 10px; padding: 4px 8px; }

/* Flottenstatistiken Grid */
.ng-stats-grid{
    display: grid;
    gap: 12px 14px;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}
.ng-stat-item{
    background: rgba(13, 17, 21, 0.85);
    border: 1px solid rgba(55, 168, 255, 0.15);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    padding: 10px 10px 12px;
    position: relative;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.ng-stat-item:hover{
    border-color: rgba(55, 168, 255, 0.35);
    box-shadow: 0 0 12px rgba(55, 168, 255, 0.1);
}
.ng-stat-item label{
    align-items: center;
    color: #7fb0ab;
    display: flex;
    font-size: 11px;
    gap: 6px;
    letter-spacing: .5px;
}
.ng-stat-item .ng-icon-xl{
    font-size: 16px;
    color: #37a8ff;
}
.ng-stat-label{
    text-transform: uppercase;
}
.ng-stat-input{
    background: rgba(6, 10, 14, 0.9) !important;
    border: 1px solid rgba(55, 168, 255, 0.2) !important;
    border-radius: 6px;
    color: #7fb0ab !important;
    font-size: 12px !important;
    padding: 6px 8px !important;
    text-align: center;
}

/* Koordinaten-Eingabe */
.ng-coord-field{
    text-align: center;
    width: 70px;
    background: rgba(6, 10, 14, 0.9);
    border: 1px solid rgba(55, 168, 255, 0.2);
    border-radius: 6px;
    color: #7fb0ab;
    padding: 6px 4px;
}
.ng-coord-field:focus{
    border-color: #37a8ff;
    outline: 1px solid rgba(55, 168, 255, 0.3);
}
.ng-coords-inline{
    align-items: center;
    background: rgba(13, 17, 21, 0.85);
    border: 1px solid rgba(55, 168, 255, 0.15);
    border-radius: 10px;
    display: flex;
    font-variant-numeric: tabular-nums;
    gap: 4px;
    padding: 10px 14px;
}
.ng-coords-inline .ng-coord-field{
    background: rgba(6, 10, 14, 0.95) !important;
    border: 1px solid rgba(55, 168, 255, 0.25);
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 4px !important;
    width: 52px;
}
.ng-coords-inline .ng-coord-field-mid{ width: 64px; }
.ng-coords-inline .ng-coord-field:focus{
    border-color: #37a8ff;
    outline: 1px solid rgba(55, 168, 255, 0.4);
}
.ng-coord-sep{
    color: #7fb0ab;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 0 2px;
}
.ng-coord-select-row{
    display: flex;
    margin-top: 10px;
    gap: 10px;
}

/* Coordinate List Avatar */
.ng-coord-avatar {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid rgba(55, 168, 255, 0.3);
    object-fit: cover;
    vertical-align: middle;
    margin-right: 6px;
    flex-shrink: 0;
    background: rgba(20, 28, 40, 0.8);
}

.ng-disabled-user {
    opacity: 0.5;
    font-style: italic;
}

.ng-alliance-tag {
    color: #f0c040;
    font-size: 0.9em;
    margin-left: 4px;
}

.ng-select-wide{
    flex: 1;
    background: rgba(6, 10, 14, 0.9);
    border: 1px solid rgba(55, 168, 255, 0.2);
    border-radius: 8px;
    color: #7fb0ab;
    font-size: 12px;
    padding: 8px 10px;
}
.ng-select-wide:focus{
    border-color: #37a8ff;
    outline: none;
}

/* Terminal Feed (für Flugergebnis-Anzeige) */
.ng-terminal-feed{
    background: rgba(3, 28, 20, 0.85) !important;
    border: 1px solid rgba(91, 255, 128, 0.25);
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 18px -4px rgba(0, 255, 128, 0.3), inset 0 0 28px rgba(0, 36, 20, 0.5);
    color: #5bff80;
    font-size: 12px;
    line-height: 1.35;
    overflow: auto;
    padding: 10px 12px 14px;
    position: relative;
    text-shadow: 0 0 6px rgba(26, 255, 66, 0.5), 0 0 2px rgba(0, 255, 102, 0.3);
}

/* Airport Section & Section Title */
.ng-section{
    margin-bottom: 18px;
}
.ng-section:last-child{
    margin-bottom: 0;
}
.ng-section-title{
    color: #7fb0ab;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 12px;
    text-transform: uppercase;
}

/* Airport Sub-Options (für Attack/Transport Unteroptionen) */
.ng-sub-options{
    margin-top: 12px;
    padding: 12px;
    background: rgba(10, 14, 18, 0.6);
    border: 1px solid rgba(55, 168, 255, 0.1);
    border-radius: 10px;
}

/* Fleet Item Disabled State (für Missions-Filter) */
.ng-fleet-item-disabled{
    opacity: 0.35;
    filter: grayscale(0.7) brightness(0.7);
    pointer-events: none;
}
.ng-fleet-item-disabled .ng-fleet-input-field{
    background: rgba(10, 14, 18, 0.5) !important;
    cursor: not-allowed;
}
.ng-fleet-item-disabled .ng-button-ghost,
.ng-fleet-item-disabled .ng-button-small{
    opacity: 0.4;
    cursor: not-allowed;
}

/* Button Disabled State */
.ng-btn-disabled{
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* Fleet Narrative Box */
.ng-fleet-narrative{
    background: rgba(10, 14, 18, 0.7);
    border: 1px solid rgba(55, 168, 255, 0.15);
    border-radius: 8px;
    color: #7fb0ab;
    font-size: 12px;
    letter-spacing: 0.3px;
    line-height: 1.5;
    padding: 12px 14px;
}

/* Mission Color Badges */
.ng-mission-attack{ color: #ff6b6b; }
.ng-mission-transport{ color: #ffc864; }
.ng-mission-spy{ color: #54d49a; }
.ng-mission-colonize{ color: #37a8ff; }

/* Mission Option Selected State (aktive Mission hervorheben) */
.ng-mission-option:has(input:checked){
    border-color: #37a8ff;
    box-shadow: 0 0 12px rgba(55, 168, 255, 0.25);
    background: rgba(15, 25, 35, 0.95);
}
.ng-mission-option:has(input:checked) label{
    color: #37a8ff;
    font-weight: 600;
}

/* =====================================================
   SPA Router - Loading & Error States
   ===================================================== */

/* Loading State */
.ng-spa-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 40px;
    gap: 20px;
}

/* SPA Loading Spinner - siehe animations.css */

/* SPA Loading Text - siehe animations.css */

/* Error State */
.ng-spa-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 40px;
    gap: 16px;
    text-align: center;
}

.ng-spa-error-icon {
    font-size: 48px;
    color: #ff6b6b;
    opacity: 0.8;
}

.ng-spa-error-title {
    font-size: 18px;
    font-weight: 600;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ng-spa-error-text {
    font-size: 14px;
    color: #7aa2c0;
    max-width: 400px;
}

.ng-spa-error .ng-button {
    margin-top: 16px;
}

/* Embed Container Styling */
.ng-embed-build,
.ng-embed-hangar,
.ng-embed-tech,
.ng-embed-defense,
.ng-embed-airport,
.ng-embed-messages {
    padding: 0;
}

/* Sections Area Container (jetzt innerhalb ui-frame--heavy) */
#ng-sections-area {
    position: relative;
    z-index: 10;
    margin-bottom: var(--space-16, 16px);
}

/* Sections Slider innerhalb ui-frame--heavy */
.ui-frame--heavy #ng-sections-area .ng-sections-slider {
    margin-top: 0;
}

/* Mission Control Container */
#ng-mission-control {
    display: block; /* Immer sichtbar */
    position: relative;
    z-index: 1;
}

/* SPA Content Transitions */
.ui-center-hero {
    transition: opacity 0.15s ease-out;
}

.ui-center-hero.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ==================== Kommunikations-Karte (integriert) ==================== */
.ng-comm-card {
    min-height: 200px;
}
.ng-comm-tabs {
    margin-bottom: 12px;
}
.ng-comm-tabs .ui-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ng-comm-tabs .tab {
    background: rgba(20, 30, 35, 0.8);
    border: 1px solid rgba(55, 168, 255, 0.2);
    border-radius: 6px;
    padding: 6px 10px;
    font: 600 11px/1.2 'Glass_TTY_VT220', monospace;
    color: #6f8995;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ng-comm-tabs .tab:hover {
    background: rgba(30, 58, 63, 0.7);
    color: #7fb0ab;
    border-color: rgba(55, 168, 255, 0.4);
}
.ng-comm-tabs .tab.is-active {
    background: rgba(55, 168, 255, 0.15);
    border-color: rgba(55, 168, 255, 0.5);
    color: #7fb0ab;
}
.ng-comm-content {
    background: rgba(13, 17, 21, 0.85);
    border: 1px solid rgba(30, 58, 63, 0.55);
    border-radius: 10px;
    padding: 14px;
    min-height: 120px;
    max-height: 400px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.5;
}
/* Größere Schriften im Kommunikations-Bereich */
.ng-comm-card {
    font-size: 14px;
}
.ng-comm-card .ng-cityview-card-title {
    font-size: 14px;
}
.ng-comm-tabs .tab {
    font-size: 13px;
    padding: 8px 12px;
}
.ng-comm-content a {
    font-size: 14px;
}
.ng-comm-content table {
    font-size: 13px;
}
.ng-comm-content td,
.ng-comm-content th {
    padding: 8px 10px;
}
.ng-comm-placeholder,
.ng-comm-error {
    color: #6f8995;
    font: 13px/1.5 'Glass_TTY_VT220', monospace;
    text-align: center;
    padding: 20px 10px;
}
.ng-comm-error {
    color: #ff6b4d;
}

/* ==================== Kommunikation Mini-Card & Fullview ==================== */
/* Minimierte Card nur mit Tab-Buttons */
.ng-comm-card--mini {
    padding: 8px 12px !important;
    min-height: auto !important;
    max-height: none !important;
}
.ng-comm-tabs-inline {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}
.ng-comm-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: #7fb0ab;
    font: 600 13px/1 'Glass_TTY_VT220', monospace;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ng-comm-tab-btn:hover {
    background: transparent;
    border-color: transparent;
    color: #c0ebf7;
    transform: translateY(-1px);
}
.ng-comm-tab-btn.is-active {
    background: transparent;
    color: #7fb0ab;
}
.ng-comm-tab-btn i {
    font-size: 16px;
}
.ng-comm-tab-btn span {
    display: inline;
}
@media (max-width: 768px) {
    .ng-comm-tab-btn span {
        display: none;
    }
    .ng-comm-tab-btn {
        padding: 10px 12px;
    }
}

/* Fullview Container */
.ng-comm-fullview {
    background: linear-gradient(180deg, rgba(10, 18, 22, 0.95) 0%, rgba(15, 25, 30, 0.98) 100%);
    border: 1px solid rgba(30, 58, 63, 0.6);
    border-radius: 12px;
    padding: 0;
    margin-top: var(--space-12, 12px);
    min-height: fit-content;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
}
.ng-comm-fullview[hidden] {
    display: none;
}
.ng-comm-fullview-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0 0 10px;
    background: transparent;
    flex-shrink: 0;
}
.ng-comm-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(50, 70, 80, 0.8) 0%, rgba(35, 55, 65, 0.9) 100%);
    border: 1px solid rgba(55, 168, 255, 0.4);
    border-radius: 6px;
    color: #7fb0ab;
    font: 600 13px/1 'Glass_TTY_VT220', monospace;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ng-comm-back-btn:hover {
    background: linear-gradient(135deg, rgba(60, 90, 100, 0.9) 0%, rgba(45, 70, 80, 1) 100%);
    border-color: rgba(55, 168, 255, 0.7);
    color: #7fb0ab;
}
.ng-comm-back-btn i {
    font-size: 16px;
}
.ng-comm-fullview-title {
    margin: 0;
    font: 700 18px/1.2 'Glass_TTY_VT220', monospace;
    color: #9cf9ff;
    text-shadow: 0 0 8px rgba(34, 184, 230, 0.4);
    letter-spacing: 1px;
}
.ng-comm-fullview-content {
    flex: 1;
    overflow-y: visible;
    overflow-x: hidden;
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
    min-height: fit-content;
    height: auto;
}
.ng-comm-fullview-content::-webkit-scrollbar { width: 8px; }
.ng-comm-fullview-content::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
.ng-comm-fullview-content::-webkit-scrollbar-thumb { background: rgba(55, 168, 255, 0.3); border-radius: 4px; }
.ng-comm-fullview-content::-webkit-scrollbar-thumb:hover { background: rgba(55, 168, 255, 0.5); }
.ng-comm-loading {
    text-align: center;
    padding: 40px 20px;
    color: #6f8995;
    font: 14px/1.5 'Glass_TTY_VT220', monospace;
}

/* Fullview Table Styles */
.ng-comm-fullview-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.ng-comm-fullview-content th,
.ng-comm-fullview-content td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(30, 58, 63, 0.4);
}
.ng-comm-fullview-content th {
    background: rgba(20, 35, 42, 0.6);
    color: #5ab8ff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}
.ng-comm-fullview-content tr:hover {
    background: rgba(55, 168, 255, 0.05);
}
.ng-comm-fullview-content a {
    color: var(--text-muted);
    text-decoration: none;
}
.ng-comm-fullview-content a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Allianz-Mitgliederliste mit Avataren */
.ng-alliance-members {
    width: 100%;
}
.ng-member-avatar-cell {
    width: 50px;
    padding: 6px 8px !important;
    vertical-align: middle;
}
.ng-member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #444;
    background: #222;
}
.ng-player-link {
    color: #4fc3f7 !important;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}
.ng-player-link:hover {
    color: #81d4fa !important;
    text-decoration: underline;
}

/* Spieler-Profilkarte */
.ng-player-profile {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 24px;
    color: #e0e0e0;
    max-width: 500px;
    margin: 0 auto;
}
.ng-player-profile__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #333;
}
.ng-player-profile__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4fc3f7;
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.3);
}
.ng-player-profile__info h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: #7fb0ab;
}
.ng-player-profile__info p {
    margin: 0;
    font-size: 14px;
    color: #888;
}
.ng-player-profile__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.ng-player-profile__stat {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}
.ng-player-profile__stat-value {
    font-size: 22px;
    font-weight: bold;
    color: #4fc3f7;
    display: block;
}
.ng-player-profile__stat-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
}
.ng-player-profile__bio {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 16px;
    border-left: 3px solid #4fc3f7;
}
.ng-player-profile__bio h3 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #4fc3f7;
    text-transform: uppercase;
}
.ng-player-profile__bio p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    white-space: pre-wrap;
}
.ng-player-profile__empty {
    text-align: center;
    padding: 40px;
    color: #666;
}
.ng-player-profile__loading {
    text-align: center;
    padding: 40px;
    color: #888;
}

/* === Message Center Styles (NACHRICHTENZENTRALE) === */

/* Widget container - konsistent mit ui-frame Design */
.ng-widget {
    background: linear-gradient(180deg, rgba(11, 28, 31, 0.9), rgba(7, 20, 22, 0.84));
    border: 1px solid var(--border-faint, rgba(31, 209, 195, 0.18));
    border-radius: 2px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55), 0 0 40px rgba(31, 209, 195, 0.04);
    min-height: auto;
    height: auto;
}

.ng-widget-title {
    font-family: 'Orbitron', 'Glass_TTY_VT220', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary, #7fb0ab);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-faint, rgba(31, 209, 195, 0.18));
}

/* Message Tabs - Design wie ui-nav-tabs */
.ng-message-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-16);
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    margin-bottom: 20px;
}

.ng-message-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-8) var(--space-16);
    min-height: 32px;
    background: rgba(31, 209, 195, 0.05);
    border: 1px solid rgba(31, 209, 195, 0.25);
    border-radius: 6px;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: var(--fs-14);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    line-height: 1;
}

/* Doppelte Border-Effekte wie ui-nav-tabs */
.ng-message-tab::before,
.ng-message-tab::after {
    content: '';
    position: absolute;
    inset: 2px;
    pointer-events: none;
    clip-path: inherit;
}

.ng-message-tab::before {
    border: 1px solid rgba(31, 209, 195, 0.18);
    box-shadow: inset 0 0 6px rgba(31, 209, 195, 0.1);
}

.ng-message-tab::after {
    inset: 0;
    background-image:
        linear-gradient(135deg, rgba(31, 209, 195, 0.35), transparent 60%),
        linear-gradient(225deg, rgba(31, 209, 195, 0.2), transparent 60%),
        linear-gradient(45deg, rgba(31, 209, 195, 0.25), transparent 60%),
        linear-gradient(315deg, rgba(31, 209, 195, 0.16), transparent 60%);
    background-size: 10px 10px;
    background-repeat: no-repeat;
    background-position: top left, top right, bottom left, bottom right;
}

.ng-message-tab:hover {
    background: rgba(31, 209, 195, 0.1);
    border-color: rgba(31, 209, 195, 0.4);
    color: var(--text-primary);
}

.ng-message-tab.active {
    background: rgba(31, 209, 195, 0.15);
    border-color: rgba(31, 209, 195, 0.5);
    color: var(--color-primary);
    box-shadow: 0 0 10px rgba(31, 209, 195, 0.2) inset;
    text-shadow: 0 0 8px rgba(31, 209, 195, 0.6);
}

.ng-tab-icon {
    font-size: 16px;
    opacity: 0.8;
}

.ng-message-tab.active .ng-tab-icon {
    opacity: 1;
}

.ng-tab-label {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* Sicherstellen dass Icons und Counter über den Pseudo-Elementen liegen */
.ng-message-tab > * {
    position: relative;
    z-index: 1;
}

/* Icon-only Tabs (Neue Nachricht, Kampfberichte) */
.ng-message-tab--icon {
    padding: var(--space-8) var(--space-16);
    justify-content: center;
    min-width: auto;
    min-height: 32px;
}

.ng-message-tab--icon i {
    font-size: 16px;
    opacity: 0.8;
}

.ng-message-tab--icon:hover i {
    opacity: 1;
}

.ng-message-tab--icon.active i {
    opacity: 1;
}

/* Tab-Gruppen in ng-message-tabs */
.ng-message-tabs .ng-tab-group {
    display: flex;
    position: relative;
    background: rgba(31, 209, 195, 0.05);
    border: 1px solid rgba(31, 209, 195, 0.25);
    border-radius: 6px;
    padding: 4px;
    gap: 4px;
}

.ng-message-tabs .ng-tab-group::before {
    content: attr(data-group-label);
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    opacity: 0.7;
    background: transparent;
    padding: 0 6px;
    white-space: nowrap;
}

.ng-message-tabs .ng-tab-group__item {
    border-radius: 4px;
    padding: var(--space-8) var(--space-16);
    font-size: 11px;
    border: none;
    background: transparent;
    position: relative;
}

.ng-message-tabs .ng-tab-group__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(31, 209, 195, 0.3);
}

.ng-message-tabs .ng-tab-group__item:hover {
    background: rgba(31, 209, 195, 0.1);
}

.ng-message-tabs .ng-tab-group__item.active {
    background: rgba(31, 209, 195, 0.15);
    color: var(--color-primary);
    text-shadow: 0 0 8px rgba(31, 209, 195, 0.6);
    box-shadow: 0 0 10px rgba(31, 209, 195, 0.2) inset;
}

.ng-message-tabs .ng-tab-group__item i {
    font-size: 12px;
    margin-right: 4px;
    opacity: 0.8;
}

.ng-message-tabs .ng-tab-group__item.active i {
    opacity: 1;
}

.ng-tab-count {
    background: rgba(31, 209, 195, 0.25);
    color: var(--color-primary);
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.ng-message-tab.active .ng-tab-count {
    background: var(--color-primary);
    color: var(--color-base);
}

/* Message Section */
.ng-message-section {
    background: rgba(12, 16, 22, 0.6);
    border: 1px solid rgba(55, 168, 255, 0.12);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
}

.ng-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
}



.ng-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #4fc3f7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ng-section-title i {
    font-size: 16px;
    opacity: 0.8;
}

.ng-section-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Filter Select */
.ng-filter-select {
    background: rgba(20, 28, 38, 0.9);
    border: 1px solid rgba(55, 168, 255, 0.25);
    border-radius: 4px;
    color: #88a8c4;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ng-filter-select:hover,
.ng-filter-select:focus {
    border-color: #37a8ff;
    outline: none;
    box-shadow: 0 0 8px rgba(55, 168, 255, 0.2);
}

.ng-filter-select option {
    background: #141c26;
    color: #88a8c4;
}

/* Message List */
.ng-message-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Message Item */
.ng-message-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(20, 28, 40, 0.4);
    border: 1px solid rgba(55, 168, 255, 0.1);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

/* Message Actions Toolbar */
.ng-message-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-shrink: 0;
}

.ng-msg-action-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 40, 55, 0.6);
    border: 1px solid rgba(55, 168, 255, 0.2);
    border-radius: 4px;
    color: #708090;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.ng-msg-action-btn:hover {
    background: rgba(55, 168, 255, 0.15);
    border-color: rgba(55, 168, 255, 0.4);
    color: #c8dce8;
}

.ng-msg-action-btn.ng-msg-mark-read:hover {
    background: rgba(100, 200, 100, 0.15);
    border-color: rgba(100, 200, 100, 0.4);
    color: #64c864;
}

.ng-msg-action-btn.ng-msg-reply:hover {
    background: rgba(55, 168, 255, 0.15);
    border-color: rgba(55, 168, 255, 0.4);
    color: #37a8ff;
}

.ng-msg-action-btn.ng-msg-delete:hover {
    background: rgba(255, 100, 100, 0.15);
    border-color: rgba(255, 100, 100, 0.4);
    color: #ff6464;
}

/* Quick Reply Form */
.ng-quick-reply-form {
    background: rgba(20, 30, 45, 0.95);
    border: 1px solid rgba(55, 168, 255, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ng-quick-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(55, 168, 255, 0.2);
}

.ng-quick-reply-title {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 13px;
    color: #4fc3f7;
}

.ng-quick-reply-title strong {
    color: #c8dce8;
}

.ng-quick-reply-close {
    background: none;
    border: none;
    color: #708090;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.ng-quick-reply-close:hover {
    color: #ff6464;
}

.ng-quick-reply-form .ng-form-row {
    margin-bottom: 12px;
}

.ng-quick-reply-form .ng-form-row label {
    display: block;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    color: #607080;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.ng-quick-reply-form .ng-input,
.ng-quick-reply-form .ng-textarea {
    width: 100%;
    background: rgba(10, 15, 25, 0.8);
    border: 1px solid rgba(55, 168, 255, 0.2);
    border-radius: 4px;
    padding: 8px 10px;
    color: #c8dce8;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 13px;
}

.ng-quick-reply-form .ng-input:focus,
.ng-quick-reply-form .ng-textarea:focus {
    outline: none;
    border-color: rgba(55, 168, 255, 0.5);
    box-shadow: 0 0 8px rgba(55, 168, 255, 0.2);
}

.ng-quick-reply-form .ng-textarea {
    resize: vertical;
    min-height: 80px;
}

.ng-quick-reply-form .ng-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Message Avatar */
.ng-message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(55, 168, 255, 0.3);
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(20, 28, 40, 0.8);
}

.ng-message-item:hover .ng-message-avatar {
    border-color: rgba(55, 168, 255, 0.6);
}

.ng-message-item:hover {
    background: rgba(55, 168, 255, 0.08);
    border-color: rgba(55, 168, 255, 0.25);
    transform: translateX(4px);
}

.ng-message-item.unread {
    background: rgba(55, 168, 255, 0.1);
    border-left: 3px solid #37a8ff;
}

.ng-message-item.unread:hover {
    background: rgba(55, 168, 255, 0.15);
}

.ng-message-checkbox {
    flex-shrink: 0;
    padding-top: 2px;
}

.ng-message-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #37a8ff;
    cursor: pointer;
}

.ng-message-content {
    flex: 1;
    min-width: 0;
}

.ng-message-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.ng-message-time {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    color: #607080;
}

.ng-message-type {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.ng-message-type.ng-type-attack {
    background: rgba(255, 100, 100, 0.2);
    color: #ff6464;
    border: 1px solid rgba(255, 100, 100, 0.3);
}

.ng-message-type.ng-type-defense {
    background: rgba(100, 200, 255, 0.2);
    color: #64c8ff;
    border: 1px solid rgba(100, 200, 255, 0.3);
}

.ng-message-type.ng-type-transport {
    background: rgba(100, 255, 150, 0.2);
    color: #64ff96;
    border: 1px solid rgba(100, 255, 150, 0.3);
}

.ng-message-type.ng-type-scan {
    background: rgba(200, 150, 255, 0.2);
    color: #c896ff;
    border: 1px solid rgba(200, 150, 255, 0.3);
}

/* Message Status Badge - siehe animations.css */

.ng-message-city {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    color: #4fc3f7;
}

.ng-message-subject {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 13px;
    color: #c8dce8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ng-message-item.unread .ng-message-subject {
    color: #7fb0ab;
    font-weight: 600;
}

.ng-message-details {
    display: flex;
    gap: 16px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.ng-detail {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    color: #708090;
}

/* Message Detail View - Sender with Avatar */
.ng-meta-sender-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.ng-sender-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(55, 168, 255, 0.4);
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(20, 28, 40, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ng-meta-sender-info {
    flex: 1;
    min-width: 0;
}

.ng-meta-sender-info .ng-meta-row {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 12px;
    color: #a0b0c0;
    margin-bottom: 4px;
}

.ng-meta-sender-info .ng-meta-row:last-child {
    margin-bottom: 0;
}

.ng-meta-sender-info .ng-meta-row strong {
    color: #c8dce8;
}

.ng-meta-label {
    color: #607080;
}

.ng-meta-value {
    color: #c8dce8;
}

.ng-inline-muted {
    color: #607080;
    font-size: 0.9em;
}

/* Private Message Detail Container */
.ng-private-message {
    background: rgba(20, 28, 40, 0.6);
    border: 1px solid rgba(55, 168, 255, 0.15);
    border-radius: 6px;
    padding: 16px;
}

.ng-message-meta {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(55, 168, 255, 0.15);
}

.ng-content-header {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    color: #607080;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ng-content-body {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 13px;
    color: #c8dce8;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Message Actions */
.ng-message-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 12px;
}

.ng-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(30, 40, 55, 0.6);
    border: 1px solid rgba(55, 168, 255, 0.25);
    border-radius: 4px;
    color: #88a8c4;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ng-action-button:hover {
    background: rgba(55, 168, 255, 0.15);
    border-color: #37a8ff;
    color: #37a8ff;
}

.ng-action-button.ng-danger {
    border-color: rgba(255, 100, 100, 0.4);
    color: #ff6464;
}

.ng-action-button.ng-danger:hover {
    background: rgba(255, 100, 100, 0.2);
    border-color: #ff6464;
}

.ng-action-button.ng-primary {
    background: rgba(55, 168, 255, 0.2);
    border-color: #37a8ff;
    color: #37a8ff;
}

.ng-action-button.ng-primary:hover {
    background: rgba(55, 168, 255, 0.35);
    box-shadow: 0 0 12px rgba(55, 168, 255, 0.3);
}

/* No Data State */
.ng-no-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #506070;
}

.ng-no-data-icon {
    font-size: 48px;
    opacity: 0.4;
    margin-bottom: 16px;
}

.ng-no-data-text {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Private Message Compose Form */
.ng-reply-form {
    background: rgba(15, 20, 28, 0.9);
    border: 1px solid rgba(55, 168, 255, 0.2);
    border-radius: 6px;
    padding: 20px;
}

.ng-form-header {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 14px;
    font-weight: 600;
    color: #4fc3f7;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(55, 168, 255, 0.15);
}

.ng-form-row {
    margin-bottom: 14px;
}

.ng-form-label {
    display: block;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    font-weight: 600;
    color: #88a8c4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.ng-form-input,
.ng-form-textarea {
    width: 100%;
    background: rgba(10, 14, 20, 0.8);
    border: 1px solid rgba(55, 168, 255, 0.2);
    border-radius: 4px;
    color: #c8dce8;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 13px;
    padding: 10px 12px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.ng-form-input:focus,
.ng-form-textarea:focus {
    outline: none;
    border-color: #37a8ff;
    box-shadow: 0 0 10px rgba(55, 168, 255, 0.2);
    background: rgba(15, 20, 28, 0.9);
}

.ng-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.ng-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 16px;
}

/* === Compose Message Form === */

.ng-message-tab--compose {
    background: rgba(79, 195, 247, 0.15) !important;
    border-color: rgba(79, 195, 247, 0.4) !important;
}

.ng-message-tab--compose:hover {
    background: rgba(79, 195, 247, 0.25) !important;
    box-shadow: 0 0 15px rgba(79, 195, 247, 0.3);
}

.ng-message-tab--compose.active {
    background: rgba(79, 195, 247, 0.3) !important;
    border-color: #4fc3f7 !important;
    color: #4fc3f7 !important;
}

.ng-compose-form {
    background: rgba(12, 16, 22, 0.8);
    border: 1px solid rgba(55, 168, 255, 0.15);
    border-radius: 6px;
    padding: 20px;
}

.ng-form-group {
    margin-bottom: 18px;
}

.ng-form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    font-weight: 600;
    color: #88a8c4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ng-form-label i {
    font-size: 14px;
    opacity: 0.7;
}

/* Recipient Search */
.ng-recipient-search {
    position: relative;
}

.ng-recipient-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 16, 22, 0.98);
    border: 1px solid rgba(55, 168, 255, 0.3);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 100000;
    display: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(55, 168, 255, 0.1);
}

.ng-recipient-dropdown::-webkit-scrollbar {
    width: 6px;
}

.ng-recipient-dropdown::-webkit-scrollbar-track {
    background: rgba(10, 14, 20, 0.5);
}

.ng-recipient-dropdown::-webkit-scrollbar-thumb {
    background: rgba(55, 168, 255, 0.3);
    border-radius: 3px;
}

.ng-player-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid rgba(55, 168, 255, 0.08);
}

.ng-player-option:last-child {
    border-bottom: none;
}

.ng-player-option:hover {
    background: rgba(55, 168, 255, 0.15);
}

.ng-player-option.ng-no-results {
    color: #506070;
    font-style: italic;
    cursor: default;
    justify-content: center;
}

.ng-player-option.ng-no-results:hover {
    background: transparent;
}

.ng-player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(55, 168, 255, 0.3);
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(10, 14, 20, 0.8);
}

.ng-player-option:hover .ng-player-avatar {
    border-color: #37a8ff;
}

.ng-player-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ng-player-name {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 14px;
    font-weight: 600;
    color: #c8dce8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ng-player-option:hover .ng-player-name {
    color: #37a8ff;
}

.ng-player-alliance {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    color: #f9a825;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ng-player-points {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    color: #4fc3f7;
    white-space: nowrap;
    background: rgba(55, 168, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(55, 168, 255, 0.2);
}

/* Selected Recipient Display */
.ng-selected-recipient {
    margin-top: 8px;
}

.ng-selected-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(55, 168, 255, 0.1);
    border: 1px solid rgba(55, 168, 255, 0.3);
    border-radius: 6px;
}

.ng-selected-player .ng-player-avatar {
    width: 40px;
    height: 40px;
    border-color: #37a8ff;
}

.ng-selected-player .ng-player-name {
    font-size: 14px;
    color: #37a8ff;
}

.ng-remove-recipient {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.4);
    border-radius: 4px;
    color: #f44336;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.ng-remove-recipient:hover {
    background: rgba(244, 67, 54, 0.35);
    border-color: #f44336;
}

.ng-remove-recipient i {
    font-size: 16px;
}

/* Compose Status Messages */
.ng-compose-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 12px;
    text-align: center;
}

.ng-status-info {
    background: rgba(55, 168, 255, 0.15);
    border: 1px solid rgba(55, 168, 255, 0.3);
    color: #37a8ff;
}

.ng-status-success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.ng-status-error {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

/* Action Button Primary */
.ng-action-button.ng-primary {
    background: linear-gradient(135deg, rgba(55, 168, 255, 0.25), rgba(79, 195, 247, 0.15));
    border: 1px solid rgba(55, 168, 255, 0.5);
    color: #37a8ff;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ng-action-button.ng-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(55, 168, 255, 0.35), rgba(79, 195, 247, 0.25));
    box-shadow: 0 0 20px rgba(55, 168, 255, 0.3);
    transform: translateY(-1px);
}

.ng-action-button.ng-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Spin animation for loader - siehe animations.css */

/* === System Messages Dashboard Tile === */

.ng-grid-system {
    grid-area: system;
}

/* ==================== VEREINFACHTE Systemnachrichten ==================== */
.ng-system-msg-count {
    color: #6a7580;
    font-size: 10px;
    font-weight: 600;
    margin-left: 6px;
}

.ng-system-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: #5a6570;
    gap: 6px;
}

.ng-system-empty .ng-empty-icon {
    font-size: 24px;
    opacity: 0.4;
}

.ng-system-empty span:last-child {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ng-system-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 300px;
    overflow-y: auto;
}

.ng-system-list::-webkit-scrollbar { width: 4px; }
.ng-system-list::-webkit-scrollbar-track { background: transparent; }
.ng-system-list::-webkit-scrollbar-thumb { background: rgba(60, 70, 80, 0.4); border-radius: 2px; }

.ng-system-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(60, 70, 80, 0.2);
    border-radius: 0;
}
.ng-system-item:last-child { border-bottom: none; }

.ng-system-item:hover { background: rgba(60, 70, 80, 0.1); }

.ng-system-item.unread {
    background: transparent;
}

.ng-system-time {
    flex-shrink: 0;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 10px;
    color: #5a6570;
    white-space: nowrap;
    padding-top: 1px;
}

.ng-system-content {
    flex: 1;
    min-width: 0;
}

.ng-system-subject {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    color: #8a9299;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.ng-system-item.unread .ng-system-subject {
    color: #7fb0ab;
    font-weight: 600;
}

.ng-system-city {
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 10px;
    color: #6a7580;
}

/* System Badge - siehe animations.css für .ng-system-msg-unread-badge */

/* ==========================================================================
   HACKER TERMINAL CARD
   ========================================================================== */

/* ==================== VEREINFACHTES Hacker-Terminal ==================== */
.ng-hacker-terminal {
    font-family: 'Glass_TTY_VT220', 'Courier New', monospace;
    position: relative;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-terminal.ng-hacker-terminal {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.ng-hacker-terminal::before { display: none; }

.ng-hacker-title {
    color: #6a8060;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ng-hacker-title .ng-cityview-card-icon { color: #6a8060; }

.ng-hacker-prompt { color: #6a8060; font-weight: 600; }

/* Hacker Terminal Cursor - siehe animations.css */

.ng-hacker-body {
    min-height: 120px;
    overflow-y: visible;
    padding: 8px 0;
    position: relative;
    z-index: 2;
    background: rgba(10, 34, 18, 0.62);
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-terminal.ng-hacker-terminal .ng-hacker-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

body.ui-reboot.ng-shell .ng-dashboard-gridstack.grid-stack .ng-cityview-card.ng-grid-terminal.ng-hacker-terminal .ng-hacker-input-line {
    flex: 0 0 auto;
    background: rgba(10, 34, 18, 0.62);
}

.ng-hacker-body::-webkit-scrollbar { width: 4px; }
.ng-hacker-body::-webkit-scrollbar-track { background: transparent; }
.ng-hacker-body::-webkit-scrollbar-thumb { background: rgba(60, 70, 80, 0.4); border-radius: 2px; }

.ng-hacker-output {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ng-hacker-line {
    font-size: 10px;
    line-height: 1.5;
    color: #7fb0ab;
    word-break: break-word;
}

.ng-hacker-line.ng-hacker-boot { color: #5a6570; }
.ng-hacker-line.ng-hacker-system { color: #6080a0; }
.ng-hacker-line.ng-hacker-build { color: #a08060; }
.ng-hacker-line.ng-hacker-tech { color: #8060a0; }
.ng-hacker-line.ng-hacker-defense { color: #a06060; }
.ng-hacker-line.ng-hacker-plane { color: #608060; }
.ng-hacker-line.ng-hacker-login { color: #6090a0; font-style: italic; }
.ng-hacker-line.ng-hacker-combat { color: #a06060; font-weight: 600; }
.ng-hacker-line.ng-hacker-combat-warning { 
    color: #ef4444; 
    font-weight: 700; 
    animation: ngCombatWarningPulse 2s ease-in-out infinite;
    text-shadow: 0 0 4px rgba(239, 68, 68, 0.5);
}
.ng-hacker-line.ng-hacker-spy { color: #8070a0; }
.ng-hacker-line.ng-hacker-trade { color: #608060; }
.ng-hacker-line.ng-hacker-alliance { color: #a08060; }
.ng-hacker-line.ng-hacker-message { color: #6080a0; }
.ng-hacker-line.ng-hacker-error { color: #a05050; font-weight: 600; }

@keyframes ngCombatWarningPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Combat Reports Section im Flotten-Panel */
.ng-combat-reports-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ng-combat-report-item {
    padding: 6px 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 4px;
    animation: ngCombatReportPulse 2s ease-in-out infinite;
}

.ng-combat-report-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.2s ease;
}

.ng-combat-report-link:hover {
    color: #dc2626;
    text-decoration: underline;
}

.ng-combat-report-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: #7fb0ab;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

@keyframes ngCombatReportPulse {
    0%, 100% {
        background: rgba(239, 68, 68, 0.1);
        border-color: rgba(239, 68, 68, 0.3);
    }
    50% {
        background: rgba(239, 68, 68, 0.15);
        border-color: rgba(239, 68, 68, 0.5);
    }
}

/* Combat Report Modal */
.ng-combat-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 16, 18, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ng-combat-modal-backdrop.is-open {
    opacity: 1;
}

.ng-combat-modal-card {
    background: var(--color-panel, #0b1c1f);
    border: 1px solid var(--border-strong, rgba(31, 209, 195, 0.6));
    border-radius: 8px;
    box-shadow: var(--shadow-outer, 0 8px 20px rgba(0, 0, 0, 0.55)), 
                inset 0 0 0 1px rgba(31, 209, 195, 0.1);
    max-width: 90vw;
    max-height: 90vh;
    width: 1200px;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.ng-combat-modal-backdrop.is-open .ng-combat-modal-card {
    transform: scale(1);
}

.ng-combat-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-faint, rgba(31, 209, 195, 0.25));
    background: rgba(15, 43, 47, 0.5);
}

.ng-combat-modal-title {
    margin: 0;
    font-family: var(--font-display, 'Orbitron', monospace);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary, #7fb0ab);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ng-combat-modal-close {
    background: none;
    border: none;
    color: var(--text-muted, #7fb0ab);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ng-combat-modal-close:hover {
    color: var(--color-primary, #7fb0ab);
    transform: scale(1.1);
}

.ng-combat-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Scrollbar für Modal */
.ng-combat-modal-body::-webkit-scrollbar {
    width: 8px;
}

.ng-combat-modal-body::-webkit-scrollbar-track {
    background: rgba(15, 43, 47, 0.3);
    border-radius: 4px;
}

.ng-combat-modal-body::-webkit-scrollbar-thumb {
    background: var(--color-primary, #7fb0ab);
    border-radius: 4px;
    opacity: 0.5;
}

.ng-combat-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--border-strong, rgba(31, 209, 195, 0.8));
}

/* Combat Report Content Styling */
.ng-combat-report {
    color: var(--text-primary, #7fb0ab);
    font-family: var(--font-body, 'Rajdhani', sans-serif);
}

/* Top Meta Section */
.ng-report-top {
    margin-bottom: 24px;
}

.ng-report-meta {
    display: flex;
    gap: 24px;
    padding: 12px 16px;
    background: rgba(15, 43, 47, 0.4);
    border: 1px solid var(--border-faint, rgba(31, 209, 195, 0.25));
    border-radius: 6px;
    margin-bottom: 12px;
}

.ng-report-meta > div {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ng-header-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted, #7fb0ab);
    letter-spacing: 0.05em;
}

.ng-header-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #7fb0ab);
}

.ng-mission-attack {
    color: var(--color-danger, #ff5533);
    font-weight: 700;
}

.ng-mission-scan {
    color: var(--color-amber, #ffb347);
    font-weight: 700;
}

/* Flags */
.ng-report-flags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ng-flag {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ng-flag-protect {
    background: rgba(255, 179, 71, 0.15);
    color: var(--color-amber, #ffb347);
    border: 1px solid rgba(255, 179, 71, 0.3);
}

.ng-flag-shield {
    background: rgba(31, 209, 195, 0.15);
    color: var(--color-primary, #7fb0ab);
    border: 1px solid var(--border-faint, rgba(31, 209, 195, 0.25));
}

.ng-flag-colonize {
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-danger, #ff5533);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Error Section */
.ng-report-error {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    margin-bottom: 24px;
}

.ng-error-icon {
    font-size: 24px;
    color: var(--color-danger, #ff5533);
}

.ng-error-text {
    flex: 1;
    color: var(--color-danger, #ff5533);
    font-weight: 600;
}

/* Two Column Layout - Angreifer vs Verteidiger */
.ng-combat-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.ng-col {
    background: rgba(15, 43, 47, 0.3);
    border: 1px solid var(--border-faint, rgba(31, 209, 195, 0.25));
    border-radius: 8px;
    padding: 16px;
}

.ng-col-left {
    border-left: 3px solid var(--color-danger, #ff5533);
}

.ng-col-right {
    border-left: 3px solid var(--color-primary, #7fb0ab);
}

/* Player Header */
.ng-col-header {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-faint, rgba(31, 209, 195, 0.25));
}

.ng-player-avatar {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 2px solid var(--border-strong, rgba(31, 209, 195, 0.6));
    object-fit: cover;
}

.ng-player-meta {
    flex: 1;
}

.ng-player-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #7fb0ab);
    margin-bottom: 4px;
}

.ng-player-city {
    font-size: 12px;
    color: var(--text-muted, #7fb0ab);
    margin-bottom: 6px;
}

.ng-player-alliance {
    font-size: 11px;
    color: var(--text-muted, #7fb0ab);
}

.ng-chip-alliance {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(31, 209, 195, 0.15);
    border: 1px solid var(--border-faint, rgba(31, 209, 195, 0.25));
    border-radius: 4px;
    color: var(--color-primary, #7fb0ab);
    font-weight: 600;
}

/* Losses Section */
.ng-losses-col {
    margin-top: 12px;
}

.ng-losses-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary, #7fb0ab);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.ng-losses-empty {
    padding: 12px;
    text-align: center;
    color: var(--text-muted, #7fb0ab);
    font-style: italic;
    font-size: 12px;
}

.ng-losses-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ng-losses-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    background: rgba(6, 16, 18, 0.5);
    border: 1px solid rgba(31, 209, 195, 0.15);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.ng-losses-item:hover {
    background: rgba(15, 43, 47, 0.5);
    border-color: var(--border-faint, rgba(31, 209, 195, 0.25));
}

.ng-losses-icon-wrap {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 43, 47, 0.5);
    border-radius: 4px;
    border: 1px solid var(--border-faint, rgba(31, 209, 195, 0.25));
}

.ng-losses-icon {
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
}

.ng-losses-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #7fb0ab);
}

.ng-losses-values {
    font-size: 12px;
    color: var(--text-muted, #7fb0ab);
    font-family: var(--font-mono, monospace);
}

.ng-losses-values strong {
    color: var(--color-danger, #ff5533);
    font-weight: 700;
}

/* Resources Section */
.ng-report-resources {
    padding: 16px;
    background: rgba(15, 43, 47, 0.3);
    border: 1px solid var(--border-faint, rgba(31, 209, 195, 0.25));
    border-radius: 8px;
    margin-bottom: 24px;
}

.ng-resources-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary, #7fb0ab);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

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

.ng-resource-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: rgba(6, 16, 18, 0.5);
    border: 1px solid rgba(31, 209, 195, 0.15);
    border-radius: 6px;
}

.ng-resource-name {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted, #7fb0ab);
    letter-spacing: 0.03em;
}

.ng-resource-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary, #7fb0ab);
    font-family: var(--font-mono, monospace);
}

/* Actions Section */
.ng-report-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.ng-action-button {
    padding: 10px 20px;
    background: rgba(31, 209, 195, 0.1);
    border: 1px solid var(--border-strong, rgba(31, 209, 195, 0.6));
    border-radius: 6px;
    color: var(--color-primary, #7fb0ab);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body, 'Rajdhani', sans-serif);
}

.ng-action-button:hover {
    background: rgba(31, 209, 195, 0.2);
    box-shadow: 0 0 12px rgba(31, 209, 195, 0.3);
}

.ng-action-button.ng-danger {
    border-color: rgba(239, 68, 68, 0.6);
    color: var(--color-danger, #ff5533);
}

.ng-action-button.ng-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}

/* Utility */
.ng-mt-8 {
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .ng-combat-2col {
        grid-template-columns: 1fr;
    }
    
    .ng-report-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .ng-resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ng-hacker-input-line {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0 0;
    border-top: 1px solid rgba(60, 70, 80, 0.2);
    margin-top: 8px;
    position: relative;
    z-index: 2;
}

.ng-hacker-prompt-mini { color: #6a8060; font-weight: 600; font-size: 11px; }

.ng-hacker-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #7fb0ab;
    font-family: 'Glass_TTY_VT220', monospace;
    font-size: 10px;
    outline: none;
    cursor: pointer;
}

.ng-hacker-input::placeholder { color: #4a5560; }
.ng-hacker-input:focus { outline: none; }

.ng-log-time {
    color: #666;
    font-size: 10px;
    min-width: 70px;
    flex-shrink: 0;
    line-height: 1.3;
}

.ng-log-message {
    color: #ddd;
    flex: 1;
    padding-top: 1px;
}
