/* P7.4R.4.8 — cinemática breve de resultado confirmado */
.postmatch-cinematic-v748{
  position:fixed;
  inset:0;
  z-index:20000;
  display:grid;
  place-items:center;
  overflow:hidden;
  isolation:isolate;
  background:
    radial-gradient(circle at 50% 48%,rgba(49,78,160,.16),transparent 28%),
    linear-gradient(145deg,#02050d 0%,#050916 52%,#08051a 100%);
  color:#f7fbff;
  cursor:pointer;
  animation:none!important;
  touch-action:manipulation;
  user-select:none;
}
.postmatch-cinematic-v748.hidden{display:none!important}
body.postmatch-cinematic-open-v748{overflow:hidden!important}
#postMatchCanvasV748{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:-1;
}
.postmatch-cinematic-v748::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 15% 18%,rgba(0,224,255,.1),transparent 24%),
    radial-gradient(circle at 84% 78%,rgba(229,65,255,.1),transparent 28%);
  mix-blend-mode:screen;
}
.postmatch-skip-v748{
  position:absolute;
  z-index:4;
  top:max(20px,env(safe-area-inset-top));
  left:50%;
  transform:translateX(-50%);
  margin:0;
  padding:9px 14px;
  border:1px solid rgba(159,198,255,.22);
  border-radius:999px;
  background:rgba(7,13,30,.62);
  color:#9eb0cc;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  text-align:center;
  backdrop-filter:blur(12px);
}
.postmatch-core-v748{
  position:absolute;
  z-index:2;
  top:50%;
  left:50%;
  width:116px;
  height:116px;
  transform:translate(-50%,-50%) scale(.35);
  border-radius:50%;
  opacity:.2;
  filter:drop-shadow(0 0 24px rgba(66,214,255,.55));
  transition:opacity .2s ease;
}
.postmatch-core-v748::before,
.postmatch-core-v748::after,
.postmatch-core-v748 i,
.postmatch-core-v748 b,
.postmatch-core-v748 span{
  content:"";
  position:absolute;
  border-radius:50%;
}
.postmatch-core-v748::before{
  inset:0;
  border:2px solid rgba(105,230,255,.75);
  box-shadow:inset 0 0 20px rgba(44,225,255,.35),0 0 30px rgba(75,101,255,.34);
}
.postmatch-core-v748::after{
  inset:14px;
  border:2px solid rgba(224,79,255,.72);
  box-shadow:0 0 24px rgba(224,79,255,.45);
}
.postmatch-core-v748 i{
  inset:29px;
  background:radial-gradient(circle at 38% 34%,#fff 0 8%,#7ef4ff 18%,#557cff 45%,#c52dff 72%,transparent 74%);
  box-shadow:0 0 34px #4b8dff,0 0 58px rgba(225,43,255,.7);
}
.postmatch-core-v748 b{
  inset:-22px;
  border:1px solid rgba(160,105,255,.28);
  border-top-color:#5ff7e8;
  animation:v748-core-spin 2.4s linear infinite;
}
.postmatch-core-v748 span{
  inset:-42px;
  border:1px dashed rgba(59,182,255,.24);
  border-right-color:#f24bff;
  animation:v748-core-spin 3.6s linear infinite reverse;
}
.postmatch-cinematic-v748[data-phase="gather"] .postmatch-core-v748{opacity:.25}
.postmatch-cinematic-v748[data-phase="charge"] .postmatch-core-v748{
  opacity:1;
  animation:v748-core-charge 1s cubic-bezier(.2,.8,.2,1) both;
}
.postmatch-cinematic-v748[data-phase="burst"] .postmatch-core-v748{
  opacity:1;
  animation:v748-core-burst 1s cubic-bezier(.15,.65,.2,1) both;
}
.postmatch-cinematic-v748[data-phase="score"] .postmatch-core-v748{display:none}
@keyframes v748-core-spin{to{rotate:360deg}}
@keyframes v748-core-charge{
  0%{transform:translate(-50%,-50%) scale(.65);filter:brightness(1) drop-shadow(0 0 24px rgba(66,214,255,.55))}
  70%{transform:translate(-50%,-50%) scale(1.16);filter:brightness(1.5) drop-shadow(0 0 58px rgba(190,76,255,.9))}
  100%{transform:translate(-50%,-50%) scale(1);filter:brightness(2.25) drop-shadow(0 0 78px rgba(255,255,255,.92))}
}
@keyframes v748-core-burst{
  0%{transform:translate(-50%,-50%) scale(1);opacity:1;filter:brightness(2.5) drop-shadow(0 0 80px white)}
  22%{transform:translate(-50%,-50%) scale(.72);opacity:1}
  55%{transform:translate(-50%,-50%) scale(3.3);opacity:.95;filter:brightness(4) drop-shadow(0 0 110px white)}
  100%{transform:translate(-50%,-50%) scale(7);opacity:0;filter:brightness(4) blur(4px)}
}
.postmatch-score-stage-v748{
  position:relative;
  z-index:3;
  width:min(930px,calc(100vw - 40px));
  opacity:0;
  visibility:hidden;
  transform:scale(.94);
  transition:opacity .3s ease,transform .45s cubic-bezier(.17,.89,.32,1.25),visibility 0s linear .45s;
}
.postmatch-cinematic-v748[data-phase="score"] .postmatch-score-stage-v748{
  opacity:1;
  visibility:visible;
  transform:scale(1);
  transition-delay:0s;
}
.postmatch-score-stage-v748>p{
  margin:0 0 26px;
  color:#82e8ff;
  text-align:center;
  font-size:12px;
  font-weight:950;
  letter-spacing:.3em;
  text-shadow:0 0 24px rgba(73,218,255,.8);
}
.postmatch-scoreboard-v748{
  display:grid;
  grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr);
  align-items:start;
  gap:16px;
}
.postmatch-player-v748{
  min-height:220px;
  padding:30px 26px;
  border:1px solid rgba(133,174,242,.25);
  border-radius:28px;
  background:linear-gradient(145deg,rgba(18,31,57,.88),rgba(11,16,35,.78));
  box-shadow:0 24px 70px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.04);
  text-align:center;
  backdrop-filter:blur(18px);
}
.postmatch-player-v748.is-winner{
  border-color:rgba(58,222,255,.55);
  background:linear-gradient(145deg,rgba(16,49,72,.94),rgba(21,20,62,.86));
  box-shadow:0 0 48px rgba(25,187,255,.13),0 24px 70px rgba(0,0,0,.42);
}
.postmatch-player-v748.is-winner small{color:#67e8f9;text-shadow:0 0 18px rgba(34,211,238,.55)}
.postmatch-player-v748.is-loser small{color:#f19ab8}
.postmatch-cinematic-v748[data-score-state="holding"] .postmatch-skip-v748{
  border-color:rgba(71,226,195,.3);
  color:#b9fff0;
  background:rgba(8,40,43,.64);
}
.postmatch-player-v748 small{
  display:block;
  margin-bottom:8px;
  color:#8fa2c3;
  font-size:10px;
  font-weight:900;
  letter-spacing:.18em;
}
.postmatch-player-v748 h2{
  overflow:hidden;
  margin:0;
  color:#fff;
  font-size:clamp(24px,3vw,40px);
  font-weight:950;
  line-height:1.05;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.postmatch-player-v748>strong{
  display:block;
  margin:12px 0 17px;
  color:#fff;
  font-size:clamp(38px,5vw,64px);
  font-weight:950;
  line-height:1;
  text-shadow:0 0 30px rgba(92,204,255,.45);
}
.postmatch-scoreboard-v748>.postmatch-versus-v748{
  align-self:center;
  padding-top:42px;
  color:#7384a5;
  font-size:16px;
  font-weight:950;
  letter-spacing:.15em;
  text-align:center;
}
.postmatch-balls-v748{
  display:flex;
  min-height:48px;
  padding-top:14px;
  flex-wrap:wrap;
  justify-content:center;
  gap:28px 10px;
}
.postmatch-ball-v748{
  position:relative;
  display:grid;
  width:44px;
  height:44px;
  place-items:center;
  flex:0 0 44px;
  border-radius:50%;
  background:radial-gradient(circle at 34% 28%,#fff 0 18%,#f8fbff 42%,#d7e0ea 72%,#9ba9b8 100%);
  box-shadow:inset -5px -7px 11px rgba(55,71,91,.28),0 0 0 2px rgba(255,255,255,.16),0 9px 22px rgba(0,0,0,.34);
  animation:v748-ball-arrive 1s cubic-bezier(.12,.78,.22,1) both;
}
.postmatch-ball-v748 b{
  position:relative;
  z-index:2;
  color:#090c11;
  font-family:Arial Black,Arial,sans-serif;
  font-size:10px;
  font-weight:950;
  letter-spacing:-.07em;
  transform:rotate(-9deg);
}
.postmatch-ball-v748.is-gold{
  isolation:isolate;
  background:radial-gradient(circle at 34% 28%,#fff6b8 0 8%,#ffe66c 22%,#ffbd20 52%,#e07800 82%,#8b3200 100%);
  box-shadow:inset -5px -7px 11px rgba(103,46,0,.28),inset 2px 2px 7px rgba(255,255,220,.68),0 0 0 2px rgba(99,46,0,.82),0 0 0 4px rgba(255,184,33,.30),0 0 12px rgba(255,212,91,.78),0 0 25px rgba(255,104,0,.38),0 10px 25px rgba(0,0,0,.4);
}
.postmatch-ball-v748.is-gold::before,
.postmatch-ball-v748.is-gold::after{
  content:"";display:block;position:absolute;pointer-events:none;border-radius:50%
}
.postmatch-ball-v748.is-gold::before{
  z-index:-3;inset:-12px;
  background:radial-gradient(circle,rgba(255,231,125,.48) 0 35%,rgba(255,151,25,.30) 52%,rgba(255,70,0,.12) 68%,transparent 76%);
  filter:blur(5px);animation:v751-gold-aura 1.25s ease-in-out infinite alternate
}
.postmatch-ball-v748.is-gold::after{
  /* The sphere must paint above the flame; a negative child z-index alone
     still paints above its parent's background inside an isolated stack. */
  z-index:1;inset:0;
  background:radial-gradient(circle at 34% 28%,#fff6b8 0 8%,#ffe66c 22%,#ffbd20 52%,#e07800 82%,#8b3200 100%);
  box-shadow:inset -5px -7px 11px rgba(103,46,0,.28),inset 2px 2px 7px rgba(255,255,220,.68),0 0 0 1.5px rgba(108,51,0,.82),0 0 6px rgba(255,198,63,.65)
}
@keyframes v748-ball-arrive{
  0%{opacity:0;transform:translateY(-74px) scale(.2) rotate(-160deg);filter:blur(5px)}
  48%{opacity:1;transform:translateY(7px) scale(1.17) rotate(13deg);filter:blur(0)}
  68%{transform:translateY(-5px) scale(.96) rotate(-5deg)}
  100%{opacity:1;transform:translateY(0) scale(1) rotate(0);filter:none}
}
@media(max-width:680px){
  .postmatch-skip-v748{width:max-content;max-width:calc(100vw - 30px);font-size:8px;letter-spacing:.1em}
  .postmatch-score-stage-v748{width:calc(100vw - 22px)}
  .postmatch-score-stage-v748>p{margin-bottom:16px;font-size:9px;letter-spacing:.2em}
  .postmatch-scoreboard-v748{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:6px}
  .postmatch-player-v748{min-height:190px;padding:22px 9px;border-radius:21px}
  .postmatch-player-v748 h2{font-size:clamp(17px,5vw,24px)}
  .postmatch-player-v748 h2{
    display:-webkit-box;
    min-height:2.1em;
    overflow:hidden;
    line-height:1.05;
    text-overflow:clip;
    white-space:normal;
    word-break:normal;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .postmatch-player-v748>strong{margin:10px 0 15px;font-size:40px}
  .postmatch-scoreboard-v748>.postmatch-versus-v748{padding-top:38px;font-size:10px}
  .postmatch-balls-v748{gap:24px 6px}
  .postmatch-ball-v748{width:36px;height:36px;flex-basis:36px}
  .postmatch-ball-v748 b{font-size:8px}
}
/* P7.4R.4.10 — final unificado: marcador, RP, detalle por sets y acciones */
.postmatch-score-stage-v748{
  max-height:calc(100dvh - 82px);
  padding:6px 4px 22px;
  overflow-x:hidden;
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(87,153,255,.35) transparent;
}
.postmatch-score-stage-v748>p{transition:margin .35s ease}
.postmatch-cinematic-v748[data-score-state="rp"] .postmatch-score-stage-v748>p,
.postmatch-cinematic-v748[data-score-state="actions"] .postmatch-score-stage-v748>p,
.postmatch-cinematic-v748[data-score-state="final"] .postmatch-score-stage-v748>p{margin-bottom:13px}
.postmatch-fire-v750{
  position:absolute;z-index:-1;left:50%;bottom:-10px;width:66px;height:80px;
  transform:translateX(-50%);pointer-events:none;
  filter:drop-shadow(0 0 5px rgba(255,93,0,.72)) drop-shadow(0 0 13px rgba(255,174,0,.48))
}
.postmatch-fire-v750 svg{display:block;width:100%;height:100%;overflow:visible}
.postmatch-flame-outer-v752,.postmatch-flame-inner-v752{transform-box:fill-box;transform-origin:center}
.postmatch-flame-outer-v752{
  filter:drop-shadow(0 0 3px rgba(255,67,0,.55));
  animation:v752-fire-mantle .82s ease-in-out infinite alternate
}
.postmatch-flame-inner-v752{
  opacity:.78;filter:blur(.35px);mix-blend-mode:screen;
  animation:v752-fire-core .49s ease-in-out infinite alternate-reverse
}
@keyframes v751-gold-aura{from{opacity:.62;transform:scale(.92)}to{opacity:1;transform:scale(1.1)}}
.postmatch-ball-v748:nth-child(2n) .postmatch-flame-outer-v752{animation-delay:-.48s}
.postmatch-ball-v748:nth-child(3n) .postmatch-flame-outer-v752{animation-delay:-.91s;animation-duration:1.03s}
.postmatch-ball-v748:nth-child(2n) .postmatch-flame-inner-v752{animation-delay:-.31s}
@keyframes v752-fire-mantle{
  0%{
    opacity:.86;transform:rotate(-2deg) scale(.97,1);
    d:path("M49 2C57 17 39 23 47 36C57 33 65 20 63 10C80 27 65 35 75 42C81 40 85 31 83 27C96 40 85 48 91 59C101 63 92 73 87 77C89 82 98 81 97 83C85 93 79 85 75 87C67 93 75 98 67 97C57 96 55 90 48 91C36 96 32 99 25 94C33 89 27 85 19 84C10 85 2 78 4 74C16 73 14 67 10 62C1 52 12 44 13 36C22 42 20 48 26 51C34 37 19 31 31 20C34 29 41 31 39 23C37 14 45 10 49 2Z")
  }
  100%{
    opacity:1;transform:rotate(1deg) scale(1.02,1.06);
    d:path("M53 1C47 17 58 24 48 36C61 36 58 22 69 17C66 32 73 35 75 44C85 41 80 31 87 30C95 42 88 51 93 58C97 65 90 73 86 76C90 80 93 82 98 80C91 92 80 88 74 88C70 90 72 97 65 98C59 96 56 89 48 91C39 92 35 97 27 96C30 88 24 87 18 86C8 84 5 78 3 73C15 76 12 66 10 62C5 53 16 43 9 38C22 39 21 49 27 51C31 40 22 35 29 24C32 34 42 32 40 23C45 16 51 9 53 1Z")
  }
}
@keyframes v752-fire-core{
  0%{opacity:.66;transform:rotate(2deg) scale(.94)}
  100%{opacity:.9;transform:rotate(-2deg) scale(1.06)}
}
.postmatch-ball-v748.is-instant{animation:none!important}

.postmatch-rp-v750{
  margin:16px 0 0;
  padding:18px 20px;
  border:1px solid rgba(106,157,232,.22);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(12,25,43,.96),rgba(13,23,45,.9));
  box-shadow:0 20px 55px rgba(0,0,0,.23),inset 0 1px rgba(255,255,255,.035);
  opacity:0;
  transform:translateY(18px);
  visibility:hidden;
  transition:opacity .35s ease,transform .45s cubic-bezier(.2,.75,.2,1),visibility 0s linear .5s;
}
.postmatch-rp-v750.is-visible{opacity:1;transform:none;visibility:visible;transition-delay:0s}
.postmatch-rp-v750.is-instant{transition:none}
.postmatch-rp-head-v750,.postmatch-rank-head-v750{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.postmatch-rp-head-v750 small{display:block;margin-bottom:5px;color:#8ca3c7;font-size:9px;font-weight:950;letter-spacing:.17em}
.postmatch-rp-head-v750 strong{font-size:25px;font-weight:950}
.postmatch-rp-head-v750 strong.is-positive{color:#45edb1;text-shadow:0 0 22px rgba(36,225,161,.24)}
.postmatch-rp-head-v750 strong.is-negative{color:#ff6389;text-shadow:0 0 22px rgba(255,70,121,.2)}
.postmatch-rp-journey-v750{display:flex;align-items:center;gap:13px;color:#7f91ae}
.postmatch-rp-journey-v750 span small,.postmatch-rp-journey-v750 span b{display:block;text-align:center}
.postmatch-rp-journey-v750 span small{font-size:8px;letter-spacing:.12em}
.postmatch-rp-journey-v750 span b{margin-top:3px;color:#f3f8ff;font-size:17px}
.postmatch-rank-head-v750{margin-top:13px;align-items:center}
.postmatch-rank-head-v750 strong{font-size:14px}.postmatch-rank-head-v750 span{color:#9db0cc;font-size:11px}
.postmatch-rank-track-v750{height:8px;margin-top:8px;overflow:hidden;border-radius:999px;background:#14243b;box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}
.postmatch-rank-track-v750 i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#31a7ff,#6a8eff 40%,#d957e9 72%,#ff587c);box-shadow:0 0 18px rgba(93,145,255,.45);will-change:width}
.postmatch-rp-v750.is-casual .postmatch-rank-track-v750 i{background:linear-gradient(90deg,#46e6bf,#36aeea)}

.postmatch-details-wrap-v750{position:relative;margin-top:9px;text-align:center}
.postmatch-details-toggle-v750{padding:6px 12px;border:1px solid rgba(128,167,224,.25);border-radius:999px;color:#b8c9e3;background:rgba(11,24,45,.72);font-size:10px;font-weight:850;cursor:pointer}
.postmatch-details-toggle-v750:hover{border-color:rgba(72,209,255,.45);color:#e9fbff}
.postmatch-details-panel-v750{margin:9px auto 0;padding:10px;width:min(620px,100%);display:grid;gap:6px;border:1px solid rgba(118,156,214,.18);border-radius:15px;background:rgba(5,13,28,.74);text-align:left}
.postmatch-details-panel-v750.hidden{display:none!important}
.postmatch-details-panel-v750>p{margin:0;color:#9bacc6;font-size:11px;text-align:center}
.postmatch-detail-row-v750{display:grid;grid-template-columns:62px 64px minmax(0,1fr);gap:10px;align-items:center;padding:6px 8px;border-radius:9px;background:rgba(255,255,255,.025)}
.postmatch-detail-row-v750 span{color:#a9bbd4;font-size:10px}.postmatch-detail-row-v750 strong{color:#fff;font-size:13px}.postmatch-detail-row-v750 strong i{color:#7385a3;font-style:normal}.postmatch-detail-row-v750 small{overflow:hidden;color:#7589a7;font-size:9px;text-overflow:ellipsis;white-space:nowrap}

.postmatch-actions-v750{margin-top:12px;display:grid;grid-template-columns:1.45fr 1fr;gap:10px;opacity:0;transform:translateY(18px);pointer-events:none;transition:opacity 1.5s ease,transform 1.5s cubic-bezier(.16,.8,.2,1)}
.postmatch-actions-v750.is-visible{opacity:1;transform:none;pointer-events:auto}
.postmatch-actions-v750.is-instant{transition:none}
.postmatch-actions-v750 .btn{min-height:48px;border-radius:14px;font-weight:950;letter-spacing:.04em}
.postmatch-actions-v750 .postmatch-continue-v750{border:1px solid rgba(126,164,216,.27);color:#d3e0f1;background:rgba(11,26,43,.92);box-shadow:none}
.postmatch-actions-v750 .postmatch-continue-v750:hover{border-color:rgba(81,211,255,.42);color:#fff;background:rgba(16,40,61,.96)}
.postmatch-actions-v750 .v73-rematch-status{grid-column:1/-1;margin:0;text-align:center}
.postmatch-cinematic-v748[data-score-state="final"]{cursor:default}
.postmatch-cinematic-v748[data-score-state="final"] .postmatch-skip-v748{opacity:0;visibility:hidden;transition:opacity .25s ease,visibility 0s linear .25s}
.v745-rematch-modal{z-index:21010!important}

@media(max-width:680px){
  .postmatch-score-stage-v748{max-height:calc(100dvh - 65px);padding-bottom:max(18px,env(safe-area-inset-bottom))}
  .postmatch-score-stage-v748>p{margin-bottom:10px}
  .postmatch-player-v748{min-height:166px;padding:16px 7px}
  .postmatch-player-v748 small{font-size:8px}.postmatch-player-v748>strong{margin:7px 0 10px;font-size:34px}
  .postmatch-ball-v748{width:32px;height:32px;flex-basis:32px}.postmatch-balls-v748{min-height:36px;padding-top:14px;gap:24px 4px}
  .postmatch-fire-v750{bottom:-8px;width:49px;height:60px}
  .postmatch-rp-v750{margin-top:10px;padding:13px 14px;border-radius:16px}
  .postmatch-rp-head-v750 strong{font-size:20px}.postmatch-rp-journey-v750{gap:8px}.postmatch-rp-journey-v750 span b{font-size:14px}
  .postmatch-rank-head-v750{margin-top:9px}.postmatch-rank-head-v750 span{font-size:9px}
  .postmatch-actions-v750{grid-template-columns:1fr;margin-top:9px;gap:7px}.postmatch-actions-v750 .btn{min-height:43px}
  .postmatch-detail-row-v750{grid-template-columns:48px 52px minmax(0,1fr);gap:6px}
}
@media(max-width:420px){
  .postmatch-player-v748{min-height:150px;padding:14px 6px}.postmatch-player-v748 h2{font-size:16px}.postmatch-player-v748>strong{font-size:31px}
  .postmatch-ball-v748{width:28px;height:28px;flex-basis:28px}.postmatch-ball-v748 b{font-size:7px}
  .postmatch-fire-v750{bottom:-7px;width:43px;height:53px}
}
@media(prefers-reduced-motion:reduce){
  .postmatch-core-v748,.postmatch-ball-v748,.postmatch-fire-v750,
  .postmatch-ball-v748.is-gold::before,.postmatch-ball-v748.is-gold::after,
  .postmatch-flame-outer-v752,.postmatch-flame-inner-v752{animation:none!important}
  .postmatch-rp-v750,.postmatch-actions-v750{transition:none!important}
}
