/* Every ✕ that closes a card, dialog, sheet, list or tour looks the same: one size, a full-strength glyph in its card's
   own text colour on a soft round ground. A button with no colour of its own was drawn in iOS system blue, faint and
   small, and a dialog's autofocus drew a blue box round it: the outline shows only once Tab has been used (.kbd, set in
   d-orbit.html), since browsers count a dialog's autofocus as keyboard focus.
   Each close button's own rule keeps only where it sits. Loaded last (d-orbit.html). */
button:is(.hiw-x, .set-x, .tour-x, .hd-x, .hd-bx, .ad-x, .pdet-x, .mh-x, .mclose, .mx, .near-x, .mer-x, .sg-hclose,
  .pf-head > [data-close], .pf-head > [data-act="clear"], .pcap [data-close]) {
  width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: color-mix(in srgb, currentColor 12%, transparent); color: inherit; opacity: 1;
  font: 700 18px/1 system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
button:is(.hiw-x, .set-x, .tour-x, .hd-x, .hd-bx, .ad-x, .pdet-x, .mh-x, .mclose, .mx, .near-x, .mer-x, .sg-hclose,
  .pf-head > [data-close], .pf-head > [data-act="clear"], .pcap [data-close]):hover { background: color-mix(in srgb, currentColor 22%, transparent); }
:root:not(.kbd) button:is(.hiw-x, .set-x, .tour-x, .hd-x, .hd-bx, .ad-x, .pdet-x, .mh-x, .mclose, .mx, .near-x, .mer-x, .sg-hclose,
  .pf-head > [data-close], .pf-head > [data-act="clear"], .pcap [data-close]):focus { outline: none; }
button:is(.hiw-x, .set-x, .tour-x, .hd-x, .hd-bx, .ad-x, .pdet-x, .mh-x, .mclose, .mx, .near-x, .mer-x, .sg-hclose,
  .pf-head > [data-close], .pf-head > [data-act="clear"], .pcap [data-close]):focus-visible { outline: 2px solid var(--accent, #4f5bd5); outline-offset: 2px; }
