@font-face {
  font-family: 'FC Friday Medium';
  font-style: normal;
  font-weight: normal;
  src: url('../font/FC-Friday-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'FC Friday Medium ltalic';
  font-style: normal;
  font-weight: normal;
  src: url('../font/FC-Friday-Medium-Italic.ttf') format('truetype');
}

#eventExpboard-canvas {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: none;
  scale: 1;
}

.eventExpboard-mask {
  background-color: #00000088;
  width: 100%;
  height: 100%;
}

.eventExpboard-window {
  position: absolute;
  top: 45%;
  left: 45%;
  transform: translateX(-50%) translateY(-50%);
  /* max-height: min(100%, 1000px); */
  height: 50vw;
  font-family: 'Super Playful', sans-serif;
  -webkit-text-stroke: 0.9px black;
  scale: 0.9;
}

.eventExpboard-bg {
  height: 100%;
}

.eventExpboard-content {
  position: absolute;
  width: 70%;
  height: 46%;
  top: 58%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
  white-space: nowrap;
  overflow-y: scroll;
  overflow-x: hidden;
}



/* Track */
.eventExpboard-content::-webkit-scrollbar {
  width: min(2vh, 20px);
}

/* Track */
.eventExpboard-content::-webkit-scrollbar-track {
  background-color: #e7ebf2;
  border-radius: 100px;
  border-style: solid;
  border-color: #b0bbd4;
  border-width: 1%;
}

/* Handle */
.eventExpboard-content::-webkit-scrollbar-thumb {
  background-color: #3ccae7;
  border-radius: 100px;
}

.eventExpboard-content-item {
  width: 95%;
  height: 25.5%;
  position: relative;
}

.eventExpboard-ranking-bullet {
  position: absolute;
  bottom: 15%;
  left: 3%;
  height: 80%;
}

.eventExpboard-ranking-bullet img {
  height: 100%;
}

.eventExpboard-ranking-bullet p {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: min(min(3vh, 20px), 2vw);
  transform: translateX(-50%) translateY(-50%);
  color: black;
}

.eventExpboard-profile-image {
  position: absolute;
  bottom: 6%;
  left: 28%;
  /* height: 55%; */
  height: 7vh;
  width: 7vh;
  max-height: min(7vw, 50%);
  max-width: min(7vw, 45%);
  border-radius: 50%;
  object-fit: cover;
}

.eventExpboard-profile-name {
  position: absolute;
  bottom: -25%;
  left: 52%;

  transform: translateX(-50%);
  color: white;
  font-family: 'Playful';
  -webkit-text-stroke: 3px black;
  text-shadow: 0px 0px 0px #000000;
  paint-order: stroke fill;
}

.eventExpboard-level {
  position: absolute;
  top: 50%;
  left: 30%;
  text-align: center;
  transform: translateX(-50%) translateY(-50%);
  font-size: min(min(3vh, 18px), 2vw);
  color: white;
  line-height: 1;
}

.eventExpboard-progress {
  position: absolute;
  top: 50%;
  left: 58%;
  height: 95%;
  transform: translateX(-50%) translateY(-50%);
}

.eventExpboard-progress-empty {
  height: 100%;
}

.eventExpboard-progress-full {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transition: 2s;
  animation: full-in 2s;
}

.eventExpboard-rocket {
  position: absolute;
  height: 85%;
  bottom: 50%;
  transform: translateX(30%) translateY(50%);
  animation: rocket-in 2s;
}

.event-flex {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: auto;
}

.eventExpboard-rocket-score {
  height: 100%;
  transform: scale(0.5);
  margin-left: 20px;
}

.eventExpboard-rocket-div {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50px;
}

.eventExpboard-rocket-score-num {
  position: absolute;

  bottom: 30%;
  /* ด้านบน */
  left: 50%;
  /* กึ่งกลางแนวนอน */
  transform: translateX(0%) translateY(50%);
  /* ปรับให้อยู่ตรงกลางตามความกว้าง */

  color: #44508e;
  font-size: 16px;
  font-family: 'Dinofans';
  -webkit-text-stroke: 0.1px #44508e;

  animation: rocket-in 2s;
}

