/* Season 0 public board (backlog: season-board-public-stats).
   Single-column, no horizontal overflow, verified at container widths
   250 / 309 / 595 / 900px (see widget-css-verification-recipe). */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: transparent;
  color: #222;
}

.board {
  width: 100%;
  max-width: 100%;
  padding: 16px;
  overflow-wrap: break-word;
}

.board-eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--main-color-dark, #500175);
}

.board-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #222;
}

.board-status,
.board-participants {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--main-color-dark, #500175);
}

.board-goal {
  margin-top: 16px;
}

.board-points-line {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.board-bar {
  width: 100%;
  height: 14px;
  border-radius: 8px;
  background: var(--main-color-light, #f0c8ff);
  overflow: hidden;
}

.board-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 8px;
  background: var(--main-color-dark, #500175);
  transition: width 0.3s ease;
}

/* Each label sits at its real bar position (board.js sets left:<position>%
   inline, matching the fill's own percent), not evenly spaced, so 1,000 at
   20%/2,500 at 50%/5,000 at 100% line up with where the fill actually
   reaches them. board.js also sets the transform per label (none at 0%,
   translateX(-50%) in the middle, translateX(-100%) at 100%) so no label
   ever hangs off either edge of the container, down to 250px wide. */
.board-milestones {
  position: relative;
  width: 100%;
  height: 16px;
  margin-top: 4px;
}

.board-milestone {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  color: #777;
  white-space: nowrap;
}

.board-milestone--reached {
  color: var(--main-color-dark, #500175);
}

.board-empty-copy {
  margin: 16px 0 0;
  font-size: 14px;
  color: #555;
}

.board-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--main-color-dark, #500175);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  max-width: 100%;
}

.board-cta:hover {
  background: var(--main-color-dark-hover, #421356);
}

.board-footer {
  margin: 16px 0 0;
  font-size: 12px;
  color: #999;
}

.board-footer a {
  color: var(--main-color-dark, #500175);
  font-weight: 600;
  text-decoration: underline;
}

/* Narrow containers (down to 250px): tighten spacing, keep everything
   single-column and wrapped rather than clipped. */
@media (max-width: 320px) {
  .board {
    padding: 12px;
  }

  .board-title {
    font-size: 19px;
  }

  .board-cta {
    display: block;
    text-align: center;
  }
}
