/* /voreday/ only */

.rumble-page h1 {
  margin-top: 0;
}

.rumble-page h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.rumble-meta {
  color: var(--text-color);
  opacity: 0.85;
}

.rumble-role-notice {
  background: var(--sidebar-bg);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-color, var(--link-color, currentColor));
  border-radius: var(--radius-md, 6px);
  padding: 0.85rem 1rem;
  margin: 0.75rem 0 1.25rem;
  line-height: 1.45;
}

.rumble-now-voting {
  background: var(--sidebar-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
}

.rumble-vote-countdown {
  margin: 0 0 0.75rem;
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
}

.rumble-vote-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.rumble-vote-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 8rem;
  text-align: center;
}

.rumble-vote-pfp {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm, 4px);
}

.rumble-vote-name {
  margin: 0;
  font-weight: 600;
}

.rumble-vote-tally {
  margin: 0;
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
}

.rumble-vote-vs {
  margin: 2.5rem 0 0;
  opacity: 0.7;
  font-weight: 600;
}

.rumble-vote-btn {
  margin-top: 0.25rem;
  cursor: pointer;
}

.rumble-vote-btn.is-selected {
  outline: 2px solid var(--link-color, currentColor);
  outline-offset: 2px;
}

.rumble-vote-hint {
  margin: 0.85rem 0 0;
  opacity: 0.8;
  font-size: 0.95em;
  text-align: center;
}

.rumble-bracket-scroll {
  width: 100%;
  max-width: 100%;
  margin: 0.5rem 0 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

#rumble-bracket {
  width: 100%;
  background: transparent;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .rumble-bracket-scroll {
    /* Full-bleed within the content column so swipes aren't cramped */
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding: 0 0.5rem 0.35rem;
  }
}

#rumble-bracket:empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

#rumble-bracket:empty::before {
  content: "Nobody's entered yet!";
  opacity: 0.7;
}

#rumble-bracket img {
  border: 1px solid var(--border-color);
}

/* clickable ppl */
#rumble-bracket .side-wrapper {
  cursor: pointer;
}

/* Winner mark: vore day tile instead of the default check */
#rumble-bracket .winner-mark {
  width: 28px;
  height: 28px;
  background: url("/static/background/seasonal/tile_vore_day.png") center / contain no-repeat;
}

#rumble-bracket .winner-mark svg {
  display: none;
}
