/* notices/notices.css - schlicht, fest oben, volle Breite */
#hb-notice-bar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10050;
  background: #111;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}
#hb-notice-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 18px;
}
#hb-notice-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
#hb-notice-headline{
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .2px;
}
#hb-notice-subline{
  font-size: 12px;
  color: rgba(255,255,255,.84);
  margin-top: 2px;
}
#hb-notice-controls{
  display:flex;
  align-items:center;
  gap: 8px;
}
.hb-notice-btn{
  appearance:none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 12px;
  cursor: pointer;
}
.hb-notice-btn.primary{
  background: #fff;
  color: #111;
  border-color: #fff;
}
#hb-notice-list{
  margin-top: 10px;
  display:grid;
  gap: 8px;
}
.hb-notice-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 10px 9px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.hb-notice-item[data-level="info"]{ border-left: 6px solid rgba(255,255,255,.55); }
.hb-notice-item[data-level="warning"]{ border-left: 6px solid #f59e0b; }
.hb-notice-item[data-level="danger"]{ border-left: 6px solid #ef4444; }

.hb-notice-title{
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 4px 0;
}
.hb-notice-msg{
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
  color: rgba(255,255,255,.92);
}
.hb-notice-actions{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: nowrap;
}
.hb-notice-link{
  font-size: 12px;
  color: rgba(255,255,255,.90);
  text-decoration: underline;
  white-space: nowrap;
}
#hb-notice-bar.min #hb-notice-list{ display:none; }
#hb-notice-bar.min #hb-notice-inner{ padding: 8px 18px; }

@media (max-width: 640px){
  #hb-notice-inner{ padding: 10px 12px; }
  #hb-notice-bar.min #hb-notice-inner{ padding: 8px 12px; }
  .hb-notice-actions{ gap: 8px; }
  .hb-notice-link{ max-width: 40vw; overflow:hidden; text-overflow:ellipsis; }
}
