/* HOLM motion layer. Source: src/motion */
@media (prefers-reduced-motion: no-preference) {
  @keyframes hm-ui-fade { from { opacity: 0; } }
  @keyframes hm-ui-zoom { from { opacity: 0; scale: 0.965; } }
  @keyframes hm-ui-drop { from { translate: 0 -8px; } }
  @keyframes hm-vt-out { to { opacity: 0; } }
  @keyframes hm-vt-in { from { opacity: 0; translate: 0 12px; } }
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: hm-vt-out 0.2s ease both; }
  ::view-transition-new(root) { animation: hm-vt-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .site-header { view-transition-name: hm-header; }
  ::view-transition-group(hm-header) { animation-duration: 0.3s; }
  dialog.lightbox[open] { animation: hm-ui-fade 0.26s ease both; }
  dialog.lightbox[open]::backdrop { animation: hm-ui-fade 0.3s ease both; }
  dialog.lightbox[open] .lightbox-figure { animation: hm-ui-zoom 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hm-ghost {
    position: fixed; inset: 0; z-index: 2147483000; pointer-events: none;
    background: #140a06e0;                                      
  }
  @supports selector(::details-content) {
    .language-picker::details-content { opacity: 0; transition: opacity 0.18s ease, content-visibility 0.18s allow-discrete; }
    .language-picker[open]::details-content { opacity: 1; }
    .language-picker .language-menu { translate: 0 -8px; transition: translate 0.18s ease-in; }
    .language-picker[open] .language-menu { translate: 0 0; animation: hm-ui-drop 0.32s cubic-bezier(0.16, 1, 0.3, 1); }
  }
}
