.mdb-stats-stage{display:block;width:100%;border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#fff;box-sizing:border-box}
.mdb-stats-details{display:block;margin:0;padding:0}
.mdb-stats-details summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:42px;padding:10px 13px;box-sizing:border-box;background:#fafafa;color:#111318;font-family:Lato,Arial,sans-serif;font-size:10px;font-weight:900;letter-spacing:.045em;text-transform:uppercase;cursor:pointer;list-style:none}
.mdb-stats-details summary::-webkit-details-marker{display:none}
.mdb-stats-details summary:hover,.mdb-stats-details summary:focus-visible{color:#ff4700;outline:none}
.mdb-stats-details summary b{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 22px;color:#ff4700;font-family:Lato,Arial,sans-serif;font-size:18px;line-height:1;font-weight:500;transition:transform .16s ease}
.mdb-stats-details summary .is-open{display:none}
.mdb-stats-details[open] summary .is-closed{display:none}
.mdb-stats-details[open] summary .is-open{display:inline}
.mdb-stats-details[open] summary b{transform:rotate(45deg)}
.mdb-stats-panel{padding:0 13px 13px;border-top:1px solid #eceeef;background:#fff}
.mdb-stats-season-block+.mdb-stats-season-block{margin-top:10px;padding-top:2px;border-top:1px solid #eceeef}
.mdb-stats-season{padding:11px 0 8px;color:#ff4700;font-family:Lato,Arial,sans-serif;font-size:9px;line-height:1.2;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.mdb-stats-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.mdb-stats-table{width:100%;min-width:520px;table-layout:fixed;border-collapse:collapse;background:#fff;font-family:Lato,Arial,sans-serif}
.mdb-stats-table.is-coach th:first-child,.mdb-stats-table.is-coach td:first-child{width:44%}
.mdb-stats-table.is-coach th:not(:first-child),.mdb-stats-table.is-coach td:not(:first-child){width:14%}
.mdb-stats-table.is-player th:first-child,.mdb-stats-table.is-player td:first-child{width:30%}
.mdb-stats-table.is-player th:not(:first-child),.mdb-stats-table.is-player td:not(:first-child){width:10%}
.mdb-stats-table th,.mdb-stats-table td{padding:8px 9px;border-bottom:1px solid #eceeef;text-align:center;white-space:nowrap}
.mdb-stats-table th{background:#f5f5f5;color:#727980;font-size:9px;line-height:1.2;font-weight:900;letter-spacing:.035em;text-transform:uppercase}
.mdb-stats-table td{color:#333;font-size:11px;line-height:1.25;font-weight:700}
.mdb-stats-table th:first-child,.mdb-stats-table td:first-child{text-align:left}
.mdb-stats-table td:first-child{font-weight:900;color:#111318}
.mdb-stats-table td:first-child a,.mdb-stats-table td:first-child a:visited{display:inline-flex;align-items:center;gap:6px;color:#111318!important;text-decoration:none!important}
.mdb-stats-table td:first-child a span{color:#ff4700;font-size:13px}
.mdb-stats-table td:first-child a:hover,.mdb-stats-table td:first-child a:focus{color:#ff4700!important;text-decoration:none!important}
.mdb-stats-table tbody .mdb-stats-total td{border-top:2px solid #d9dde1;border-bottom:0;background:#f8f8f8;color:#111318;font-weight:900}
.mdb-stats-table tbody .mdb-stats-total td:first-child{color:#ff4700;letter-spacing:.035em}
.mdb-stats-reviewed{margin-top:8px;color:#8a9096;font-family:Lato,Arial,sans-serif;font-size:9px;line-height:1.3;font-weight:700;text-align:right}
@media(max-width:700px){.mdb-stats-stage{margin:-8px 0 8px;border-top:0}.mdb-stats-details summary{min-height:44px;padding:10px 12px}.mdb-stats-panel{padding:0 12px 12px}.mdb-stats-table{min-width:560px}}
.mdb-honours-section{margin-top:24px}
.mdb-honours-career+.mdb-honours-career{margin-top:24px}
.mdb-honours-career>h3{margin:0 0 10px;color:#111318;font-family:Lato,Arial,sans-serif;font-size:13px;line-height:1.25;font-weight:900;text-transform:uppercase;letter-spacing:.035em}
.mdb-honours-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mdb-honours-item{display:flex;align-items:flex-start;gap:12px;padding:13px 14px;border:1px solid #e2e4e7;background:#fff;box-sizing:border-box}
.mdb-honours-trophy{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#f7f7f7;font-size:17px;line-height:1}
.mdb-honours-main{min-width:0;flex:1}
.mdb-honours-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-family:Lato,Arial,sans-serif}
.mdb-honours-title strong,.mdb-honours-title a,.mdb-honours-title a:visited{color:#111318!important;font-size:12px;font-weight:900;text-decoration:none!important}
.mdb-honours-title a:hover,.mdb-honours-title a:focus{color:#ff4700!important}
.mdb-honours-title span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:20px;padding:0 6px;border-radius:999px;background:#111318;color:#fff;font-size:9px;font-weight:900}
.mdb-honours-title em{display:inline-flex;padding:3px 6px;border:1px solid #ffb79d;background:#fff4ef;color:#d93d00;font-size:8px;font-style:normal;font-weight:900;letter-spacing:.04em}
.mdb-honours-seasons{display:flex;flex-direction:column;gap:3px;margin-top:6px;color:#727980;font-family:Lato,Arial,sans-serif;font-size:10px;font-weight:700}
@media(max-width:700px){.mdb-honours-list{grid-template-columns:1fr}.mdb-honours-item{padding:12px}.mdb-honours-section{margin-top:18px}}
.mdb-honours-seasons span{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.mdb-honours-seasons small{display:inline-flex;padding:2px 5px;border:1px solid #e2e4e7;background:#f7f7f7;color:#555d66;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.025em}

/* =========================================================
 * MDB Estadísticas 1.1.2 · responsive /profesional/
 * Mantiene Trayectoria antes de Palmarés y evita desbordes
 * horizontales en etapas y tablas estadísticas.
 * ========================================================= */
@media (max-width:1024px){
  /* El tema usa display:contents en .mdb-profile-main y ordena sus hijos.
     Palmarés debe ir inmediatamente después de Trayectoria. */
  .mdb-profile-wrap #mdb-perfil-palmares{
    order:11 !important;
    width:100% !important;
    min-width:0 !important;
  }
  .mdb-profile-wrap .mdb-profile-family--after-trajectory{
    order:12 !important;
  }
  .mdb-profile-wrap .mdb-profile-global-archive-cta{
    order:13 !important;
  }

  .mdb-profile-wrap #mdb-perfil-trayectoria,
  .mdb-profile-wrap .mdb-profile-stage-list,
  .mdb-profile-wrap .mdb-profile-coach-stages,
  .mdb-profile-wrap .mdb-profile-player-stages,
  .mdb-profile-wrap .mdb-profile-coach-stage,
  .mdb-profile-wrap .mdb-profile-player-stage,
  .mdb-profile-wrap .mdb-stats-stage,
  .mdb-profile-wrap .mdb-stats-details,
  .mdb-profile-wrap .mdb-stats-panel,
  .mdb-profile-wrap .mdb-stats-table-wrap{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }
}

@media (max-width:700px){
  /* Etapas: club/equipo arriba y fechas en dos columnas fluidas. */
  .mdb-profile-wrap .mdb-profile-coach-stages,
  .mdb-profile-wrap .mdb-profile-player-stages{
    overflow:visible !important;
  }
  .mdb-profile-wrap .mdb-profile-coach-stage,
  .mdb-profile-wrap .mdb-profile-player-stage{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    margin:0 0 8px !important;
    overflow:hidden !important;
  }
  .mdb-profile-wrap .mdb-profile-coach-stage-team{
    grid-column:1 / -1 !important;
    min-width:0 !important;
    width:auto !important;
  }
  .mdb-profile-wrap .mdb-profile-coach-stage-date,
  .mdb-profile-wrap .mdb-profile-player-stage-arrival{
    min-width:0 !important;
    width:auto !important;
    padding:30px 10px 11px !important;
    box-sizing:border-box !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
  }
  .mdb-profile-wrap .mdb-profile-coach-stage-date::before{
    left:10px !important;
  }
  .mdb-profile-wrap .mdb-profile-coach-stage-team,
  .mdb-profile-wrap .mdb-profile-stage-title-line,
  .mdb-profile-wrap .mdb-profile-stage-context,
  .mdb-profile-wrap .mdb-profile-player-stage-origin,
  .mdb-profile-wrap .mdb-profile-player-stage-destination{
    min-width:0 !important;
    max-width:100% !important;
  }
  .mdb-profile-wrap .mdb-profile-stage-title-line,
  .mdb-profile-wrap .mdb-profile-stage-context,
  .mdb-profile-wrap .mdb-profile-player-stage-origin,
  .mdb-profile-wrap .mdb-profile-player-stage-destination{
    flex-wrap:wrap !important;
  }

  /* Estadísticas: desaparece el ancho mínimo de escritorio. Todos los
     datos siguen visibles y la tabla cabe dentro del ancho del móvil. */
  .mdb-profile-wrap .mdb-stats-table-wrap{
    overflow-x:visible !important;
  }
  .mdb-profile-wrap .mdb-stats-table{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    table-layout:fixed !important;
  }
  .mdb-profile-wrap .mdb-stats-table th,
  .mdb-profile-wrap .mdb-stats-table td{
    padding:7px 2px !important;
    font-size:9px !important;
    line-height:1.15 !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    text-overflow:clip !important;
  }
  .mdb-profile-wrap .mdb-stats-table th:first-child,
  .mdb-profile-wrap .mdb-stats-table td:first-child{
    padding-left:7px !important;
    padding-right:4px !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
  .mdb-profile-wrap .mdb-stats-table th:not(:first-child),
  .mdb-profile-wrap .mdb-stats-table td:not(:first-child){
    white-space:nowrap !important;
  }
  .mdb-profile-wrap .mdb-stats-table.is-player th:first-child,
  .mdb-profile-wrap .mdb-stats-table.is-player td:first-child{
    width:30% !important;
  }
  .mdb-profile-wrap .mdb-stats-table.is-player th:not(:first-child),
  .mdb-profile-wrap .mdb-stats-table.is-player td:not(:first-child){
    width:10% !important;
  }
  .mdb-profile-wrap .mdb-stats-table.is-coach th:first-child,
  .mdb-profile-wrap .mdb-stats-table.is-coach td:first-child{
    width:44% !important;
  }
  .mdb-profile-wrap .mdb-stats-table.is-coach th:not(:first-child),
  .mdb-profile-wrap .mdb-stats-table.is-coach td:not(:first-child){
    width:14% !important;
  }
  .mdb-profile-wrap .mdb-stats-panel{
    padding:0 8px 10px !important;
  }
  .mdb-profile-wrap .mdb-stats-details summary{
    padding:10px !important;
  }
}

@media (max-width:390px){
  .mdb-profile-wrap .mdb-stats-table th,
  .mdb-profile-wrap .mdb-stats-table td{
    padding-left:1px !important;
    padding-right:1px !important;
    font-size:8px !important;
  }
  .mdb-profile-wrap .mdb-stats-table th:first-child,
  .mdb-profile-wrap .mdb-stats-table td:first-child{
    padding-left:5px !important;
    padding-right:3px !important;
  }
}
