.nv-article .hit-example {
  width: min(100%, var(--nv-reading-width));
  margin: 0 auto 2.5rem;
  padding: clamp(.875rem, 3vw, 2rem);
  border: 1px solid var(--nv-line);
  border-radius: 1rem;
  background: var(--nv-paper);
}

.nv-article .hit-example h2 {
  margin: 0 0 .65rem;
  padding: 0;
  border: 0;
}

.nv-article .hit-example .draw-example {
  width: 100%;
  margin-block: 1.2rem 0;
  border-collapse: collapse;
}

.hit-example .draw-example th:first-child { width: 23%; }
.hit-example .draw-example th:last-child { width: 22%; }
.hit-example .draw-example thead th { white-space: nowrap; }

.hit-example .hit-balls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem;
}

.hit-example .hit-ball,
.hit-example select {
  min-width: 2.1rem;
  color: var(--nv-ink);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

.hit-example .hit-ball {
  display: inline-grid;
  place-items: center;
  min-height: 2.1rem;
  border-radius: 50%;
  background: var(--nv-tint);
}

.hit-example .hit-stars .hit-ball { background: var(--nv-violet-tint); }

.hit-example select {
  min-height: 2.75rem;
  padding: .25rem .35rem;
  border: 2px solid var(--nv-blue);
  border-radius: .55rem;
  background: white;
  cursor: pointer;
}

.nv-article .hit-example .hit-result {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .8rem;
  margin: .9rem 0 0;
  padding: .65rem .85rem;
  border-inline-start: 3px solid #178780;
  border-radius: .2rem .55rem .55rem .2rem;
  background: var(--nv-aqua-tint);
  color: var(--nv-ink);
}

@media (max-width: 32rem) {
  .nv-article .hit-example .draw-example :is(th, td) { padding: .45rem .28rem; }
  .hit-example .draw-example th:first-child { width: 26%; }
  .hit-example .draw-example th:last-child { width: 22%; }
  .hit-example .hit-balls { gap: .2rem; }
  .hit-example .hit-ball { min-width: 1.65rem; min-height: 1.65rem; }
}

.hit-example:not(.hit-ready) .hit-interactive,
.hit-example.hit-ready .hit-static { display: none; }
.nv-article .hit-example .draw-example { table-layout: fixed; }
.nv-article .hit-example .draw-example th { white-space: normal; overflow-wrap: anywhere; }
.hit-example .hit-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  margin-top: 1.15rem; border-top: 1px solid var(--nv-line); padding-top: 1.1rem;
}
.nv-article .hit-actions .article-tool-entry { margin: 0; display: grid; justify-items: start; gap: .3rem; }
.hit-actions .hit-plans { flex: 1 1 16rem; }
.nv-article .hit-plans p { margin: 0 0 .2rem; }
.nv-article .hit-plans a { display: inline-block; padding-block: .35rem; font-weight: 650; text-decoration: underline; }
.nv-article .hit-actions a:focus-visible { outline: 2px solid var(--nv-blue); outline-offset: 3px; }
