/* v1.0.53 Single Main Final Fix */

/* Gebäude: 6 Karten pro Ansicht, Seitenwechsel per Mausrad, ohne sichtbaren Scrollbalken und ohne Pfeile. */
body .nv-workspace-v0801:has(.buildings-page-v0823){
  overflow:hidden!important;
  padding:8px!important;
}
body .buildings-page-v0823{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:minmax(0,1fr) 246px!important;
  gap:8px!important;
}
body .buildings-six-panel-v1053{
  height:246px!important;
  min-height:246px!important;
  max-height:246px!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  gap:8px!important;
  padding:10px 12px!important;
}
body .buildings-six-head-v1053{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  margin:0!important;
}
body .buildings-six-head-v1053 span{
  letter-spacing:.22em!important;
  text-transform:uppercase!important;
  color:#9ddcff!important;
  font-size:.72rem!important;
}
body .buildings-six-head-v1053 small{color:var(--muted)!important;}
body .building-strip-controls-v1052{display:none!important;}
body .building-six-grid-v1053{
  min-width:0!important;
  min-height:0!important;
  height:100%!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(82px,1fr))!important;
  gap:8px!important;
  overflow:hidden!important;
  scrollbar-width:none!important;
}
body .building-six-grid-v1053::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}
body .building-six-grid-v1053 .building-thumb-card-v0712,
body .building-six-grid-v1053 .salvage-select-card-v113{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:100%!important;
  min-height:82px!important;
  max-height:96px!important;
  display:grid!important;
  grid-template-columns:86px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  padding:8px 10px!important;
  overflow:hidden!important;
}
body .building-six-grid-v1053 .building-thumb-card-v0712 img,
body .building-six-grid-v1053 .salvage-select-card-v113 img{
  width:86px!important;
  height:62px!important;
  border-radius:12px!important;
  object-fit:cover!important;
}
body .building-six-grid-v1053 .building-thumb-card-v0712 div,
body .building-six-grid-v1053 .salvage-select-card-v113 div{min-width:0!important;overflow:hidden!important;}
body .building-six-grid-v1053 .building-thumb-card-v0712 b,
body .building-six-grid-v1053 .building-thumb-card-v0712 small,
body .building-six-grid-v1053 .building-thumb-card-v0712 em,
body .building-six-grid-v1053 .salvage-select-card-v113 b,
body .building-six-grid-v1053 .salvage-select-card-v113 small,
body .building-six-grid-v1053 .salvage-select-card-v113 em{
  display:block!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body .building-card-strip-v1052,
body .building-card-grid-v1046,
body .building-card-pager-v1046{
  overflow:hidden!important;
  scrollbar-width:none!important;
}
body .building-card-strip-v1052::-webkit-scrollbar,
body .building-card-grid-v1046::-webkit-scrollbar,
body .building-card-pager-v1046::-webkit-scrollbar{display:none!important;}

/* Systemübersicht: weniger Fake-Stadt-Optik, klare Kolonie-Zone. */
body .systems-colony-inline-v1053{
  border-color:rgba(112,227,255,.14)!important;
  background:rgba(5,13,28,.62)!important;
}
body .system-planet-card-v0736 .city-site-mini-v0756:empty{display:none!important;}
body .system-planet-card-v0736:not(.colonized) .city-site-mini-v0756{display:none!important;}

/* Energie-Chip: stabiler Livewert, kein optisches Null-Flackern. */
body .nv-resource-chip-v0801.pos strong{color:#dcfff1!important;}
