/* G8L-211 P1-D lobby side rail (DESIGN 6.4), r3c: three keys (拍賣場, 組隊, 排行榜) on the right edge with NO panel behind them. They are the same
 * keys as the bottom bar on a phone (.ui-key in mobile-nav.css: colour, shadow, sizes, outline/solid icon), so this file only places them.
 * Between the top bar area and the bottom bar; scrolls itself when the screen is too short. Edge and gap come from the shared variables. */
.side-rail {
  position: fixed;
  z-index: 15;
  right: max(4px, var(--edge-x-right), env(safe-area-inset-right));
  top: calc(var(--top-bar-group-h, 58px) + var(--nav-strip-h, 0px) + var(--top-edge) + 8px);
  max-height: calc(100dvh - var(--top-bar-group-h, 58px) - var(--nav-strip-h, 0px) - var(--bottom-bar-h) - var(--top-edge) - var(--bottom-edge) - 16px);
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.side-rail::-webkit-scrollbar { display: none; }
.side-rail-item { flex: none; }
.side-rail-hint {
  position: fixed;
  z-index: 16;
  left: 50%;
  bottom: calc(var(--bottom-bar-h) + var(--bottom-edge) + 16px);
  transform: translateX(-50%);
  margin: 0;
  padding: 8px 18px;
  border-radius: 20px;
  color: var(--glass-ink, #1c2a3a);
  font: 600 14px/1.2 var(--glass-font, sans-serif);
  pointer-events: none;
  visibility: hidden;
}
.side-rail-hint.show { animation: side-rail-hint 2.4s steps(1, end) forwards; }
@keyframes side-rail-hint { from { visibility: visible; } to { visibility: hidden; } }
