/* ED28 V2 Stage 2C -- Draw (/live) page composition.
   Same posture as home.css (Stage 2B): every color/spacing/radius value
   below is a Frontend Foundation token, this file only arranges Foundation
   primitives into this page's unique sections. Class names are draw-*
   prefixed (home.css's own header comment documents this as the
   sanctioned pattern -- page-level CSS lives in the page's own file, not
   frontend/components/) -- home.css itself is Stage 2B-frozen and is not
   touched here, so the visually-equivalent .home-stat-row/.home-ball
   rules are intentionally duplicated below under draw-* names rather than
   shared, exactly as the convention prescribes. */

.draw-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-5);
  align-items: start;
}
@media (max-width: 900px) {
  .draw-hero { grid-template-columns: 1fr; }
}
.draw-hero > * { min-width: 0; }
.draw-hero-main { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }

.status-strip { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }

.draw-countdown-value {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.draw-balls {
  display: flex;
  gap: var(--space-3);
  margin: var(--space-4) 0;
}
.draw-ball {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  font-size: var(--text-md);
  color: #fff;
  flex-shrink: 0;
}
.draw-ball-a { background: var(--data-tiger); }
.draw-ball-b { background: var(--data-odd); }
.draw-ball-c { background: var(--data-even); }
.draw-total {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--brand-400);
}

.draw-recent-panel { min-width: 0; }

.draw-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}
@media (max-width: 480px) {
  .draw-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.draw-stat-cell {
  padding: var(--space-4);
  text-align: center;
}
.draw-stat-cell .value {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
}
.draw-stat-cell .label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: 4px;
}

.draw-trend-svg { width: 100%; height: 120px; display: block; }
.draw-trend-svg polyline { fill: none; stroke: var(--brand-400); stroke-width: 2; }
