.sherifComponent {
  --sherif-gold: #ffa508;
  --sherif-cream: #fff3db;
  --sherif-green: #80ff00;
  position: relative;
  width: 100%;
  color: #fff;
  font-family: "AdjaraRegular", sans-serif;
}

.sherifComponent,
.sherifComponent * {
  box-sizing: border-box;
}

.sherifComponent .sherifFluidBg {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 1px;
  /* background: url("../img/sherif/sherif_imgbg.webp") center / contain no-repeat; */
  border-radius: 12px;
}

.sherifComponent .sherifFluidWrapper {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(
    180.03deg,
    #422205 8.48%,
    #825024 51.27%,
    #422205 87.48%
  );
}

.sherifComponent .sheriFluid {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 376px;
  border: 1px solid rgba(115, 112, 167, 0);
  border-radius: 12px;
  background: url("../img/sherif/border-game-bg.webp") center / 100% 100%
    no-repeat;
}

.sherifComponent .sherifContainer {
  padding: 0 16px;
}

.sherifComponent .sherifContainer.inactive,
.sherifComponent .sherifBoardContainer.inactive {
  pointer-events: none;
}

.sherifComponent .border-game-header {
  position: relative;
  z-index: 4;
  width: 343px;
  height: 12px;
  background: url("../img/sherif/border-game-header.webp") center / contain
    no-repeat;
}

.sherifComponent .sherifBoardContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 700px;
  margin: 0 auto;
}

.sherifComponent .sherifCard {
  display: block;
  margin-bottom: -3px;
  padding: 0;
  border: 0;
  cursor: pointer;
  appearance: none;
  background: transparent;
  perspective: 500px;
}

.sherifComponent .sheriFluid.sheriFluid--reloadable .sherifCard {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

.sherifComponent .sherifContent {
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s;
}

.sherifComponent .sherifFront {
  position: relative;
  display: block;
  width: 106px;
  height: 90px;
  background: url("../img/sherif/wanted.webp") bottom / cover no-repeat;
}

.sherifComponent .sherifBack {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform: rotateY(180deg);
  background: url("../img/sherif/flipped.webp") center / cover no-repeat;
}

.sherifComponent .sherifCard.flipped {
  pointer-events: none;
  animation: none !important;
}

.sherifComponent .sherifCard.flipped .sherifContent {
  transform: rotateY(180deg);
  transition: transform 0.7s cubic-bezier(0.44, -0.105, 0, 1.77);
}

.sherifComponent .sherifCard.flipped .sherifFront {
  opacity: 0;
  transition: opacity 0.6s;
}

.sherifComponent .sherifCard.swing {
  transform-origin: center -5px;
  animation: sherif-card-swing 2s ease-in-out infinite alternate;
}

@keyframes sherif-card-swing {
  0% {
    transform: rotate(0deg);
  }
  60% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(-1deg);
  }
}

.sherifComponent .sherifIcon {
  display: none;
  width: 43px;
  height: 43px;
  margin-top: 30px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.sherifComponent .sherifIcon.active {
  display: block;
}

.sherifComponent .sherifIcon.icon1,
.sherifComponent .sherifPopupPrizeIcon.icon1 {
  background-image: url("../img/june/cooper.webp");
}

.sherifComponent .sherifIcon.icon2,
.sherifComponent .sherifPopupPrizeIcon.icon2 {
  background-image: url("../img/june/bronze.webp");
}

.sherifComponent .sherifIcon.icon3,
.sherifComponent .sherifPopupPrizeIcon.icon3 {
  background-image: url("../img/june/silver.webp");
}

.sherifComponent .sherifIcon.icon4,
.sherifComponent .sherifPopupPrizeIcon.icon4 {
  background-image: url("../img/june/gold.webp");
}

.sherifComponent .sherifIcon.icon6,
.sherifComponent .sherifPopupPrizeIcon.icon6 {
  background-image: url("../img/icons/car_logo.webp");
}

.sherifComponent .sherifIcon.icon5 {
  position: relative;
  width: calc(100% - 12px);
  height: 52px;
  margin-top: 15px;
  background: none;
  color: #fff;
  font-family: "AdjaraBold", sans-serif;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 3px #41232e;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #16070b;
}

.sherifComponent .sherifIcon.icon5.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sherifComponent .sherifCardPointsAmount {
  font-size: 24px;
  line-height: 28px;
}

.sherifComponent .sherifCardPointsLabel {
  font-size: 22px;
  line-height: 24px;
  text-transform: capitalize;
}

.sherifComponent .boardAction {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 343px;
  height: 122px;
  margin: 10px auto 0;
  padding: 14px 10px;
  background: url("../img/sherif/borderAction-bg.webp") center / contain
    no-repeat;
}

.sherifComponent .boardAction__leftSide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 95px;
  font-size: 12px;
  font-feature-settings: "case" on;
}

