.bonus-grants {
  width: 100%; max-width: 760px; margin-inline: auto; display: grid; gap: 20px;
  color: #fafafa; font-variant-numeric: tabular-nums;
}
.bg-header, .bg-detail { display: flex; align-items: center; gap: 12px; }
.bg-header h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -.04em; }
.bg-header p, .bg-empty p { margin: 5px 0 0; color: #afacb8; font-size: .9rem; }
.bg-back {
  width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid #ffffff24;
  color: inherit; background: #1b1b20; font-size: 28px; line-height: 1;
}
.bg-card {
  --bg-tone: #7a45fd; --bg-bar: #8b7bc0; --bg-surface: #120e1e; --bg-ink: #c5b4ff;
  border: 1px solid color-mix(in srgb, var(--bg-tone) 37%, transparent); border-radius: 16px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--bg-tone) 11%, transparent), transparent 60%), var(--bg-surface);
  display: grid; gap: 12px; padding: 16px; min-width: 0;
}
.bg-card[data-tone=soon] { --bg-tone: #ff5257; --bg-bar: #ff8a6b; --bg-surface: #1c0d11; --bg-ink: #ffa5a7; }
.bg-hero {
  padding: 20px; border-radius: 20px;
  background: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--bg-tone) 30%, transparent)), var(--bg-surface);
}
.bg-hero h2 { font-size: .8rem; color: #e0dce6; margin: 0; }
.bg-total { font-size: clamp(32px, 7vw, 44px); line-height: 1.1; letter-spacing: -.045em; }
.bg-section { display: grid; gap: 8px; }
.bg-section > h2 { margin: 0 0 4px; font-size: 1.05rem; }
.bg-card h3 { margin: 0; font-size: 1.12rem; }
.bg-card small { font-size: .78rem; color: #b3afbd; font-weight: 500; }
.bg-detail { justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; color: #bcb7c7; font-size: .8rem; }
.bg-detail h3 { color: #fafafa; overflow-wrap: anywhere; }
.bg-chip { color: var(--bg-ink); border: 1px solid color-mix(in srgb, var(--bg-tone) 30%, transparent); border-radius: 99px; padding: 4px 9px; }
.bg-progress, .bg-segments { display: flex; width: 100%; height: 6px; border: 0; border-radius: 8px; background: #ffffff18; overflow: hidden; }
.bg-progress { appearance: none; display: block; accent-color: var(--bg-bar); }
.bg-progress::-webkit-progress-bar { background: transparent; }
.bg-progress::-webkit-progress-value { background: linear-gradient(90deg, var(--bg-tone), var(--bg-bar)); border-radius: inherit; }
.bg-progress::-moz-progress-bar { background: var(--bg-bar); }
.bg-segments > [data-tone=soon] { background: #ff5257; }
.bg-segments > [data-tone=later] { background: #7a45fd; }
.bg-unlock { margin: 0; font-size: .8rem; color: #c5b4ff; }
.bg-empty { padding: 28px 16px; border: 1px solid #ffffff18; border-radius: 16px; background: #1b1b20; text-align: center; }
.bg-empty h2 { font-size: 1.05rem; margin: 12px 0 0; }
.bg-clock { display: inline-block; position: relative; width: 24px; height: 24px; border: 2px solid #aaa7b4; border-radius: 50%; }
.bg-clock::after { content: ''; position: absolute; width: 6px; height: 7px; left: 9px; top: 4px; border-left: 2px solid #aaa7b4; border-bottom: 2px solid #aaa7b4; }
.bg-terms { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; color: #cab7ff; text-decoration: underline; font-size: .85rem; }
