.alert-wrapper {
  display: flex;
  z-index: 1;
}

.alert-overlay {
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2;
}

.alert-wrapper,
.alert-overlay {
  position: fixed;
  height: 100%;
  width: 100%;
}

.alert {
  --paytable-border-radius: 20px;
  display: flex;
  flex-direction: column;
  background-color: #252525;
  border-radius: var(--paytable-border-radius);
  color: #fff;
  margin: auto;
  padding: 0 4px 4px;
  z-index: 3;
  position: relative;
  min-width: 256px;
  max-width: 386px;
  min-height: 112px;
  max-height: 186px;
}

.alert-header {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  position: relative;
  padding: 6px 0;
}

.alert-close {
  cursor: pointer;
  height: 16px;
  width: 16px;
  position: absolute;
  right: 8px;
  top: 8px;
}

.alert-close svg {
  fill: #fff;
  height: 100%;
  width: 100%;
}

.alert-content {
  background-color: #000;
  border-bottom-left-radius: var(--paytable-border-radius);
  border-bottom-right-radius: var(--paytable-border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: 1;
  padding: 16px;
}

.paytable-wrapper {
  display: flex;
  z-index: 1;
}

.paytable-overlay {
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2;
}

.paytable-wrapper,
.paytable-overlay {
  position: fixed;
  height: 100%;
  width: 100%;
}

.paytable {
  --paytable-border-radius: 20px;
  --paytable-icon-width: 92px;

  background-color: #252525;
  border-radius: var(--paytable-border-radius);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr 72px;
  grid-template-rows: 32px auto;
  margin: auto;
  padding: 0 4px 4px;
  height: 80vh;
  width: 80vw;
  max-width: 760px;
  z-index: 3;
  position: relative;
}

.paytable-radio {
  display: none;
}

.paytable-tab {
  align-items: center;
  display: flex;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  word-break: break-word;
}

.paytable-radio:checked + .paytable-tab {
  color: #fcfc53;
}

.paytable-actions {
  align-items: center;
  display: flex;
  justify-content: space-around;
  right: 10px;
  top: 10px;
  order: 1;
}

.paytable-icon {
  cursor: pointer;
  height: 16px;
  width: 16px;
}

.paytable-icon.is-hidden {
  display: none;
}

.paytable-icon svg {
  fill: #fff;
  height: 100%;
  width: 100%;
}

.paytable-icon:hover svg {
  fill: #fcfc53;
}

.paytable-content {
  background-color: #000;
  border-bottom-left-radius: var(--paytable-border-radius);
  border-bottom-right-radius: var(--paytable-border-radius);
  display: none;
  padding: 32px;
  overflow: auto;
  grid-column: span 3;
  order: 99;
}

.paytable-radio:checked + .paytable-tab + .paytable-content {
  display: block;
}

.paytable-content {
  scrollbar-color: #6e6e71 #1a1a1f;
  scrollbar-width: thin;
}

.paytable-content::-webkit-scrollbar-track {
  background-color: #1a1a1f;
}

.paytable-content::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  border-radius: 10px;
  background-color: #1a1a1f;
}

.paytable-content::-webkit-scrollbar-thumb {
  background-color: #6e6e71;
}

.paytable-section {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.paytable-item {
  align-items: center;
  display: flex;
  flex: 1;
}

.item-left {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-right: 8px;
}

.item-image-wrapper {
  display: flex;
  margin-left: -12px;
  margin-right: 8px;
  height: 92px;
  width: 120px;
}

.item-image {
  height: auto;
  width: auto;
  max-height: 80px;
  max-width: 100%;
  margin: auto;
}

.item-content {
  flex: 1;
}

.item-image-wrapper + .item-content .item-title {
  color: #ffc000;
  text-align: left;
}

.item-title {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}

.item-description-list {
  list-style: disc;
  padding-left: 14px;
}

.item-description-list:not(:last-child) {
  margin-bottom: 8px;
}

.item-description {
  font-size: 14px;
}

.item-description,
.item-payout {
  font-size: 16px;
}

.item-payout {
  white-space: nowrap;
}

.item-payout-count {
  color: #ffc000;
  margin-right: 4px;
}

.item-separator {
  background-color: #666;
  margin: 12px 0;
  height: 1px;
}

.item-separator:last-child {
  display: none;
}

.paylines-block {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 454px;
  margin: 12px auto auto;
}

.slot-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

.slot-cell {
  background-color: #fff;
  border: 1px solid #ccc;
  box-sizing: border-box;
  width: 8px;
  height: 8px;
}

.slot-payline {
  background-color: yellow;
}

@media (max-width: 980px) {
  .paytable {
    padding: 0;
    height: 100%;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr 1fr 112px;
    grid-template-rows: 64px auto;

    --paytable-border-radius: 0;
  }

  .paytable-icon {
    height: 22px;
    width: 22px;
  }

  .item-left {
    margin-right: 12px;
  }

  .item-title,
  .item-description,
  .item-payout {
    font-size: 18px;
  }

  .item-image-wrapper {
    margin-right: 0;
    height: 134px;
    width: 134px;
  }

  .paylines-block {
    max-width: 390px;
  }

  .slot-cell {
    height: 12px;
    width: 12px;
  }
}

@media (max-width: 570px) {
  .paytable-close {
    right: 4px;
  }
}

.session-info {
  position: absolute;
  color: #cccccc;
  right: 4px;
  bottom: 4px;
  font-size: 14px;
}

.session-info.is-mobile {
  right: 2px;
  bottom: 2px;
  font-size: 10px;
}

.session-info.is-mobile.is-portrait {
  top: 2px;
  bottom: initial;
}

.top-canvas-node {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.top-canvas-panel {
  height: 100%;
}

.canvas-node {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;

  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-crisp-edges;
  image-rendering: pixelated;
  image-rendering: crisp-edges;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
  background-color: #000000;

  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