.sherifComponent .boardAction__leftSide span {
  margin-top: -3px;
  font-family: "AdjaraSemiBold", sans-serif;
  font-size: 12px;
  color: var(--sherif-cream);
  white-space: nowrap;
  text-shadow: #000 0 1px 2px;
}

.sherifComponent .board__tries-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 26px;
  margin-left: 7px;
  font:
    14px "AdjaraSemiBold",
    sans-serif;
  color: #fff;
}

.sherifComponent .boardAction__center {
  position: relative;
  width: 83px;
  height: 83px;
  margin-left: 22px;
  background: url("../img/sherif/board-game-center-bg.webp") center / 100% 100%
    no-repeat;
  transition: transform 0.1s;
}

.sherifComponent .boardAction__center--bullet {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  opacity: 0;
  background: url("../img/sherif/bullet.webp") center / contain no-repeat;
}

.sherifComponent .boardAction__center--bullet.active {
  opacity: 1;
  transition: opacity 0.2s;
}

.sherifComponent .boardAction__center--bullet:nth-child(1) {
  transform: translate(26.5px, -2px) rotate(0deg);
  transform-origin: 50% 42.5px;
}

.sherifComponent .boardAction__center--bullet:nth-child(2) {
  transform: translate(27.5px, -2px) rotate(60deg);
  transform-origin: 50% 42.5px;
}

.sherifComponent .boardAction__center--bullet:nth-child(3) {
  transform: translate(27.5px, 1px) rotate(120deg);
  transform-origin: 50% 41.5px;
}

.sherifComponent .boardAction__center--bullet:nth-child(4) {
  transform: translate(27.5px, 0) rotate(180deg);
  transform-origin: 48% 42.5px;
}

.sherifComponent .boardAction__center--bullet:nth-child(5) {
  transform: translate(26.5px, -1px) rotate(240deg);
  transform-origin: 50% 42.5px;
}

.sherifComponent .boardAction__center--bullet:nth-child(6) {
  transform: translate(27.5px, -2px) rotate(300deg);
  transform-origin: 50% 43.5px;
}

.sherifComponent .boardAction__center.sherifDeg,
.sherifComponent .sherifDeg {
  animation: sherif-recharge 4.2s;
}

@keyframes sherif-recharge {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-1800deg);
  }
}

.sherifComponent .boardAction__rightSide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 96px;
  height: 46px;
  margin-left: 20px;
  padding: 13px 9px;
  border-radius: 15px;
  background: rgba(55, 50, 49, 0.6);
}

.sherifComponent .boardAction__rightSide--amount {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  font-family: "AdjaraSemiBold", sans-serif;
  font-size: 16px;
  color: var(--sherif-green);
  background: url("../img/sherif/board-game-amount-bg.webp") center / contain
    no-repeat;
}

.sherifComponent .boardAction__rightSide span {
  font-family: "AdjaraSemiBold", sans-serif;
  font-size: 14px;
  font-feature-settings: "case" on;
  color: var(--sherif-cream);
  text-transform: uppercase;
  text-shadow: #000 0 1px 2px;
}

.sherifComponent .boardAction__rightSide--button {
  position: absolute;
  top: -10px;
  left: -12px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 121px;
  height: 69px;
  padding-bottom: 6px;
  border: 0;
  cursor: pointer;
  font-family: "AdjaraSemiBold", sans-serif;
  font-size: 16px;
  font-feature-settings: "case" on;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  background: url("../img/sherif/board-game-right-button.webp") center / contain
    no-repeat;
}

.sherifComponent .boardAction__rightSide--button.active {
  display: flex;
}

.sherifComponent .boardAction__rightSide--button.inactive {
  width: 121px;
  height: 69px;
  cursor: default;
  background-image: url("../img/sherif/board-game-right-button-inactive.webp");
}