.isme-score-white {
  color: #ffffff;
  font-size: 20px;
  font-family: 'Dinofans';
  -webkit-text-stroke: 0.1px #ffffff;
}

/* .rush-position-default {
  transform: scaleX(0.5) translateX(50%);
}*/

.rush-position-advanced {
  height: 100%;
  margin-right: 20px;
  transform: scale(-0.5) translateX(180%);
}

/* .score-num-default {
  transform: translateX(0%) translateY(0%);
}*/

/* .score-rush-advanced {
  left: -190px !important;
  transform: translateX(-180%) translateY(50%);
} */
.eventExpboard-rocket-div .event-flex {
  position: relative;
  display: inline-block;
  /* ให้ห่อพอดีกับรูป score */
}

.eventExpboard-rocket-score {
  display: block;
}

/* ตัวเลขบนกรอบ score */
.eventExpboard-rocket-score-num {
  position: absolute;
  top: 46%;
  transform: translate(-50%, -50%);
  /* เอา center ของตัวเลขไปอยู่ที่จุดที่กำหนด */
  margin: 0;
  white-space: nowrap;
  font-weight: 700;
  /* font-size: 14px; */
  /* ปรับตามดีไซน์นาย */
}

/* ตำแหน่งแบบ default: 20% จากซ้ายของกรอบ score */
.score-rush-default {
  left: 60%;
  font-size: 20px;
}

/* ตำแหน่งแบบ advanced: 60% จากซ้ายของกรอบ score */
.score-rush-advanced {
  left: -32%;
  font-size: 20px;
}


#SucceedExp {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  /* display: none; */
  animation: popup-fade-in 4.5s;
}

#FailExp {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  /* display: none; */
  animation: popup-fade-in 4.5s;
}

.eventExpboard-km {
  position: absolute;
  right: 7.5%;
  bottom: 15%;
  transform: translateX(50%) translateY(50%);
  text-align: center;
  font-size: 20px;
  color: white;
  font-family: 'Dinofans';
  -webkit-text-stroke: 3px black;
  text-shadow: 0px 0px 0px #000000;
  paint-order: stroke fill;
}

#eventExpboard-close-button {
  height: 15%;
  position: absolute;
  right: 9%;
  top: 18%;
}

.timeExp {
  position: absolute;
  height: auto;
  left: 39%;
  top: 27%;
  color: #FFF;
  font-size: min(min(15px, 300px), 10vw);
  transform: translateX(-50%);
  margin-bottom: 0 !important;
}

.Cham-details {
  display: block;
  position: absolute;
  width: 80%;
  height: 20%;
  top: 82%;
  transform: translate(15%);

}

.Cham-tab {

  width: -webkit-fill-available;

}

.detail {
  position: absolute;
  width: 60%;
  height: 10%;
  left: 0%;
  bottom: 2%;
  font-size: 1.1vw;
  transform: translateX(35%);

}

.detail p {
  font-family: 'Super Playful', sans-serif;
  font-weight: 500;
  text-align: center;
  color: #2874a6;
  margin-bottom: 0 !important;
  -webkit-text-stroke: initial !important;
}


.scoreExp {
  position: absolute;
  height: auto;
  right: 33.5%;
  top: 26.5%;
  color: #FFF;
  font-size: min(min(2.5vh, 300px), 10vw);
  transform: translateX(-50%);
  margin-bottom: 0 !important;
}

#eventExpboard-close-button:active {
  content: url("../img/New-gaf-Tournament/x-exp-pass.png");
}

#refresh-button {
  cursor: pointer;
  color: #FFF;
}

#refresh-button:hover {
  color: #ffffff94;
}

.eventchamboard-me-itme-exp {
  z-index: 1;
  position: absolute;
  height: 2%;
  top: 27.5%;
  left: 39.5%;
  color: #ffff;
  font-family: 'Playful';
  -webkit-text-stroke: 5px black;
  text-shadow: 0px 0px 0px #000000;
  paint-order: stroke fill;
  font-size: 26px;
  transform: translateX(-50%) translateY(-50%);
}


