/* =========================
   Typography (Apple style)
========================= */
body {
  font-family: -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR",
    "Segoe UI", system-ui, sans-serif;
}

/* =========================
   Section titles
========================= */
.section-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #1f2a44;
}

/* =========================
   Draw navigation
========================= */
.draw-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.draw-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ccd3e6;
  background: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.draw-nav-btn:hover {
  background: #f1f4fb;
}

.draw-nav-label {
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: underline;
}

/* =========================
   Winning numbers
========================= */
.winning-number-badge {
  font-size: 1.05rem;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
}

/* =========================
   Result table
========================= */
.results-table th {
  font-size: 0.8rem;
  color: #6c748a;
  font-weight: 700;
  border-bottom: 1px solid #e3e7f2;
  text-align:center;
}

.results-table td {
  font-size: 0.85rem;
  padding: 0.45rem 0.3rem;
  text-align:center;
}

/* =========================
   5-column visual balance
========================= */
.recent-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.2rem;
}

/* =========================
   Gold line
========================= */
.goldline-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #6b7285;
  margin-bottom: 0.4rem;
}

.goldline-images {
  display: flex;
  gap: 50px;
  justify-content: flex-start;
}

.goldline-thumb {
  width: 75px;
  height: 165px;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 6px;
}

.slip-link {
  display: inline-block;
}

.slip-red .goldline-thumb {
  border: 2px solid #da554c;
}

.slip-green .goldline-thumb {
  border: 2px solid #699863;
}

/* =========================
   Mobile adjustments
========================= */
@media (max-width: 768px) {
  .recent-grid {
    grid-template-columns: 1fr;
  }

  .goldline-images {
    justify-content: center;
  }

  .goldline-thumb {
    width: 140px;
    height: 303px;
  }
}


.info-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #c1c7d6;
    font-size: 0.75rem;
    margin-left: 0.25rem;
    text-decoration: none;
    color: #555;
    background: #fff;
}