/*GENERALE*/
.hidden {
  display: none !important;
}

.empty-placeholder {
  text-align: center;
}

/*BOOTSTRAP*/
.font-weight-bold {
  font-weight: bold;
}

.text-center {
  text-align: center;
}

.inline-block {
  display: inline-block;
}

.w-50 {
  width: 49%;
}

.w-33 {
  width: 32%;
}

/*tornei*/

.torneo {
  border: 1px solid white;
  border-radius: 10px;
  margin: 20px 0;
  padding: 20px;
  box-sizing: border-box;
  font-size: 0;
}

.container_img_torneo {
  display: inline-block;
  width: 40%;
  vertical-align: middle;
}

.img_torneo {
  display: inline-block;
  vertical-align: middle;
  width: 180px;
  height: 180px;
  border-radius: 10px;
  border: 1px solid black;
  box-sizing: border-box;
}

.desc_torneo {
  display: inline-block;
  width: 55%;
  border: 1px solid yellow;
  border-radius: 10px;
  margin-left: 5%;
  padding: 10px;
  box-sizing: border-box;
  font-size: 14pt;
  text-align: center;
  vertical-align: middle;
}

.dettagli-aggiuntivi-torneo {
  display: none;
  padding: 20px;
  line-height: 35px;
  text-align: center;
  border: 1px solid yellow;
  border-radius: 10px;
}

/*Sezione Titolo Torneo*/

.container-titolo-torneo {
  display: flex;
}

.icon-subscription {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.nome_torneo {
  display: inline-block;
  width: 70%;
}

.container-icon {
  display: inline-block;
  width: 15%;
}

.icon-info-torneo {
  width: 30px;
  height: 30px;
  background-color: black;
  border-radius: 50%;
}

/*FINE sezione titolo torneo*/

/*SEZIONE PAGAMENTO TORNEO*/

.button-link {
  width: 150px;
  height: 100px;
  display: inline-block;
  border: 1px solid grey;
  border-radius: 10px;
  cursor: pointer;
  margin: 20px;
  padding: 5px;
}

.button-link-giocaosta {
  width: 150px;
  height: 60px;
  display: inline-block;
  border: 1px solid grey;
  border-radius: 10px;
  cursor: pointer;
  margin: 20px;
  background-color: yellow;
  color: black;
  font-weight: bold;
}

.button-link-text {
  height: 100%;
  margin-top: 10px;
}

.button-pagamento {
  background-color: rgba(190, 20, 0, 0.5);
}

.button-gratis {
  background-color: rgba(0, 200, 0, 0.3);
}

/*FINE SEZIONE PAGAMENTO*/

.data_torneo {
  color: red;
  font-weight: bold;
}

.button-preiscriviti {
  border: 2px solid white;
  border-radius: 10px;
  padding: 5px;
  margin: 10px auto;
  font-weight: bold;
  background-color: green;
  cursor: pointer;
  width: 90%;
}

.button-preiscriviti-online {
  background-color: green;
}

.button-preiscriviti-giocaosta {
  background-color: yellow;
  color: black;
}

.button-preiscriviti-7ingioco {
  background-color: red;
  color: white;
}

.button-preiscriviti-eventbrite {
  background-color: orangered;
  color: white;
}

.button-preiscriviti-toplay {
  background-color: #F9BB1D;
  color: black;
}

.button-preiscriviti-live {
  background-color: cadetblue;
}

.finale {
  background-color: rgba(13, 97, 12, 0.5);
}

.desc_finale {
  color: white;
  font: 25px Georgia !important;
}

.organizzatore_torneo {
  word-wrap: break-word;
}

.organizzatore_torneo_mobile {
  display: none;
}

.icon-info-torneo:hover {
  cursor: pointer;
}

.icon-info-torneo-final {
  margin-top: 32px;
}

.info-torneo-elenco-tornei-base {
  border: 1px solid yellow;
  border-radius: 10px;
  padding: 5px;
  background-color: rgba(0, 255, 0, 0.5);
}

.info-torneo-elenco-tornei-finale {
  border: 1px solid yellow;
  border-radius: 10px;
  padding: 5px;
  background-color: rgba(255, 0, 0, 0.5);
}

/*tornei mobile*/

@media screen and (max-width: 736px) {
  .container_img_torneo {
    display: block;
    text-align: center;
    width: 100%;
  }

  .img_torneo {
    vertical-align: middle;
    width: 180px;
    height: 180px;
    border-radius: 10px;
    border: 1px solid black;
    box-sizing: border-box;
  }

  .desc_torneo {
    display: block;
    width: 90%;
    vertical-align: middle;
    border: 1px solid yellow;
    border-radius: 10px;
    margin: 5%;
    padding: 10px;
    box-sizing: border-box;
    font-size: 14pt;
  }

  #img_classifica {
    display: none;
  }

  #scelta_classifica_input {
    width: 100% !important;
  }

  .organizzatore_torneo {
    display: none;
  }

  .organizzatore_torneo_mobile {
    display: block;
    text-align: center;
  }

  .organizzatore_torneo_mobile a {
    text-decoration: none;
  }

  .organizzatore_torneo_mobile img {
    width: 50px;
    height: 50px;
    padding: 10px;
  }
}

