.mp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
}
.mp-header h1 {
    font-size: 1.6rem;
    color: #FFD700;
    line-height: 1.2;
}
.mp-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;  
  margin-bottom: 10px;      
}
.mp-actions .btn {
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #3B7EED;
    transition: background-color 0.3s ease;
}
.mp-actions .btn:hover { background-color: #1F5B99; }

.mp-main {
    width: min(1400px, 95vw);
    margin: 0 auto;
    padding: 12px 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
.mp-status { margin: 8px 0 16px; font-weight: bold; opacity: 0.9; }

#housePicksContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
    align-items: start;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
  }

.leaderboard-user {
    display: flex;
    align-items: center;
    gap: 8px;
}
.leaderboard-user img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.user-picks-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    box-sizing: border-box;
}
.user-picks-table th,
.user-picks-table td {
    padding: 10px;
    border: 1px solid #444;
    background-color: #333;
    color: #FFD700;
    word-wrap: break-word;
}
.user-picks-table th {
    background-color: #444;
    font-weight: bold;
    color: #FFD700;
}
.user-picks-table td.correct {
    color: #28a745;
    background-color: #333;
}
.user-picks-table td.incorrect {
    color: #dc3545;
    background-color: #333;
}

.user-picks-container {
    background-color: #282828;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: auto;            
    max-width: 100%;
}

.user-header,
.leaderboard-table th,
.leaderboard-table td {
    color: #FFD700;
}

#backToHomeButton,
button.back-to-home {
    background-color: #3B7EED;
    color: white;
    font-weight: bold;
    padding: 10px 16px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#backToHomeButton:hover,
button.back-to-home:hover {
    background-color: #1F5B99;
}

.hidden { display: none !important; }
.center { text-align: center; }

.house-picks-title {
    display: block;    
    margin: 12px 0 14px;       
    padding: 10px 18px;
    background: #333;
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,.35);
    text-align: center;
  }
  #housePicksContainer .user-picks-container:first-child {
    grid-column: 1 / -1;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }


.mp-admin {
  display: none;              
  margin: 12px 0 20px;
  padding: 16px;
  border: 2px solid #FFD700;
  background: #222;
  border-radius: 12px;
  max-width: 1000px;
  width: 100%;
}
.mp-admin h2 { margin: 0 0 8px; color: #FFD700; }
.mp-admin textarea {
  width: 100%;
  min-height: 90px;
  background: #111;
  border: 1px solid #444;
  color: #fff;
  border-radius: 8px;
  padding: 10px;
}
.mp-admin-actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.mp-admin-members { margin-top: 12px; }
.mp-admin-members ul { margin: 6px 0 0; padding-left: 18px; }

.btn.btn-secondary { background: #555; }
.btn.btn-secondary:hover { background: #333; }

@media (max-width: 430px) {
    .house-picks-title {
      font-size: 20px;
      padding: 8px 15px;
      text-align: center;
      width: fit-content;
      margin: 0 auto 15px;
    }
  
    .mp-actions {
      width: 100%;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px;
    }
    .mp-actions .btn,
    button {
      width: 100%;
      font-size: 14px;
      padding: 10px;
      max-width: 380px;
    }
  
    #housePicksContainer {
      display: grid;
      grid-template-columns: 1fr; 
      gap: 15px;
      padding: 10px;
    }
  
    #housePicksContainer .user-picks-container:first-child {
      grid-column: auto;           
      width: 95%;
      max-width: 380px;
      margin-left: auto;
      margin-right: auto;
    }
  
    .user-picks-container {
      width: 100%;
      max-width: 380px;
      padding: 15px;
      margin-left: auto;
      margin-right: auto;
    }
  
    .user-picks-table {
      width: 100%;
      font-size: 12px;
      table-layout: fixed;
    }
    .user-picks-table th,
    .user-picks-table td {
      padding: 6px;
      word-break: break-word;
    }
  }
  
