
.today.drillcard { border-color: var(--orange); background: linear-gradient(135deg, rgba(255, 138, 31, .14), transparent 70%), var(--card); }

.drillpage h2 { margin: 6px 0 0; }
.dhost .bubble { flex: 1; }
.drillgo { display: flex; align-items: center; justify-content: center; gap: 10px; }
.drillgo .ic { --icon-accent: var(--teal); }
.dnow { margin: 4px 0 0; }

.dtafel { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 3px; font-variant-numeric: tabular-nums; }
.dtafel__head, .dtafel__corner { display: grid; place-items: center; aspect-ratio: 1; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--muted); }
.dtafel__head.is-row { color: var(--orange-ink); text-decoration: underline 2px; text-underline-offset: 3px; }
.dtafel__cell { display: grid; place-items: center; aspect-ratio: 1; border-radius: 7px; background: var(--line); color: var(--muted);
  font-size: 12px; font-weight: 700; line-height: 1; }
.dtafel__cell.is-seen { background: var(--orange-soft); color: var(--orange-ink); box-shadow: inset 0 0 0 2px var(--orange); }
.dtafel__cell.is-sits { background: var(--gold); color: var(--edge); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.dtafel--small { max-width: 260px; margin: 0 auto; }
.dlegend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 10px; color: var(--muted); }
.dlegend span { display: inline-flex; align-items: center; gap: 6px; }
.dlegend .dtafel__cell { width: 16px; border-radius: 5px; }

.dblitz { display: flex; align-items: center; gap: 12px; }
.dblitz .grow { flex: 1; min-width: 0; }
.dblitz p { margin: 2px 0 0; }

.dskills { display: grid; gap: 0; padding: 4px 14px; }
.dskill { display: grid; gap: 6px; padding: 12px 0; border-bottom: 2px solid var(--line); }
.dskill:last-child { border-bottom: 0; }
.dskill__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.dskill__head b { font-family: var(--display); font-weight: 600; font-size: 18px; }
.dskill .tag { border-radius: 999px; padding: 1px 10px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; font-size: 13px; }
.dskill__now { border-radius: 999px; padding: 1px 10px; background: var(--orange); color: #fff; font-weight: 800; font-size: 12px; }
.dskill__due { margin-left: auto; color: var(--orange-ink); font-weight: 800; font-size: 13px; }
.dskill__bar { display: flex; height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.dskill__bar .is-sits { background: var(--gold); }
.dskill__bar .is-seen { background: var(--orange); opacity: .55; }
.dskill__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dskill.is-locked { opacity: .65; }
.dskill.is-now .dskill__bar { box-shadow: 0 0 0 2px var(--orange-soft); }

.dhelp { display: grid; gap: 8px; margin-top: 10px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 16px; background: var(--card); text-align: left; }
.dhelp__host, .dhelp__rhyme { display: flex; align-items: center; gap: 10px; }
.dhelp__host svg, .dhelp__rhyme svg { flex: none; }
.dhelp__host span { font-weight: 700; }
.dhelp__fact { font-family: var(--display); font-weight: 600; font-size: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.dhelp__steps { margin: 0; padding-left: 22px; display: grid; gap: 3px; font-variant-numeric: tabular-nums; }
.dhelp__steps li::marker { color: var(--orange-ink); font-weight: 800; }
.dhelp__more { justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: var(--teal-dark); }
.dhelp__rhyme { padding: 10px 12px; border-radius: 14px; background: var(--teal-soft); }
.dhelp__rhyme span { font-style: italic; }
.dhelp__rhyme b { font-style: normal; display: block; color: var(--teal-dark); font-size: 13px; }

.ddots { display: grid; gap: 4px; justify-content: center; padding: 6px 0; }
.ddots__row { display: flex; gap: 4px; }
.ddots i { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); }
.ddots i.is-rest { background: var(--teal); }
.ddots__gap { width: 8px; }

.dsits { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 14px; border-radius: 14px; background: var(--gold); color: var(--edge); font-weight: 800; text-align: left; }

@media (prefers-color-scheme: dark) {
  .dtafel__cell { background: #2f241c; }
  .dtafel__cell.is-seen { background: var(--orange-soft); color: #ffc58f; }
  .dtafel__cell.is-sits { color: #2a1a0e; }
  .dtafel__head.is-row { color: #ffb066; }
  .dskill__due { color: #ffb066; }
  .dhelp__steps li::marker { color: #ffb066; }
  .dsits { color: #2a1a0e; }
}

.dsay { margin: 0 auto; max-width: 420px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 16px; background: var(--card); font-weight: 700; }
.kdrill .dskills { padding: 4px 0; margin-top: 8px; }
.dhelp__more[hidden], .dhelp__dots[hidden] { display: none; }
