/* Celebration stays inside the score, without changing the page layout. */
.score-display.bos-goal-score,.detail-score.bos-goal-score,.live-score.bos-goal-score{
  position:relative!important;isolation:isolate;overflow:hidden!important;
  animation:bos-goal-frame 4.6s ease-out both;animation-delay:var(--goal-delay,0ms)
}
.bos-goal-score .bos-goal-flash{
  position:absolute!important;inset:0!important;z-index:4;display:flex!important;
  align-items:center;justify-content:center;gap:6px;min-width:0!important;
  border-radius:inherit;background:linear-gradient(125deg,#07182b 0%,#123751 65%,#0b243b 100%);
  color:#f0d393;pointer-events:none;
  animation:bos-goal-reveal 4.6s cubic-bezier(.22,.8,.25,1) both;
  animation-delay:var(--goal-delay,0ms)
}
.bos-goal-score .bos-goal-flash::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(110deg,transparent 25%,#e8c77430 48%,#fff4d132 50%,transparent 75%);
  transform:translateX(-130%);animation:bos-goal-sweep 4.6s ease-in-out both;
  animation-delay:var(--goal-delay,0ms)
}
.bos-goal-score .bos-goal-flash::after{
  content:"";position:absolute;inset:auto 18% 9%;height:2px;border-radius:2px;
  background:linear-gradient(90deg,transparent,#dfbd6b,transparent);
  transform-origin:center;animation:bos-goal-rule 4.6s ease-out both;
  animation-delay:var(--goal-delay,0ms)
}
.bos-goal-score .bos-goal-ball{
  display:block!important;flex:0 0 19px;width:19px!important;height:19px!important;
  min-width:0!important;fill:none;stroke:currentColor;stroke-width:1.5;
  stroke-linecap:round;stroke-linejoin:round;
  animation:bos-goal-ball 4.6s cubic-bezier(.22,.8,.25,1) both;
  animation-delay:var(--goal-delay,0ms)
}
.bos-goal-score .bos-goal-label{
  display:block!important;min-width:0!important;margin:0!important;
  font:700 15px/1 Arial,sans-serif!important;letter-spacing:.1em;white-space:nowrap;
  animation:bos-goal-type 4.6s cubic-bezier(.22,.8,.25,1) both;
  animation-delay:var(--goal-delay,0ms)
}
.detail-score.bos-goal-score .bos-goal-label{font-size:24px!important}
.detail-score.bos-goal-score .bos-goal-ball{width:27px!important;height:27px!important;flex-basis:27px}
@keyframes bos-goal-reveal{
  0%{opacity:0;clip-path:inset(0 100% 0 0)}
  9%,53%{opacity:1;clip-path:inset(0 0 0 0)}
  68%,100%{opacity:0;clip-path:inset(0 0 0 0)}
}
@keyframes bos-goal-sweep{0%,12%{transform:translateX(-130%)}45%,100%{transform:translateX(130%)}}
@keyframes bos-goal-ball{0%,5%{opacity:0;transform:translateX(-12px) rotate(-65deg)}16%,100%{opacity:1;transform:translateX(0) rotate(0)}}
@keyframes bos-goal-type{0%,7%{opacity:0;transform:translateY(6px)}19%,100%{opacity:1;transform:translateY(0)}}
@keyframes bos-goal-rule{0%,8%{opacity:0;transform:scaleX(0)}22%,52%{opacity:.9;transform:scaleX(1)}65%,100%{opacity:0;transform:scaleX(.7)}}
@keyframes bos-goal-frame{0%,100%{box-shadow:0 0 0 0 #c6a65a00}12%,58%{box-shadow:0 0 0 2px #c6a65a85,0 5px 18px #c6a65a20}78%{box-shadow:0 0 0 1px #c6a65a45}}
@media(max-width:480px){
  .bos-goal-score .bos-goal-label{font-size:12px!important;letter-spacing:.07em}
  .bos-goal-score .bos-goal-ball{width:15px!important;height:15px!important;flex-basis:15px}
  .bos-goal-score .bos-goal-flash{gap:4px}
  .detail-score.bos-goal-score .bos-goal-label{font-size:18px!important}
  .detail-score.bos-goal-score .bos-goal-ball{width:21px!important;height:21px!important;flex-basis:21px}
}
@media(prefers-reduced-motion:reduce){
  .bos-goal-score,.bos-goal-score .bos-goal-flash,.bos-goal-score .bos-goal-ball,
  .bos-goal-score .bos-goal-label,.bos-goal-score .bos-goal-flash::before,
  .bos-goal-score .bos-goal-flash::after{animation:none!important;transform:none!important}
  .bos-goal-score .bos-goal-flash{opacity:1;clip-path:none}
  .bos-goal-score .bos-goal-flash::before,.bos-goal-score .bos-goal-flash::after{display:none}
}