@media screen and (max-width: 1680px) {
  #image_classifica_container {
    top: 25px !important;
    left: 56% !important;
  }
}

/*convocazioni*/
@media screen and (max-width: 736px) {
  #img_convocazione {
    display: none;
  }

  #scelta_convocazione_input {
    width: 100% !important;
  }
}

@media screen and (max-width: 1680px) {
  #image_convocazione_container {
    top: 25px !important;
    left: 56% !important;
  }
}

.hide_convocazione {
  display: none;
}

.convocazione-status-1 {
  font-weight: bold;
  background-color: dodgerblue !important;
}

.convocazione-status-2 {
  font-weight: bold;
  background-color: limegreen !important;
}

.convocazione-status-3 {
  font-weight: bold;
  background-color: darkgoldenrod !important;
}

.convocazione-status-4 {
  font-weight: bold;
  background-color: indianred !important;
}

/*point*/
#tournament_info label {
  font-weight: bold;
  color: orange;
}

#scelta_gioco_container {
  padding: 0px;
}

#nota_multigioco {
  margin-top: 10px;
}

.multigioco_container {
  padding-left: 0px !important;
}

.note-container {
  resize: none;
}

/*classifica e risultati*/
.google_sheet {
  width: 100%;
  height: 500px;
}

.hide_classifica {
  display: none;
}

/*contatti*/
#logo_bga {
  width: 20px;
  height: 20px;
  position: relative;
  top: 5px;
}

.copyright {
  margin-bottom: 20px !important;
}

#icon_contatti {
  width: 30px;
  height: 20px;
  position: relative;
  top: 5px;
}

#icon_albodoro {
  width: 30px;
  height: 28px;
  position: relative;
  top: 8px;
}

#albodoro_bgl_download_container {
  padding: 18px 18px;
  border: 1px solid white;
  border-radius: 15px;
  background-color: rgba(0, 100, 200, 0.5);
  text-align: center;
}

#icon_calendario {
  width: 25px;
  height: 27px;
  position: relative;
  top: 8px;
}

.risultati-torneo:hover {
  cursor: pointer;
}

/*how to select a single menu element
#header nav ul li a[href='#contact'] { 

}
*/

#header nav ul li a {
  white-space: nowrap;
  min-width: 2.5rem !important;
}

/*home page*/
div#wrapper {
  background: rgba(0, 0, 0, 0.6);
}

/*regolamento*/

#pdf_rules {
  width: 100%;
  height: 70vh;
  border: none;
}

#regolamento_mobile {
  display: none;
  font: 20px Cambria;
}

#pdf_download_container {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

#pdf_download {
  border: 1px solid white;
  color: black;
  background-color: yellow;
  padding: 5px;
}

/*calendario*/

.container_finale {
  width: 100%;
  height: 100%;
  padding-left: 20px;
  margin-bottom: 20px;
}

.all-content .img_finale {
  width: 200px;
  height: 200px;
  padding: 0;
  border-radius: 20px;
}

.container_img_finale {
  display: inline-block;
  vertical-align: middle;
}

.all-content .desc_finale_calendario {
  color: white;
  font-size: 20px;
  display: inline-block;
  font-family: SourceSansProBold;
  vertical-align: middle;
  padding: 10px;
  border: 1px solid white;
  border-radius: 20px;
  margin: 10px;
}