.eventchamboard-me-itme-exp p {
  font-family: 'Playful';
  -webkit-text-stroke: 5px black;
  text-shadow: 0px 0px 0px #000000;
  paint-order: stroke fill;
  margin-bottom: 0 !important;
}

.eventExpboard-contennt-icon-question {
  position: absolute;
  z-index: 1;
  bottom: 10.5%;
  left: 8.5%;
  width: 10%;
  cursor: pointer;
}

.eventchamboard-me-scoreboard-exp {
  z-index: 1;
  position: absolute;
  height: 53.5%;
  top: 53.5%;
  left: 61.5%;
  color: #FFf;
  font-family: 'Playful';
  -webkit-text-stroke: 5px black;
  text-shadow: 0px 0px 0px #000000;
  paint-order: stroke fill;
  font-size: 28px;
  transform: translateX(-50%) translateY(-50%);
}

.eventchamboard-me-scoreboard-exp p {
  margin-bottom: 0 !important;
}

#Exp-score-event {
  font-family: 'FC Friday Medium';
}

#SucceedExpboard {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  /* display: none; */
  animation: popup-fade-in 4.5s;
}

#SucceedExpboardMap {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  /* display: none; */
  animation: popup-fade-in 4.5s;
}

#FailExpboard {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  /* display: none; */
  animation: popup-fade-in 4.5s;
}

@media (max-width: 1920px) {
  .eventchamboard-rocket-score img {
    height: 100%;
    width: 100%;
  }

  .eventExpboard-rocket-score-num {
    /*left: 50px !important;
    top: 0px !important;
    font-size: 15px !important;
    transform: translateX(0%) translateY(0%);*/
  }

  .eventchamboard-profile-name {
    position: absolute;
    bottom: -51px;
    left: 50%;
    font-size: 50px;
    transform: translateX(-50%);
    color: white;
    -webkit-text-stroke: initial !important;
  }

  .eventchamboard-profile-name svg {
    width: 140px;
    height: 100px;
  }

  .eventchamboard-profile-name text {
    font-size: 25px;
  }

  .eventExpboard-rocket-score-num {
    /*left: 50px !important;
    top: 0px !important;
    font-size: 15px !important;
    transform: translateX(0%) translateY(0%);*/
  }

  .score-num-advanced {
    left: -100px !important;
    transform: translateX(0%) translateY(0%);
  }
}

@media (max-width: 1600px) {
  .eventExpboard-rocket-score-num {
    /*transform: translateX(0%) translateY(0%);
    left: 50px !important;
    top: -2px !important;
    font-size: 20px;*/
  }

  .eventchamboard-rocket-score img {
    height: 100%;
    width: 100%;
  }

  .eventchamboard-profile-name {
    position: absolute;
    bottom: -50px;
    left: 50%;
    font-size: 50px;
    transform: translateX(-50%);
    color: white;
    -webkit-text-stroke: initial !important;
  }

  .eventchamboard-profile-name svg {
    width: 100px;
    height: 100px;
  }

  .eventchamboard-profile-name text {
    font-size: 25px;
  }

  .score-num-advanced {
    left: -80px !important;
    transform: translateX(0%) translateY(0%);
  }
}


@keyframes full-in {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  100% {}
}

@keyframes rocket-in {
  0% {
    right: 100%;
  }

  100% {}
}



/* เพิ่มขนาดไอคอนภายใน isMe */
.eventExpboard-me-item .eventExpboard-profile-image {
  /* max-width: 12vw;
  max-height: 12vw; */
}

.eventExpboard-me-item .eventExpboard-rocket-score {
  height: 90% !important;
}

.eventExpboard-me-item .eventExpboard-rocket-score-num {
  font-size: 1.4rem !important;
}

.eventExpboard-me-item .eventExpboard-profile-name {
  font-size: 1.4rem !important;
}

.eventExpboard-rocket-large {
  width: 90px;
  bottom: 45px;
  height: auto;
}

.eventExpboard-bullet-large {
  width: 90px;
  height: auto;
}

.bg-taller {
  height: 110px;
  /* ปรับค่าตามความสูงที่ต้องการ */
}