  .drill { max-width: 680px; margin: 24px auto 64px; }
  .tab-pane .drill { margin-top: 0; }
  .drill-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
  .drill-head h1 { font-size: 28px; font-weight: 600; margin: 0; }
  .drill-sub { color: #666; margin: 6px 0 20px; }
  .drill-stats { display: flex; gap: 18px; font-size: 14px; color: #666; font-variant-numeric: tabular-nums; }
  .drill-stats b { color: #000; font-weight: 600; }
  .clock { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; margin-bottom: 18px; }
  .clock > div { height: 100%; width: 100%; background: #000; transition: width .25s linear, background .25s; }
  .clock.low > div { background: #c0392b; }
  .dcard { border: 1px solid #000; border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
  .dcard.shake { animation: shake .35s; }
  @keyframes shake { 20%,60% { transform: translateX(-6px) } 40%,80% { transform: translateX(6px) } }
  @media (prefers-reduced-motion: reduce) { .dcard.shake { animation: none; } .clock > div { transition: none; } }
  .badge-row { display: flex; gap: 8px; flex-wrap: wrap; min-height: 22px; }
  .pill { font-size: 12px; padding: 2px 8px; border-radius: 10px; border: 1px solid #ccc; color: #444; }
  .pill.hot { border-color: #c0392b; color: #c0392b; }
  .dq { font-size: 21px; font-weight: 500; line-height: 1.4; }
  #drill-answer { width: 100%; min-height: 96px; border: 1px solid #ccc; border-radius: 6px; padding: 12px; font: inherit; resize: vertical; }
  #drill-answer:focus { outline: 2px solid #000; border-color: #000; }
  .drill-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
  .hint { font-size: 13px; color: #888; }
  .btn-drill { background: #000; color: #fff; border: 0; border-radius: 6px; padding: 10px 20px; font-weight: 500; }
  .btn-drill:disabled { opacity: .5; }
  .btn-ghost { background: none; border: 1px solid #ccc; border-radius: 6px; padding: 10px 16px; color: #444; }
  .verdict { border-radius: 6px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
  .verdict.correct { background: #e8f5ee; color: #155d38; }
  .verdict.partial { background: #fff5e0; color: #7a5200; }
  .verdict.wrong { background: #fdecea; color: #8e2318; }
  .verdict .v-title { font-weight: 600; font-size: 17px; }
  .ref { border-left: 3px solid #000; padding-left: 12px; }
  .ref small { display: block; color: #888; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; margin-bottom: 2px; }
  .meta { font-size: 12px; color: #888; font-variant-numeric: tabular-nums; }
  .summary { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; padding: 32px 0; }
  .summary .big { font-size: 44px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .summary ul { text-align: left; color: #444; }
