/* Language switch (see assets/dil-gecis.js). The old page stays on screen until the new one stands at the same place, then they cross-fade. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* arriving from a switch: no loading screen, and the passed 18+ gate is simply gone instead of fading out */
html.dil-gecis .yukleme { display: none; }
html.dil-gecis .gate.gone { transition: none; }
html.dil-gecis { scroll-behavior: auto; background: #0B0E10; }
/* nothing is shown before the position is set; released after 2.5 s in any case */
html.dil-gecis.dil-gizli:not(.dil-hazir) body { visibility: hidden; }