.sherifComponent .boardAction__rightSide--button.blink {
  animation: sherif-button-blink 0.8s linear 3;
}

@keyframes sherif-button-blink {
  0%,
  100% {
    filter: brightness(1.2);
  }
  50% {
    filter: brightness(0.8);
  }
}

.sherifComponent .sherifStartGame,
.sherifComponent .sherifDepositButton {
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 48px;
  border: 1px solid #0eb56a;
  border-radius: 8px;
  font-family: "AdjaraSemiBold", sans-serif;
  font-size: 15px;
  font-feature-settings: "case" on;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(180deg, #039855 0%, #025d34 110.42%);
}

.sherifComponent .sherifStartGame {
  display: none;
}

.sherifComponent .sherifStartGame.active {
  display: flex;
}

.sherifComponent .sherifDepositButton {
  display: flex;
  pointer-events: none;
  opacity: 0.5;
}

.sherifComponent .sherifDepositButton.active {
  pointer-events: auto;
  opacity: 1;
}

.sherifComponent .sherifDeposit_Fluid,
.sherifComponent .sherifDepositWarning {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}
@media screen and (max-width: 940px) and (min-width: 320px) {
  .sherifComponent .sherifDeposit_Fluid,
  .sherifComponent .sherifDepositWarning {
    border-radius: 3.2vw;
  }
}

.sherifComponent .sherifDeposit_Fluid.active,
.sherifComponent .sherifDepositWarning.active {
  display: flex;
}

.sherifComponent .sherifDeposit_Fluid {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.sherifComponent .sherifDepositPopup {
  display: flex;
  width: 309px;
  max-width: calc(100% - 24px);
  padding: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 16px;
  border: 1px solid rgba(242, 199, 102, 0.5);
  background: rgba(8, 15, 39, 0.8);
}

.sherifComponent .sherifDepositPopupText {
  color: #fff;
  font-family: "AdjaraSemiBold", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-align: center;
  font-feature-settings: "case" on;
}

.sherifComponent .sherifDepositPopup .sherifDepositButton {
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: #039855;
}

.sherifComponent .sherifDepositWarningText {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 336px;
  min-height: 85px;
  padding: 12px;
  border: 1px solid #bfbbc6;
  border-radius: 6px;
  font-family: "AdjaraSemiBold", sans-serif;
  font-size: 15px;
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
}

.sherifComponent .sherifCoutDown {
  display: none;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  padding: 5px 10px;
  background: var(--sherif-gold);
}

.sherifComponent .sherifCoutDown.active {
  display: flex;
}

.sherifComponent .sherifCoutDown span {
  font-family: "AdjaraRegular", sans-serif;
  font-size: 12px;
  font-feature-settings: "case" on;
  color: #fff;
}

.sherifComponent .sherifCoutDown > span {
  margin-right: 3px;
}

.sherifComponent .sherifCoutDown__time--minutes,
.sherifComponent .sherifCoutDown__time--seconds {
  font-family: "AdjaraBold", sans-serif !important;
}

.sherifComponent .sherifCoutDown__label.mgr {
  margin-right: 5px;
}

/* Blur and block the board behind the open result dialog. */
.sherifComponent .sheriFluid:has(> .sherifPopup.active)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  border-radius: inherit;
  background: rgba(8, 15, 39, 0.16);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.sherifComponent .sherifPopup {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 30;
  display: none;
  width: 309px;
  max-width: calc(100% - 24px);
  padding: 12px;
  transform: translateX(-50%);
  border-radius: 16px;
  border: 1px solid #f2c766;
  background: rgba(8, 15, 39, 0.8);
}

.sherifComponent .sherifPopup.active {
  display: block;
}

.sherifComponent .sherifPopupClose {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: url("../img/icons/x.webp") center / contain no-repeat;
}

.sherifComponent .sherifPopupTitle {
  margin: 0;
  padding: 0 24px;
  font-family: "AdjaraBold", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  color: #f8f8f8;
  text-align: center;
}

.sherifComponent .sherifPopupDivider {
  width: 282px;
  max-width: 100%;
  height: 1px;
  flex-shrink: 0;
  margin: 8px auto 16px;
  background: linear-gradient(
    270deg,
    rgba(26, 31, 53, 0) 1.6%,
    #f2c766 48.69%,
    rgba(26, 31, 53, 0) 96.65%
  );
}

.sherifComponent .sherifPrizeWrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}

.sherifComponent .sherifPopupPrize {
  display: none;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.sherifComponent .sherifPopupPrize.active {
  display: flex;
}

.sherifComponent .sherifPopupPrizeIcon {
  position: relative;
  width: 47px;
  height: 47px;
  margin-right: 10px;
  margin-bottom: 7px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.sherifComponent .sherifPopupPrizeIcon.icon1,
.sherifComponent .sherifPopupPrizeIcon.icon2,
.sherifComponent .sherifPopupPrizeIcon.icon3 {
  width: 50px;
  height: 50px;
}

.sherifComponent .sherifPopupPrizeIcon.icon5 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: auto;
  margin: 0;
  background: none;
  color: #f8f8f8;
  text-align: center;
  font-family: "AdjaraRegular", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.sherifComponent .sherifPopupPrize--points {
  width: 100%;
  margin-bottom: 0;
}

.sherifComponent .sherifPopupPointsValue {
  color: #efd69a;
  font-family: "AdjaraBold", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
}

.sherifComponent .sherifPopupPrizeText {
  font-family: "AdjaraSemiBold", sans-serif;
  font-size: 13px;
  font-feature-settings: "case" on;
  color: #fff;
  text-transform: uppercase;
}

.sherifComponent .sherifPopupCarImg,
.sherifComponent .sherifPopupCartext {
  display: none;
}

.sherifComponent .sherifPopupCarImg {
  width: 190px;
  height: 115px;
  margin: 0 auto;
  background: url("../img/july/car-new-glb.webp") center / contain no-repeat;
}

.sherifComponent .sherifPopupCartext {
  font-family: "AdjaraSemiBold", sans-serif;
  font-size: 13px;
  color: #fff;
}

.sherifComponent .sherifPopupTitle.forCar {
  display: none;
  flex-direction: column;
  width: 100%;
}

.sherifComponent .sherifTitleLower {
  font-size: 14px;
}

.sherifComponent .sherifPopup.winningCar {
  display: flex;
  flex-direction: column;
}

.sherifComponent .sherifPopup.winningCar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 151px;
  pointer-events: none;
  background: url("../img/sherif/confetti-img.webp") center / cover no-repeat;
}

.sherifComponent .winningCar .sherifPopupTitle {
  display: none;
}

.sherifComponent .winningCar .sherifPopupTitle.forCar {
  display: flex;
  row-gap: 5px;
  padding: 0 10px;
}

.sherifComponent .winningCar .sherifPopupCarImg,
.sherifComponent .winningCar .sherifPopupCartext {
  display: flex;
}

.sherifComponent .winningCar .sherifPrizeWrapper {
  margin-top: 8%;
}

@media screen and (max-width: 940px) {
  .sherifComponent .sherifFluidBg {
    width: 100%;
    padding: 2vw 0 5vw;
    border-radius: 0;
    background-size: cover;
  }

  .sherifComponent .sherifFluidWrapper {
    width: 100%;
    margin: 0 auto;
    padding: 2.2vw;
    border-radius: 3.2vw;
    background: none;
  }

  .sherifComponent .sheriFluid {
    width: 100%;
    margin: 0 auto;
    border: 0;
    border-radius: 3.2vw;
    background-size: cover;
  }

  .sherifComponent .sherifContainer {
    padding: 0 3vw;
  }

  .sherifComponent .sherifBoardContainer {
    display: grid;
    grid-template-columns: repeat(3, 27.8vw);
    justify-content: space-between;
  }

  .sherifComponent .border-game-header {
    width: 100%;
    height: 3.5vw;
  }

  .sherifComponent .sherifFront {
    width: 27.8vw;
    height: 23.7vw;
  }

  .sherifComponent .sherifIcon {
    width: 11.5vw;
    height: 11.5vw;
    margin-top: 8vw;
  }

  .sherifComponent .sherifIcon.icon5 {
    width: calc(100% - 3.2vw);
    height: 13.8667vw;
    margin-top: 5.6vw;
    -webkit-text-stroke-width: 0.8vw;
    text-shadow: 0 0.5333vw 0 #16070b;
  }

  .sherifComponent .sherifCardPointsAmount {
    font-size: 6.4vw;
    line-height: 7.4667vw;
  }

  .sherifComponent .sherifCardPointsLabel {
    font-size: 5.8667vw;
    line-height: 6.4vw;
  }

  .sherifComponent .boardAction {
    display: none;
    width: 91.5vw;
    height: 29.8vw;
    margin: 2vw auto 0;
    padding: 3.7vw 1vw 3.7vw 2.6vw;
  }

  .sherifComponent .boardAction.active {
    display: flex;
  }

  .sherifComponent .boardAction__leftSide {
    width: 22vw;
    font-size: 3.2vw;
  }

  .sherifComponent .boardAction__leftSide span {
    margin-top: -1vw;
    margin-left: 2vw;
    font-size: 3vw;
  }

  .sherifComponent .board__tries-amount {
    width: 18.2vw;
    height: 7.4vw;
    margin-top: 0.8vw;
    padding: 1.8vw 6vw;
    border-radius: 2.1vw;
    font-size: 3.7vw;
  }

  .sherifComponent .boardAction__center {
    width: 22vw;
    height: 22vw;
    margin-left: 9vw;
  }

  .sherifComponent .boardAction__center--bullet {
    width: 8.3vw;
    height: 8.3vw;
  }

  .sherifComponent .boardAction__center--bullet:nth-child(1) {
    transform: translate(7vw, -0.5vw) rotate(0deg);
    transform-origin: 50% 11.3vw;
  }

  .sherifComponent .boardAction__center--bullet:nth-child(2) {
    transform: translate(8.4vw, 0) rotate(60deg);
    transform-origin: 50% 9.9vw;
  }

  .sherifComponent .boardAction__center--bullet:nth-child(3) {
    transform: translate(8.4vw, 2vw) rotate(120deg);
    transform-origin: 50% 9.8vw;
  }

  .sherifComponent .boardAction__center--bullet:nth-child(4) {
    transform: translate(7vw, 2.9vw) rotate(180deg);
    transform-origin: 50% 9.7vw;
  }

  .sherifComponent .boardAction__center--bullet:nth-child(5) {
    transform: translate(5.9vw, 2vw) rotate(240deg);
    transform-origin: 50% 9.9vw;
  }

  .sherifComponent .boardAction__center--bullet:nth-child(6) {
    transform: translate(5.6vw, 0.3vw) rotate(300deg);
    transform-origin: 50% 9.8vw;
  }

  .sherifComponent .boardAction__rightSide {
    width: 25.6vw;
    height: 11.3vw;
    margin-right: 2vw;
    margin-left: 5vw;
    padding: 3.4vw 2vw;
  }

  .sherifComponent .boardAction__rightSide--amount {
    width: 6.4vw;
    height: 6.4vw;
    flex-basis: 6.4vw;
    font-size: 4.2vw;
  }

  .sherifComponent .boardAction__rightSide span {
    font-size: 3.7vw;
  }

  .sherifComponent .boardAction__rightSide--button,
  .sherifComponent .boardAction__rightSide--button.inactive {
    top: -2vw;
    left: -3.4vw;
    width: 31.8vw;
    height: 17vw;
    padding-bottom: 2vw;
    font-size: 3.7vw;
  }

  .sherifComponent .sherifStartGame,
  .sherifComponent .sherifDepositButton {
    width: 95%;
    height: 13vw;
    margin: 0 auto;
    font-size: 3.8vw;
  }

  .sherifComponent .sheriFluid .sherifStartGame {
    margin-top: 9vw;
  }

  .sherifComponent .sherifDepositWarningText {
    width: 89vw;
    min-height: 22.7vw;
    padding: 3.2vw;
    font-size: 4vw;
  }

  .sherifComponent .sherifDepositPopup {
    width: 82.4vw;
    max-width: none;
    padding: 3.2vw;
    gap: 3.2vw;
    border-width: 0.2666666667vw;
    border-radius: 4.2666666667vw;
  }

  .sherifComponent .sherifDepositPopupText {
    font-size: 3.4vw;
    line-height: 1.5;
  }

  .sherifComponent .sherifDepositPopup .sherifDepositButton {
    width: 100%;
    height: 10.6666666667vw;
    margin: 0;
    padding: 0 5.3333333333vw;
    border-radius: 3.2vw;
    font-size: 3.8vw;
  }

  .sherifComponent .sherifCoutDown {
    padding: 1.4vw 2.7vw;
  }

  .sherifComponent .sherifCoutDown span {
    font-size: 3.2vw;
  }

  .sherifComponent .sherifPopup {
    top: 26vw;
    width: 82.4vw;
    max-width: calc(100% - 6.4vw);
    padding: 3.2vw;
    border-radius: 4.2667vw;
    border-width: 0.2667vw;
  }

  .sherifComponent .sherifPopupClose {
    top: 3.7333vw;
    right: 3.7333vw;
    width: 3.7333vw;
    height: 3.7333vw;
  }

  .sherifComponent .sherifPopupTitle {
    padding: 0 6.4vw;
    font-size: 5.3333vw;
    line-height: 8vw;
  }

  .sherifComponent .sherifTitleLower {
    font-size: 3.8vw;
  }

  .sherifComponent .sherifPopupPrizeIcon.icon1,
  .sherifComponent .sherifPopupPrizeIcon.icon2,
  .sherifComponent .sherifPopupPrizeIcon.icon3,
  .sherifComponent .sherifPopupPrizeIcon.icon4,
  .sherifComponent .sherifPopupPrizeIcon.icon6 {
    width: 16vw;
    height: 16vw;
  }

  .sherifComponent .sherifPopupPrizeIcon.icon5 {
    gap: 1.0667vw;
    font-size: 3.7333vw;
    line-height: 5.6vw;
  }

  .sherifComponent .sherifPopupPointsValue {
    font-size: 4.2667vw;
    line-height: 6.4vw;
  }

  .sherifComponent .sherifPopupDivider {
    width: 75.2vw;
    height: 0.2667vw;
    margin: 2.1333vw auto 4.2667vw;
  }

  .sherifComponent .sherifPrizeWrapper {
    gap: 2.1333vw;
  }

  .sherifComponent .sherifPopupCarImg {
    width: 50vw;
    height: 32vw;
  }

  .sherifComponent .sherifPopupCartext {
    font-size: 3vw;
  }

  .sherifComponent .sherifPopup.winningCar::before {
    top: 1vw;
    height: 24vw;
  }

  .sherifComponent .winningCar .sherifPopupTitle.forCar {
    row-gap: 2vw;
    padding: 0 2vw;
  }
}

@media screen and (min-width: 941px) {
  .sherifComponent .sherifFluidBg {
    background: none;
  }

  .sherifComponent .sherifFluidWrapper {
    max-width: 100%;
    padding: 0;
    background: none;
  }

  .sherifComponent .sheriFluid {
    width: 452px;
    max-width: 100%;
  }

  .sherifComponent .sherifContainer {
    padding: 0;
  }

  .sherifComponent .border-game-header {
    width: 99%;
    height: 16px;
    margin: 0 auto;
  }

  .sherifComponent .sherifBoardContainer {
    --sherif-card-height: 132px;
    --sherif-sign-height: 70px;
    display: grid;
    grid-template-columns: repeat(3, 114px);
    width: calc(100% - 56px);
  }

  /* Only the WANTED sign is a button; the rope remains decorative artwork. */
  .sherifComponent .sherifCard {
    position: relative;
    width: 114px;
    height: var(--sherif-sign-height);
    margin-top: calc(var(--sherif-card-height) - var(--sherif-sign-height));
    perspective-origin: center
      calc(var(--sherif-sign-height) - var(--sherif-card-height) / 2);
  }

  .sherifComponent .sherifContent {
    position: absolute;
    inset: auto 0 0;
    height: var(--sherif-card-height);
    pointer-events: none;
  }

  .sherifComponent .sherifCard.swing {
    /* Keep the original swing pivot above the rope, not above the sign. */
    transform-origin: center
      calc(var(--sherif-sign-height) - var(--sherif-card-height) - 5px);
  }

  .sherifComponent .sherifFront {
    width: 114px;
    height: var(--sherif-card-height);
    background-size: 100% 100%;
  }

  .sherifComponent .sherifBack {
    background-position: center bottom;
    background-size: 100% auto;
  }

  /* The revealed plaque has a shorter rope; extend it without stretching it. */
  .sherifComponent .sherifBack::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 36px;
    background: url("../img/sherif/wanted.webp") center top / 114px 132px
      no-repeat;
    pointer-events: none;
  }

  .sherifComponent .sherifIcon,
  .sherifComponent .sherifIcon.icon5 {
    margin-top: 60px;
  }

  .sherifComponent .sherifStartGame {
    display: none !important;
  }

  .sherifComponent .boardAction {
    display: flex !important;
  }
}
