.box_footer {
  background: none !important;
}

/* fixo problema con l'alert che non è centrato */
#clipAlert {
  left: 50% !important;
  top: 50%;
  position: absolute;
  margin-top: -115px;
}

#clipAlertBox {
  top: 50% !important;
  height: 881px !important;
  box-shadow: 0px 0px 1000px 1000px rgb(0, 0, 0, 0.5);
  transform: translateY(-50%);
}

#clipAlert,
#clipFondi,
#maschera_fp_container {
  border-radius: 15px;
  background: #3479b3 !important;
  border-color: #2a5cab !important;
}

#clipAlertBox #titolo,
#clipFondi .titoloSuPoPup,
#clipAlertFP #titoloFP {
  background: #2a5cab;
}

#clipAlertBox #pulsante,
#clipAlertFP #pulsanteFP {
  position: fixed;
  text-align: center;
  border-radius: 10px;
  background: #d4dbd8;
}

#pulsante_uscita_fondi {
  background: #d4dbd8 !important;
  border-radius: 10px;
  border: none !important;
}

#pulsante_aggiungta_fondi {
  border: none !important;
  border-radius: 10px;
}

/* inizio parte comune importata da desktop */
/* in desktop è ancora presente, quindi potrebbe essere rimossa */

/* VECCHI PREMI
#rulli_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
} */

.box_premio {
  position: absolute;
  left: -75px;
  width: 252px;
  height: 30px;
  display: flex;
  justify-content: flex-end;
}

#box_premio1 {
  top: 60px;
}

#box_premio2 {
  top: 105px;
}

#box_premio3 {
  top: 149px;
}

#box_premio4 {
  top: 194px;
}

#box_premio5 {
  top: 238px;
}

#box_premio6 {
  top: 283px;
}

#box_premio7 {
  top: 326px;
}

#box_premio8 {
  top: 372px;
}

#box_premio9 {
  top: 414px;
}

#box_premio10 {
  top: 461px;
}

#box_premio11 {
  top: 504px;
}

#box_premio12 {
  top: 549px;
}

#box_premio13 {
  top: 594px;
}

#box_premio14 {
  top: 638px;
}

#box_premio15 {
  top: 681px;
}

.box_premio > img {
  float: left;
  height: 100%;
}

#valore_bet > img {
  float: left;
  height: 100%;
}

#valore_cash > img {
  float: left;
  height: 100%;
}

#wrap_esiti_giochi {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
  display: none;
}

#wrap_esiti_magicgame {
  width: 493px;
  height: 665px;
  background: url("../img/bonus/statici/base_display.webp");
  position: absolute;
  background-size: 45% 55%;
  top: 60px;
  left: 0;
  background-repeat: no-repeat;
  transform-origin: 0 0;
  --scale: 1;
  transform: translateX(calc(var(--translateX, 0) * 1px)) scale(var(--scale, 1));
}

#wrap_esiti_magicgame.highlight_win {
  z-index: 4;
  background: none;
}

#wrap_esiti_magicgame.highlight_win .esito_magic:not(.highlight_win) {
  background: none;
  color: transparent;
}

.esito_magic {
  font-size: 1.5rem;
  position: relative;
  width: 230px;
  height: 50px;
  margin-top: 18px;
  margin-left: 10px;
  font-family: josefin;
  color: white;
  display: flex;
  align-items: center;
  padding-top: 5px;
  background-size: contain;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

#esito_magic_5 {
  background-image: url("../img/bonus/statici/5_om.webp");
  /* font-size: 25px; */
  padding-left: 64px;
}
#esito_magic_5 .esito__racchetta {
  background-image: url("../img/bonus/statici/master.webp");
}
#esito_magic_4 {
  background-image: url("../img/bonus/statici/4_om.webp");
  /* font-size: 23px; */
  padding-left: 62px;
}
#esito_magic_4 .esito__racchetta {
  background-image: url("../img/bonus/statici/super.webp");
}
#esito_magic_3 {
  background-image: url("../img/bonus/statici/3_om.webp");
  /* font-size: 19px; */
  padding-left: 60px;
}
#esito_magic_3 .esito__racchetta {
  background-image: url("../img/bonus/statici/mega.webp");
}
#esito_magic_2 {
  background-image: url("../img/bonus/statici/2_om.webp");
  /* font-size: 15px; */
  padding-left: 60px;
}
#esito_magic_2 .esito__racchetta {
  background-image: url("../img/bonus/statici/medium.webp");
}
#esito_magic_1 {
  background-image: url("../img/bonus/statici/1_om.webp");
  font-size: 1.375rem;
  padding-left: 56px;
}
#esito_magic_1 .esito__racchetta {
  background-image: url("../img/bonus/statici/minor.webp");
}

