.casino-bb-jackpot {
  margin: 4px 0 12px;
  width: 100%;
  background: transparent;
  contain: layout style;
}

.casino-bb-jackpot__head.page-view-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  box-sizing: border-box;
  padding: 8px var(--padding-page-aside, 8px) 6px !important;
  margin: 0 !important;
  background: transparent !important;
}

.casino-bb-jackpot__head .view-title-more {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}

.casino-bb-jackpot__head .view-see-more {
  flex: 0 0 auto;
  color: #42C95E !important;
  -webkit-text-fill-color: #42C95E !important;
}

.casino-bb-jackpot__frame-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: visible;
  background: transparent;
  overscroll-behavior: auto;
  touch-action: pan-y;
  position: relative;
  z-index: 2;
  line-height: 0;
  margin-bottom: 2px;
  contain: layout;
}

.casino-bb-jackpot__frame,
.casino-bb-jackpot__native {
  display: block;
  width: 100%;
  min-height: 0;
  height: 220px;
  border: 0;
  background: transparent;
  touch-action: pan-y;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  vertical-align: top;
}

.casino-bb-jackpot__native {
  overflow: hidden;
  contain: layout style;
}

.casino-bb-jackpot__native[data-bb-jp-loaded="1"] {
  background: transparent;
}

.casino-bb-jackpot__loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 0 2px;
  box-sizing: border-box;
  overflow: hidden;
  pointer-events: none;
}

.casino-bb-jackpot__loader[hidden] {
  display: none !important;
}

.casino-bb-jackpot__loader-card {
  flex: 0 0 auto;
  width: min(350px, calc(100% - 24px));
  min-width: min(292px, calc(100vw - 36px));
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.14) 45%,
    rgba(255, 255, 255, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: bm-jp-ltr-loader 1.1s linear infinite;
}

.bb-jp-thumb-loading {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.bb-jp-thumb-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: bm-jp-ltr-sweep 1.15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bm-jp-ltr-loader {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@keyframes bm-jp-ltr-sweep {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 768px) {
  .casino-bb-jackpot {
    margin: 2px 0 12px;
  }

  .casino-bb-jackpot__head.page-view-more {
    padding: 6px var(--padding-page-aside, 8px) 4px !important;
    min-height: 32px;
  }

  .casino-bb-jackpot__frame,
  .casino-bb-jackpot__native {
    height: 230px;
  }

  .casino-bb-jackpot__loader {
    gap: 8px;
    padding: 0 8px 0 0;
  }

  .casino-bb-jackpot__loader-card {
    width: min(292px, calc(100vw - 36px));
    min-width: min(292px, calc(100vw - 36px));
  }
}

.casinoGameListBlockHeader.has-bb-jackpot-chip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.casino-bb-jackpot-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(34, 163, 40, 0.75) 0%, rgba(16, 80, 28, 0.9) 100%);
  border: 1px solid rgba(66, 201, 94, 0.45);
  color: #9BE8A8;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.casino-bb-jackpot-chip[hidden] {
  display: none !important;
}

.casino-bb-jackpot-chip__label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.casino-bb-jackpot-chip__clear {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
  flex: 0 0 auto;
}
