/* 失落的城市 桌面 Setup 摆放动画 CSS */
.lc-setup-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lc-setup-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--lc-border);
}

.lc-step-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.lc-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lc-gold);
}

.lc-step-desc {
  font-size: 0.95rem;
  color: var(--lc-text-muted);
}

.lc-btn-group {
  display: flex;
  gap: 0.6rem;
}

.lc-btn-action {
  background: linear-gradient(135deg, #d4af37 0%, #aa8c2c 100%);
  border: none;
  color: #14171a;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, filter 0.2s;
}

.lc-btn-action:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.lc-btn-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* 虚拟桌布与版图样式 */
.lc-board-view {
  background: radial-gradient(circle, #242b35 0%, #11151a 100%);
  border: 2px solid var(--lc-border);
  border-radius: 16px;
  padding: 2rem;
  min-height: 480px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  justify-content: space-between;
  overflow: hidden;
}

/* 通用步骤置灰与激活动画 Transition */
.lc-setup-zone {
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.3s ease, border-color 0.3s ease;
  border-radius: 12px;
  padding: 0.8rem;
  position: relative;
}

.lc-setup-zone.dimmed {
  filter: grayscale(0.85) opacity(0.35);
  pointer-events: none;
}

.lc-setup-zone.highlighted {
  filter: none;
  opacity: 1;
  border: 1px solid var(--lc-gold);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 20px rgba(241, 196, 15, 0.25);
  transform: scale(1.01);
}

/* 中央 5 色路线弃牌槽 */
.lc-discard-piles-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px dashed var(--lc-border);
}

.lc-pile-slot {
  width: 76px;
  height: 114px;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.3s;
}

.lc-pile-label {
  font-size: 0.75rem;
  color: var(--lc-text-muted);
  margin-top: 4px;
}

/* 摸牌堆 */
.lc-deck-slot {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 120px;
  background: linear-gradient(135deg, #2b323c 0%, #15181e 100%);
  border: 2px solid var(--lc-border-highlight);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.6);
  transition: filter 0.4s, opacity 0.4s, transform 0.3s, box-shadow 0.3s;
}

.lc-deck-slot.highlighted {
  filter: none;
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 25px rgba(241, 196, 15, 0.6);
  border-color: #ffffff;
}

.lc-deck-count {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--lc-gold);
}

/* 玩家手牌区域 */
.lc-player-hand-row {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  min-height: 114px;
}

/* 扣牌背面样式 (用于 Player 2 对手手牌) */
.lc-card-back {
  width: 76px;
  height: 114px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
  border: 2px solid var(--lc-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  font-size: 1.5rem;
}

.first-player-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #e74c3c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.5);
  animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.08); }
  100% { transform: translateX(-50%) scale(1); }
}
