.home-sidebar-part {
  height: 0;
  line-height: 0;
  margin: 0 !important;
  max-width: none !important;
  overflow: visible;
}

.home-rail {
  background: #111;
  border-right: 1px solid #303030;
  bottom: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  left: 0;
  margin: 0 !important;
  max-width: none !important;
  overflow: hidden;
  padding: 0;
  position: fixed;
  top: var(--home-topbar);
  width: var(--home-rail);
  z-index: 80;
}

.home-rail,
.home-rail * { box-sizing: border-box; }

.home-rail__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 24px 21px 24px 24px;
  scrollbar-color: #303034 #111;
  scrollbar-width: thin;
}

.home-rail__scroll::-webkit-scrollbar { width: 6px; }
.home-rail__scroll::-webkit-scrollbar-track { background: #111; }
.home-rail__scroll::-webkit-scrollbar-thumb {
  background: #303034;
  border-radius: 999px;
}
.home-rail__scroll::-webkit-scrollbar-thumb:hover { background: #444448; }

.home-rail__fixed {
  background: #111;
  border-top: 1px solid #303030;
  flex: 0 0 auto;
  padding: 24px;
}

.admin-bar .home-rail { top: calc(var(--home-topbar) + 32px); }
.home-rail__close { color: #fff; display: none; font-size: 2rem; line-height: 1; position: absolute; right: 18px; text-decoration: none; top: 14px; }
.home-rail__menu { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.home-rail__menu li { margin: 0; padding: 0; }
.home-rail__nav a { align-items: center; border: 1px solid #303030; border-radius: 10px; color: #f8f7f8; display: flex; font-size: 13px; font-weight: 600; gap: 8px; height: 40px; line-height: 1.2; padding: 0 12px; text-decoration: none; }
.home-rail__nav a::before { display: none; }
.home-rail__icon { align-items: center; display: inline-flex; flex: 0 0 20px; font-size: 0.95rem; justify-content: center; width: 20px; }

.home-rail__live-dot {
  background: #00e676;
  border-radius: 50%;
  box-shadow: 0 0 8px #00e676;
  display: inline-block;
  flex: 0 0 auto;
  height: 8px;
  position: relative;
  width: 8px;
  margin-right: 4px;
}

.home-rail__live-dot::after {
  animation: cr-pulse-ring 1.6s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  border: 2px solid #00e676;
  border-radius: 50%;
  content: "";
  inset: -3px;
  position: absolute;
}

.home-rail__nav a:hover,
.home-rail__nav:not(.home-rail__nav--secondary) li.is-active > a {
  background: #303030;
  border-color: var(--home-pink, #ff6584);
  color: #ffffff;
}

.home-rail__nav--secondary a {
  height: 40px;
}

.home-rail__nav--secondary a:hover {
  background: #222222;
  border-color: #494949;
  color: #ffffff;
}

.home-rail__nav--secondary li.is-active > a {
  background: transparent;
  border-color: #303030;
  color: #f8f7f8;
}
.home-rail__legal { color: #f0edf1; font-size: 9px; line-height: 1.5; margin: 20px 0 0; }

@media (max-width: 900px) {
  .home-rail { top: var(--home-topbar); transform: translateX(-100%); transition: transform .25s ease; }
  .admin-bar .home-rail { top: calc(var(--home-topbar) + 46px); }
  .home-rail:target { box-shadow: 18px 0 60px rgba(0, 0, 0, .5); transform: translateX(0); }
  .home-rail__close { display: block; }
  .home-rail__scroll { padding-top: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-rail { transition: none; }
}
