/* NAV2/NAV2B – Domov's left menu beside an open card on a computer (xrail.mjs) and the card frame's colour from the very
   first moment in the chosen look (light / dark), so opening a card never flashes. Beside a card the menu is a slim strip
   of icons; the mouse (or the keyboard) slides it open with the names over the card – softly, never a jump. */
html .xs-frame { background:#f5f7ff; }
html[data-xt-scheme="dark"] .xs-frame { background:#0b1020; }
html.xs-rail-keep .xs-frame { left:68px; }
html.xs-rail-keep .xhh-rail { position:fixed; left:0; top:0; bottom:0; height:100vh; height:100dvh; max-height:none; margin:0; z-index:2147482100; width:68px; box-sizing:border-box;
  padding:18px 6px; overflow-x:hidden; overflow-y:auto; background:rgb(var(--xt-surface-rgb) / .9); border-right:1px solid var(--xt-line-5);
  -webkit-backdrop-filter:blur(20px) saturate(1.4); backdrop-filter:blur(20px) saturate(1.4);
  transition:width .38s cubic-bezier(.16,1,.3,1), box-shadow .38s cubic-bezier(.16,1,.3,1); }
html.xs-rail-keep .xhh-rail .xhh-r { width:100%; }
html.xs-rail-keep .xhh-rail .xhh-r > span, html.xs-rail-keep .xhh-rail .xhh-r > em { opacity:0; max-height:0; overflow:hidden; white-space:nowrap;
  transition:opacity .2s ease, max-height .38s cubic-bezier(.16,1,.3,1); }
html.xs-rail-keep .xhh-rail:hover, html.xs-rail-keep .xhh-rail:has(:focus-visible) { width:136px; box-shadow:14px 0 44px rgb(var(--xt-shadow-rgb, 15 20 51) / .2); }
html.xs-rail-keep .xhh-rail:hover .xhh-r > span, html.xs-rail-keep .xhh-rail:has(:focus-visible) .xhh-r > span,
html.xs-rail-keep .xhh-rail:hover .xhh-r > em, html.xs-rail-keep .xhh-rail:has(:focus-visible) .xhh-r > em { opacity:1; max-height:3em; transition-delay:.06s; }
@media (prefers-reduced-motion:reduce) { html.xs-rail-keep .xhh-rail, html.xs-rail-keep .xhh-rail * { transition:none !important; } }

/* RAIL1: the menu opens on hover or keyboard only - a click no longer keeps it open over the card */
