/*
 * Right Sidebar – Lottery Links – 4D King Results
 * Clean card with red dots.
 */

.lottery-sidebar {
  background: var(--white);
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  position: sticky;
  top: 40px;
  align-self: start;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.lottery-sidebar h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--primary-red);
  margin: 0 0 14px 4px;
}

.lottery-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lottery-results-list li {
  margin: 0;
}

.lottery-results-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--grey);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.lottery-results-list a::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-red-light);
  transition: background 0.18s ease, transform 0.18s ease;
}

.lottery-results-list a:hover {
  background: var(--primary-red-pale);
  color: var(--dark);
}

/* -------------------------------------------------------------------------- */
/*  Responsive                                                                */
/*  NOTE: 1024px matches the collapse breakpoint used in pillar-page.css.     */
/*  Update if this sidebar sits in a different layout/breakpoint — confirm    */
/*  with the parent grid/flex container before relying on this.              */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .lottery-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    top: auto;
  }
}

@media (max-width: 768px) {
  .lottery-sidebar {
    padding: 16px;
  }

  .lottery-results-list a {
    padding: 11px 10px;   /* nudges tap target closer to ~44px once stacked */
  }
}

@media (max-width: 480px) {
  .lottery-sidebar h2 {
    font-size: 12px;
  }
}