.esito__tavoletta_on {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
}

#wrap_esiti_magicgame.highlight_win
  .esito_magic.highlight_win
  .esito__tavoletta_on {
  animation: fade 0.4s 8 alternate both;
}

#esito_magic_5 .esito__tavoletta_on {
  background-image: url("../img/bonus/statici/5_om_on.webp");
}
#esito_magic_4 .esito__tavoletta_on {
  background-image: url("../img/bonus/statici/4_om_on.webp");
}
#esito_magic_3 .esito__tavoletta_on {
  background-image: url("../img/bonus/statici/3_om_on.webp");
}
#esito_magic_2 .esito__tavoletta_on {
  background-image: url("../img/bonus/statici/2_om_on.webp");
}
#esito_magic_1 .esito__tavoletta_on {
  background-image: url("../img/bonus/statici/1_om_on.webp");
}

.esito__importo {
  position: relative;
}

.esito__racchetta {
  width: 70px;
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -30px;
  left: -7px;
}

#magic_overlay {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background-color: #030303;
  transition: opacity 0.5s;
  opacity: 0;
}

#magic_overlay.highlight_win {
  opacity: 0.48;
}

#box_esito_vittoria {
  position: fixed;
  top: 249px;
  left: 50%;
  width: 920px;
  margin-left: -460px;
  display: none;
}

#box_esito_vittoria > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

#valore_esito_vittoria {
  position: fixed;
  top: 212px;
  left: 156px;
  width: 610px;
  height: 124px;
  text-align: center;
  z-index: 1;
  color: #fff;
  font-size: 6.25rem;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: bold;
  line-height: 124px;
}

#valore_esito_vittoria > img {
  float: left;
  height: 100%;
}

#esito_gico_finito {
  position: fixed;
  top: 250px;
  left: 50%;
  width: 920px;
  margin-left: -460px;
  display: none;
}

#box_esito_mg {
  position: fixed;
  top: 249px;
  left: 50%;
  width: 920px;
  margin-left: -460px;
}

#box_esito_mg > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

#valore_esito_mg {
  position: fixed;
  top: 294px;
  left: 156px;
  width: 610px;
  height: 44px;
  text-align: center;
  z-index: 1;
  color: #fff;
  font-size: 4.375rem;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: bold;
  line-height: 44px;
}

#valore_esito_mg > img {
  float: left;
  height: 100%;
}

#overlay_magicgame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: none;
}

#overlay_magicgame > img {
  position: absolute;
  top: 212px;
  left: 50%;
  margin-left: -500px;
  width: 1000px;
}

#struttura_ruota {
  position: absolute;
  top: 26px;
  left: 50%;
  width: 1414px;
  height: auto;
  transform: translateX(-50%);
}

#indicatore_ruota_sotto {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: 695px;
  width: 398px;
  z-index: 1;
  transform: translate(-50%, -50%);
  clip-path: circle(29% at 50% 50%);
}
#indicatore_ruota {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: 640px;
  width: 215px;
  z-index: 1;
  transform: translate(-50%, -50%);
  clip-path: circle(27% at 50% 10%);
}

#wrap_ruota {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: 329px;
  transform: translate(-50%) scale(1.23);
  --w: 450px;
  --h: 367px;
  width: var(--w);
  transform-origin: center var(--h);
}

