/* The app's left side panel as the site's menu, where there is room and a pointer for it: icons down the left that open
   with their names when the pointer or the keyboard is on them, the way the menu opens in Showvee. Narrower screens
   and touch screens keep the top bar (showvee.css). */
.side-menu { display: none; }
@media (min-width: 1160px) and (hover: hover) {
  .site-header { display: none; }
  main > .on-dark:first-child { border-top: 0; }
  .wrap { max-width: min(1240px, calc(100vw - 180px)); }
  .wrap.narrow { max-width: min(800px, calc(100vw - 180px)); }
  .rail { --edge: max(20px, calc((100vw - min(1240px, 100vw - 180px)) / 2 + 36px)); }
  .rail-nav { max-width: min(1240px, calc(100vw - 180px)); }
  .side-menu { display: flex; flex-direction: column; gap: 4px; position: fixed; z-index: 30; left: 14px; top: 14px; bottom: 14px;
    width: 72px; padding: 12px 11px; overflow: hidden auto; scrollbar-width: none; border: 1px solid var(--line-2); border-radius: 24px;
    background: rgba(17, 21, 38, .74); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
    box-shadow: 0 24px 60px -24px #000; transition: width .18s ease; }
  .side-menu:hover, .side-menu:focus-within { width: 232px; box-shadow: 0 30px 80px -20px #000; }
  .side-menu a { position: relative; display: flex; align-items: center; gap: 16px; flex: none; height: 46px; padding: 0 10.5px;
    border: 1.5px solid transparent; border-radius: 14px; color: var(--ink-2); text-decoration: none; font-weight: 550; white-space: nowrap; }
  .side-menu a .icon { width: 24px; height: 24px; }
  .side-menu a .star { color: var(--yellow); }
  .side-menu a span { opacity: 0; transition: opacity .15s ease; }
  .side-menu:hover a span, .side-menu:focus-within a span { opacity: 1; }
  .side-menu a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
  .side-menu a:focus-visible { outline: none; color: #fff; background: var(--lit) padding-box, var(--ring) border-box; }
  .side-menu a[aria-current="page"] { color: var(--accent); }
  .side-menu a[aria-current="page"]::before { content: ""; position: absolute; left: -8px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--accent); }
  .side-menu:hover a[aria-current="page"], .side-menu:focus-within a[aria-current="page"] { color: #fff; background: var(--accent); }
  .side-menu:hover a[aria-current="page"] .star, .side-menu:focus-within a[aria-current="page"] .star { color: #fff; }
  .side-menu:hover a[aria-current="page"]::before, .side-menu:focus-within a[aria-current="page"]::before { display: none; }
  .side-menu .side-logo { height: 48px; padding: 0 2.5px; margin-bottom: 14px; gap: 12px; color: #fff; font: 600 1.4rem/1 var(--display); letter-spacing: -.01em; }
  .side-menu .side-logo:hover { background: none; }
  .side-menu .logo { flex: none; }
  .side-menu .side-gap { flex: 1; min-height: 12px; }
  .side-menu .side-get, .side-menu:hover .side-get[aria-current="page"], .side-menu:focus-within .side-get[aria-current="page"] { margin-top: 6px; color: var(--on-yellow); background: var(--yellow); font-weight: 650; }
  .side-menu .side-get:hover { color: var(--on-yellow); background: var(--yellow-2); }
  .side-menu .side-get::before { display: none; }
}
@media print { .side-menu { display: none; } }
