.square-plot-container {
    width: min(100vw, 100vh);
    height: min(100vw, 100vh);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.game-card {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  max-width: 520px;
}

.game-card-header-long {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
}

.game-card-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.game-card.region-1 {
    background: #ffffff;
}

.game-card.region-2 {
    background: #f2f9ff;
}

.team-name {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  font-size: 15px;
  color: rgb(90, 91, 92);
}

.game-title {
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}

.teams-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.team-block {
  text-align: center;
  flex: 1;
}

.team-logo {
  height: 40px;
  margin-bottom: 4px;
}

.team-logo-small {
  height: 2em;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 0.25em;
}

.team-pred {
  font-size: 0.8rem;
  color: #666;
}

.team-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 60px;
  justify-content: flex-end;
}

.winner {
  background-color: #f0f9f2;
  border-radius: 10px;
  border: 2px solid #1a7f37;
}

.winner .team-score {
  color: #1a7f37;
  font-weight: 800;
}

.winner .team-name {
  font-weight: 700;
}

.games-date-header {
  position: sticky;
  top: 0;
  background: white;
  z-index: 5;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid #e5e7eb;
  color: #374151;
}

.bracket-wrapper {
    overflow: hidden;
    width: 100%;
}

.bracket-carousel {
    display: flex;
    width: 100%;
}

.round-page {
    min-width: 100%;
    padding: 16px;
    box-sizing: border-box;
}

.bracket-root {
  display: flex;
  position: relative;
  padding: 40px;
  height: 2200px;
}

/* Each round column */
.round-column-abs {
  position: relative;
  width: 240px;
}

/* Each matchup positioned absolutely */
.matchup {
  position: absolute;
  width: 220px;
}

/* Game box */
.matchup-inner {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 8px;
}

/* Teams */
.team {
  padding: 4px 6px;
  margin: 2px 0;
  border-radius: 6px;
  font-size: 13px;
}

.winner-bold {
  font-weight: 700;
}

.correct {
  background-color: #d4edda;
}

.incorrect {
  background-color: #f8d7da;
}

.strike {
  text-decoration: line-through;
  color: #8c0303 !important;
}

.seed {
  color: rgb(90, 91, 92);
  font-size: 12px;
  color: #8a8a8a;
  width: 26px;
  text-align: right;
}

.actual-score {
  -webkit-box-align: center;
  -webkit-box-flex: 0;
  flex: none;
  display: flex;
  min-width: 0;
  box-sizing: border-box;
}

.pred-score {
  font-size: 0.85rem;
  color: #6c757d;
}

.correct-card {
  border-left: 6px solid #198754;
}

.incorrect-card {
  border-left: 6px solid #dc3545;
}

.round-header {
  flex: 1;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
}


.nav-buttons {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: white;
  border-bottom: 1px solid #ddd;
}


.nav-left, .nav-middle, .nav-right {
  background: #0033A0;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 18px;
}

.nav-hidden {
  visibility: hidden;
  pointer-events: none;
}

.year-header {
  background: #f0f4ff;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  padding: 8px 0;
  margin-bottom: 8px;
}


