/* ── MPC STYLES ───────────────────────────────────── */
#cool-mpc {
  --grid-width: 900px;
}

#cool-mpc #mpc-section {
  padding: 32px 0;
  max-width: var(--grid-width);
  margin: 0 auto;
}

#cool-mpc .mpc-header {
  margin-bottom: 32px;
}

#cool-mpc .mpc-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 8px;
}

#cool-mpc .mpc-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Cards */
#cool-mpc .mpc-card {
  background: var(--surface);
  border: 1px solid var(--cell-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

#cool-mpc .mpc-card h3 {
  font-family: 'DM Mono', monospace;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 20px;
}

/* Buttons */
#cool-mpc .mpc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

#cool-mpc .mpc-btn {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

#cool-mpc .mpc-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

#cool-mpc .mpc-btn.next-btn {
  background: var(--accent);
  color: var(--bg);
  margin-top: 20px;
}

#cool-mpc .mpc-btn.next-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Grid layouts - fixed alignment */
#cool-mpc .grid-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: auto;
}

#cool-mpc .grid-header,
#cool-mpc .grid-row {
  display: flex;
  width: 100%;
  min-width: fit-content;
}

#cool-mpc .grid-header {
  font-weight: bold;
  border-bottom: 2px solid var(--cell-border);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

#cool-mpc .grid-row {
  border-bottom: 1px dotted var(--cell-border);
  padding: 8px 0;
}

#cool-mpc .row-label {
  width: 100px;
  flex-shrink: 0;
  color: var(--text-dim);
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
}

#cool-mpc .party-col {
  flex: 1;
  min-width: 80px;
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
}

#cool-mpc .party-col.hidden {
  color: var(--accent2);
  font-weight: bold;
}

/* Secret input */
#cool-mpc .secret-input {
  width: 70px;
  padding: 4px;
  background: var(--bg);
  border: 1px solid var(--cell-border);
  border-radius: 4px;
  color: var(--text);
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
}


/* Results */
#cool-mpc .reveal-result {
  font-size: 2rem;
  text-align: center;
  color: var(--accent);
  margin: 30px 0;
  font-family: 'Bebas Neue', sans-serif;
}

#cool-mpc .mpc-note {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 700px) {
  #cool-mpc .party-label,
  #cool-mpc .row-label {
    width: 60px;
    font-size: 0.7rem;
  }
  
  #cool-mpc .party-col {
    min-width: 50px;
    font-size: 0.7rem;
  }
  
  #cool-mpc .secret-input {
    width: 50px;
  }
}