.drill-answer-text:is(#bb-drill-style, .drill-answer-text) {
  font-weight: 600;
  font-size: max(15px, 0.95rem);
}
.drill-question-number:is(#bb-drill-style, .drill-question-number) {
  color: var(--bb-kelly);
  font-weight: bold;
}
.drill-result:is(#bb-drill-style, .drill-result) {
  margin-bottom: 10px;
  font-weight: bold;
}
.drill-correct-answer:is(#bb-drill-style, .drill-correct-answer) {
  margin-bottom: 8px;
}
.drill-empty:is(#bb-drill-style, .drill-empty) {
  padding: 20px;
  text-align: center;
  color: var(--theme-component-muted-6);
}
.drill-feedback-correct:is(#bb-drill-style, .drill-feedback-correct) {
  color: var(--bb-kelly);
}
.drill-feedback-incorrect:is(#bb-drill-style, .drill-feedback-incorrect) {
  color: var(--bb-error);
}

/* Sticky progress strip (built by bb-drill-engine.js, shown once .stats-bar scrolls away) */
.drill-sticky {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 990;
  background: var(--theme-component-page-16);
  border-bottom: 1px solid var(--theme-component-primary-33);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.drill-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.drill-sticky__inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--theme-component-ink-15);
}
.drill-sticky__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.drill-sticky__label {
  color: var(--theme-component-muted-7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
}
.drill-sticky strong {
  color: var(--theme-component-ink-5);
  font-variant-numeric: tabular-nums;
}
.drill-sticky__item.bad strong { color: var(--bb-error, var(--theme-component-error-1)); }
.drill-sticky__diff { gap: 10px; }
.drill-sticky__diff strong { font-weight: 600; color: var(--theme-component-ink-15); }
.drill-sticky__timer { display: none; }
.cert-mode .drill-sticky__timer { display: inline-flex; }
.cert-mode .drill-sticky .cert-hide { display: none; }
.drill-sticky__top {
  background: transparent;
  border: 1px solid var(--theme-component-primary-34);
  color: var(--bb-kelly, var(--theme-component-primary-1));
  border-radius: 6px;
  width: 28px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.drill-sticky__top:hover,
.drill-sticky__top:focus-visible { background: var(--theme-component-primary-27); }
.drill-sticky__bar {
  height: 2px;
  background: var(--theme-component-ink-16);
}
.drill-sticky__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--bb-kelly, var(--theme-component-primary-1));
  transition: width 0.3s ease;
}
@media (max-width: 640px) {
  .drill-sticky__inner { gap: 4px 12px; font-size: 14px; padding: 6px 0; }
  .drill-sticky__label { font-size: 14px; }
  .drill-sticky__diff { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .drill-sticky, .drill-sticky__bar span { transition: none; }
}