.spicchio {
  position: absolute;
  width: var(--w);
  height: var(--h);
  z-index: 1;
  --initial_offset: 50deg;
  transform-origin: center bottom;
  transform: rotate(calc(var(--pos) * 72deg + var(--initial_offset))) scale(0.8);
  background-repeat: no-repeat;
  background-size: 94%;
  background-position: center center;
  background-image: url("../img/bonus/statici/spicchio_off.png");
  filter: drop-shadow(3px 3px 0px #000044);
}

#spicchio_on {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 94%;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url("../img/bonus/statici/spicchio_on.png");
  display: none;
  animation: spicchio_appearance 0.45s 5 alternate both;
}

@keyframes spicchio_appearance {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.spicchio__text_svg {
  margin-top: 10px;
  z-index: 1;
  position: relative;
}
.spicchio__text_path {
  display: none;
}

.ruota_caption {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.ruota_caption img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  transform: translate(calc(-50% + var(--x) * 1px), calc(-50% + var(--y) * 1px))
    rotate(calc(var(--rot) * 1deg)) scale(var(--scale));
  --x: 0;
  --y: 0;
  --rot: 0;
  --scale: 1;
}

.spicchio__importo {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  fill: white;
  font-family: "Source Sans Pro", sans-serif;
  stroke: #000063;
}

#spicchio1 {
  --pos: 0;
}
#spicchio2 {
  --pos: 2;
}
#spicchio3 {
  --pos: 4;
}
#spicchio4 {
  --pos: 1;
}
#spicchio5 {
  --pos: 3;
}

/* spicchio 1 */
#ruota_ombra_palline {
  width: 275px;
  margin-top: -72px;
  margin-left: 6px;
}
#ruota_pallina_1 {
  width: 80px;
  margin-top: -126px;
  margin-left: 15px;
}
#ruota_pallina_2 {
  width: 80px;
  margin-top: -92px;
  margin-left: -44px;
}
#ruota_pallina_3 {
  width: 80px;
  margin-top: -77px;
  margin-left: 60px;
}
/* spicchio 2 */
#ruota_ombra_borsa {
  width: 275px;
  margin-top: -54px;
  margin-left: 6px;
}
#ruota_borsa {
  width: 185px;
  margin-top: -102px;
}
/* spicchio 3 */
#ruota_ombra_scarpe {
  width: 275px;
  margin-top: -72px;
  margin-left: 6px;
}
#ruota_scarpa_1 {
  width: 135px;
  margin-top: -127px;
  margin-left: -40px;
}
#ruota_scarpa_2 {
  width: 135px;
  margin-top: -102px;
  margin-left: 35px;
}
/* spicchio 4 */
#ruota_racchetta {
  width: 240px;
  margin-top: -92px;
}
/* spicchio 5 */
#ruota_coriandoli {
  width: 326px;
  margin-top: -102px;
  margin-left: 6px;
}
#ruota_trofeo {
  width: 155px;
  margin-top: -81px;
  margin-left: 16px;
}

#top_win {
  position: absolute;
  top: 43px !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: 105px !important;
}

#tavolette_importi {
  pointer-events: none;
  /* display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr; */
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  box-sizing: border-box;
}

