.ml-chapters {
  box-sizing:border-box; position:relative; display:grid; justify-items:center;
  gap:2px; width:100%; height:auto; margin:0 auto; padding:6px 10px;
  background:#22262c; border-block:1px solid #454b55; color:#f2f2f2;
  font:600 14px/1.3 "Segoe UI",system-ui,sans-serif; text-align:center;
}
.ml-chapters .chapter-heading {display:flex;align-items:baseline;justify-content:center;gap:9px;min-height:1.4em}
.ml-chapters .chapter-count {color:#c3cbd6;font:500 12px/1.3 system-ui;font-variant-numeric:tabular-nums}
.ml-chapters .chapter-links {display:flex;justify-content:center;flex-wrap:wrap;gap:4px;max-width:100%}
.ml-chapters .chapter-links a {box-sizing:border-box;display:grid;place-items:center;min-width:32px;min-height:27px;border:1px solid transparent;border-radius:6px;text-decoration:none;cursor:pointer;color:#c9d1da;background:#30363d;font:12px/1 system-ui}
.ml-chapters .chapter-links a[aria-current="page"] {background:#bfdbfe;color:#172333;border-color:#bfdbfe}
.ml-chapters .chapter-links a:hover,.ml-chapters .chapter-links a:focus-visible {border-color:#bfdbfe;outline:2px solid #bfdbfe;outline-offset:1px}
@media(pointer:coarse){.ml-chapters .chapter-links a{min-width:44px;min-height:44px}}
@media print{.ml-chapters .chapter-links{display:none}}

.ml-chapters{grid-column:1/-1;flex-shrink:0}.ml-chapters .chapter-links a:not([aria-current]):not(:hover):not(:focus-visible){background:transparent}
