/* Programmatic focus stays on the heading for screen readers, without a tap box.
   Keyboard focus indicators on buttons, links and inputs remain unchanged. */
html body .dict-dialog .dict-detail-title:focus,html body .dict-dialog .dict-detail-title:focus-visible,
.axis-guide h2[tabindex="-1"]:focus{outline:none!important;box-shadow:none!important}
.dict-dialog[data-dialog-phase="enter"]::backdrop,.axis-guide[data-dialog-phase="enter"]::backdrop{animation:dictionary-backdrop-in 220ms ease-out both}
.dict-dialog[data-dialog-phase="closing"]::backdrop,.axis-guide[data-dialog-phase="closing"]::backdrop{animation:dictionary-backdrop-out 190ms ease-in both}
@keyframes dictionary-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes dictionary-backdrop-out{from{opacity:var(--dialog-backdrop-opacity,1)}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.dict-dialog::backdrop,.axis-guide::backdrop{animation:none!important}}
html[data-a11y-motion="true"] .dict-dialog::backdrop,:host-context([data-a11y-motion="true"]) .axis-guide::backdrop{animation:none!important}
