/* v48 – čistší kostka bez přeplácaného středu */
.display #mediaStage{
  overflow:hidden!important;
  background:#08090d!important;
}
.display #mediaStage.mediaBackdropImage:before{
  display:block!important;
  inset:-8%!important;
  filter:blur(28px) brightness(.5) saturate(1.2)!important;
  transform:scale(1.18)!important;
}
.display #boardImage,
.display #boardVideo{
  object-fit:cover!important;
  object-position:center center!important;
  transform:scale(1.055)!important;
  transform-origin:center!important;
  background:transparent!important;
}
.display #boardYoutube,.display #boardStream{
  width:106%!important;
  height:106%!important;
  inset:-3%!important;
}

/* Spodní grafika je níž, aby nepřekážela logům, skóre a času. */
.display #scoreStrip{
  background-position:center 78%!important;
  background-size:cover!important;
  padding:.3vh 2.2vw .25vh!important;
  grid-template-columns:minmax(0,1fr) clamp(220px,18vw,380px) minmax(0,1fr)!important;
  gap:1vw!important;
}
.display #scoreStrip:before{
  background:linear-gradient(90deg,#050609d9 0%,#08090ca3 30%,#08090c7d 50%,#08090ca3 70%,#050609d9 100%)!important;
}

/* Logo + skóre tvoří jeden kompaktní celek u středu. */
.display .boardTeam{gap:.55vw!important}
.display .boardTeam:not(.away){justify-content:flex-end!important}
.display .boardTeam.away{justify-content:flex-start!important}
.display .boardTeam strong{margin-left:0!important;margin-right:0!important}
.display .boardTeam.away strong{margin-left:0!important;margin-right:0!important}
.display .boardTeam img{
  width:11.7vh!important;
  height:11.7vh!important;
  min-width:11.7vh!important;
  max-height:11.7vh!important;
}
.display .boardTeam strong,
.display .boardTeam.away strong{
  width:11.5vh!important;
  height:10.65vh!important;
  min-width:11.5vh!important;
  max-height:10.65vh!important;
  clip-path:polygon(11% 0,100% 0,100% 82%,85% 100%,0 100%,0 18%);
  background:linear-gradient(145deg,#f4063d 0%,#c90030 62%,#99001f 100%)!important;
  box-shadow:none!important;
  font-size:7.7vh!important;
}
.display .boardTeam.away strong{clip-path:polygon(0 0,89% 0,100% 18%,100% 100%,15% 100%,0 82%)}

/* Čistý velký čas bez karty nebo rámečku. */
.display .boardCenter{
  height:13.7vh!important;
  padding:0!important;
  gap:.15vh!important;
  border:0!important;
  background:transparent!important;
  clip-path:none!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.display .boardCenter #bPeriod{
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#ff2851!important;
  font-size:clamp(14px,1.25vw,26px)!important;
  font-weight:1000!important;
  letter-spacing:.14em!important;
  line-height:1!important;
  text-shadow:0 .2vh .35vh #000!important;
}
.display .boardCenter #bClock{
  width:auto!important;
  min-width:17vw!important;
  height:10.2vh!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:clamp(64px,6vw,122px)!important;
  line-height:.9!important;
  letter-spacing:-.07em!important;
  text-shadow:0 .35vh .65vh #000!important;
  overflow:visible!important;
}

/* Profesionálnější horní informační a POWERPLAY pás. */
.display #tickerBar{
  isolation:isolate;
  border-top:.18vh solid #ff4d70!important;
  border-bottom:.45vh solid #08090d!important;
  background:linear-gradient(105deg,#700018 0%,#f00039 28%,#b9002b 72%,#650014 100%)!important;
  box-shadow:inset 0 .15vh 0 #ffffff55,inset 0 -.18vh 0 #ff5574!important;
}
.display #tickerBar:before,
.display #tickerBar:after{
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  bottom:0;
  width:18vw;
  opacity:.42;
  background:repeating-linear-gradient(120deg,transparent 0 1.4vw,#ffffff20 1.4vw 1.65vw);
  transform:skewX(-18deg);
}
.display #tickerBar:before{left:-3vw}
.display #tickerBar:after{right:-3vw;transform:skewX(18deg)}
.display #tickerTrack,.display #cubeSceneFixed{z-index:2}
.display #cubeSceneFixed{
  padding:0 4vw!important;
  background:linear-gradient(105deg,#720018,#ed0038 48%,#720018)!important;
}
.display #cubeSceneFixed:before{
  content:"";
  position:absolute;
  inset:.7vh 1.4vw;
  border:.16vh solid #ffffff38;
  clip-path:polygon(0 0,100% 0,97% 100%,3% 100%);
  pointer-events:none;
}
.display #cubeSceneFixed strong{
  position:relative;
  z-index:2;
  color:#fff!important;
  font-size:clamp(25px,3.9vh,68px)!important;
  letter-spacing:.09em!important;
  text-shadow:0 .25vh .4vh #500012!important;
}
.display #cubeSceneFixed img{
  position:relative;
  z-index:2;
  height:8.1vh!important;
  max-width:12vw!important;
}
.display.cubeScenePenalty #cubeSceneFixed,
.display.cubeSceneEven #cubeSceneFixed{
  background:linear-gradient(105deg,#050609 0%,#181b22 48%,#050609 100%)!important;
}
.display.cubeScenePenalty #cubeSceneFixed strong,
.display.cubeSceneEven #cubeSceneFixed strong{color:#ff244d!important;text-shadow:0 0 .8vh #d70034!important}
.display #tickerTrack span{
  font-size:clamp(28px,4.25vh,72px)!important;
  letter-spacing:.065em!important;
}

@media(max-aspect-ratio:1/1){
  .display #scoreStrip{grid-template-columns:minmax(0,1fr) 23vw minmax(0,1fr)!important;padding-inline:1vw!important}
  .display .boardTeam img{width:10.5vh!important;height:10.5vh!important;min-width:10.5vh!important}
  .display .boardCenter #bClock{font-size:7vw!important}
}
