/* ══════════════════════════════════════════════════════════════════
   COLISEO — ESTILOS DEL SIMULADOR DE COMBATES POKÉMON
   ══════════════════════════════════════════════════════════════════ */

#coliseo-screen {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
  animation: authFadeIn 0.3s ease;
}

.coliseo-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 16px;
  overflow-y: auto;
  gap: 12px;
}

.coliseo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.coliseo-main-title {
  font-family: 'Airlock', sans-serif;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.coliseo-subtitle {
  font-family: 'Airlock', sans-serif;
  font-size: 0.65rem;
  color: var(--primary);
  letter-spacing: 1px;
  margin-top: 3px;
}

/* ── MODE BAR ── */
.coliseo-mode-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.coliseo-mode-btn {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #aaa;
  font-family: 'Airlock', sans-serif;
  font-size: 0.68rem;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.coliseo-mode-btn.active {
  background: rgba(var(--primary-rgb), 0.18);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

/* ── BATTLE ARENA ── */
.battle-arena {
  width: 100%;
  max-width: 760px;
  height: 330px;
  margin: 0 auto;
  background: radial-gradient(circle at 50% 30%, rgba(var(--primary-rgb), 0.15) 0%, rgba(10, 13, 20, 0.98) 70%),
              linear-gradient(180deg, #121626 0%, #080a12 100%);
  border: 2px solid rgba(var(--primary-rgb), 0.35);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(var(--primary-rgb), 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px 25px;
}

.arena-side {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.arena-rival {
  align-items: flex-start;
}

.arena-player {
  align-items: flex-end;
}

/* ── PLATFORMS & SPRITES ── */
.platform-container {
  position: relative;
  width: 140px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-oval {
  position: absolute;
  bottom: 0px;
  width: 130px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.4) 0%, rgba(0,0,0,0.8) 75%);
  border: 1px solid rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
  transform: rotateX(55deg);
}

.battle-sprite {
  max-width: 110px;
  max-height: 110px;
  object-fit: contain;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.8));
  transition: transform 0.2s ease;
  animation: float-idle 3s ease-in-out infinite alternate;
}

.arena-player .battle-sprite {
  transform: scale(1.15);
}

@keyframes float-idle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.sprite-damaged {
  animation: damage-shake 0.5s ease-in-out !important;
}

@keyframes damage-shake {
  0%, 100% { transform: translateX(0); filter: brightness(1); }
  20%, 60% { transform: translateX(-10px); filter: brightness(2) drop-shadow(0 0 10px #ff4d4d); }
  40%, 80% { transform: translateX(10px); filter: brightness(2) drop-shadow(0 0 10px #ff4d4d); }
}

/* ── POKEMON HUDS ── */
.pokemon-hud {
  background: rgba(10, 14, 22, 0.88);
  border: 1.5px solid rgba(var(--primary-rgb), 0.35);
  border-radius: 8px;
  padding: 8px 12px;
  width: 220px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.7), inset 0 0 10px rgba(var(--primary-rgb), 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hud-name {
  font-family: 'Airlock', sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hud-level {
  font-family: 'Airlock', sans-serif;
  font-size: 0.65rem;
  color: #ffd700;
}

.hud-balls {
  display: flex;
  gap: 4px;
  margin: 2px 0;
}

.hud-ball {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 4px #4caf50;
}

.hud-ball.fainted {
  background: #444;
  box-shadow: none;
}

.hud-hp-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.hud-hp-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: #22c55e;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}

.hud-hp-bar-fill.warning {
  background: #eab308;
}

.hud-hp-bar-fill.danger {
  background: #ef4444;
}

.hud-hp-text {
  font-family: 'Airlock', sans-serif;
  font-size: 0.62rem;
  color: #cbd5e1;
  text-align: right;
  letter-spacing: 0.5px;
}

/* ── BATTLE CONSOLE ── */
.battle-console {
  max-width: 760px;
  margin: 8px auto 0;
  width: 100%;
  background: rgba(8, 10, 16, 0.95);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 6px;
  padding: 10px 14px;
  height: 85px;
  overflow-y: auto;
  font-family: 'Airlock', monospace;
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.4;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.8);
}

.battle-console .console-line {
  margin-bottom: 4px;
  animation: fadeIn 0.2s ease;
}

/* ── BATTLE CONTROLS ── */
.battle-controls {
  max-width: 760px;
  margin: 8px auto 0;
  width: 100%;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.moves-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.move-card-btn {
  background: rgba(20, 24, 36, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.move-card-btn:hover:not(:disabled) {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.6), 0 0 10px rgba(var(--primary-rgb), 0.3);
}

.move-card-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.move-btn-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.move-btn-name {
  font-family: 'Airlock', sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
}

.move-type-badge {
  font-size: 0.55rem;
  font-family: 'Airlock', sans-serif;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: bold;
  color: #000;
  letter-spacing: 0.5px;
}

.move-btn-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: #8892b0;
  font-family: 'Airlock', sans-serif;
}

.extra-actions {
  display: flex;
  gap: 8px;
}

.btn-action-switch {
  flex: 2;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-family: 'Airlock', sans-serif;
  font-size: 0.72rem;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-action-switch:hover {
  background: #38bdf8;
  color: #000;
}

.btn-action-forfeit {
  flex: 1;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #ef4444;
  font-family: 'Airlock', sans-serif;
  font-size: 0.72rem;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}

.btn-action-forfeit:hover {
  background: #ef4444;
  color: #000;
}

/* ── TEAM & MOVES CONFIG TAB ── */
.team-customizer-banner {
  background: rgba(20, 24, 34, 0.6);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}

.coliseo-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.coliseo-pokemon-card {
  background: rgba(14, 18, 27, 0.85);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.2s ease;
}

.coliseo-pokemon-card:hover {
  border-color: var(--primary);
}

.cpc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 8px;
}

.cpc-sprite-box {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.2) 0%, rgba(0,0,0,0.6) 80%);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cpc-sprite-box img {
  max-width: 120%;
  max-height: 120%;
  object-fit: contain;
}

.cpc-info {
  flex: 1;
}

.cpc-name {
  font-family: 'Airlock', sans-serif;
  font-size: 0.95rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cpc-meta {
  font-size: 0.65rem;
  color: #8892b0;
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 2px;
}

.cpc-moves-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.cpc-move-slot {
  background: rgba(0, 0, 0, 0.5);
  border: 1px dashed rgba(var(--primary-rgb), 0.3);
  border-radius: 4px;
  padding: 6px 8px;
  font-family: 'Airlock', sans-serif;
  font-size: 0.68rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.cpc-move-slot:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
}

/* ── BOSS RAID STYLES ── */
.coliseo-raid-container {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.boss-main-card {
  background: radial-gradient(circle at 50% 20%, rgba(185, 28, 28, 0.25) 0%, rgba(15, 18, 28, 0.95) 75%),
              linear-gradient(180deg, #181d2f 0%, #0c0e18 100%);
  border: 2px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.15), inset 0 0 20px rgba(0,0,0,0.8);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.boss-top-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.boss-status-badge {
  font-family: 'Airlock', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid #22c55e;
  color: #4ade80;
}

.boss-status-badge.paused {
  background: rgba(234, 179, 8, 0.2);
  border-color: #eab308;
  color: #fde047;
}

.boss-status-badge.defeated {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #f87171;
}

.helper-badge {
  font-family: 'Airlock', sans-serif;
  font-size: 0.6rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.boss-header-info {
  text-align: center;
  margin-bottom: 10px;
}

.boss-title {
  font-family: 'Airlock', sans-serif;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(239, 68, 68, 0.7);
  margin: 0;
}

.boss-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.boss-tag {
  font-family: 'Airlock', sans-serif;
  font-size: 0.65rem;
  color: #94a3b8;
  background: rgba(0,0,0,0.4);
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.1);
}

.type-pill {
  font-family: 'Airlock', sans-serif;
  font-size: 0.62rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 3px;
}

.boss-visual-stage {
  position: relative;
  width: 260px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px 0 15px;
}

.boss-aura-effect {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.45) 0%, rgba(239, 68, 68, 0) 70%);
  animation: pulseAura 2.2s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulseAura {
  0%, 100% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.18); opacity: 0.95; }
}

.boss-giant-sprite {
  max-width: 220px;
  max-height: 220px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 18px rgba(239, 68, 68, 0.8));
  animation: floatBoss 3s ease-in-out infinite alternate;
}

@keyframes floatBoss {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.boss-arena-sprite {
  max-width: 130px !important;
  max-height: 130px !important;
  filter: drop-shadow(0 0 14px rgba(239, 68, 68, 0.7)) !important;
}

.boss-hp-section {
  width: 100%;
  max-width: 520px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 16px;
  border-radius: 8px;
}

.boss-hp-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Airlock', sans-serif;
  margin-bottom: 6px;
}

.boss-hp-title {
  color: #ef4444;
  font-size: 0.75rem;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.boss-hp-numbers {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.boss-hp-track {
  width: 100%;
  height: 16px;
  background: #1e293b;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.boss-hp-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444 0%, #f97316 50%, #22c55e 100%);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.boss-hp-percentage {
  text-align: right;
  font-family: 'Airlock', sans-serif;
  font-size: 0.7rem;
  color: #38bdf8;
  margin-top: 4px;
}

/* ── MVP TOP DAÑO BANNER ── */
.boss-mvp-banner {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.18) 0%, rgba(20, 24, 34, 0.85) 100%);
  border: 1px solid rgba(234, 179, 8, 0.45);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.1);
}

.mvp-crown {
  font-size: 1.6rem;
  color: #facc15;
  animation: pulseAura 2s infinite alternate;
}

.mvp-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mvp-label {
  font-family: 'Airlock', sans-serif;
  font-size: 0.6rem;
  color: #facc15;
  letter-spacing: 1px;
}

.mvp-username {
  font-family: 'Airlock', sans-serif;
  font-size: 0.95rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
}

.mvp-score {
  font-family: 'Airlock', sans-serif;
  font-size: 0.9rem;
  color: #ef4444;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ── EQUIPO SELECCIONADO PARA ASALTO (3 POKÉMON) ── */
.raid-selected-team-box {
  width: 100%;
  max-width: 520px;
  margin-top: 12px;
  background: rgba(15, 20, 30, 0.7);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rst-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rsp-label {
  font-family: 'Airlock', sans-serif;
  font-size: 0.62rem;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.rst-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}

.rst-poke-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 6px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.rst-poke-card.active-fighter {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.rst-poke-card.inactive-fighter {
  opacity: 0.5;
  filter: grayscale(45%);
  border-color: rgba(255, 255, 255, 0.1);
}

.rst-poke-card.inactive-fighter:hover {
  opacity: 0.85;
  filter: grayscale(0%);
  border-color: rgba(var(--primary-rgb), 0.4);
}

.rst-select-tag {
  font-family: 'Airlock', sans-serif;
  font-size: 0.48rem;
  letter-spacing: 0.5px;
  padding: 1px 5px;
  border-radius: 3px;
  margin-bottom: 4px;
}

.active-fighter .rst-select-tag {
  background: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.6);
  font-weight: bold;
}

.inactive-fighter .rst-select-tag {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.rst-poke-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.rst-poke-name {
  font-family: 'Airlock', sans-serif;
  font-size: 0.7rem;
  color: #fff;
  font-weight: bold;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.rst-poke-types {
  font-size: 0.52rem;
  color: #38bdf8;
  font-family: 'Airlock';
}

.boss-action-row {
  margin-top: 16px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-boss-assault {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  border: 1px solid #f87171;
  font-family: 'Airlock', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-boss-assault:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.7);
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.btn-boss-assault:disabled {
  background: #334155;
  border-color: #475569;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.85;
}

/* ── RAID RANKING & DAMAGE HISTORY ── */
.raid-ranking-card {
  background: rgba(14, 18, 27, 0.9);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 8px;
  padding: 14px;
}

.raid-card-title {
  font-family: 'Airlock', sans-serif;
  font-size: 0.85rem;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.raid-history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
}

.raid-history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 10px;
  border-radius: 4px;
  border-left: 3px solid var(--primary);
}

/* ── HELPER MANAGEMENT PANEL ── */
.helper-boss-panel {
  background: rgba(16, 22, 34, 0.95);
  border: 1px dashed #38bdf8;
  border-radius: 10px;
  padding: 16px;
}

.helper-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.helper-panel-title {
  font-family: 'Airlock', sans-serif;
  font-size: 0.9rem;
  color: #38bdf8;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.helper-panel-desc {
  font-size: 0.65rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.helper-presets-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.presets-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-preset {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ddd;
  font-family: 'Airlock', sans-serif;
  font-size: 0.62rem;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-preset:hover {
  border-color: #38bdf8;
  color: #38bdf8;
}

.helper-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

@media (max-width: 580px) {
  .helper-form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-family: 'Airlock', sans-serif;
  font-size: 0.6rem;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.helper-actions-row {
  display: flex;
  gap: 10px;
}


@media (max-width: 600px) {
  .battle-arena {
    height: 270px;
    padding: 10px 14px;
  }
  .pokemon-hud {
    width: 160px;
    padding: 6px 8px;
  }
  .platform-container {
    width: 100px;
    height: 75px;
  }
  .battle-sprite {
    max-width: 80px;
    max-height: 80px;
  }
  .moves-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════
   ARCADE BOSS RAID ESTILOS — NUEVAS CARACTERÍSTICAS
   ══════════════════════════════════════════════════════════════════ */

/* Monedas Gloria Badge */
.coliseo-coins-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
  margin-top: 8px;
  font-family: 'Airlock', sans-serif;
}
.coin-icon { font-size: 1rem; }
.coin-amount { font-size: 0.9rem; color: #fbbf24; font-weight: bold; }
.coin-label { font-size: 0.55rem; color: #94a3b8; letter-spacing: 1px; }

/* Lore Text */
.boss-lore-text {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 6px 0 10px;
  font-style: italic;
  max-width: 520px;
}

/* Boss Shield Box */
.boss-shield-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 8px 0;
  width: 100%;
  max-width: 540px;
  transition: all 0.3s ease;
}
.boss-shield-box.shield-broken {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.08);
}
.shield-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.shield-badge-icon { font-size: 1rem; }
.shield-title {
  font-family: 'Airlock', sans-serif;
  font-size: 0.75rem;
  color: #fff;
  font-weight: bold;
}
.shield-status-tag {
  font-family: 'Airlock', sans-serif;
  font-size: 0.55rem;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: auto;
}
.shield-broken .shield-status-tag {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.shield-desc {
  font-size: 0.65rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.3;
}

/* Modificador Diario */
.daily-mod-card {
  width: 100%;
  max-width: 540px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 6px 0;
}
.daily-mod-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.daily-mod-tag {
  font-family: 'Airlock', sans-serif;
  font-size: 0.58rem;
  background: #f59e0b;
  color: #000;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: bold;
}
.daily-mod-title {
  margin: 0;
  font-family: 'Airlock', sans-serif;
  font-size: 0.75rem;
  color: #fde68a;
}
.daily-mod-desc {
  font-size: 0.65rem;
  color: #94a3b8;
  margin: 0;
}

/* Reigns Sinergias Card */
.reigns-synergies-card {
  width: 100%;
  max-width: 540px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 6px 0;
}
.reigns-syn-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.reigns-syn-title {
  font-family: 'Airlock', sans-serif;
  font-size: 0.68rem;
  color: #c084fc;
}
.reigns-syn-badge {
  font-family: 'Airlock', sans-serif;
  font-size: 0.55rem;
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  padding: 2px 6px;
  border-radius: 4px;
}
.reigns-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.reigns-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.62rem;
  color: #e2e8f0;
}
.reigns-chip.active {
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.15);
  color: #f3e8ff;
}

/* Muro de la Fama (Badges) */
.hall-of-fame-card {
  width: 100%;
  max-width: 600px;
  margin: 12px auto;
  background: rgba(10, 15, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px;
}
.hof-header { margin-bottom: 12px; }
.hof-title {
  font-family: 'Airlock', sans-serif;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 1px;
}
.hof-sub {
  font-size: 0.62rem;
  color: #8892b0;
}
.hof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 580px) {
  .hof-grid { grid-template-columns: 1fr; }
}
.hof-badge-item {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hbi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hbi-title {
  font-family: 'Airlock', sans-serif;
  font-size: 0.72rem;
  color: #fff;
}
.hbi-reward {
  font-family: 'Airlock', sans-serif;
  font-size: 0.6rem;
  color: #fbbf24;
  font-weight: bold;
}
.hbi-desc {
  font-size: 0.62rem;
  color: #94a3b8;
  line-height: 1.3;
}

/* Arena Top Controls */
.arena-top-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 760px;
  margin: 0 auto 8px;
  width: 100%;
}
.arena-turn-badge {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid #ef4444;
  color: #fff;
  font-family: 'Airlock', sans-serif;
  font-size: 0.75rem;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}
.arena-active-synergies-pill {
  font-family: 'Airlock', sans-serif;
  font-size: 0.62rem;
  color: #c084fc;
}

/* Battle Action Moves Trio */
.moves-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}
@media (max-width: 650px) {
  .moves-trio-grid { grid-template-columns: 1fr; }
}
.btn-action-move {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.btn-action-move:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.btn-action-move.action-fast { border-color: #38bdf8; }
.btn-action-move.action-fast:hover { background: rgba(56, 189, 248, 0.15); }
.btn-action-move.action-charged { border-color: #f59e0b; }
.btn-action-move.action-charged:hover { background: rgba(245, 158, 11, 0.15); }
.btn-action-move.action-support { border-color: #a855f7; }
.btn-action-move.action-support:hover { background: rgba(168, 85, 247, 0.15); }

.action-move-icon { font-size: 1.3rem; }
.action-move-info { display: flex; flex-direction: column; }
.action-move-title {
  font-family: 'Airlock', sans-serif;
  font-size: 0.75rem;
  color: #fff;
  font-weight: bold;
}
.action-move-desc {
  font-size: 0.58rem;
  color: #94a3b8;
  line-height: 1.2;
  margin-top: 2px;
}

/* Modal Overlay & Dilemma Card */
.coliseo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 16px;
  animation: authFadeIn 0.25s ease;
}
.coliseo-modal-overlay.hidden { display: none !important; }

.dilemma-modal-card {
  background: #0b0f19;
  border: 2px solid #ef4444;
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.5);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  padding: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dilemma-icon-warning {
  font-size: 2.4rem;
  color: #ef4444;
  animation: pulseWarning 1.2s infinite ease-in-out;
}
@keyframes pulseWarning {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px #ef4444); }
  50% { transform: scale(1.12); filter: drop-shadow(0 0 15px #ef4444); }
}
.dilemma-tag {
  font-family: 'Airlock', sans-serif;
  font-size: 0.65rem;
  color: #ef4444;
  letter-spacing: 2px;
}
.dilemma-title {
  font-family: 'Airlock', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
}
.dilemma-text {
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin: 0;
}
.dilemma-enrage-box {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  padding: 8px 10px;
  text-align: left;
}
.deb-lbl {
  font-family: 'Airlock', sans-serif;
  font-size: 0.6rem;
  color: #f87171;
  display: block;
}
.deb-val {
  font-size: 0.68rem;
  color: #fff;
}
.dilemma-choices-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
@media (max-width: 500px) {
  .dilemma-choices-row { grid-template-columns: 1fr; }
}
.btn-dilemma {
  padding: 12px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.btn-retreat {
  background: rgba(30, 41, 59, 0.9);
  border-color: #64748b;
  color: #fff;
}
.btn-retreat:hover {
  background: #334155;
  border-color: #94a3b8;
}
.btn-gamble {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
  border-color: #f87171;
  color: #fff;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}
.btn-gamble:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}
.dilemma-choice-title {
  font-family: 'Airlock', sans-serif;
  font-size: 0.78rem;
  font-weight: bold;
}
.dilemma-choice-desc {
  font-size: 0.58rem;
  opacity: 0.85;
  line-height: 1.2;
}

/* Modal Resumen Final */
.summary-modal-card {
  background: #0c101d;
  border: 2px solid #38bdf8;
  border-radius: 12px;
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.4);
  max-width: 480px;
  width: 100%;
  padding: 22px;
  text-align: center;
}
.summary-trophy {
  font-size: 2.2rem;
  color: #fbbf24;
}
.summary-title {
  font-family: 'Airlock', sans-serif;
  font-size: 1.15rem;
  color: #fff;
  margin: 6px 0 2px;
}
.summary-subtitle {
  font-size: 0.65rem;
  color: #94a3b8;
  margin: 0 0 14px;
}
.summary-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.summary-stat-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
}
.ss-lbl {
  font-family: 'Airlock', sans-serif;
  font-size: 0.52rem;
  color: #8892b0;
}
.ss-val {
  font-family: 'Airlock', sans-serif;
  font-size: 0.82rem;
  font-weight: bold;
  margin-top: 3px;
}
.text-red { color: #f87171; }
.text-blue { color: #38bdf8; }
.text-gold { color: #fbbf24; }

.summary-card-unlock {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid #a855f7;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  text-align: left;
}
.scu-icon { font-size: 1.5rem; }
.scu-tag {
  font-family: 'Airlock', sans-serif;
  font-size: 0.55rem;
  color: #c084fc;
  display: block;
}
.scu-name {
  font-family: 'Airlock', sans-serif;
  font-size: 0.72rem;
  color: #fff;
  font-weight: bold;
}

/* Shake de Impacto en el Boss */
.boss-hit-shake {
  animation: bossShake 0.4s ease-in-out;
}
@keyframes bossShake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-12px) rotate(-3deg); }
  40% { transform: translateX(12px) rotate(3deg); }
  60% { transform: translateX(-8px) rotate(-1deg); }
  80% { transform: translateX(8px) rotate(1deg); }
  100% { transform: translateX(0); }
}

/* ── COLISEO BUTTON RESET ── */
#coliseo-screen button,
.coliseo-container button {
  font-family: 'Airlock', sans-serif;
  color: #fff;
  border-style: solid;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

/* ── SUBNAV TABS ARCADE ── */
.coliseo-subnav-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.subnav-tab {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #94a3b8;
  font-family: 'Airlock', sans-serif;
  font-size: 0.72rem;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.subnav-tab:hover {
  color: #fff;
  border-color: rgba(56, 189, 248, 0.6);
  background: rgba(56, 189, 248, 0.15);
  transform: translateY(-1px);
}

.subnav-tab.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3) 0%, rgba(14, 165, 233, 0.15) 100%);
  border-color: #38bdf8;
  color: #fff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4), inset 0 0 10px rgba(56, 189, 248, 0.2);
}

.subnav-tab.subnav-helper-tab.active {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.3) 0%, rgba(202, 138, 4, 0.15) 100%);
  border-color: #eab308;
  color: #fde047;
  box-shadow: 0 0 16px rgba(234, 179, 8, 0.4), inset 0 0 10px rgba(234, 179, 8, 0.2);
}

.subnav-badge {
  background: #a855f7;
  color: #fff;
  font-size: 0.58rem;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: bold;
}

/* Quick Summary Ribbon in Arena Tab */
.quick-summary-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(10, 14, 26, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 6px;
  padding: 8px 12px;
  margin: 6px 0 12px;
  flex-wrap: wrap;
}

.qsr-chip {
  font-size: 0.68rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 5px;
}

.qsr-chip strong {
  color: #38bdf8;
}

.btn-inspect-rules {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-family: 'Airlock', sans-serif;
  font-size: 0.65rem;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.btn-inspect-rules:hover {
  background: rgba(56, 189, 248, 0.28);
  color: #fff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

/* Boss Strategy Card */
.boss-strategy-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
}
.bsc-title {
  font-family: 'Airlock', sans-serif;
  font-size: 0.75rem;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── STRATEGY PANE ENHANCEMENTS ── */
.strategy-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.strategy-header-title {
  font-family: 'Airlock', sans-serif;
  font-size: 0.75rem;
  color: #38bdf8;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-return-arena {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid #38bdf8;
  color: #fff;
  font-family: 'Airlock', sans-serif;
  font-size: 0.7rem;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.btn-return-arena:hover {
  background: rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
}

.strategy-shield-card {
  width: 100%;
  max-width: 540px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 6px 0;
}

.ssc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.ssc-icon {
  font-size: 1rem;
}

.ssc-title {
  font-family: 'Airlock', sans-serif;
  font-size: 0.75rem;
  color: #38bdf8;
  font-weight: bold;
}

.ssc-status {
  font-family: 'Airlock', sans-serif;
  font-size: 0.55rem;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #f87171;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: auto;
}

.ssc-desc {
  font-size: 0.65rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.3;
}