.tavoletta_num {
  font-family: josefin, cursive;
  width: 100%;
  height: 100%;
  z-index: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tavoletta:nth-child(-n+5) .tavoletta_num  {
  transform: scale(0.91);
  width: 120%;
  margin-left: -10%;
}

.tavoletta {
  position: relative;
  transition: opacity 0.3s, color 0.3s;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url(../img/quadrato_premio.png);
  color: white;
  /* color: #1C529D !important; */
  transform: scale(0.95);
  white-space: nowrap;
  font-weight: bold;
}

.tavoletta:nth-child(10):not(.tavoletta--off), .tavoletta[data-current-step] {
  color: #1C529D !important;
}

.tavoletta {  margin-top: -3px; }
.tavoletta:nth-child(1),.tavoletta:nth-child(2),.tavoletta:nth-child(3),.tavoletta:nth-child(4) { width: 93px; height: 93px; font-size: 1.375rem; }
.tavoletta:nth-child(5), .tavoletta:nth-child(6),.tavoletta:nth-child(7),.tavoletta:nth-child(8),.tavoletta:nth-child(9){ width: 73px; height: 73px; font-size: 1.125rem; }
.tavoletta:nth-child(10), .tavoletta:nth-child(11),.tavoletta:nth-child(12),.tavoletta:nth-child(13),.tavoletta:nth-child(14),.tavoletta:nth-child(15) { width: 60px; height: 60px; font-size: 1.062rem; }

.lsClass .tavoletta {  margin-top: 0px; }
.lsClass .tavoletta:nth-child(1), .lsClass .tavoletta:nth-child(2), .lsClass .tavoletta:nth-child(3), .lsClass .tavoletta:nth-child(4) {width: 74px; height: 74px; font-size: 1.062rem; }
.lsClass .tavoletta:nth-child(5), .lsClass .tavoletta:nth-child(6), .lsClass .tavoletta:nth-child(7), .lsClass .tavoletta:nth-child(8), .lsClass .tavoletta:nth-child(9){ width: 58px; height: 58px; font-size: 0.875rem; }
.lsClass .tavoletta:nth-child(10), .lsClass .tavoletta:nth-child(11), .lsClass .tavoletta:nth-child(12), .lsClass .tavoletta:nth-child(13), .lsClass .tavoletta:nth-child(14), .lsClass .tavoletta:nth-child(15) { width: 47px; height: 47px; font-size: 0.812rem; }


.ptClass .tavoletta {  margin-top: -6px; }
.ptClass .tavoletta:nth-child(1), .ptClass .tavoletta:nth-child(2), .ptClass .tavoletta:nth-child(3), .ptClass .tavoletta:nth-child(4) { width: 161px; height: 161px; font-size: 2.375rem; }
.ptClass .tavoletta:nth-child(5), .ptClass .tavoletta:nth-child(6), .ptClass .tavoletta:nth-child(7), .ptClass .tavoletta:nth-child(8), .ptClass .tavoletta:nth-child(9){ width: 128px; height: 128px; font-size: 1.875rem; }
.ptClass .tavoletta:nth-child(10), .ptClass .tavoletta:nth-child(11), .ptClass .tavoletta:nth-child(12), .ptClass .tavoletta:nth-child(13), .ptClass .tavoletta:nth-child(14), .ptClass .tavoletta:nth-child(15) { width: 105px; height: 105px; font-size: 1.875rem; }



.tavoletta.tavoletta--off {
  opacity: 0.6;
  color: #18417a;
}

#box_credito {
  display: none !important;
}

#barra_credito {
  position: absolute;
  z-index: 12;
  width: 100%;
  left: 0;
  bottom: 30px;
  height: 44px;
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.437rem;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  color: #56d5ff;
}

#scritta_saldo {
  display: inline-block;
  transform: translate(0%, 4%) scale(0.92);
}

#sotto_barra_credito {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  font-family: "josefin";
}

#chrono,
#audio,
#info {
  cursor: pointer;
  height: 32px;
  /*
    virate color into #56d5ff
    done with: https://angel-rs.github.io/css-color-filter-generator/
  */
  filter: brightness(0) saturate(100%) invert(73%) sepia(58%) saturate(991%)
    hue-rotate(166deg) brightness(101%) contrast(103%)
    drop-shadow(1px 0px 0px #56d5ff);
  /*filter:brightness(0%) saturate(100%) invert(73%) sepia(58%) saturate(991%) hue-rotate(166deg) brightness(130%) contrast(150%);
  filter: brightness(0%) saturate(100%) invert(73%) sepia(58%) saturate(991%) hue-rotate(166deg) brightness(115%) contrast(300%); */
}

#chrono, #audio {
  margin-left: auto;
  margin-right: 10px;
}

.lsClass #barra_credito {
  position: fixed;
  bottom: 0;
  font-size: 1.937rem;
  height: 56px;
}

#barra__box_credito {
  margin-top: 6px;
}

.lsClass #sotto_barra_credito {
  margin-left: -20px;
  width: 790px;
}
.lsClass #chrono,
.lsClass #audio,
.lsClass #info {
  height: 40px;
}

.ptClass #sotto_barra_credito {
  margin-top: 4px;
  padding: 0 10px;
}

.ptClass #chrono,
.ptClass #audio,
.ptClass #info {
  height: 76px;
  margin-top: -7px;
}

.ptClass #barra_credito {
  position: fixed;
  top: 0;
  bottom: unset;
  font-size: 3rem;
  height: 100px;
}

