.shiki-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-block-start: 1.25rem;
}
.shiki-container > pre {
  margin-block-start: 0;
}
.copy-btn {
  display: inline-flex;
  position: relative;
  align-self: flex-end;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-inline-size: 1.5rem;
  block-size: 1.5rem;
  padding: 0 0.5rem;
  border: 0.0625rem solid var(--color-code-text);
  background: var(--color-code-surface);
  color: var(--color-code-text);
  font-family: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--font-size--1);
  font-weight: var(--font-weight-body);
  line-height: 1;
  cursor: pointer;
}
.copy-btn[data-icon] {
  inline-size: 1.5rem;
  padding: 0;
}
.copy-btn-icon {
  flex: none;
  inline-size: 1.25rem;
  block-size: 1.25rem;
}
@media (any-pointer: coarse) {
  .copy-btn::before {
    content: "";
    position: absolute;
    inset-block: calc(-1 * (0.5rem + 0.0625rem)) calc(1.5rem + 0.5rem - 2.75rem - 0.0625rem);
    inset-inline: calc(1.5rem - 2.75rem - 0.0625rem) calc(-1 * 0.0625rem);
  }
}
.copy-btn:hover {
  background: var(--color-code-text);
  color: var(--color-code-surface);
}
.copy-btn:focus-visible {
  outline: 0.125rem solid var(--color-primary);
  outline-offset: 0.125rem;
}
:root {
  color-scheme: light dark;
  --color-surface: hsl(205.8 21.6% 93.5%);
  --color-surface-subtle: hsl(207.4 19.2% 89.2%);
  --color-heading: hsl(208.6 47.2% 8.8%);
  --color-text: hsl(208.9 30.5% 16.3%);
  --color-text-muted: hsl(208.7 14.7% 33.9%);
  --color-hairline: hsl(207.9 13% 81%);
  --color-border: hsl(208.8 8.6% 47.2%);
  --color-primary: hsl(337.1 81.2% 38.1%);
  --color-primary-hover: hsl(337.3 82.8% 29.7%);
  --color-accent: hsl(337.1 81.2% 38.1%);
  --color-on-accent: hsl(205.8 21.6% 93.5%);
  --color-accent-ink: hsl(337.1 81.2% 38.1%);
  --color-logo: hsl(337.1 81.2% 38.1%);
  --color-shadow: hsl(0 0% 0% / 0.35);
  --color-code-inline: hsl(208.4 21.9% 83.6%);
  --color-code-surface: hsl(207.4 76.5% 98.8%);
  --color-code-text: hsl(208.9 30.5% 16.3%);
  --color-code-edge: hsl(207.9 13% 81%);
  --color-warning: hsl(27 70.3% 33.6%);
  --color-menu-veil: hsl(205.8 21.6% 93.5% / 0.4);
  --color-xray-veil: hsl(210.6 62.7% 0.7% / 0.82);
  --color-xray-hairline: hsl(205.7 4.4% 52.7%);
  --color-xray-glow: hsl(188.1 100% 65.3%);
  --color-xray-glow-soft: hsl(192.4 86.6% 57.7% / 0.55);
  --color-xray-tint: hsl(197.8 72.5% 57.2% / 0.6);
  --color-xray-label: hsl(189.2 91.2% 82.6%);
  --color-xray-label-active: hsl(0 0% 100%);
  --color-xray-label-ink: hsl(204.8 72.5% 6.7%);
  --color-diagram-fill: hsl(207.3 17.1% 84%);
  --color-diagram-2: hsl(211.6 77.7% 40.1%);
  --color-diagram-3: hsl(37.4 94.7% 32.3%);
  --color-diagram-pass: hsl(140.5 62.4% 30.2%);
  --color-diagram-fail: hsl(22.3 83.5% 38.8%);
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-surface: hsl(208.6 47.2% 8.8%);
    --color-surface-subtle: hsl(207.6 38.7% 12.2%);
    --color-heading: hsl(214 26.8% 95.1%);
    --color-text: hsl(210 18.9% 83.5%);
    --color-text-muted: hsl(209.9 12.2% 65.1%);
    --color-hairline: hsl(206.7 25.9% 20.2%);
    --color-border: hsl(207.1 12.3% 50.8%);
    --color-primary: hsl(73.6 86.3% 58.7%);
    --color-primary-hover: hsl(73.7 91.4% 74.1%);
    --color-accent: hsl(73.6 86.3% 58.7%);
    --color-on-accent: hsl(208.6 47.2% 8.8%);
    --color-accent-ink: hsl(73.6 86.3% 58.7%);
    --color-logo: hsl(73.6 86.3% 58.7%);
    --color-shadow: hsl(0 0% 0% / 0.35);
    --color-code-inline: hsl(207.7 31.1% 18.2%);
    --color-code-surface: hsl(208 59% 4.9%);
    --color-code-text: hsl(196.9 14.2% 90.4%);
    --color-code-edge: hsl(206.7 25.9% 20.2%);
    --color-warning: hsl(30.5 90.6% 66.6%);
    --color-menu-veil: hsl(208.6 47.2% 8.8% / 0.4);
    --color-xray-veil: hsl(210.6 62.7% 0.7% / 0.82);
    --color-xray-hairline: hsl(205.7 4.4% 52.7%);
    --color-xray-glow: hsl(188.1 100% 65.3%);
    --color-xray-glow-soft: hsl(192.4 86.6% 57.7% / 0.55);
    --color-xray-tint: hsl(197.8 72.5% 57.2% / 0.6);
    --color-xray-label: hsl(189.2 91.2% 82.6%);
    --color-xray-label-active: hsl(0 0% 100%);
    --color-xray-label-ink: hsl(204.8 72.5% 6.7%);
    --color-diagram-fill: hsl(207.7 32.1% 16.3%);
    --color-diagram-2: hsl(254.7 82.1% 81.5%);
    --color-diagram-3: hsl(188.5 78.1% 64.9%);
    --color-diagram-pass: hsl(157.8 64.8% 58.6%);
    --color-diagram-fail: hsl(22.7 92.4% 64%);
  }
}
@supports (color: light-dark(oklch(0% 0 0deg), oklch(0% 0 0deg))) {
  :root {
    --color-surface: light-dark(oklch(95% 0.006 240deg), oklch(19.9% 0.026 247deg));
    --color-surface-subtle: light-dark(oklch(91.6% 0.009 243deg), oklch(23.7% 0.028 245deg));
    --color-heading: light-dark(oklch(19.9% 0.026 247deg), oklch(96% 0.006 255deg));
    --color-text: light-dark(oklch(27.9% 0.029 247deg), oklch(86.9% 0.014 248deg));
    --color-text-muted: light-dark(oklch(45% 0.026 246deg), oklch(72% 0.02 248deg));
    --color-hairline: light-dark(oklch(85.1% 0.011 244deg), oklch(32.1% 0.029 243deg));
    --color-border: light-dark(oklch(57% 0.02 246deg), oklch(60.1% 0.029 243deg));
    --color-primary: light-dark(oklch(49.2% 0.188 7deg), oklch(89.7% 0.2 122deg));
    --color-primary-hover: light-dark(oklch(41.3% 0.157 7deg), oklch(93.8% 0.15 120deg));
    --color-accent: light-dark(oklch(49.2% 0.188 7deg), oklch(89.7% 0.2 122deg));
    --color-on-accent: light-dark(oklch(95% 0.006 240deg), oklch(19.9% 0.026 247deg));
    --color-accent-ink: light-dark(oklch(49.2% 0.188 7deg), oklch(89.7% 0.2 122deg));
    --color-logo: light-dark(oklch(49.2% 0.188 7deg), oklch(89.7% 0.2 122deg));
    --color-shadow: light-dark(oklch(0% 0 0deg / 0.35), oklch(0% 0 0deg / 0.35));
    --color-code-inline: light-dark(oklch(87% 0.016 245deg), oklch(30% 0.032 245deg));
    --color-code-surface: light-dark(oklch(99% 0.004 243deg), oklch(15.4% 0.02 243deg));
    --color-code-text: light-dark(oklch(27.9% 0.029 247deg), oklch(92.8% 0.006 223deg));
    --color-code-edge: light-dark(oklch(85.1% 0.011 244deg), oklch(32.1% 0.029 243deg));
    --color-warning: light-dark(oklch(50% 0.11 55deg), oklch(80% 0.13 65deg));
    --color-menu-veil: light-dark(oklch(95% 0.006 240deg / 0.4), oklch(19.9% 0.026 247deg / 0.4));
    --color-xray-veil: light-dark(oklch(8% 0.01 240deg / 0.82), oklch(8% 0.01 240deg / 0.82));
    --color-xray-hairline: light-dark(oklch(62% 0.01 240deg), oklch(62% 0.01 240deg));
    --color-xray-glow: light-dark(oklch(86% 0.13 210deg), oklch(86% 0.13 210deg));
    --color-xray-glow-soft: light-dark(oklch(78% 0.13 220deg / 0.55), oklch(78% 0.13 220deg / 0.55));
    --color-xray-tint: light-dark(oklch(72% 0.12 230deg / 0.6), oklch(72% 0.12 230deg / 0.6));
    --color-xray-label: light-dark(oklch(91% 0.07 210deg), oklch(91% 0.07 210deg));
    --color-xray-label-active: light-dark(oklch(100% 0 0deg), oklch(100% 0 0deg));
    --color-xray-label-ink: light-dark(oklch(18% 0.03 240deg), oklch(18% 0.03 240deg));
    --color-diagram-fill: light-dark(oklch(87.5% 0.012 243deg), oklch(28% 0.03 245deg));
    --color-diagram-2: light-dark(oklch(50% 0.15 255deg), oklch(78% 0.11 295deg));
    --color-diagram-3: light-dark(oklch(56% 0.12 70deg), oklch(82% 0.11 210deg));
    --color-diagram-pass: light-dark(oklch(52% 0.13 150deg), oklch(80% 0.14 165deg));
    --color-diagram-fail: light-dark(oklch(55% 0.15 45deg), oklch(75% 0.15 50deg));
  }
}
:where(dt) {
  font-weight: var(--font-weight-heading);
}
:where(dd + dt) {
  margin-block-start: 1.5rem;
}
:where(dd) {
  line-height: 1.7;
  margin-inline-start: 0;
  padding-inline-start: 1.25rem;
  border-inline-start: 0.0625rem solid var(--color-hairline);
}
:where(dt + dd) {
  margin-block-start: 0.5rem;
}
:where(dd + dd) {
  padding-block-start: 0.375rem;
}
:where(dd > p) {
  margin-block: 0;
}
:where(dd > p + p) {
  margin-block-start: 0.375rem;
}
.doc-example iframe {
  display: block;
  box-sizing: content-box;
  inline-size: calc(100% - 2rem - 0.125rem);
  padding: 1rem;
  border: 0.0625rem solid var(--color-hairline);
}
.doc-example-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0.625rem 0 0;
  padding: 0;
  list-style: none;
  font-family: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
}
.doc-example-variants a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.doc-example-variants a:hover {
  color: var(--color-text);
}
.doc-example-variants a[aria-current=true] {
  color: var(--color-text);
  text-decoration: underline 0.125rem var(--color-accent-ink);
  text-underline-offset: 0.3em;
}
.doc-example-variants a:focus-visible {
  outline: 0.125rem solid var(--color-primary);
  outline-offset: 0.125rem;
}
.doc-example-id {
  font-family: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875em;
}
.doc-image {
  display: block;
  inline-size: 107.0175438596%;
  max-inline-size: none;
  block-size: auto;
  margin-inline: -3.5087719298%;
  background: var(--color-surface-subtle);
}
@media (width < 40rem) {
  .doc-image {
    font-weight: var(--font-weight-semibold);
  }
}
@media (orientation: landscape) and (height < 30rem) {
  .doc-image {
    inline-size: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right));
    margin-inline-start: calc(env(safe-area-inset-left) - var(--site-gutter, 1.5rem));
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
:where(body) {
  margin: 0;
  font-family: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: var(--font-weight-body);
  font-size-adjust: from-font;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-surface);
}
:where(a) {
  color: var(--color-primary);
}
:where(a:hover) {
  color: var(--color-primary-hover);
}
:where(a[href^="http://"], a[href^="https://"]):where(:not([href^="https://pattern-dump.design"], [href*="//pd.localhost"], .site-header-link))::after {
  content: "";
  display: inline-block;
  inline-size: 0.75em;
  block-size: 0.75em;
  margin-inline-start: 0.125em;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='currentColor'%3E%3Cpath d='M204,64V168a12,12,0,0,1-24,0V93L72.49,200.49a12,12,0,0,1-17-17L163,76H88a12,12,0,0,1,0-24H192A12,12,0,0,1,204,64Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-normal-wdth100-wght700-900.woff2?v=9d789cd658") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 800 900;
  font-stretch: 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-italic-wdth125-wght800-900.woff2?v=dd20286482") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2?v=18b2a1a39a") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-mono-latin-wght-normal.woff2?v=2706b1ee4f") format("woff2");
}
.page {
  padding-block: 3.5rem 5rem;
  padding-inline: var(--site-gutter, 1.5rem);
}
.page-title,
.page-description,
.page-meta,
.page-body {
  max-inline-size: var(--reading-column);
}
.page-title {
  margin-block: 0 0.5rem;
}
.page-description {
  margin-block: 0 2rem;
  color: var(--color-text-muted);
}
:where(.page-body) iframe {
  width: 100%;
  border: 0;
}
.page-meta {
  margin-block: 0 2rem;
  color: var(--color-text-muted);
}
.page-tags {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-tags li {
  display: inline;
  margin-inline-start: 0.5rem;
}
.reading-article {
  counter-reset: figure;
}
.reading-article .page-title {
  margin: 0;
}
.reading-article .page-description {
  margin: 1.25rem 0 0;
  font-size: 1.12em;
  line-height: 1.6;
  color: var(--color-text);
}
.reading-article .page-meta {
  margin: 1rem 0 0;
}
.page-links {
  display: flex;
  flex-wrap: wrap;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.page-links li + li::before {
  content: " · "/"";
}
.reading-article .page-body > h2 {
  margin: 3rem 0 0;
}
.reading-article .page-body > p {
  margin: 0.75rem 0 0;
}
:where(.reading-article .page-body) iframe {
  width: 100%;
  border: 0;
}
.reading-article .page-body:has(+ .pager) > .note:last-child {
  border-block-end: 0;
}
.reading {
  padding: 3.5rem var(--site-gutter, 1.5rem) 5rem;
}
.reading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem var(--reading-gap);
  align-items: start;
  margin-top: 2.5rem;
}
.reading > .reading-row:first-child {
  margin-top: 0;
}
@media (min-width: 56em) {
  .reading-row {
    grid-template-areas: "article aside";
    grid-template-columns: minmax(0, var(--reading-column)) minmax(13rem, 1fr);
  }
  .reading-aside {
    grid-area: aside;
  }
  .reading-article {
    grid-area: article;
  }
}
.reading-article {
  min-inline-size: 0;
  max-inline-size: var(--reading-column);
}
.reading-aside:empty {
  display: none;
}
.reading-aside > * + * {
  margin-block-start: 2rem;
}
@media (min-width: 64em) and (min-height: 40em) {
  .reading-aside {
    position: sticky;
    top: var(--site-header-height);
    max-block-size: calc(100dvh - var(--site-header-height) - var(--site-footer-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-block-end: 0.25rem;
  }
}
:root {
  --font-weight-body: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-heading: 800;
  --font-weight-heading-strong: 900;
}
@media (prefers-color-scheme: dark) {
  :root {
    --font-weight-body: 360;
    --font-weight-medium: 460;
    --font-weight-semibold: 560;
    --font-weight-heading: 720;
    --font-weight-heading-strong: 820;
  }
}
:root {
  --font-size--1: clamp(0.7955rem, 0.8422rem + -0.0445vw, 0.8333rem);
  --font-size-0: clamp(1.0625rem, 0.9375rem + 0.625vw, 1.1875rem);
  --font-size-1: clamp(1.3281rem, 1.2579rem + 0.3513vw, 1.6794rem);
  --font-size-2: clamp(1.6602rem, 1.5172rem + 0.7148vw, 2.375rem);
  --font-size-3: clamp(2.0752rem, 1.8185rem + 1.2836vw, 3.3588rem);
  --font-size-4: clamp(2.594rem, 2.1628rem + 2.156vw, 4.75rem);
}
:where(body) {
  font-size: var(--font-size-0);
}
:where(p) {
  line-height: 1.7;
  text-wrap: pretty;
}
:where(h1, h2, h3, h4, h5, h6) {
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.01em;
  word-spacing: 0.08em;
  line-height: 1.2;
  color: var(--color-heading);
  text-wrap: balance;
}
:where(h1) {
  font-size: var(--font-size-3);
  font-weight: var(--font-weight-heading-strong);
  line-height: 1.05;
}
:where(h2) {
  font-size: var(--font-size-1);
}
:where(h3, h4, h5, h6) {
  font-size: var(--font-size-0);
}
:where(strong, b, th) {
  font-weight: var(--font-weight-semibold);
}
:where(small) {
  font-size: var(--font-size--1);
}
:where(code, kbd, samp) {
  font-family: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}
:where(:not(pre) > code) {
  padding-inline: 0.25em;
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: var(--color-heading);
  background: var(--color-code-inline);
}
:where(a code) {
  background: none;
  color: inherit;
}
:where(pre) {
  margin: 1.25rem 0 0;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  border: 0.0625rem solid var(--color-code-edge);
  background: var(--color-code-surface);
  color: var(--color-code-text);
  font-family: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.7;
}
:where(pre code) {
  font-size: inherit;
}
:where(pre:focus-visible) {
  outline: 0.125rem solid var(--color-primary);
  outline-offset: 0.125rem;
}
.xray-veil {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: var(--color-xray-veil);
  pointer-events: none;
}
@supports (backdrop-filter: grayscale(1)) {
  .xray-veil {
    background: transparent;
    backdrop-filter: grayscale(1) brightness(0.3);
  }
  @media (prefers-color-scheme: light) {
    .xray-veil {
      backdrop-filter: grayscale(1) brightness(0.12);
    }
  }
}
:where(html[data-xray-mode] :is([data-xray], figure.doc-example, figure.doc-figure)) {
  position: relative;
}
html[data-xray-mode] :is([data-xray], figure.doc-example, figure.doc-figure) {
  z-index: 15;
}
html[data-xray-mode] .site > :is(.site-header, .site-footer) {
  z-index: 30;
}
html[data-xray-mode] :is([data-xray], figure.doc-example, figure.doc-figure):not(:is([data-xray], figure.doc-example, figure.doc-figure) *) {
  filter: grayscale(1) sepia(0.4) hue-rotate(170deg) saturate(1.6) brightness(1.15) drop-shadow(0 0 0.75rem var(--color-xray-tint));
}
@media (prefers-color-scheme: light) {
  html[data-xray-mode] :is([data-xray], figure.doc-example, figure.doc-figure):not(:is([data-xray], figure.doc-example, figure.doc-figure) *) {
    filter: invert(1) grayscale(1) sepia(0.4) hue-rotate(170deg) saturate(1.6) brightness(1.15) drop-shadow(0 0 0.75rem var(--color-xray-tint));
  }
}
html[data-xray-room] :is(figure.doc-figure, figure.doc-example) {
  margin-block: 2.375rem;
}
html[data-xray-room] :is(figure.doc-figure, figure.doc-example) + :is(figure.doc-figure, figure.doc-example) {
  margin-block-start: 3.125rem;
}
.xray-frame {
  position: fixed;
  z-index: 20;
  inset: anchor(top) anchor(right) anchor(bottom) anchor(left);
  margin: -0.75rem;
  border: 0.0625rem solid var(--color-xray-hairline);
  filter: drop-shadow(0 0 0 transparent) drop-shadow(0 0 0 transparent) drop-shadow(0 0 0 transparent);
  pointer-events: none;
}
.xray-frame.xray-nested {
  margin: 0;
}
.xray-frame[data-active] {
  border-color: var(--color-xray-label-active);
  filter: drop-shadow(0 0 0.125rem var(--color-xray-glow)) drop-shadow(0 0 0.5rem var(--color-xray-glow)) drop-shadow(0 0 1.5rem var(--color-xray-glow-soft));
}
.xray-label {
  position: fixed;
  z-index: 21;
  inset: auto;
  inset-inline-start: anchor(left);
  inset-block-end: anchor(top);
  block-size: 1.125rem;
  padding: 0 0.375rem;
  background: var(--color-xray-label);
  color: var(--color-xray-label-ink);
  font-family: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  line-height: 1.125rem;
  white-space: nowrap;
  text-decoration: none;
  filter: drop-shadow(0 0 0.25rem var(--color-xray-glow-soft));
}
.xray-label[data-active] {
  background: var(--color-xray-label-active);
  filter: drop-shadow(0 0 0.375rem var(--color-xray-glow)) drop-shadow(0 0 1rem var(--color-xray-glow-soft));
}
.xray-label:is(:hover, :focus-visible) {
  text-decoration: underline;
}
.xray-label:focus-visible {
  outline: 0.125rem solid var(--color-xray-glow);
  outline-offset: 0.125rem;
}
.xray-frame.xray-in-bar {
  z-index: 40;
}
.xray-frame.xray-bar-frame {
  margin: 0;
}
.xray-label.xray-bar-label {
  margin-inline-start: var(--site-gutter, 1.5rem);
}
.xray-label.xray-bar-top {
  inset-block-end: anchor(bottom);
}
.xray-label.xray-bar-bottom {
  inset-block-start: anchor(top);
  inset-block-end: auto;
}
.xray-label.xray-in-bar {
  z-index: 41;
}
.xray-label[data-side=below] {
  inset-block-start: anchor(bottom);
  inset-block-end: auto;
}
.xray-label.xray-in-header[data-side=below] {
  inset-block-start: min(anchor(bottom), anchor(--xray-header bottom) - 1.125rem);
}
.xray-label[data-align=end] {
  inset-inline-start: auto;
  inset-inline-end: anchor(right);
}
@supports not (anchor-name: --a) {
  .xray-frame,
  .xray-label {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .xray-frame {
    transition: filter 0.3s ease-out, border-color 0.3s ease-out;
  }
  .xray-label {
    transition: filter 0.3s ease-out, background-color 0.3s ease-out;
  }
  html[data-xray-intro] .xray-veil {
    animation: xray-fade 0.45s ease-out both;
  }
  html[data-xray-outro] .xray-veil {
    animation: xray-fade 0.45s ease-in reverse both;
  }
  html[data-xray-intro] :is([data-xray], figure.doc-example, figure.doc-figure):not(:is([data-xray], figure.doc-example, figure.doc-figure) *),
  html[data-xray-intro] :is(.xray-frame, .xray-label) {
    animation: xray-flicker 0.8s step-end 0.45s both;
  }
}
@keyframes xray-fade {
  from {
    opacity: 0;
  }
}
@keyframes xray-flicker {
  0% {
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  18% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  36% {
    opacity: 0.3;
  }
  48% {
    opacity: 1;
  }
  54% {
    opacity: 0;
  }
  66%, 100% {
    opacity: 1;
  }
}