/* Estilos canónicos para Póker Roguelike: Desafío de Comodines */
:root,
[data-theme="dark"] {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Variables corporativas y cabecera en modo oscuro */
  --bg-card: #131b2e;
  --bg-card-header: #19243d;
  --bg-input: #0f172a;
  --border-color: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3af;
  --primary-color: #10b981;
  --primary-light: rgba(16, 185, 129, 0.15);

  /* Tablero temático Póker Roguelike (modo oscuro) */
  --bg-felt: #0c1a14;
  --bg-board: #11261d;
  --bg-panel: #163326;
  --border-board: #1f4a38;

  --color-chip: #38bdf8;
  --color-mult: #ef4444;
  --color-gold: #fbbf24;
  --color-cash: #22c55e;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--bg-felt);
  color: var(--text-main);
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.mono {
  font-family: var(--font-mono);
}

/* Contenedor del tablero */
.game-table-container {
  background: radial-gradient(circle at 50% 30%, #17382b 0%, #0d1e17 100%);
  border: 2px solid var(--border-board);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6), 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Efecto de sacudida */
.screen-shake {
  animation: shakeAnim 0.3s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shakeAnim {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
  40%, 60% { transform: translate3d(3px, 0, 0); }
}

/* Barra superior de estado (KPIs) */
.table-status-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.status-box {
  background-color: rgba(10, 24, 18, 0.85);
  border: 1px solid var(--border-board);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.status-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: none;
  margin-bottom: 0.2rem;
}

.status-val {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.status-val.target { color: var(--color-chip); }
.status-val.current { color: #f87171; }
.status-val.money { color: var(--color-gold); }

/* Barra de progreso de puntos */
.score-progress-wrapper {
  background-color: rgba(0, 0, 0, 0.4);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.score-progress-fill {
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

/* Área de comodines y consumibles */
.equipment-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.cards-rack {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.joker-card {
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 0.5rem;
  padding: 0.5rem;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-size: 0.75rem;
}

.joker-card.comun { border-color: #64748b; }
.joker-card.infrecuente { border-color: #10b981; }
.joker-card.raro { border-color: #a855f7; }
.joker-card.legendario { border-color: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }

.joker-card.empty {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  align-items: center;
  justify-content: center;
  font-style: italic;
}

.joker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}

.joker-name {
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-sell-joker {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.7rem;
  padding: 4px 8px;
  min-height: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-sell-joker:hover {
  background: rgba(239, 68, 68, 0.4);
}

.joker-desc {
  color: #cbd5e1;
  font-size: 0.7rem;
  line-height: 1.2;
}

.joker-glow {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 15px #f59e0b;
}

/* Consumibles */
.consumables-rack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  max-width: 320px;
}

.consumable-card {
  background: #2e1065;
  border: 2px solid #7c3aed;
  border-radius: 0.5rem;
  padding: 0.4rem 0.6rem;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.75rem;
}

.consumable-card.empty {
  border: 2px dashed rgba(124, 58, 237, 0.3);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  align-items: center;
  justify-content: center;
}

.consumable-name {
  font-weight: 700;
  color: #c4b5fd;
}

.consumable-desc {
  font-size: 0.65rem;
  color: #e9d5ff;
}

.btn-use-consumable {
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 4px 10px;
  min-height: 32px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

/* Área central de previsualización de puntuación */
.score-preview-box {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hand-preview-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-heading);
}

.hand-math-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-mono);
}

.chips-val {
  color: var(--color-chip);
}

.math-symbol {
  color: #9ca3af;
}

.mult-val {
  color: var(--color-mult);
}

/* Mano del jugador (Cartas) */
.hand-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-height: 140px;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
}

.playing-card {
  width: 72px;
  height: 104px;
  background-color: transparent;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s ease;
}

.playing-card .card-svg-face {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0.45rem;
  pointer-events: none;
}

.playing-card:hover {
  transform: translateY(-8px);
}

.playing-card.selected {
  transform: translateY(-16px);
  box-shadow: 0 10px 15px -3px rgba(56, 189, 248, 0.5), 0 0 0 2px #38bdf8;
}

.playing-card.scoring-active {
  transform: translateY(-24px) scale(1.1);
  box-shadow: 0 0 20px #ef4444;
  z-index: 10;
}

.playing-card.disabled {
  opacity: 0.4;
  filter: grayscale(1);
}

.playing-card.corazones { color: #dc2626; }
.playing-card.diamantes { color: #ea580c; }
.playing-card.treboles { color: #059669; }
.playing-card.picas { color: #4f46e5; }

.card-top, .card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
}

.card-bottom {
  transform: rotate(180deg);
}

.card-center {
  font-size: 1.6rem;
  text-align: center;
}

.card-badges {
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 2px;
}

.card-badge {
  font-size: 0.6rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  color: #fff;
}

.card-badge.steel { background-color: #64748b; }
.card-badge.chips { background-color: #0284c7; }
.card-badge.mult { background-color: #dc2626; }

/* Barra de acciones de juego */
.table-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-buttons-group {
  display: flex;
  gap: 0.75rem;
  flex: 1 1 auto;
}

.btn-game-action {
  flex: 1 1 0%;
  min-height: 44px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
}

.btn-game-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-play {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-play:not(:disabled):hover {
  background: linear-gradient(135deg, #0369a1, #1d4ed8);
  transform: translateY(-2px);
}

.btn-discard {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-discard:not(:disabled):hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  transform: translateY(-2px);
}

.utility-buttons-group {
  display: flex;
  gap: 0.5rem;
}

.btn-util {
  background: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  padding: 0.5rem 0.85rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-util:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Modales */
.game-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.game-modal-dialog {
  background-color: #0f172a;
  border: 2px solid #334155;
  border-radius: 1rem;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  position: relative;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #fff;
  text-align: center;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.25rem;
}

.shop-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.shop-card-item {
  background: #1e293b;
  border: 2px solid #3b82f6;
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

.shop-card-item.tarot { border-color: #8b5cf6; }
.shop-card-item.planet { border-color: #06b6d4; }

.shop-item-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #93c5fd;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.shop-item-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.shop-item-desc {
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.shop-item-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.btn-buy-item {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-buy-item:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn-modal-primary {
  flex: 1 1 0%;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem;
  min-height: 44px;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-modal-secondary {
  flex: 1 1 0%;
  background: #334155;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem;
  min-height: 44px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

/* Recompensas de victoria */
.victory-rewards-list {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.reward-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.9rem;
}

.reward-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Toast flotante */
.game-toast-container {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
  pointer-events: none;
}

.game-toast {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid #38bdf8;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

.game-toast.fade-out {
  opacity: 0;
}

/* Grícula de mazo */
.deck-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
  gap: 0.4rem;
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.5rem;
}

.deck-card-mini {
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-card-mini img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  display: block;
}

.deck-card-mini.corazones { color: #dc2626; }
.deck-card-mini.diamantes { color: #ea580c; }
.deck-card-mini.treboles { color: #059669; }
.deck-card-mini.picas { color: #4f46e5; }

/* Lista de manos */
.info-hands-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-hand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0.75rem;
  border-radius: 0.4rem;
}

.badge-level {
  background: #3b82f6;
  color: #fff;
  font-size: 0.65rem;
  padding: 1px 4px;
  border-radius: 4px;
  margin-left: 0.3rem;
}

.hand-row-stats .chips { color: var(--color-chip); }
.hand-row-stats .mult { color: var(--color-mult); }

/* Explicación SEO y Guía */
.game-seo-section {
  background-color: var(--bg-board);
  border: 1px solid var(--border-board);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 2rem;
  color: #cbd5e1;
}

.game-seo-section h2 {
  font-family: var(--font-heading);
  color: #fff;
  margin-top: 0;
  margin-bottom: 1rem;
}

.game-seo-section h3 {
  font-family: var(--font-heading);
  color: #38bdf8;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.game-seo-section p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.game-seo-section ul {
  padding-left: 1.25rem;
  line-height: 1.6;
}

/* Responsividad */
@media (max-width: 768px) {
  .cards-rack {
    grid-template-columns: repeat(3, 1fr);
  }
  .playing-card {
    width: 58px;
    height: 88px;
    font-size: 0.75rem;
  }
  .card-center {
    font-size: 1.2rem;
  }
  .shop-items-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   Modo claro (data-theme="light")
   ======================================================== */
[data-theme="light"] {
  /* Variables corporativas y cabecera en modo claro */
  --bg-card: #ffffff;
  --bg-card-header: #f8fafc;
  --bg-input: #ffffff;
  --border-color: #cbd5e1;
  --text-main: #0f172a;
  --text-muted: #475569;
  --primary-color: #059669;
  --primary-light: rgba(5, 150, 105, 0.1);

  /* Tablero temático Póker Roguelike (modo claro) */
  --bg-felt: #f8fafc;
  --bg-board: #ffffff;
  --bg-panel: #f1f5f9;
  --border-board: #cbd5e1;

  --color-chip: #0284c7;
  --color-mult: #dc2626;
  --color-gold: #d97706;
  --color-cash: #16a34a;
}

/* Blindaje de cabecera institucional canónica */
.app-header {
  background: var(--bg-card, #131b2e);
  border-bottom: 1px solid var(--border-color, #1e293b);
}

[data-theme="dark"] .app-header {
  background: #131b2e !important;
  border-bottom: 1px solid #1e293b !important;
}

[data-theme="dark"] .brand-title {
  color: #f8fafc !important;
}

[data-theme="dark"] .brand-subtitle {
  color: #94a3af !important;
}

[data-theme="dark"] .btn-back-tools,
[data-theme="dark"] .btn-icon {
  background: #0f172a !important;
  border-color: #1e293b !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .brand-logo-box {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: #10b981 !important;
  color: #10b981 !important;
}

[data-theme="light"] .app-header {
  background: #ffffff !important;
  border-bottom: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .brand-title {
  color: #0f172a !important;
}

[data-theme="light"] .brand-subtitle {
  color: #475569 !important;
}

[data-theme="light"] .btn-back-tools,
[data-theme="light"] .btn-icon {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .brand-logo-box {
  background: rgba(5, 150, 105, 0.1) !important;
  border-color: #059669 !important;
  color: #059669 !important;
}

[data-theme="light"] .game-table-container {
  background: radial-gradient(circle at 50% 30%, #e8f5e9 0%, #c8e6c9 100%);
  border-color: #81c784;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.08), 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .status-box {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: #bbf7d0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .status-label {
  color: #475569;
}

[data-theme="light"] .status-val {
  color: #0f172a;
}

[data-theme="light"] .status-val.target { color: var(--color-chip); }
[data-theme="light"] .status-val.current { color: var(--color-mult); }
[data-theme="light"] .status-val.money { color: var(--color-gold); }

[data-theme="light"] .score-progress-wrapper {
  background-color: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .joker-card {
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .joker-name {
  color: #0f172a;
}

[data-theme="light"] .joker-desc {
  color: #475569;
}

[data-theme="light"] .joker-card.empty {
  border-color: #cbd5e1;
  background: rgba(255, 255, 255, 0.5);
  color: #94a3b8;
}

[data-theme="light"] .consumable-card {
  background: #fdf4ff;
  border-color: #d8b4fe;
}

[data-theme="light"] .consumable-name {
  color: #581c87;
}

[data-theme="light"] .consumable-desc {
  color: #7e22ce;
}

[data-theme="light"] .consumable-card.empty {
  border-color: #e9d5ff;
  background: rgba(255, 255, 255, 0.5);
  color: #94a3b8;
}

[data-theme="light"] .score-preview-box {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: #bbf7d0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hand-preview-title {
  color: #0f172a;
}

[data-theme="light"] .math-symbol {
  color: #64748b;
}

[data-theme="light"] .btn-util {
  background: rgba(255, 255, 255, 0.85);
  color: #1e293b;
  border-color: #81c784;
}

[data-theme="light"] .btn-util:hover {
  background: #ffffff;
}

[data-theme="light"] .game-modal-dialog {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  color: #0f172a;
}

[data-theme="light"] .modal-title {
  color: #0f172a;
}

[data-theme="light"] .modal-subtitle {
  color: #475569;
}

[data-theme="light"] .shop-card-item {
  background: #f8fafc;
  border-color: #93c5fd;
}

[data-theme="light"] .shop-card-item.tarot { border-color: #c4b5fd; }
[data-theme="light"] .shop-card-item.planet { border-color: #67e8f9; }

[data-theme="light"] .shop-item-name {
  color: #0f172a;
}

[data-theme="light"] .shop-item-desc {
  color: #475569;
}

[data-theme="light"] .btn-modal-secondary {
  background: #e2e8f0;
  color: #1e293b;
}

[data-theme="light"] .btn-modal-secondary:hover {
  background: #cbd5e1;
}

[data-theme="light"] .victory-rewards-list {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

[data-theme="light"] .info-hand-row {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .game-seo-section {
  background-color: #ffffff;
  border-color: #e2e8f0;
  color: #334155;
}

[data-theme="light"] .game-seo-section h2 {
  color: #0f172a;
}

[data-theme="light"] .game-toast {
  background: rgba(255, 255, 255, 0.98);
  border-color: #0284c7;
  color: #0f172a;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}