#valore_credito,
#valore_bet,
#valore_cash {
  font-family: josefin, cursive;
  font-size: 1.312rem;
  color: white;
  text-shadow: 2px 2px 1px #3b170355, -2px -2px 1px #3b170355,
    -2px 2px 1px #3b170355, 2px -2px 1px #3b170355;
}

#valore_cash {
  font-size: 1.125rem;
}

#top_win {
  display: none !important;
}

#spin,
#autoplay,
#ruota,
#spin_magicgame,
#logo_magicgame {
  border: 2px solid transparent;
  background-clip: padding-box;
}

#wrap_magicgame #logo_magicgame {
  position: absolute;
  top: 83px;
  left: 50%;
  margin-left: -175px;
  width: 380px;
}

#box_ruota_mg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(calc(var(--translateY, 0) * 1px))
    scale(0.7);
  z-index: 2;
}

#spin_magicgame {
  position: absolute;
  top: 577px;
  left: 50%;
  width: 230px;
  z-index: 3;
  transform: translate(-50%);
}

#scelta_racchetta {
  position: fixed;
  background: rgba(3, 12, 64, 0.75);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

#scelta_racchetta.show {
  pointer-events: auto;
  opacity: 1;
}

#scelta_racchetta__container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#scelta_racchetta__racchette {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

#scelta_racchetta__caricamento {
  position: absolute;
  color: white;
  font-size: 2.5rem;
  font-family: josefin;
  opacity: 0;
  transition: opacity 0.5s;
}

#scelta_racchetta__ricorda {
  display: flex;
  position: relative;
}

#scelta_racchetta__ricorda input {
  -webkit-appearance: none;
  appearance: none;
  border: 3px solid #29adff88;
  filter: drop-shadow(0px 0px 3px #29adff);
  cursor: pointer;
  width: 20px;
  height: 20px;
  margin-right: 15px;
}

#scelta_racchetta__ricorda input:hover,
#scelta_racchetta__ricorda input:focus {
  filter: drop-shadow(0px 0px 1px #29adff);
}

/* #scelta_racchetta__ricorda input:checked::after { */
  /* content: "✓"; */
  /* content: "\2713";
  color: white;
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 40px;
  transform: translate(-40%, -70%);
} */



#scelta_racchetta__ricorda input + span {
  display: none;
}

#scelta_racchetta__ricorda input:checked + span {
  display: block;
  position: absolute;
  top: -17px;
  left: 5px;
  pointer-events: none;
}

#scelta_racchetta__ricorda span {
  font-family: josefin, cursive;
  color: white;
  font-size: 2rem;
}

#contenitore_superiore,
#contenitore_inferiore {
  position: relative;
}

#wrapper_valori_autoplay {
  position: relative;
  overflow: hidden;
  top: 626px;
  left: 610px;
  width: 278px;
  height: 60px;
  border-radius: 20px;
}

#valori_autoplay.active {
  transform: translateX(-15px);
}

#autoplay.active {
  transform: scale(0.9);
  filter: brightness(0.7);
}

#valori_autoplay {
  position: absolute;
  top: 2px;
  left: 55px;
  width: 100%;
  height: 90%;
  z-index: 0;
  transition: transform 0.7s;
  transform: translateX(-275px);
}

#bg_autoplay {
  position: absolute;
  top: -1px;
  left: -54px;
  width: 100%;
  height: 110%;
}

.valore_autoplay {
  float: left;
  width: 50px;
  height: 100%;
  cursor: pointer;
  margin-right: 6px;
  position: relative;
  margin-top: 1px;
}

.valore_autoplay img {
  width: 100%;
}

.valore_autoplay.active,
.valore_autoplay:hover {
  color: #fa00ec;
}

#autoplay {
  position: absolute;
  top: 635px;
  left: 587px;
  width: 40px;
  height: 50px;
  background-image: url(../img/autoplay.png);
  background-repeat: no-repeat;
  background-size: 99%;
  cursor: pointer;
  display: flex;
  transform: scale(1.1);
  transition: transform 0.7s;
  z-index: 1;
}

#autoplay.on {
  background-image: url(../img/autoplay_on.png);
  pointer-events: none;
}

