.hb-src,
.dh-terms dd.hb-src,
.hb-fix,
.dh-terms dd.hb-fix {
  margin-block-start: var(--dh-gap-caption);
  color: hsl(var(--muted-foreground));
  font-size: var(--dh-fs-cap);
  line-height: 18px;
}
.ar-head .hb-src,
.ar-head .hb-fix {
  max-width: var(--dh-measure);
}
.dh-terms dt[id],
.ar-sec > div[id],
.rc-filter[id],
.ar-count[id] {
  scroll-margin-block-start: 16px;
}
.rc-filter > .ar-filter {
  margin-block: 12px;
}
@media (max-width: 640px), (pointer: coarse) {
  .rc-filter > .ar-filter + .ar-filter {
    margin-block-start: calc(var(--dh-tap) - var(--dh-pill, 24px));
  }
}
.rc-wide .ar-sec > div:not(.dh-list-wrap) > :not(.dh-list-wrap) {
  max-width: var(--dh-measure);
}
.ar-body > .dh-note {
  margin-block-end: var(--dh-gap-section);
}
.dh-list.hb-rank tbody td:last-child {
  color: hsl(var(--foreground));
  font-weight: 500;
}
@media (min-width: 641px) {
  .dh-list.hb-rank thead th {
    white-space: normal;
    vertical-align: bottom;
  }
  .dh-list.hb-rank tbody th[scope="row"] {
    white-space: nowrap;
  }
}
.dh-list.hb-rank thead th:nth-child(2),
.dh-list.hb-rank tbody th[scope="row"] {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background-color: hsl(var(--background));
}
.dh-list.hb-rank tbody th[scope="row"] {
  transition: background-color var(--dh-dur) var(--dh-ease);
}
.dh-list.hb-rank tbody tr:target th[scope="row"] {
  background-color: hsl(var(--muted));
}
.dh-list.hb-rank tbody tr:has(:focus-visible) th[scope="row"] {
  background-color: hsl(var(--muted));
}
@media (hover: hover) {
  .dh-list.hb-rank tbody tr:hover th[scope="row"] {
    background-color: hsl(var(--muted));
  }
}
.rc-records[id^="rank-"] > .dh-list-wrap {
  scroll-padding-inline-start: 13em;
  scroll-padding-inline-end: 3em;
}
@media (min-width: 641px) {
  .rc-records[id^="rank-"] > .dh-list-wrap {
    scroll-padding-inline-start: 20em;
  }
}
:root .dh-list.hb-rank tbody th a,
:root .dh-list.hb-rank tbody td > a {
  text-decoration-color: transparent;
}
:root .dh-list.hb-rank tbody th a:focus-visible,
:root .dh-list.hb-rank tbody td > a:focus-visible {
  text-decoration-color: currentColor;
}
@media (hover: hover) {
  :root .dh-list.hb-rank tbody tr:hover th a,
  :root .dh-list.hb-rank tbody td > a:hover {
    text-decoration-color: currentColor;
  }
}
@media (hover: none) {
  :root .dh-list.hb-rank tbody th a,
  :root .dh-list.hb-rank tbody td > a {
    text-decoration-color: hsl(var(--input));
  }
}
.hb-part {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: hsl(var(--muted-foreground));
  font-size: var(--dh-fs-cap);
  font-weight: 400;
  white-space: nowrap;
}
@media print {
  .hb-src a::after,
  .hb-fix a::after {
    content: " <" attr(href) ">";
    unicode-bidi: isolate;
    direction: ltr;
    overflow-wrap: anywhere;
  }
  .ar-hub .dh-terms dt {
    break-after: avoid;
  }
  .ar-hub .dh-terms dd {
    break-before: avoid;
    break-inside: avoid;
    orphans: 20;
    widows: 20;
  }
  .ar-hub .ar-sec > .ar-stage-d {
    break-after: avoid;
  }
  .ar-hub .ar-steps > li,
  .ar-hub .ar-list > li {
    break-inside: avoid;
  }
}
.dh-list.hb-rank .hb-fig {
  padding-inline-end: 0;
}
.dh-list.hb-rank .hb-cite {
  width: 1px;
  padding-inline-start: 0;
  white-space: nowrap;
}
.dh-list.hb-rank .hb-cite > .ar-ref + .ar-ref {
  margin-inline-start: 0;
}
.dh-list.hb-rank thead th:first-child {
  width: 1px;
}
.dh-list.hb-rank tbody td,
.dh-list.hb-rank tbody th {
  vertical-align: baseline;
}
@media (max-width: 640px) {
  .hb-part {
    vertical-align: top;
  }
}
@media (min-width: 641px) {
  .dh-list.hb-rank thead th:last-child,
  .dh-list.hb-rank tbody td:last-child {
    padding-inline-start: 0;
  }
}
@supports selector(:has(+ *)) {
  .rc-records > .dh-list-wrap + .ar-quiet:has(+ .ar-sub) {
    margin-block-start: 8px;
  }
  .rc-records > .dh-list-wrap + .ar-quiet + .ar-sub {
    margin-block-start: 16px;
  }
}
.ar-sec > div.rc-records {
  margin-block-end: 0;
}
.ar-body > .ar-filter:has(+ .ar-count),
.ar-body > .ar-count:has(+ .ar-filter) {
  margin-block-end: 12px;
}
@media (min-width: 370px) {
  .rc-tags[aria-label]::before {
    content: attr(aria-label) ":" / "";
    margin-inline-end: calc(6px - var(--dh-pill-x));
    color: hsl(var(--muted-foreground));
    font-size: var(--dh-fs-cap);
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
  }
}
.ar .dh-meta a {
  color: inherit;
  text-decoration-color: hsl(var(--input));
}
@media (hover: hover) {
  .ar .dh-meta a:hover {
    color: hsl(var(--foreground));
    text-decoration-color: currentColor;
  }
}
.ar .rc-cover-m a:last-child {
  white-space: nowrap;
}
.rc-wide .ar-sec > .ar-filter {
  max-width: none;
}
@media (max-width: 640px) {
  .dh-list.hb-rank thead th:nth-child(2),
  .dh-list.hb-rank tbody th[scope="row"] {
    box-shadow: calc(var(--dh-ring-w) * var(--dh-dir, 1)) 0 0 hsl(var(--border));
  }
}
@supports (animation-timeline: scroll()) and (animation-range: 0 1px) {
  @media (prefers-reduced-motion: no-preference) and (prefers-contrast: no-preference) and (forced-colors: none) {
    .dh-list.hb-rank thead th:nth-child(2),
    .dh-list.hb-rank tbody th[scope="row"] {
      box-shadow: none;
    }
    .dh-list.hb-rank thead th:nth-child(2)::after,
    .dh-list.hb-rank tbody th[scope="row"]::after {
      content: "";
      position: absolute;
      inset-block: 0;
      inset-inline-end: calc(var(--dh-ring-w) * -1);
      width: var(--dh-ring-w);
      background-color: hsl(var(--border));
      pointer-events: none;
      opacity: 0;
      animation-name: dh-banner-in;
      animation-timing-function: var(--dh-ease);
      animation-fill-mode: both;
      animation-timeline: scroll(nearest inline);
      animation-range: 0 16px;
    }
  }
}
[dir="rtl"] .dh-list.hb-rank .hb-fig {
  width: 1px;
}
[dir="rtl"] .dh-list.hb-rank .hb-cite {
  width: auto;
}
@media (prefers-reduced-motion: reduce) {
  .dh-list.hb-rank tbody th[scope="row"] {
    transition: none;
  }
}