/*indicatore numero finali*/

.numero_finali {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 25px;
  font-family: cambria;
  border: 1px solid white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  vertical-align: middle;
  padding-top: 3px;
  background-color: black;
}

/*mailchimp*/

.campaign {
  line-height: 125%;
  margin: 5px;
  font-size: 20px;
  font-family: MONOSPACE;
  border: 1px solid white;
  text-align: center;
  padding: 5px;
}

#mc_embed_signup {
  width: 50%;
  min-width: 300px;
  margin: 40px auto;
  font: 14px Helvetica, Arial, sans-serif;
  border: 1px solid white;
  border-radius: 20px;
  display: none;
}

.subscribe_mc_button {
  font: 15px Cambria;
  padding: 5px;
  border: 1px solid white;
  width: 200px;
  text-align: center;
  border-radius: 20px;
  background: rgba(255, 255, 0, 0.4);
  margin: 20px auto;
}

.subscribe_mc_button:hover {
  cursor: pointer;
}

/* risultati */
#risultati .risultati-final {
  background-color: green;
}

/* Next Final */
.button-large {
  border: 2px solid orange;
  padding: 10px;
  margin: 0 4px;
  border-radius: 5px;
  font-weight: bold;
}

.button-color-green {
  border-color: darkgreen;
  background-color: rgba(0, 100, 0, 0.5);
}

.button-color-orange {
  border-color: orange;
  background-color: rgba(255, 165, 0, 0.5);
}

.button-color-red {
  border-color: red;
  background-color: rgba(200, 0, 0, 0.3);
}

.large-button-container {
  margin-top: 25px;
}

/* Month Player*/

#main article#month-player {
  width: 60rem;
}

.month-player-info-container {
  text-align: center;
}

.month-player-info-container a {
  border-bottom: 0;
}

.month-player-info-container .twitch-banner {
  width: 100%;
  border: 1px solid white;
  border-radius: 10px;
  margin-top: 20px;
}

.month-player-info-container .twitch-ads {
  border: 1px solid;
  padding: 10px;
  margin-bottom: 15px;
  background-color: rgba(0, 200, 0, 0.4);
}

.month-player-scelta-anno-input-container {
  text-align: center;
}

.month-player-scelta-anno-input-container label {
  width: 49%;
  min-width: 300px;
  display: inline-block;
}

.month-player-scelta-anno-input-container select {
  width: 49%;
  min-width: 300px;
  display: inline-block;
  background-color: rgba(100, 161, 187, 0.5);
  text-align-last: center;
  font-weight: bold;
}

.month-player-winner-card {
  margin-right: 20px;
  display: inline-block;
}

.month-player-images {
  width: 405px;
}

img.month-player-image {
  width: 200px;
  height: 200px;
  border: 1px solid white;
  border-radius: 10px;
  object-fit: cover;
  display: inline-block;
}

img.month-player-image-game {
  display: inline-block;
  border: 1px solid;
  border-radius: 10px;
  width: 200px;
  height: 200px;
}

.month-player-name {
  position: relative;
  top: -85px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.month-player-vincitori-container {
  text-align: center;
  margin: 20px auto;
}

.month-player-vincitori-anno-container {
  margin-top: 25px;
}

#month-player h2 {
  width: 100%;
  border: 1px solid;
  padding-top: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  text-align: center;
}

#month-player h3 {
  text-align: center;
}

.text-bold {
  font-weight: bold;
}

.text-large {
  font-size: 20px;
}

.month-player-classifica-scelta-mese {
  margin-bottom: 30px;
}

.month-player-classifica-scelta-mese select {
  text-align: center;
}

.month-game-image-container {
  margin: 0 auto 40px;
  text-align: center;
}

.month-game-image {
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border: 1px solid white;
  border-radius: 20px;
}

.month-game-container {
  display: inline-block;
  margin: 0 10px;
}

.month-games-container {
  text-align: center;
}

.month-player-nav-container {
  margin: 2rem 0;
  margin-left: -2px;
  text-align: center;
}

#month-player #month-player-nav-button-1 {
  border-radius: 10px 0 0 10px;
}

#month-player #month-player-nav-button-3 {
  border-radius: 0 10px 10px 0;
}

