/* 圈子牛牛 - 样式 */
.nn-table {
  max-width: 700px;
  margin: 0 auto;
  padding: 16px;
}

.nn-phase-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 16px;
}

.nn-phase {
  font-size: 15px;
  font-weight: 500;
  color: #FFD700;
}

.nn-banker-info {
  font-size: 13px;
  color: #FF9800;
}

.nn-players {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.nn-player {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  position: relative;
  min-height: 80px;
}

.nn-player-me {
  border-color: #FFD700;
  background: rgba(255, 215, 0, 0.08);
}

.nn-player-banker {
  border-color: #FF9800;
  background: rgba(255, 152, 0, 0.08);
}

.nn-player-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #fff;
}

.nn-grab-badge, .nn-bet-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  margin: 2px;
}

.nn-grab-badge {
  background: rgba(233, 30, 99, 0.2);
  color: #E91E63;
  border: 1px solid rgba(233, 30, 99, 0.3);
}

.nn-bet-badge {
  background: rgba(33, 150, 243, 0.2);
  color: #2196F3;
  border: 1px solid rgba(33, 150, 243, 0.3);
}

.nn-niu-type {
  font-size: 14px;
  font-weight: 500;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.nn-niu-big {
  background: rgba(244, 67, 54, 0.2);
  color: #F44336;
  border: 1px solid rgba(244, 67, 54, 0.4);
}

.nn-niu-mid {
  background: rgba(255, 152, 0, 0.2);
  color: #FF9800;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.nn-niu-small {
  background: rgba(158, 158, 158, 0.15);
  color: #9E9E9E;
  border: 1px solid rgba(158, 158, 158, 0.2);
}

.nn-score {
  font-size: 16px;
  font-weight: 500;
  margin-top: 6px;
}

.nn-win {
  color: #4CAF50;
}

.nn-lose {
  color: #F44336;
}

.nn-my-hand {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}

.nn-hand-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.nn-cards {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.nn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 64px;
  background-repeat: no-repeat;
  background-color: transparent;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nn-card-red {
  /* 精灵图本身有颜色，无需额外样式 */
}

.nn-my-niu {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #FFD700;
}

.nn-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.nn-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: #fff;
}

.nn-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nn-btn-grab {
  background: linear-gradient(135deg, #E91E63, #C2185B);
}

.nn-btn-bet {
  background: linear-gradient(135deg, #2196F3, #1565C0);
}

.nn-btn-reveal {
  background: linear-gradient(135deg, #FF9800, #E65100);
  font-size: 16px;
  padding: 10px 30px;
}

@media (max-width: 600px) {
  .nn-players {
    grid-template-columns: 1fr;
  }
  .nn-card {
    width: 40px;
    height: 54px;
    font-size: 14px;
  }
}
