.match-box { position: relative; max-width: 1032px; margin: 0 auto 24px; background: #12083a; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px; box-shadow: 0 2px 6px rgba(18, 8, 58, 0.16), 0 14px 36px rgba(18, 8, 58, 0.24); overflow: hidden; color: #ffffff; }
.match-box .match-box-media { position: absolute; top: 0; left: 0; right: 0; height: 100%; z-index: 1; overflow: hidden; pointer-events: none; }
.match-box .match-box-bg { display: block; width: 100%; height: auto; max-width: none; }
.match-box .match-box-media::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 100%; background: linear-gradient(to bottom, rgba(18, 8, 58, 0.25) 0px, rgba(18, 8, 58, 0.45) 90px, rgba(18, 8, 58, 0.85) 200px, #12083a 300px); }
.match-box .match-box-top { position: relative; z-index: 2; padding: 16px 16px 20px; }
.match-box .match-box-competition { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255, 255, 255, 0.88); }
.match-box .match-box-competition img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.match-box .match-box-stage::before { content: "·"; margin: 0 6px 0 2px; }
.match-box .match-box-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 16px 0 12px; }
.match-box .match-box-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; }
.match-box .match-box-crest { width: 52px; height: 52px; padding: 7px; background: #ffffff; border-radius: 50%; object-fit: contain; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45); }
.match-box .match-box-team-name { font-size: 15px; font-weight: 700; line-height: 1.2; overflow-wrap: break-word; }
.match-box .match-box-center { min-width: 96px; text-align: center; }
.match-box .match-box-relative { display: inline-block; margin: 0 0 6px; padding: 2px 10px; background: rgba(255, 255, 255, 0.14); border-radius: 20px; font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: 0.5px; text-transform: uppercase; }
.match-box .match-box-kickoff-time { margin: 0; font-size: 32px; font-weight: 800; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.match-box .match-box-kickoff-date { margin: 6px 0 0; font-size: 12px; line-height: 1.3; color: rgba(255, 255, 255, 0.75); }
.match-box .match-box-score { display: none; }
.match-box .match-box-score-value { margin: 0; font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.match-box .match-box-status { display: none; margin: 8px 0 0; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: 0.5px; text-transform: uppercase; }
.match-box .status-live { align-items: center; justify-content: center; gap: 6px; color: #ef4444; }
.match-box .status-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: match-box-pulse 1.4s ease-in-out infinite; }
.match-box .status-final { color: rgba(255, 255, 255, 0.75); }
.match-box .match-box-probability { max-width: 560px; margin: 0 auto 22px; }
.match-box .match-box-probability-title { margin: 0 0 8px; font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: 0.6px; text-transform: uppercase; text-align: center; color: rgba(255, 255, 255, 0.65); }
.match-box .match-box-probability-bar { display: flex; gap: 3px; height: 8px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, 0.12); }
.match-box .match-box-probability-part { display: block; width: 0; height: 100%; font-size: 0; color: transparent; transition: width 0.8s ease; }
.match-box .team-home { background: #ff2f8e; }
.match-box .team-draw { background: rgba(255, 255, 255, 0.35); }
.match-box .team-away { background: #9d6bf1; }
.match-box .match-box-probability-legend { display: flex; justify-content: space-between; gap: 8px; margin: 8px 0 0; font-size: 12px; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, 0.85); font-variant-numeric: tabular-nums; }
.match-box .match-box-probability-item { display: inline-flex; align-items: center; gap: 6px; }
.match-box .match-box-probability-item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.match-box .legend-home::before { background: #ff2f8e; }
.match-box .legend-draw::before { background: rgba(255, 255, 255, 0.35); }
.match-box .legend-away::before { background: #9d6bf1; }
.match-box .match-box-pick { position: relative; display: flex; flex-direction: column; align-items: center; width: fit-content; max-width: 100%; margin: 0 auto 16px; padding: 16px 24px 10px; background: #ff2f8e; border-radius: 12px; text-align: center; }
.match-box .match-box-pick-tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 3px 10px; background: #12083a; border: 2px solid #ff2f8e; border-radius: 20px; font-size: 10px; font-weight: 700; line-height: 1.3; letter-spacing: 0.6px; text-transform: uppercase; white-space: nowrap; }
.match-box .match-box-pick-value { font-size: 18px; font-weight: 800; line-height: 1.2; }
.match-box .match-box-pick-result { display: none; margin: 6px 0 2px; padding: 3px 10px 3px 24px; background: #ffffff url("/wp-content/themes/relevo/images/pronosticos/icons/check-green.svg") no-repeat 8px center / 14px 14px; border-radius: 20px; font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: 0.4px; text-transform: uppercase; color: #16a34a; }
.match-box .match-box-facts { display: flex; list-style: none; gap: 8px; margin: 0 -16px; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; }
.match-box .match-box-facts::-webkit-scrollbar { display: none; }
.match-box .match-box-fact { display: flex; flex: none; flex-direction: column; padding: 6px 14px 6px 36px; background-color: rgba(255, 255, 255, 0.08); background-repeat: no-repeat; background-position: 12px center; background-size: 16px 16px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; }
.match-box .fact-stadium { background-image: url("/wp-content/themes/relevo/images/pronosticos/icons/pin-light.svg"); }
.match-box .fact-tv { background-image: url("/wp-content/themes/relevo/images/pronosticos/icons/tv-light.svg"); }
.match-box .fact-referee { background-image: url("/wp-content/themes/relevo/images/pronosticos/icons/person-light.svg"); }
.match-box .match-box-fact-label { font-size: 10px; font-weight: 700; line-height: 1.3; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.match-box .match-box-fact-value { font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.match-box .match-box-odds { position: relative; z-index: 2; padding: 18px 16px; background: rgba(255, 255, 255, 0.04); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.match-box .match-box-odds-title { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: 0.8px; text-transform: uppercase; text-align: center; }
.match-box .match-box-odds-market { margin: 4px 0 20px; font-size: 13px; line-height: 1.4; text-align: center; color: rgba(255, 255, 255, 0.72); }
.match-box .match-box-operators { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.match-box .match-box-operator { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; }
.match-box .match-box-operator-logo { width: 84px; height: 28px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.match-box .match-box-operator-odds { font-size: 22px; font-weight: 800; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.match-box .match-box-operator-btn { display: block; padding: 10px 14px; background: #5b3fd6; border-radius: 8px; font-size: 13px; font-weight: 700; line-height: 1.2; color: #ffffff; text-align: center; white-space: nowrap; transition: background-color 0.15s ease; }
.match-box .match-box-operator-btn:hover { background: #4a30c2; }
.match-box .match-box-operator.is-best { background: rgba(255, 47, 142, 0.14); border: 2px solid #ff2f8e; }
.match-box .match-box-operator.is-best .match-box-operator-odds { color: #ff2f8e; }
.match-box .match-box-operator.is-best .match-box-operator-btn { background: #ff2f8e; }
.match-box .match-box-operator.is-best .match-box-operator-btn:hover { background: #c72dc0; }
.match-box .match-box-operator-flag { position: absolute; top: -10px; left: 14px; padding: 3px 10px; background: #ff2f8e; border-radius: 20px; font-size: 10px; font-weight: 700; line-height: 1.3; letter-spacing: 0.5px; text-transform: uppercase; }
.match-box .match-box-live-note { display: none; margin: 14px 0 0; font-size: 13px; font-weight: 600; line-height: 1.5; text-align: center; color: #f97316; }
.match-box .match-box-footer { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 16px 18px; background: rgba(255, 255, 255, 0.04); }
.match-box .match-box-legal { margin: 0; font-size: 11px; line-height: 1.5; text-align: center; color: rgba(255, 255, 255, 0.6); }
.match-box .match-box-byline { flex: none; margin: 0; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, 0.65); }
.match-box .match-box-byline a { font-weight: 700; color: #ffffff; }
.match-box .match-box-byline a:hover { text-decoration: underline; }
.match-box .match-box-final { display: none; position: relative; z-index: 2; padding: 18px 16px 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); text-align: center; }
.match-box .match-box-final-text { margin: 0 0 10px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
.match-box .match-box-final-link { margin: 0; }
.match-box .match-box-final-link a { display: inline-block; text-decoration: none; padding: 10px 18px; background: rgba(255, 255, 255, 0.12); border-radius: 20px; font-size: 14px; font-weight: 700; line-height: 1.2; color: #ffffff; }
.match-box.is-live .match-box-when, .match-box.is-final .match-box-when { display: none; }
.match-box.is-live .match-box-score, .match-box.is-final .match-box-score { display: block; }
.match-box.is-live .status-live { display: flex; }
.match-box.is-live .match-box-live-note { display: block; }
.match-box.is-final .status-final { display: block; }
.match-box.is-final .match-box-probability, .match-box.is-final .match-box-odds, .match-box.is-final .match-box-legal { display: none; }
.match-box.is-final .match-box-footer { background: transparent; }
.match-box.is-final .match-box-pick-result, .match-box.is-final .match-box-final { display: block; }
@keyframes match-box-pulse {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}
@media (max-width: 479px) {
  .match-box .match-box-team-name { font-size: 13px; }
  .match-box .match-box-center { min-width: 84px; }
  .match-box .match-box-kickoff-time { font-size: 28px; }
  .match-box .match-box-score-value { font-size: 30px; }
  .match-box .match-box-operators { gap: 12px; }
  .match-box .match-box-operator { padding: 10px 10px 10px 12px; }
  .match-box .match-box-operator-btn { padding: 9px 12px; }
  .match-box .match-box-stage { display: block; }
  .match-box .match-box-stage::before { content: none; }
}
@media (min-width: 480px) {
  .match-box .match-box-crest { width: 72px; height: 72px; padding: 10px; }
  .match-box .match-box-team-name { font-size: 18px; }
  .match-box .match-box-pick-value { font-size: 22px; }
}
@media (min-width: 768px) {
  .match-box .match-box-top { padding: 26px 32px 28px; }
  .match-box .match-box-competition { font-size: 13px; }
  .match-box .match-box-teams { gap: 24px; padding: 26px 0 20px; }
  .match-box .match-box-crest { width: 88px; height: 88px; padding: 12px; }
  .match-box .match-box-team-name { font-size: 22px; }
  .match-box .match-box-center { min-width: 180px; }
  .match-box .match-box-kickoff-time { font-size: 44px; }
  .match-box .match-box-kickoff-date { font-size: 14px; }
  .match-box .match-box-score-value { font-size: 48px; }
  .match-box .match-box-facts { flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; overflow: visible; }
  .match-box .match-box-odds { padding: 24px 32px; }
  .match-box .match-box-footer { flex-direction: row; justify-content: space-between; gap: 24px; padding: 0 32px 22px; }
  .match-box .match-box-legal { text-align: left; }
  .match-box.is-final .match-box-footer { justify-content: flex-end; }
  .match-box .match-box-operators { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .match-box .match-box-operator { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 12px; padding: 26px 14px 14px; text-align: center; }
  .match-box .match-box-operator-logo { width: 110px; height: 36px; object-position: center; }
  .match-box .match-box-operator-odds { font-size: 28px; text-align: center; }
  .match-box .match-box-operator-btn { width: 100%; }
  .match-box .match-box-operator-flag { left: 50%; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .match-box .status-live::before { animation: none; }
  .match-box .match-box-probability-part { transition: none; }
}
