/* Wider content column for graphs */
.wrapper {
    max-width: 1000px !important;
}

/* Base card styles */
.card, .mini-card {
    border: 2px solid #333 !important;
    border-radius: 3px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-family: inherit !important;
  }
  
  .card {
    width: 30px;
    height: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    margin: 2px;
  }
  
  .mini-card {
    width: 30px;
    height: 42px;
    font-size: 14px;
  }
  
  /* Suit colors */
  .card.green, .mini-card.green { background: #90ee90 !important; color: #2a5a2a !important; }
  .card.blue, .mini-card.blue { background: #87ceeb !important; color: #1e4d8b !important; }
  .card.pink, .mini-card.pink { background: #ffb6c1 !important; color: #8b1538 !important; }
  .card.yellow, .mini-card.yellow { background: #ffeb3b !important; color: #6b5b00 !important; }
  .card.rocket, .mini-card.rocket { 
    background: black !important; 
    color: white !important;
    border-color: black !important;
  }
  
  /* States */
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
  .card.illegal {
    opacity: 0.4;
    cursor: not-allowed;
  }
  
  .card.target {
    box-shadow: 0 0 0 3px gold;
  }
  
  /* Deck display 
  .deck-display {
    margin: 2em 0;
    padding: 1em;
    border-radius: 8px;
  }
  */
  .suit-row {
    display: flex !important;
    gap: 8px;
    margin: 12px 0;
    align-items: flex-start;
    flex-direction: row;
    width: 100%;
  }
  
  .suit-label {
    width: 150px;
    font-weight: bold;
    text-transform: capitalize;
    flex-shrink: 0;
    display: inline-block;
  }
  
  .suit-cards {
    display: flex !important;
    gap: 4px;
    flex-wrap: wrap;
    flex: 1;
  }

  /* Game state table styles */
.game-state-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
  }
  
  .game-state-table th {
    text-align: left;
    padding: 0.5em;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
  }
  
  .game-state-table td {
    padding: 0.5em;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .player-name {
    font-weight: bold;
    white-space: nowrap;
  }
  
  .commander-badge {
    background: gold;
    color: black;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8em;
    margin-left: 0.5em;
  }
  
  .hand-cards {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
    max-width: 400px;
  }
  
  .card-wrapper {
    display: inline-block;
  }
  
  .card-wrapper.dimmed {
    opacity: 0.3;
  }
  
  .played-card {
    text-align: center;
  }
  
  .no-card {
    color: #999;
    font-size: 1.5em;
  }
  
  .commentary {
    font-style: italic;
    color: #666;
    font-size: 0.9em;
  }