/* Partido v5: comentar primero, porra compacta y hero de debate con identidad del partido. */

.football-match-actions,
.football-fixture__quick-actions {
  align-items: stretch;
}

.football-match-actions .football-action-button.is-comments,
.football-fixture__quick-actions .football-action-button.is-comments {
  order: -2;
}

.football-match-actions .football-action-button.is-open,
.football-fixture__quick-actions .football-action-button.is-open {
  order: -1;
}

.football-match-actions .football-action-button,
.football-fixture__quick-actions .football-action-button {
  min-width: 0;
  min-height: 4.2rem;
  overflow: visible;
  padding: 0.72rem 0.78rem;
}

.football-match-actions .football-action-button strong,
.football-fixture__quick-actions .football-action-button strong {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.05;
}

.football-match-actions .football-action-button small,
.football-fixture__quick-actions .football-action-button small {
  display: block;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.15;
}

.football-match-actions .football-action-button.is-comments small,
.football-fixture__quick-actions .football-action-button.is-comments small,
.football-match-actions .football-action-button.is-open small,
.football-fixture__quick-actions .football-action-button.is-open small {
  font-size: 0;
}

.football-match-actions .football-action-button.is-comments small::before,
.football-fixture__quick-actions .football-action-button.is-comments small::before {
  content: "Debate abierto";
  font-size: 0.72rem;
}

.football-match-actions .football-action-button.is-open small::before,
.football-fixture__quick-actions .football-action-button.is-open small::before {
  content: "Porra abierta";
  font-size: 0.72rem;
}

#footballMatchDetail .prediction-score-card {
  gap: 0.68rem;
  padding: 0.9rem 0.95rem 0.95rem;
  border-radius: 1rem;
}

#footballMatchDetail .prediction-score-card__head {
  margin-bottom: 0;
}

#footballMatchDetail .prediction-score-card__head > span,
#footballMatchDetail .prediction-score-card__head > strong {
  line-height: 1.15;
}

#footballMatchDetail .prediction-scoreboard {
  gap: 0.7rem;
  padding: 0.15rem 0;
}

#footballMatchDetail .prediction-score-team {
  gap: 0.48rem;
}

#footballMatchDetail .prediction-score-team input {
  width: 3.7rem;
  height: 3.2rem;
  font-size: 1.45rem;
}

#footballMatchDetail .prediction-score-controls button {
  min-width: 2.7rem;
  min-height: 2.45rem;
}

#footballMatchDetail .prediction-score-card > p {
  margin: 0.1rem 0 0;
  font-size: 0.7rem;
  line-height: 1.25;
}

#footballMatchDetail .prediction-score-card > .primary-action,
#footballMatchDetail .prediction-score-card > button.primary-action {
  min-height: 3.15rem;
  margin-top: 0.08rem;
  padding: 0.7rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.82rem;
}

.prediction-saved-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  margin-top: 0.2rem;
  color: #8b5909;
  font-size: 0.67rem;
  font-weight: 800;
}

.prediction-saved-strip::before {
  content: "✓";
  display: grid;
  width: 1.1rem;
  height: 1.1rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c8891d;
  font-size: 0.65rem;
}

.football-match-note.is-compact-note {
  margin: 0.72rem auto 0;
  max-width: 92%;
  font-size: 0.66rem;
  line-height: 1.25;
}

.community-post-hero.match-discussion-hero {
  min-height: 18rem;
  padding: 1rem;
  color: #141210;
  background:
    radial-gradient(circle at 50% -10%, rgba(216, 158, 54, 0.22), transparent 44%),
    linear-gradient(180deg, #fffdf8 0%, #f6f1e7 100%);
  border: 1px solid rgba(184, 124, 22, 0.28);
}

.community-post-hero.match-discussion-hero::before,
.community-post-hero.match-discussion-hero::after {
  display: none;
}

.match-discussion-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  color: #9a620c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.match-discussion-hero__scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  width: 100%;
  margin: 1.4rem 0 0.7rem;
}

.match-discussion-hero__team {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  text-align: center;
}

.match-discussion-hero__team img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.match-discussion-hero__team strong {
  color: #111;
  font-size: 0.9rem;
  line-height: 1.08;
}

.match-discussion-hero__vs {
  display: grid;
  gap: 0.18rem;
  justify-items: center;
  color: #111;
}

.match-discussion-hero__vs small {
  color: #777168;
  font-size: 0.68rem;
  font-weight: 600;
}

.match-discussion-hero__vs strong {
  font-size: 1.75rem;
  line-height: 1;
}

.match-discussion-hero__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  color: #777168;
  font-size: 0.66rem;
  text-align: center;
}

.prediction-prizes-v5 {
  display: grid;
  gap: 0.85rem;
}

.prediction-prize-section-v5 {
  overflow: hidden;
  border: 1px solid rgba(22, 20, 17, 0.08);
  border-radius: 1rem;
  background: #fff;
}

.prediction-prize-section-v5__head {
  padding: 0.9rem 1rem 0.65rem;
}

.prediction-prize-section-v5__head span {
  color: #a76a0d;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.prediction-prize-section-v5__head h3 {
  margin: 0.18rem 0;
}

.prediction-prize-section-v5__head p,
.prediction-prize-section-v5__notes {
  margin: 0;
  color: #746f67;
  font-size: 0.68rem;
  line-height: 1.35;
}

.prediction-prize-list-v5 {
  display: grid;
}

.prediction-prize-list-v5 article {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.78rem 1rem;
  border-top: 1px solid rgba(22, 20, 17, 0.07);
}

.prediction-prize-list-v5 article > span {
  display: grid;
  min-height: 2.25rem;
  place-items: center;
  border-radius: 0.7rem;
  color: #8b5909;
  background: #fbf1dc;
  font-size: 0.75rem;
  font-weight: 900;
}

.prediction-prize-list-v5 article strong,
.prediction-prize-list-v5 article small {
  display: block;
}

.prediction-prize-list-v5 article small {
  margin-top: 0.16rem;
  color: #777168;
  line-height: 1.3;
}

.prediction-prize-section-v5__notes {
  padding: 0.72rem 1rem 0.9rem;
  border-top: 1px solid rgba(22, 20, 17, 0.07);
}

@media (max-width: 720px) {
  .football-match-actions .football-action-button,
  .football-fixture__quick-actions .football-action-button {
    min-height: 4.45rem;
  }

  #footballMatchDetail .prediction-score-card {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
  }

  #footballMatchDetail .prediction-score-team input {
    width: 3.45rem;
    height: 3rem;
  }

  .match-discussion-hero__scoreboard {
    gap: 0.55rem;
  }

  .match-discussion-hero__team img {
    width: 4rem;
    height: 4rem;
  }
}
