
/* ===== V4.02 final resource-card ownership ===== */

/* Harz: explicit DOM structure instead of styling a loose text node. */
header .resource-stats .v279-harz-card{
  min-height:154px!important;
  padding:15px 12px 14px 70px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
}
header .resource-stats .v279-harz-card .v279-resource-label{
  color:#8fd798;
  font-size:9px;
  line-height:1;
  letter-spacing:.13em;
  font-weight:800;
}
header .resource-stats .v279-harz-card .v279-resource-value{
  margin-top:7px;
  font-size:27px;
  line-height:1;
  font-weight:1000;
  color:#82e88c;
  text-shadow:0 0 12px rgba(75,217,92,.72);
}
header .resource-stats .v279-harz-card .v279-resource-sub{
  margin-top:10px;
  color:#829184;
  font-size:7px;
  line-height:1.3;
  letter-spacing:.04em;
  text-transform:none;
}
header .resource-stats .v279-harz-card:before,
header .resource-stats .v279-harz-card:after{
  left:11px!important;
  top:50%!important;
  width:47px!important;
  height:47px!important;
}
header .resource-stats .v279-harz-card:after{
  content:"💎"!important;
  font-size:24px!important;
}

/* Dampf: exactly one event badge, owned by #v271DampfInfo. */
header .resource-stats .v277-dampf-card .v277-dampf-event-chip{
  display:none!important;
}
header .resource-stats #v271DampfInfo{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
  margin-top:8px;
  width:100%;
  color:#829184;
  font-size:7px;
  letter-spacing:.04em;
  text-transform:none;
}
header .resource-stats #v271DampfInfo > span:first-child{
  color:#829184;
}
header .resource-stats #v271DampfEventBadge{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid #408b98;
  background:#102328;
  color:#b9f4ff;
  font-size:8px;
  line-height:1;
  font-weight:1000;
  text-shadow:0 0 7px #63d9ec;
  box-shadow:0 0 12px rgba(81,210,234,.16);
  white-space:nowrap;
}
