/* TDL — Pase de batalla mobile v1 (solo celular) */
.tdl-mbp-head { display: none; }

@media (max-width: 767px) {
  /* Resumen */
  html body.page-battle_pass:not(#x):not(#y) .bp-summary h1 { font-size: 30px !important; line-height: 1.1 !important; }
  html body.page-battle_pass:not(#x):not(#y) .bp-summary .bp-stats { gap: 10px !important; }
  html body.page-battle_pass:not(#x):not(#y) .bp-summary [class*=progress] span,
  html body.page-battle_pass:not(#x):not(#y) .bp-summary .text-xs { font-size: 13px !important; }

  /* Recompensas totales: grilla compacta de 2 columnas */
  html body.page-battle_pass:not(#x):not(#y) .bp-ov-grid { gap: 16px !important; }
  html body.page-battle_pass:not(#x):not(#y) .bp-ov-track { padding: 14px !important; }
  html body.page-battle_pass:not(#x):not(#y) .bp-ov-track > div:last-child,
  html body.page-battle_pass:not(#x):not(#y) .bp-ov-track ul { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  html body.page-battle_pass:not(#x):not(#y) .bp-ov-track > div:last-child > *,
  html body.page-battle_pass:not(#x):not(#y) .bp-ov-track ul > * { margin: 0 !important; min-width: 0 !important; padding: 10px !important; }
  html body.page-battle_pass:not(#x):not(#y) .bp-ov-track strong { font-size: 18px !important; }

  /* Niveles: lista vertical, cada fila = nivel + premio gratis + premio premium */
  html body.page-battle_pass:not(#x):not(#y) .bp-list { padding: 14px 12px 16px !important; overflow: visible !important; }
  html body.page-battle_pass:not(#x):not(#y) .tdl-bp-labels,
  html body.page-battle_pass:not(#x):not(#y) .tdl-bp-nav { display: none !important; }
  html body.page-battle_pass:not(#x):not(#y) .tdl-bp-wrap { display: block !important; height: auto !important; overflow: visible !important; }
  html body.page-battle_pass:not(#x):not(#y) .tdl-bp-track {
    display: flex !important; flex-direction: column !important; gap: 10px !important; overflow: visible !important;
    height: auto !important; width: 100% !important; transform: none !important; padding: 0 !important; scroll-snap-type: none !important;
  }
  html body.page-battle_pass:not(#x):not(#y) .tdl-bp-track .bp-level-row,
  html body.page-battle_pass:not(#x):not(#y) .tdl-bp-track .bp-level-row.is-hidden {
    display: grid !important; grid-template-columns: 44px minmax(0,1fr) minmax(0,1fr) !important; grid-template-rows: auto !important; grid-auto-rows: auto !important; grid-auto-flow: row !important; gap: 8px !important; align-items: stretch !important; max-height: none !important;
    width: 100% !important; min-width: 0 !important; height: auto !important; flex: none !important; padding: 0 !important; margin: 0 !important;
  }
  html body.page-battle_pass:not(#x):not(#y) .bp-level-row .bp-level-cell {
    width: 44px !important; height: auto !important; min-height: 0 !important; padding: 0 !important; border-radius: 12px !important; grid-row: 1 !important; grid-column: 1 !important;
    display: flex !important; align-items: center !important; justify-content: center !important; font: 700 20px Oswald, Inter, sans-serif !important;
  }
  html body.page-battle_pass:not(#x):not(#y) .bp-level-row .bp-reward-card {
    width: auto !important; min-width: 0 !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; padding: 10px 8px !important; grid-row: 1 !important;
    display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 6px !important; border-radius: 14px !important;
  }
  html body.page-battle_pass:not(#x):not(#y) .bp-level-row .bp-reward-img { width: 44px !important; height: 44px !important; margin: 0 !important; }
  html body.page-battle_pass:not(#x):not(#y) .bp-level-row .bp-reward-card .min-w-0 { width: 100% !important; }
  html body.page-battle_pass:not(#x):not(#y) .bp-level-row .bp-track-pill { display: none !important; }
  html body.page-battle_pass:not(#x):not(#y) .bp-level-row .bp-reward-name { font-size: 13px !important; line-height: 1.25 !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden !important; white-space: normal !important; }
  html body.page-battle_pass:not(#x):not(#y) .bp-level-row .bp-reward-desc { display: none !important; }
  html body.page-battle_pass:not(#x):not(#y) .bp-level-row .bp-reward-actions { width: 100% !important; margin: 0 !important; }
  html body.page-battle_pass:not(#x):not(#y) .bp-level-row .bp-reward-actions > *,
  html body.page-battle_pass:not(#x):not(#y) .bp-level-row .bp-reward-actions button { width: 100% !important; min-height: 32px !important; height: auto !important; padding: 4px 6px !important; font-size: 12px !important; border-radius: 9px !important; }

  /* Encabezado de columnas */
  html body.page-battle_pass:not(#x) .tdl-mbp-head {
    display: grid; grid-template-columns: 44px 1fr 1fr; gap: 8px; margin: 0 0 10px; position: sticky; top: var(--tdl-mhead-h, 128px); z-index: 20;
    padding: 8px 0; background: rgba(8,8,8,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  html body.page-battle_pass:not(#x) .tdl-mbp-head span { font: 700 12px Inter, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; text-align: center; color: #b9b2a5; }
  html body.page-battle_pass:not(#x) .tdl-mbp-head span.prem { color: #e8b95c; }
}
