#bn_root {
  width: 1024px;
  height: 768px;
  background: #0d0d1a;
  font-family: -apple-system, Segoe UI, sans-serif;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#bn_hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  background: #111128;
  border-bottom: 1px solid #22224a;
  flex-shrink: 0;
}

#bn_htitle {
  font-size: 15px;
  font-weight: 600;
  color: #e0e0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

#bn_hmeta {
  font-size: 12px;
  color: #7777aa;
  display: flex;
  gap: 14px;
  align-items: center;
}

#bn_sbadge {
  background: #1a3a1a;
  color: #6ab04c;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 12px;
}

#bn_ebadge {
  background: #1a1a3a;
  color: #7777cc;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 12px;
}

#bn_scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 14px 14px;
  scrollbar-width: thin;
  scrollbar-color: #2a2a5a #0d0d1a;
}

#bn_scroll::-webkit-scrollbar {
  width: 6px;
}

#bn_scroll::-webkit-scrollbar-track {
  background: #0d0d1a;
}

#bn_scroll::-webkit-scrollbar-thumb {
  background: #2a2a5a;
  border-radius: 3px;
}

#bn_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.bn_card {
  background: #13132a;
  border: 1px solid #22224a;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Bildwrapper: padding-top Trick fuer 4:3 (320x240) */
.bn_iw {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%;
  background: #0a0a1a;
  overflow: hidden;
  flex-shrink: 0;
}

.bn_iw img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bn_noimg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #2a2a4a;
}

.bn_conf {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(0,0,0,0.75);
  color: #6ab04c;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.bn_evts {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(10,10,40,0.85);
  color: #9999cc;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.bn_cam {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 6px 4px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  font-size: 10px;
  color: #9999bb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bn_info {
  padding: 5px 7px 6px;
  background: #111128;
  flex-shrink: 0;
}

.bn_name {
  font-size: 12px;
  font-weight: 600;
  color: #dde0f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.bn_tm {
  font-size: 10px;
  color: #5a9a3a;
  margin-top: 2px;
}

#bn_statebox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 12px;
  color: #7777aa;
  font-size: 13px;
  grid-column: 1 / -1;
}

.bn_spin {
  width: 30px;
  height: 30px;
  border: 2px solid #22224a;
  border-top-color: #6ab04c;
  border-radius: 50%;
  animation: bn_spin 0.8s linear infinite;
}

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

#bn_foot {
  padding: 4px 14px;
  background: #0d0d1a;
  border-top: 1px solid #22224a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

#bn_ep {
  font-size: 10px;
  color: #2a2a44;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 620px;
  white-space: nowrap;
}

#bn_upd {
  font-size: 10px;
  color: #444466;
}

#bn_rbtn {
  background: #111128;
  border: 1px solid #22224a;
  border-radius: 5px;
  padding: 2px 10px;
  font-size: 11px;
  color: #7777aa;
  cursor: pointer;
  flex-shrink: 0;
}