#month-player .month-player-nav-button {
  width: 33.3%;
  margin-right: -4px;
  padding: 0;
  border-radius: 0;
}

.month-player-nav-button.active {
  background-color: rgba(0, 120, 0, 0.4);
}

/* Portale MyBIG */
.mybig-btn {
  position: absolute;
  top: 3%;
  right: 3%;
  padding: 10px 20px;
  background-color: rgba(255, 0, 0, 0.7);
  /* border: 1px solid white; */
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.mybig-btn:hover {
  background-color: rgba(255, 0, 0, 1);
  transform: scale(1.05);
}

/* Sezione MODENA PLAY */

.schedule-list {
  list-style: none;
  border: 2px solid;
  border-radius: 10px;
  padding: 10px;
  background-color: rgba(0, 100, 200, 0.5);
  text-align: center;
  font-size: 20px;
}

.schedule-list li {
  padding: 5px;
}

.schedule-list-final {
  background-color: green;
  font-weight: bold;
  border-radius: 10px;
}

.play-legend {
  margin-top: 25px;
  text-align: center;
}

.play-legend span {
  padding: 7px 10px;
  font-weight: bold;
  margin: 5px 5px;
  border-radius: 5px;
  display: inline-block;
}

.play-legend-green {
  background-color: rgba(0, 200, 0, 0.2);
  border: 2px solid green;
}

.play-legend-orange {
  background-color: rgba(255, 140, 0, 0.4);
  border: 2px solid darkorange;
}

.play-legend-red {
  background-color: rgba(255, 0, 0, 0.4);
  border: 2px solid red;
}

.play-game {
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.play-short-game {
  background-color: rgba(0, 200, 0, 0.2);
  border: 2px solid green;
}

.play-medium-game {
  background-color: rgba(255, 140, 0, 0.4);
  border: 2px solid darkorange;
}

.play-long-game {
  background-color: rgba(255, 0, 0, 0.4);
  border: 2px solid red;
}

.play-game-image {
  display: inline-block;
  width: 125px;
  height: 125px;
  margin: 5px 9px;
  border: 1px solid;
  border-radius: 5px;
}

.play-timetable-list {
  list-style: none;
}

.play-timetable-list li {
  margin: 10px 0;
  border-radius: 10px;
  text-align: center;
}

.play-medium-slot {
  background-color: rgba(255, 140, 0, 0.4);
  border: 2px solid darkorange;
}

.play-short-slot {
  background-color: rgba(0, 200, 0, 0.2);
  border: 2px solid green;
}

.play-long-slot {
  background-color: rgba(255, 0, 0, 0.4);
  border: 2px solid red;
}

.play-prize-slot {
  background-color: rgba(0, 150, 200, 0.6);
  border: 2px solid lightblue;
}

.play-subscription-button-container {
  text-align: center;
}

.play-subscription-button-container button {
  text-align: center;
}

.modena-play-paragraph {
  font-size: 18px;
}

.modena-play-prize-value {
  position: relative;
  top: -45px;
  background-color: rgba(0, 100, 0);
  margin: 0 auto;
  border-radius: 100%;
  font-weight: bold;
  border: 2px solid white;
}

.modena-play-prize-value-big {
  width: 88px;
  padding: 5px;
  font-size: 22px;
}

.modena-play-prize-value-small {
  width: 75px;
  padding: 3px;
  font-size: 18px;
}

.modena-play-montepremi {
  box-sizing: border-box;
  display: grid;
  place-content: center;
  position: relative;
  margin: 3rem auto;
  padding-left: 0.25em;
  width: 5em;
  height: 5em;
  border-radius: 50%;
  font: 900 2.5em/ 1.25 z003, segoe script, comic sans ms, cursive;
  font-family: "Acme", sans-serif;
  filter: drop-shadow(1px 1px #fff);
  background-color: forestgreen;
}

.modena-play-montepremi::after {
  position: absolute;
  top: -0.5em;
  right: -0.5em;
  bottom: -0.5em;
  left: -0.5em;
  background: inherit;
  content: "";
}

.modena-play-montepremi:nth-of-type(1)::after {
  clip-path: polygon(99.89295% 53.27016%,
      calc(50% + calc(50% - 0.375em) * 0.99144) calc(50% + calc(50% - 0.375em) * 0.13053),
      calc(50% + calc(50% - 0.375em) * 1) calc(50% + calc(50% - 0.375em) * 0),
      99.89295% 53.27016%,
      99.57224% 56.52631%,
      98.29629% 62.94095%,
      calc(50% + calc(50% - 0.375em) * 0.98079) calc(50% + calc(50% - 0.375em) * 0.19509),
      99.57224% 56.52631%,
      99.89295% 53.27016%,
      100% 50%,
      97.34651% 66.07197%,
      calc(50% + calc(50% - 0.375em) * 0.92388) calc(50% + calc(50% - 0.375em) * 0.38268),
      calc(50% + calc(50% - 0.375em) * 0.96593) calc(50% + calc(50% - 0.375em) * 0.25882),
      97.34651% 66.07197%,
      96.19398% 69.13417%,
      93.30127% 75%,
      calc(50% + calc(50% - 0.375em) * 0.89687) calc(50% + calc(50% - 0.375em) * 0.44229),
      96.19398% 69.13417%,
      97.34651% 66.07197%,
      100% 50%,
      91.57348% 77.77851%,
      calc(50% + calc(50% - 0.375em) * 0.79335) calc(50% + calc(50% - 0.375em) * 0.60876),
      calc(50% + calc(50% - 0.375em) * 0.86603) calc(50% + calc(50% - 0.375em) * 0.5),
      91.57348% 77.77851%,
      89.66767% 80.43807%,
      85.35534% 85.35534%,
      calc(50% + calc(50% - 0.375em) * 0.75184) calc(50% + calc(50% - 0.375em) * 0.65935),
      89.66767% 80.43807%,
      91.57348% 77.77851%,
      100% 50%,
      82.96729% 87.59199%,
      calc(50% + calc(50% - 0.375em) * 0.60876) calc(50% + calc(50% - 0.375em) * 0.79335),
      calc(50% + calc(50% - 0.375em) * 0.70711) calc(50% + calc(50% - 0.375em) * 0.70711),
      82.96729% 87.59199%,
      80.43807% 89.66767%,
      75% 93.30127%,
      calc(50% + calc(50% - 0.375em) * 0.55557) calc(50% + calc(50% - 0.375em) * 0.83147),
      80.43807% 89.66767%,
      82.96729% 87.59199%,
      100% 50%,
      72.11443% 94.84364%,
      calc(50% + calc(50% - 0.375em) * 0.38268) calc(50% + calc(50% - 0.375em) * 0.92388),
      calc(50% + calc(50% - 0.375em) * 0.5) calc(50% + calc(50% - 0.375em) * 0.86603),
      72.11443% 94.84364%,
      69.13417% 96.19398%,
      62.94095% 98.29629%,
      calc(50% + calc(50% - 0.375em) * 0.32144) calc(50% + calc(50% - 0.375em) * 0.94693),
      69.13417% 96.19398%,
      72.11443% 94.84364%,
      100% 50%,
      59.75452% 99.03926%,
      calc(50% + calc(50% - 0.375em) * 0.13053) calc(50% + calc(50% - 0.375em) * 0.99144),
      calc(50% + calc(50% - 0.375em) * 0.25882) calc(50% + calc(50% - 0.375em) * 0.96593),
      59.75452% 99.03926%,
      56.52631% 99.57224%,
      50% 100%,
      calc(50% + calc(50% - 0.375em) * 0.0654) calc(50% + calc(50% - 0.375em) * 0.99786),
      56.52631% 99.57224%,
      59.75452% 99.03926%,
      100% 50%,
      46.72984% 99.89295%,
      calc(50% + calc(50% - 0.375em) * -0.13053) calc(50% + calc(50% - 0.375em) * 0.99144),
      calc(50% + calc(50% - 0.375em) * 0) calc(50% + calc(50% - 0.375em) * 1),
      46.72984% 99.89295%,
      43.47369% 99.57224%,
      37.05905% 98.29629%,
      calc(50% + calc(50% - 0.375em) * -0.19509) calc(50% + calc(50% - 0.375em) * 0.98079),
      43.47369% 99.57224%,
      46.72984% 99.89295%,
      100% 50%,
      33.92803% 97.34651%,
      calc(50% + calc(50% - 0.375em) * -0.38268) calc(50% + calc(50% - 0.375em) * 0.92388),
      calc(50% + calc(50% - 0.375em) * -0.25882) calc(50% + calc(50% - 0.375em) * 0.96593),
      33.92803% 97.34651%,
      30.86583% 96.19398%,
      25% 93.30127%,
      calc(50% + calc(50% - 0.375em) * -0.44229) calc(50% + calc(50% - 0.375em) * 0.89687),
      30.86583% 96.19398%,
      33.92803% 97.34651%,
      100% 50%,
      22.22149% 91.57348%,
      calc(50% + calc(50% - 0.375em) * -0.60876) calc(50% + calc(50% - 0.375em) * 0.79335),
      calc(50% + calc(50% - 0.375em) * -0.5) calc(50% + calc(50% - 0.375em) * 0.86603),
      22.22149% 91.57348%,
      19.56193% 89.66767%,
      14.64466% 85.35534%,
      calc(50% + calc(50% - 0.375em) * -0.65935) calc(50% + calc(50% - 0.375em) * 0.75184),
      19.56193% 89.66767%,
      22.22149% 91.57348%,
      100% 50%,
      12.40801% 82.96729%,
      calc(50% + calc(50% - 0.375em) * -0.79335) calc(50% + calc(50% - 0.375em) * 0.60876),
      calc(50% + calc(50% - 0.375em) * -0.70711) calc(50% + calc(50% - 0.375em) * 0.70711),
      12.40801% 82.96729%,
      10.33233% 80.43807%,
      6.69873% 75%,
      calc(50% + calc(50% - 0.375em) * -0.83147) calc(50% + calc(50% - 0.375em) * 0.55557),
      10.33233% 80.43807%,
      12.40801% 82.96729%,
      100% 50%,
      5.15636% 72.11443%,
      calc(50% + calc(50% - 0.375em) * -0.92388) calc(50% + calc(50% - 0.375em) * 0.38268),
      calc(50% + calc(50% - 0.375em) * -0.86603) calc(50% + calc(50% - 0.375em) * 0.5),
      5.15636% 72.11443%,
      3.80602% 69.13417%,
      1.70371% 62.94095%,
      calc(50% + calc(50% - 0.375em) * -0.94693) calc(50% + calc(50% - 0.375em) * 0.32144),
      3.80602% 69.13417%,
      5.15636% 72.11443%,
      100% 50%,
      0.96074% 59.75452%,
      calc(50% + calc(50% - 0.375em) * -0.99144) calc(50% + calc(50% - 0.375em) * 0.13053),
      calc(50% + calc(50% - 0.375em) * -0.96593) calc(50% + calc(50% - 0.375em) * 0.25882),
      0.96074% 59.75452%,
      0.42776% 56.52631%,
      0% 50%,
      calc(50% + calc(50% - 0.375em) * -0.99786) calc(50% + calc(50% - 0.375em) * 0.0654),
      0.42776% 56.52631%,
      0.96074% 59.75452%,
      100% 50%,
      0.10705% 46.72984%,
      calc(50% + calc(50% - 0.375em) * -0.99144) calc(50% + calc(50% - 0.375em) * -0.13053),
      calc(50% + calc(50% - 0.375em) * -1) calc(50% + calc(50% - 0.375em) * 0),
      0.10705% 46.72984%,
      0.42776% 43.47369%,
      1.70371% 37.05905%,
      calc(50% + calc(50% - 0.375em) * -0.98079) calc(50% + calc(50% - 0.375em) * -0.19509),
      0.42776% 43.47369%,
      0.10705% 46.72984%,
      100% 50%,
      2.65349% 33.92803%,
      calc(50% + calc(50% - 0.375em) * -0.92388) calc(50% + calc(50% - 0.375em) * -0.38268),
      calc(50% + calc(50% - 0.375em) * -0.96593) calc(50% + calc(50% - 0.375em) * -0.25882),
      2.65349% 33.92803%,
      3.80602% 30.86583%,
      6.69873% 25%,
      calc(50% + calc(50% - 0.375em) * -0.89687) calc(50% + calc(50% - 0.375em) * -0.44229),
      3.80602% 30.86583%,
      2.65349% 33.92803%,
      100% 50%,
      8.42652% 22.22149%,
      calc(50% + calc(50% - 0.375em) * -0.79335) calc(50% + calc(50% - 0.375em) * -0.60876),
      calc(50% + calc(50% - 0.375em) * -0.86603) calc(50% + calc(50% - 0.375em) * -0.5),
      8.42652% 22.22149%,
      10.33233% 19.56193%,
      14.64466% 14.64466%,
      calc(50% + calc(50% - 0.375em) * -0.75184) calc(50% + calc(50% - 0.375em) * -0.65935),
      10.33233% 19.56193%,
      8.42652% 22.22149%,
      100% 50%,
      17.03271% 12.40801%,
      calc(50% + calc(50% - 0.375em) * -0.60876) calc(50% + calc(50% - 0.375em) * -0.79335),
      calc(50% + calc(50% - 0.375em) * -0.70711) calc(50% + calc(50% - 0.375em) * -0.70711),
      17.03271% 12.40801%,
      19.56193% 10.33233%,
      25% 6.69873%,
      calc(50% + calc(50% - 0.375em) * -0.55557) calc(50% + calc(50% - 0.375em) * -0.83147),
      19.56193% 10.33233%,
      17.03271% 12.40801%,
      100% 50%,
      27.88557% 5.15636%,
      calc(50% + calc(50% - 0.375em) * -0.38268) calc(50% + calc(50% - 0.375em) * -0.92388),
      calc(50% + calc(50% - 0.375em) * -0.5) calc(50% + calc(50% - 0.375em) * -0.86603),
      27.88557% 5.15636%,
      30.86583% 3.80602%,
      37.05905% 1.70371%,
      calc(50% + calc(50% - 0.375em) * -0.32144) calc(50% + calc(50% - 0.375em) * -0.94693),
      30.86583% 3.80602%,
      27.88557% 5.15636%,
      100% 50%,
      40.24548% 0.96074%,
      calc(50% + calc(50% - 0.375em) * -0.13053) calc(50% + calc(50% - 0.375em) * -0.99144),
      calc(50% + calc(50% - 0.375em) * -0.25882) calc(50% + calc(50% - 0.375em) * -0.96593),
      40.24548% 0.96074%,
      43.47369% 0.42776%,
      50% 0%,
      calc(50% + calc(50% - 0.375em) * -0.0654) calc(50% + calc(50% - 0.375em) * -0.99786),
      43.47369% 0.42776%,
      40.24548% 0.96074%,
      100% 50%,
      53.27016% 0.10705%,
      calc(50% + calc(50% - 0.375em) * 0.13053) calc(50% + calc(50% - 0.375em) * -0.99144),
      calc(50% + calc(50% - 0.375em) * 0) calc(50% + calc(50% - 0.375em) * -1),
      53.27016% 0.10705%,
      56.52631% 0.42776%,
      62.94095% 1.70371%,
      calc(50% + calc(50% - 0.375em) * 0.19509) calc(50% + calc(50% - 0.375em) * -0.98079),
      56.52631% 0.42776%,
      53.27016% 0.10705%,
      100% 50%,
      66.07197% 2.65349%,
      calc(50% + calc(50% - 0.375em) * 0.38268) calc(50% + calc(50% - 0.375em) * -0.92388),
      calc(50% + calc(50% - 0.375em) * 0.25882) calc(50% + calc(50% - 0.375em) * -0.96593),
      66.07197% 2.65349%,
      69.13417% 3.80602%,
      75% 6.69873%,
      calc(50% + calc(50% - 0.375em) * 0.44229) calc(50% + calc(50% - 0.375em) * -0.89687),
      69.13417% 3.80602%,
      66.07197% 2.65349%,
      100% 50%,
      77.77851% 8.42652%,
      calc(50% + calc(50% - 0.375em) * 0.60876) calc(50% + calc(50% - 0.375em) * -0.79335),
      calc(50% + calc(50% - 0.375em) * 0.5) calc(50% + calc(50% - 0.375em) * -0.86603),
      77.77851% 8.42652%,
      80.43807% 10.33233%,
      85.35534% 14.64466%,
      calc(50% + calc(50% - 0.375em) * 0.65935) calc(50% + calc(50% - 0.375em) * -0.75184),
      80.43807% 10.33233%,
      77.77851% 8.42652%,
      100% 50%,
      87.59199% 17.03271%,
      calc(50% + calc(50% - 0.375em) * 0.79335) calc(50% + calc(50% - 0.375em) * -0.60876),
      calc(50% + calc(50% - 0.375em) * 0.70711) calc(50% + calc(50% - 0.375em) * -0.70711),
      87.59199% 17.03271%,
      89.66767% 19.56193%,
      93.30127% 25%,
      calc(50% + calc(50% - 0.375em) * 0.83147) calc(50% + calc(50% - 0.375em) * -0.55557),
      89.66767% 19.56193%,
      87.59199% 17.03271%,
      100% 50%,
      94.84364% 27.88557%,
      calc(50% + calc(50% - 0.375em) * 0.92388) calc(50% + calc(50% - 0.375em) * -0.38268),
      calc(50% + calc(50% - 0.375em) * 0.86603) calc(50% + calc(50% - 0.375em) * -0.5),
      94.84364% 27.88557%,
      96.19398% 30.86583%,
      98.29629% 37.05905%,
      calc(50% + calc(50% - 0.375em) * 0.94693) calc(50% + calc(50% - 0.375em) * -0.32144),
      96.19398% 30.86583%,
      94.84364% 27.88557%,
      100% 50%,
      99.03926% 40.24548%,
      calc(50% + calc(50% - 0.375em) * 0.99144) calc(50% + calc(50% - 0.375em) * -0.13053),
      calc(50% + calc(50% - 0.375em) * 0.96593) calc(50% + calc(50% - 0.375em) * -0.25882),
      99.03926% 40.24548%,
      99.57224% 43.47369%,
      100% 50%,
      calc(50% + calc(50% - 0.375em) * 0.99786) calc(50% + calc(50% - 0.375em) * -0.0654),
      99.57224% 43.47369%,
      99.03926% 40.24548%,
      100% 50%);
}

.loader-container {
  display: none;
  margin: 20px auto;
  text-align: center;
}

.loader-spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  display: inline-block;
  text-align: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#tornei_container {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* ======= Sezione nuova Classifica ====== */
#classifica .classifica-content {
  display: none;
}

#classifica .classifica-content.active {
  display: block;
}

#classifica button.classifica-tab.active {
  background-color: rgba(0, 255, 0, 0.2);
}

