.hb-board {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.hb-board > *, .hb-cards > * { min-width: 0; }
.hb-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.hb-heading .hx-title { margin: 0; }
.hb-index, .hb-all { color: var(--d2-text); font-size: 13px; font-weight: 700; text-decoration: none; }
.hb-index span, .hb-all span { color: var(--hud-accent); }
.hb-index:hover, .hb-all:hover { color: var(--hud-accent); }
.hb-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hb-record {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 118px;
  padding: 13px 15px 12px;
  border: 1px solid var(--d2-line);
  border-left: 3px solid var(--hb-accent);
  border-radius: 8px;
  background: var(--d2-panel);
  color: var(--d2-text);
  text-decoration: none;
  transition: border-color .18s;
}
a.hb-record:hover { border-color: var(--hb-accent); }
.hb-kills { --hb-accent: var(--palette-red); }
.hb-gpm { --hb-accent: var(--d2-gold, #eac67c); }
.hb-lastHits { --hb-accent: var(--palette-mint); }
.hb-heroDamage { --hb-accent: var(--palette-cyan); }
.hb-art { position: absolute; top: 0; right: 0; height: 100%; width: 75%; object-fit: cover; object-position: 60% 25%; z-index: -2; opacity: .66; }
.hb-record::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--d2-panel) 15%, transparent 110%), linear-gradient(0deg, var(--d2-panel), transparent 70%);
}
.hb-label, .hb-byline { display: flex; align-items: center; gap: 7px; color: var(--d2-text); }
.hb-label { font-size: 12px; font-weight: 700; }
.hb-cup { flex: none; width: 16px; height: 16px; color: var(--hb-accent); }
.hb-value { display: block; margin: 5px 0 6px; font-size: clamp(23px, 2.1vw, 31px); line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.hb-value small { margin-left: 2px; font-size: 11px; font-weight: 700; letter-spacing: .03em; color: var(--d2-muted); }
.hb-byline { justify-content: space-between; flex-wrap: wrap; font-size: 12px; font-weight: 650; line-height: 1.25; }
.hb-match { color: var(--d2-muted); font-size: 11px; font-weight: 550; }
.hb-record:hover .hb-match { color: var(--hb-accent); }
.hb-section :is(a, summary):focus-visible { outline: 2px solid var(--hud-accent); outline-offset: 3px; }
.hb-period { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; padding-top: 9px; color: var(--d2-muted); font-size: 11px; }
.hb-period details { max-width: 100%; }
.hb-period summary { cursor: pointer; }
.hb-period p { margin: 5px 0; max-width: 64ch; }
.hb-broadcast { overflow: hidden; border: 1px solid var(--d2-line); border-radius: 8px; background: var(--d2-panel); }
.hb-game { padding: 17px 18px 12px; min-height: 199px; }
.hb-status, .hb-adv, .hb-split, .hb-all { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hb-status { flex-wrap: wrap; margin-bottom: 12px; color: var(--d2-muted); font-size: 12px; }
.hb-status b { color: var(--d2-text); font-variant-numeric: tabular-nums; }
.hb-live { display: inline-flex; align-items: center; gap: 7px; color: var(--d2-text); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; text-decoration: none; }
.hb-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff6e73; animation: hb-pulse 2.1s ease-out infinite; }
@keyframes hb-pulse { 0% { box-shadow: 0 0 0 0 #ff6e7377; } 85%,100% { box-shadow: 0 0 0 5px #ff6e7300; } }
.hb-teams { display: grid; gap: 6px; }
.hb-team { display: grid; grid-template-columns: 40px 29px minmax(0, 1fr); align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.hb-radiant { color: var(--palette-mint); }
.hb-dire { color: var(--palette-red); }
.hb-team strong { font-size: 19px; line-height: 1; font-variant-numeric: tabular-nums; }
.hb-picks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.hb-picks img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; border-radius: 3px; background: var(--d2-panel-2); }
.hb-economy { margin-top: 13px; }
.hb-adv { color: var(--d2-muted); font-size: 11px; }
.hb-adv strong { font-size: 12px; color: var(--d2-text); }
.hb-meter { height: 5px; overflow: hidden; margin: 6px 0 4px; background: var(--palette-red); border-radius: 4px; }
.hb-meter i { display: block; height: 100%; background: var(--palette-mint); }
.hb-split { font-size: 10px; color: var(--d2-muted); }
.hb-all { min-height: 43px; padding: 9px 18px; border-top: 1px solid var(--d2-line); }
.hb-all span { font-size: 17px; }
.hb-game:has(> .hb-message) { min-height: 0; }
.hb-message { margin: 0; color: var(--d2-muted); font-size: 13px; }
@media (max-width: 900px) {
  .hb-board { grid-template-columns: minmax(0, 1fr); }
  .hb-air .hb-game { min-height: initial; }
  .hb-team { grid-template-columns: 55px 38px minmax(0, 300px); }
}
@media (max-width: 520px) {
  .hb-record { min-height: 121px; padding: 10px; }
  .hb-cards { gap: 7px; }
  .hb-label { gap: 4px; font-size: 11px; }
  .hb-value { font-size: 24px; }
  .hb-byline { gap: 3px 6px; font-size: 11px; }
  .hb-match { font-size: 10px; }
  .hb-team { grid-template-columns: 38px 24px minmax(0, 1fr); }
  .hb-game { padding: 14px; }
}
@media (max-width: 335px) { .hb-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hb-live i { animation: none; } .hb-record { transition: none; } }

.hb-pending { justify-content:center; gap:6px; padding-right:66px; background:linear-gradient(120deg,var(--d2-panel) 55%,color-mix(in srgb,var(--hb-accent) 8%,var(--d2-panel))) }
.hb-pending::after { display:none }
.hb-pending h3 { margin:0; color:var(--d2-text); font:inherit; font-size:16px; font-weight:750; line-height:1.2 }
.hb-pending p { margin:0; color:var(--d2-muted); max-width:36ch; font-size:12px; line-height:1.4 }
.hb-symbol { position:absolute; right:14px; top:50%; transform:translateY(-50%); width:39px; height:39px; color:var(--hb-accent); opacity:.75 }
.hb-collect { display:inline-flex; align-items:center; gap:6px }
.hb-collect::before { content:''; width:6px; height:6px; background:var(--d2-gold,#eac67c); border-radius:50% }
@media(max-width:650px) {
  .hb-pending { justify-content:flex-start; padding:12px; gap:5px }
  .hb-symbol { position:static; transform:none; width:20px; height:20px; margin-bottom:2px }
  .hb-pending h3 { font-size:14px }
}
