/* FIX41 · Resultados: partido en una sola fila y acciones compactas */
body.e360-results-compact .result-match-list{
  padding:8px 10px 10px !important;
  gap:8px !important;
}

body.e360-results-compact .match-result-card{
  position:relative !important;
  overflow:hidden !important;
  border-radius:16px !important;
  border:1px solid rgba(188, 213, 245, .88) !important;
  background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,251,255,.94)) !important;
  box-shadow:0 10px 26px rgba(20, 44, 78, .07) !important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

body.e360-results-compact .match-result-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg, #5b8cff, #26b99a);
  opacity:.72;
}

body.e360-results-compact .match-result-card:hover{
  transform:translateY(-2px) !important;
  border-color:rgba(82, 139, 245, .50) !important;
  box-shadow:0 16px 36px rgba(20, 44, 78, .12) !important;
}

body.e360-results-compact .match-result-main{
  display:grid !important;
  grid-template-columns:150px minmax(330px, 1fr) 132px 112px 138px !important;
  align-items:center !important;
  gap:10px !important;
  min-height:72px !important;
  padding:9px 12px 9px 18px !important;
}

body.e360-results-compact .match-date-block,
body.e360-results-compact .match-teams-block{
  min-width:0 !important;
  gap:3px !important;
}

body.e360-results-compact .match-date-block strong,
body.e360-results-compact .match-teams-block strong{
  display:block !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  font-size:.86rem !important;
  line-height:1.18 !important;
  letter-spacing:-.01em !important;
}

body.e360-results-compact .match-date-block span,
body.e360-results-compact .match-teams-block span{
  display:block !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  margin-top:3px !important;
  font-size:.78rem !important;
  line-height:1.15 !important;
}

body.e360-results-compact .match-score-editor{
  justify-content:center !important;
  gap:5px !important;
  padding:5px 8px !important;
  border-radius:16px !important;
  background:rgba(241, 247, 255, .82) !important;
  box-shadow:inset 0 0 0 1px rgba(210, 226, 247, .72) !important;
}

body.e360-results-compact .match-score-editor .score-input,
body.e360-results-compact .match-score-editor input{
  width:42px !important;
  height:38px !important;
  min-height:38px !important;
  padding:0 !important;
  border-radius:12px !important;
  text-align:center !important;
  font-size:.92rem !important;
  font-weight:850 !important;
}

body.e360-results-compact .match-score-editor span{
  color:#7b8797 !important;
  font-weight:900 !important;
  font-size:.95rem !important;
}

body.e360-results-compact .match-result-main > .badge{
  justify-self:center !important;
  min-width:0 !important;
  width:auto !important;
  max-width:104px !important;
  padding:7px 12px !important;
  border-radius:999px !important;
  font-size:.66rem !important;
  line-height:1 !important;
  letter-spacing:.055em !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

body.e360-results-compact .match-actions{
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
  gap:7px !important;
  flex-wrap:nowrap !important;
}

body.e360-results-compact .match-actions .btn{
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
  padding:0 !important;
  border-radius:13px !important;
  gap:0 !important;
  font-size:0 !important;
  line-height:0 !important;
  box-shadow:0 8px 20px rgba(29, 116, 245, .10) !important;
}

body.e360-results-compact .match-actions .btn svg{
  width:18px !important;
  height:18px !important;
  margin:0 !important;
}

/* El botón Limpiar no trae ícono desde React; se lo dibujamos por CSS */
body.e360-results-compact .match-actions .btn:nth-child(3)::before{
  content:"↺";
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  color:#64748b;
  font-size:18px;
  line-height:1;
  font-weight:900;
}

body.e360-results-compact .match-actions .btn:nth-child(3):hover::before{
  color:#1d74f5;
}

body.e360-results-compact .match-result-card.is-open .match-result-main{
  border-bottom:1px solid rgba(220, 229, 242, .85) !important;
}

body.e360-results-compact .scorer-panel{
  padding:10px 14px 12px !important;
}

@media (max-width:1280px){
  body.e360-results-compact .match-result-main{
    grid-template-columns:126px minmax(260px, 1fr) 118px 96px 132px !important;
  }

  body.e360-results-compact .match-date-block strong,
  body.e360-results-compact .match-teams-block strong{
    font-size:.82rem !important;
  }

  body.e360-results-compact .match-date-block span,
  body.e360-results-compact .match-teams-block span{
    font-size:.73rem !important;
  }
}

@media (max-width:980px){
  body.e360-results-compact .match-result-main{
    grid-template-columns:1fr auto !important;
    grid-template-areas:
      "teams actions"
      "date score"
      "status status" !important;
    align-items:center !important;
    min-height:0 !important;
    padding:11px 12px 11px 17px !important;
  }

  body.e360-results-compact .match-date-block{ grid-area:date !important; }
  body.e360-results-compact .match-teams-block{ grid-area:teams !important; }
  body.e360-results-compact .match-score-editor{ grid-area:score !important; }
  body.e360-results-compact .match-result-main > .badge{ grid-area:status !important; justify-self:start !important; }
  body.e360-results-compact .match-actions{ grid-area:actions !important; }
}

@media (max-width:560px){
  body.e360-results-compact .match-result-main{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "teams"
      "date"
      "score"
      "status"
      "actions" !important;
    gap:8px !important;
  }

  body.e360-results-compact .match-score-editor,
  body.e360-results-compact .match-actions{
    justify-self:start !important;
  }
}