#classifica button.classifica-tab {
  width: 100%;
  border-radius: 10px;
}

#classifica div#classifica-tabs {
  margin: 0 auto;
  margin-bottom: 1.5rem;
  width: 100%;
  text-align: center;
}

#classifica #classifica-tab-elo {
  display: none;
}

#classifica .elo-cell {
  font-weight: bold;
  color: yellow;
}

#classifica .master-elo-row {
  background: linear-gradient(90deg, rgba(0, 255, 0, 0.05), rgba(0, 255, 0, 0.1));
  font-weight: 600;
  color: #00cc66;
  border-left: 4px solid #00cc66;
}

#classifica .elo-cell.high-elo {
  color: lightgreen;
}

#classifica .elo-cell.low-elo {
  color: indianred;
}

#classifica .avviso-classifica {
  border: 1px solid;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  background-color: rgba(0, 255, 255, 0.2);
  display: none;
}

#classifica .avviso-classifica.avviso-classifica-punti-generale {
  display: block;
}

/* ======= BADGE NEW ======= */
.menu-item-with-new {
  position: relative;
  display: inline-block;
}

.speech-bubble-new {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: red;
  color: white;
  font-weight: bold;
  padding: 4px 10px 6px;
  border-radius: 8px;
  font-size: 10px;
  z-index: 1000;
  line-height: 1.2;
  clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 60% 80%, 50% 100%, 40% 80%, 0% 80%);
}

.new-tooltip {
  display: none;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #3a3a3a;
  /* grigio medio */
  color: #f5f5f5;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  min-width: 240px;
  line-height: 1.6;
  z-index: 1000;
  white-space: normal;
  border: none;
  outline: none;
}

.menu-item-with-new:hover .new-tooltip {
  display: block;
}

.new-tooltip * {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
}

.new-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #3a3a3a transparent transparent transparent;
}

.new-tooltip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.new-tooltip li {
  margin: 0;
  padding-left: 20px;
  position: relative;
}

.new-tooltip li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 0;
  color: #ff5e5e;
  font-size: 14px;
  line-height: 1.5;
}