#autoplay.on + #wrapper_valori_autoplay {
  pointer-events: none;
}

.AS_rimanenti {
  margin: auto;
  font-size: 1.687rem;
  font-weight: bold;
  transform: translate(0px, -2px);
  font-family: josefin, cursive;
  font-weight: bold;
  color: white;
  text-shadow: 2px 0 1px #70690033, -2px 0 2px #70690033, 0 2px 1px #70690033,
    0 -2px 2px #706900;
}

.premio.premio--on {
  display: none;
}

.premio.premio--on.premio--visible {
  display: block;
  animation: fade 0.5s var(--repeat, 8) alternate both;
}

.premio.premio--on.premio--visible.repeat_4 {
  --repeat: 4;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.premio.premio--off {
  opacity: 0;
  transition: opacity 0.5s;
}

.premio.premio--off.premio--visible {
  opacity: 1;
}



/* [data-current-step] .tavoletta_num {
  animation: lampeggioStepCorrente 0.25s linear;
  animation-iteration-count: 2;
  animation-direction: alternate-reverse;
} 

@keyframes lampeggioStepCorrente {
  from {
    transform: translateY(var(--tY)) scale(1);
  }
  to {
    transform: translateY(var(--tY)) scale(1.5);
  }
} */

/* [data-current-step] .tavoletta_num {
  animation: lampeggioStepCorrente 0.5s linear;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
  font-weight: bold;
}
[data-current-step="1"] .tavoletta_num {
  animation-iteration-count: 7;
} */

[data-current-step]  {
  animation: lampeggioStepCorrenteBOX 0.5s linear;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
  font-weight: bold;
}
[data-current-step="1"]  {
  animation-iteration-count: 7;
}

/* @keyframes lampeggioStepCorrente {
  from {
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0))
      drop-shadow(0 0 0 rgba(255, 255, 255, 0))
      drop-shadow(0 0 0 rgba(255, 255, 255, 0))
      drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  to {
    filter: drop-shadow(3px 3px 5px rgba(255, 255, 255, 0.7))
      drop-shadow(-3px 3px 5px rgba(255, 255, 255, 0.7))
      drop-shadow(3px -3px 5px rgba(255, 255, 255, 0.7))
      drop-shadow(-3px -3px 5px rgba(255, 255, 255, 0.7));
  }
} */

.tavoletta {
  color: #ddd;
  opacity: 0.9;
}

.tavoletta[data-current-step] {
  background-image: linear-gradient(#ffff3f, #ffff3faa),
    url("../img/quadrato_premio.png");
  /* background-blend-mode: difference; */ /* si vedrebbe meglio il sottostante ma il colore sarebbe meno sparato */
  border-radius: 11px;
  color: white;
  opacity: 1;
}

@keyframes lampeggioStepCorrenteBOX {
  from {
    filter: drop-shadow(0 0 0 rgba(255, 255, 63, 0))
      drop-shadow(0 0 0 rgba(255, 255, 63, 0.4))
      drop-shadow(0 0 0 rgba(255, 255, 63, 0.4))
      drop-shadow(0 0 0 rgba(255, 255, 63, 0));
  }
  to {
    filter: drop-shadow(3px 3px 5px rgba(255, 255, 63, 0.1))
      drop-shadow(-3px 3px 5px rgba(255, 255, 63, 0.4))
      drop-shadow(3px -3px 5px rgba(255, 255, 63, 0.4))
      drop-shadow(-3px -3px 5px rgba(255, 255, 63, 0.4));
  }
}

@keyframes lampeggioStepCorrente {
  from {
    filter: drop-shadow(0 0 0 rgba(0, 0, 255, 0))
      drop-shadow(0 0 0 rgba(0, 0, 255, 0.4))
      drop-shadow(0 0 0 rgba(0, 0, 255, 0.4))
      drop-shadow(0 0 0 rgba(0, 0, 255, 0));
  }
  to {
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 255, 0.1))
      drop-shadow(-3px 3px 5px rgba(0, 0, 255, 0.1))
      drop-shadow(3px -3px 5px rgba(0, 0, 255, 0.1))
      drop-shadow(-3px -3px 5px rgba(0, 0, 255, 0.1));
  }
}
