/* ════ PANEL PRINCIPAL ════ */
#main-screen { min-height: 0; }
#main-screen.active { display: block; }

/* ════ TABS ════ */
.tabs { background: var(--dark); display: flex; border-bottom: 1px solid var(--border); padding: 0 24px; gap: 4px; }
.tab { padding: 14px 20px; font-family: var(--font-d); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all .2s; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.tab svg { width: 15px; height: 15px; flex-shrink: 0; }
.tab.active { color: var(--brand-light); border-bottom-color: var(--brand); }
.tab:hover:not(.active) { color: var(--text); }
#list-count { font-size: 11px; background: var(--brand); color: white; padding: 1px 7px; border-radius: 10px; margin-left: 4px; display: none; }
.tab-content { display: none; padding: 28px 32px; }
.tab-content.active { display: block; }

@media (max-width: 700px) {
  /* En mobile la barra se hace scrolleable horizontal para que
     siempre se pueda llegar a la pestaña Estadísticas. */
  .tabs { padding: 0 8px; gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { padding: 12px 12px; font-size: 12px; letter-spacing: 1px; gap: 5px; }
  .tab-content { padding: 18px 14px; }
}
