:root:not(#luckyimp-theme-disabled) body .imp-lobby-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  gap: 24px;
}

:root:not(#luckyimp-theme-disabled) body .imp-lobby-hero {
  position: relative;
  min-height: clamp(390px, 49vw, 560px);
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #77301f;
  border-radius: 10px;
  background: #16070c;
  box-shadow: 0 18px 42px #05020399, inset 0 1px 0 #ffd58a2b;
}

:root:not(#luckyimp-theme-disabled) body .imp-lobby-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

:root:not(#luckyimp-theme-disabled) body .imp-lobby-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #0a0206ed 0%, #16070ccc 38%, #16070c35 68%, #16070c12 100%);
}

:root:not(#luckyimp-theme-disabled) body .imp-lobby-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  width: min(580px, 62%);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(28px, 5vw, 64px);
}

:root:not(#luckyimp-theme-disabled) body .imp-lobby-kicker {
  color: #ffb31a;
  font: 700 14px/1.1 Montserrat, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

:root:not(#luckyimp-theme-disabled) body .imp-lobby-hero h1 {
  margin: 0;
  max-width: 100%;
  color: #fff2d2 !important;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow: 0 3px 0 #6b170f, 0 8px 20px #050203 !important;
}

:root:not(#luckyimp-theme-disabled) body .imp-lobby-hero p {
  max-width: 520px;
  margin: 0;
  color: #fff7e9;
  font: 600 clamp(14px, 1.5vw, 17px)/1.55 Montserrat, sans-serif;
  text-shadow: 0 2px 8px #050203;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 240px;
  align-items: center;
  min-height: 330px;
  overflow: hidden;
  padding: 34px 30px 34px 20px;
  border: 2px solid transparent;
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 26%, #ff7d2a29, transparent 25rem) padding-box,
    linear-gradient(105deg, #310b15 0%, #170509 54%, #090204 100%) padding-box,
    linear-gradient(125deg, #6f210f, #f2b230 18%, #7d2b13 40%, #ffcf63 64%, #5b170d 100%) border-box;
  box-shadow: 0 24px 52px #050203bf, inset 0 1px 0 #ffe6a34a, inset 0 0 50px #941e142e;
  isolation: isolate;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, #16050be8 0%, #16050bd9 48%, #080104a6 100%),
    url("../img/fiery/generated/safe-bonuses-bonus-1.webp") center 46% / cover no-repeat;
  filter: saturate(.78) brightness(.56);
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code::after {
  position: absolute;
  inset: 9px;
  z-index: -2;
  content: "";
  border: 1px solid #f1b33e58;
  border-radius: 10px;
  background:
    radial-gradient(circle, #ffe39a 0 2px, #8c3418 2.5px, transparent 3px) 9px 9px / 18px 18px no-repeat,
    radial-gradient(circle, #ffe39a 0 2px, #8c3418 2.5px, transparent 3px) calc(100% - 9px) 9px / 18px 18px no-repeat,
    radial-gradient(circle, #ffe39a 0 2px, #8c3418 2.5px, transparent 3px) 9px calc(100% - 9px) / 18px 18px no-repeat,
    radial-gradient(circle, #ffe39a 0 2px, #8c3418 2.5px, transparent 3px) calc(100% - 9px) calc(100% - 9px) / 18px 18px no-repeat;
  pointer-events: none;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__panel {
  position: relative;
  z-index: 2;
  grid-column: 2;
  min-width: 0;
  padding: 10px clamp(18px, 3vw, 42px) 10px 20px;
  border-left: 2px solid #e66f27;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #ff7e34;
  font: 400 17px/1.2 Pacifico, cursive;
  letter-spacing: .01em;
  text-transform: uppercase;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code h2 {
  margin: 0;
  color: #fff0d0 !important;
  font: 400 clamp(36px, 3.5vw, 56px)/.94 "Bebas Neue", Impact, sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-shadow: 0 3px 0 #65120e, 0 8px 18px #050203;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__panel p {
  max-width: 620px;
  margin: 10px 0 16px;
  color: #ead8cb;
  font: 600 13px/1.55 Montserrat, sans-serif;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__pass {
  position: relative;
  display: grid;
  width: min(590px, 100%);
  min-height: 86px;
  grid-template-columns: minmax(130px, .38fr) minmax(210px, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #e89a2d;
  border-radius: 8px;
  background: linear-gradient(100deg, #120408ed, #561015 48%, #1d0609ed);
  box-shadow: inset 0 0 0 4px #270709, inset 0 0 0 5px #ffbd4338, 0 12px 25px #0502039c;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__pass::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 34%;
  width: 1px;
  content: "";
  background: repeating-linear-gradient(180deg, #f5b83f 0 5px, transparent 5px 10px);
  opacity: .58;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__pass > span {
  padding: 0 18px;
  color: #c9a48c;
  font: 800 9px/1.3 Montserrat, sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__pass code {
  padding: 8px 22px 0;
  color: #ffd86e;
  font: 400 clamp(27px, 3vw, 42px)/1 "Bebas Neue", Impact, sans-serif;
  letter-spacing: .12em;
  text-shadow: 0 2px 0 #7c170f, 0 0 15px #ff7b2c7a;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__pass em {
  grid-column: 2;
  padding: 0 22px 10px;
  color: #b99682;
  font: 700 8px/1 Montserrat, sans-serif;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__action {
  position: relative;
  z-index: 2;
  grid-column: 3;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  padding: 18px 10px;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__cta {
  min-width: 176px;
  text-transform: uppercase;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__action small {
  color: #c7a98f;
  font: 700 9px/1 Montserrat, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__seal {
  display: grid;
  width: 96px;
  height: 96px;
  place-content: center;
  border: 2px solid #f0aa31;
  border-radius: 50%;
  background: radial-gradient(circle, #9f2118 0 42%, #3a0b0d 43% 58%, #c76621 59% 62%, #190507 63%);
  color: #ffe28a;
  text-align: center;
  box-shadow: inset 0 0 18px #ff7c2a61, 0 0 0 5px #340a0c, 0 0 0 6px #d786274f, 0 12px 24px #000b, 0 0 24px #ff6a2447;
  transform: rotate(-4deg);
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__seal b {
  display: block;
  font: 400 31px/.9 "Bebas Neue", Impact, sans-serif;
  letter-spacing: .07em;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__seal small {
  margin-top: 5px;
  color: #ffd775;
  font-size: 7px;
  letter-spacing: .13em;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-code__art {
  position: absolute;
  left: 18px;
  bottom: -62px;
  z-index: 1;
  width: clamp(185px, 18vw, 255px);
  max-width: none;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(-12px 10px 19px #030102d9) drop-shadow(0 0 14px #ff5d2442);
  transform: rotate(-2deg);
}

@media (max-width: 960px) {
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code {
    grid-template-columns: 165px minmax(0, 1fr);
    min-height: 390px;
    align-content: center;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__panel,
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__action {
    grid-column: 2;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__action {
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    padding-left: 20px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__seal {
    width: 72px;
    height: 72px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__terms {
    max-width: 105px;
  }
}

@media (max-width: 620px) {
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code {
    grid-template-columns: minmax(0, 1fr);
    min-height: 520px;
    align-content: end;
    padding: 155px 14px 22px;
    text-align: center;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__panel {
    grid-column: 1;
    padding: 20px 8px 10px;
    border-left: 0;
    border-top: 2px solid #e66f27;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__eyebrow {
    font-size: 9px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code h2 {
    font-size: clamp(33px, 11vw, 47px);
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__panel p {
    margin-inline: auto;
    font-size: 12px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__pass {
    grid-template-columns: 1fr;
    padding: 13px 10px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__pass::after {
    content: none;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__pass > span,
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__pass code,
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__pass em {
    grid-column: 1;
    padding: 3px 6px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__action {
    grid-column: 1;
    justify-content: center;
    flex-wrap: wrap;
    padding: 14px 10px 5px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__cta {
    width: min(240px, 100%);
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-code__art {
    top: -14px;
    right: 50%;
    left: auto;
    bottom: auto;
    width: 178px;
    opacity: .92;
    transform: translateX(50%);
  }
}

:root:not(#luckyimp-theme-disabled) body .imp-lobby-section {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #54201b;
  border-radius: 10px;
  background: linear-gradient(145deg, #260b16, #13060c);
  box-shadow: inset 0 1px 0 #ffd58a14;
}

:root:not(#luckyimp-theme-disabled) body .imp-lobby-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

:root:not(#luckyimp-theme-disabled) body .imp-lobby-heading h2 {
  margin: 0;
  color: #ffb31a;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .035em;
  text-transform: uppercase;
}

:root:not(#luckyimp-theme-disabled) body .imp-lobby-heading p {
  max-width: 610px;
  margin: 0;
  color: #d8c9c4;
  font: 500 14px/1.55 Montserrat, sans-serif;
}

:root:not(#luckyimp-theme-disabled) body .imp-filter-row {
  display: flex;
  gap: 9px;
  margin: 0 0 20px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

:root:not(#luckyimp-theme-disabled) body .imp-filter-row a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid #77301f;
  border-radius: 6px;
  color: #f7d58a;
  background: #17070d;
  font: 700 12px/1 Montserrat, sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

:root:not(#luckyimp-theme-disabled) body .imp-filter-row a:first-child,
:root:not(#luckyimp-theme-disabled) body .imp-filter-row a:hover {
  border-color: #e25c29;
  color: #fff5dc;
  background: linear-gradient(180deg, #8d2d1c, #4b110f);
}

:root:not(#luckyimp-theme-disabled) body .imp-game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

:root:not(#luckyimp-theme-disabled) body .imp-games-catalog__groups {
  display: grid;
  gap: clamp(34px, 5vw, 58px);
}

:root:not(#luckyimp-theme-disabled) body .imp-game-category {
  scroll-margin-top: 90px;
}

:root:not(#luckyimp-theme-disabled) body .imp-game-category__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #77301f;
}

:root:not(#luckyimp-theme-disabled) body .imp-game-category__copy h3 {
  margin: 0;
  color: #fff1d3;
  font: 400 clamp(29px, 3.2vw, 40px)/1 "Bebas Neue", Impact, sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
}

:root:not(#luckyimp-theme-disabled) body .imp-game-category__copy p {
  margin: 5px 0 0;
  color: #bfa9a2;
  font: 500 12px/1.45 Montserrat, sans-serif;
}

:root:not(#luckyimp-theme-disabled) body .imp-game-category__count {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #9b3a22;
  border-radius: 999px;
  color: #ffbd38;
  background: #130509;
  font: 800 10px/1 Montserrat, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

:root:not(#luckyimp-theme-disabled) body .imp-game-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #642519;
  border-radius: 8px;
  background: #0c0407;
  color: #fff4de;
  text-decoration: none;
  box-shadow: 0 10px 24px #05020380;
  transition: transform .2s ease, border-color .2s ease;
}

:root:not(#luckyimp-theme-disabled) body .imp-game-card:hover {
  transform: translateY(-3px);
  border-color: #f47d2e;
}

:root:not(#luckyimp-theme-disabled) body .imp-game-card__media {
  position: relative;
  display: block;
  overflow: hidden;
}

:root:not(#luckyimp-theme-disabled) body .imp-game-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .28s ease, filter .28s ease;
}

:root:not(#luckyimp-theme-disabled) body .imp-games-catalog .imp-game-card img {
  filter: brightness(.86) saturate(.96);
}

:root:not(#luckyimp-theme-disabled) body .imp-game-card:hover img {
  filter: brightness(.62) saturate(1.15);
  transform: scale(1.055);
}

:root:not(#luckyimp-theme-disabled) body .imp-games-catalog .imp-game-card:hover img,
:root:not(#luckyimp-theme-disabled) body .imp-games-catalog .imp-game-card:focus-visible img {
  filter: brightness(.62) saturate(1.15);
}

:root:not(#luckyimp-theme-disabled) body .imp-game-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  min-width: 90px;
  min-height: 34px;
  padding: 8px 12px;
  place-items: center;
  border: 1px solid #ffb929;
  border-radius: 5px;
  color: #fff3d0;
  background: linear-gradient(180deg, #b43d20, #65130f);
  box-shadow: 0 8px 20px #050203b8;
  font: 800 10px/1 Montserrat, sans-serif;
  letter-spacing: .07em;
  opacity: 0;
  text-transform: uppercase;
  transform: translate(-50%, -42%);
  transition: opacity .2s ease, transform .2s ease;
}

:root:not(#luckyimp-theme-disabled) body .imp-game-card:hover .imp-game-card__play,
:root:not(#luckyimp-theme-disabled) body .imp-game-card:focus-visible .imp-game-card__play {
  opacity: 1;
  transform: translate(-50%, -50%);
}

:root:not(#luckyimp-theme-disabled) body .imp-game-card__copy {
  display: block;
  min-height: 67px;
  padding: 11px 12px;
}

:root:not(#luckyimp-theme-disabled) body .imp-game-card__copy strong,
:root:not(#luckyimp-theme-disabled) body .imp-game-card__copy small {
  display: block;
}

:root:not(#luckyimp-theme-disabled) body .imp-game-card__copy strong {
  color: #fff4de;
  font: 700 12px/1.25 Montserrat, sans-serif;
}

:root:not(#luckyimp-theme-disabled) body .imp-game-card__copy small {
  margin-top: 5px;
  color: #b89990;
  font: 700 9px/1.2 Montserrat, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(300px, 1.05fr) minmax(235px, .68fr);
  min-height: 300px;
  margin-top: 34px;
  overflow: visible;
  border: 1px solid var(--promo-accent, #d35b27);
  border-radius: 10px;
  background:
    radial-gradient(circle at 22% 45%, color-mix(in srgb, var(--promo-accent, #d35b27) 20%, transparent), transparent 32%),
    linear-gradient(115deg, #16060b, #100408 58%, #070204);
  box-shadow: 0 18px 36px #050203a6, inset 0 1px 0 #ffd58a2e;
  isolation: isolate;
  transition: transform .22s ease, box-shadow .22s ease;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-card:hover {
  transform: translateY(-3px) rotate(-.15deg);
  box-shadow: 0 24px 44px #050203c4, 0 0 24px color-mix(in srgb, var(--promo-accent, #d35b27) 28%, transparent);
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-card::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  border-radius: inherit;
  background-image: var(--promo-art);
  background-position: center;
  background-size: cover;
  filter: brightness(.38) saturate(.82) contrast(1.05);
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  border-radius: inherit;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, transparent 0 20px, #ffffff04 21px, transparent 22px),
    linear-gradient(90deg, #0b02055c 0%, #13050a9e 31%, #16060be8 58%, #080206fa 100%);
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-card > * {
  position: relative;
  z-index: 1;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-card__art {
  position: relative;
  min-width: 0;
  margin-top: -34px;
  background-image: var(--promo-character);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 15px 18px #030102c7) drop-shadow(0 0 10px color-mix(in srgb, var(--promo-accent, #d35b27) 40%, transparent));
  transform: scale(1.06);
  transform-origin: center bottom;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-card__art::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: none;
  pointer-events: none;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-card__body,
:root:not(#luckyimp-theme-disabled) body .imp-promo-card__side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-card__body small {
  color: #ffb31a;
  font: 800 12px/1 Montserrat, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-card__body h2 {
  max-width: 440px;
  margin: 12px 0 8px;
  color: #fff2d2 !important;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 400;
  line-height: .92;
  text-transform: uppercase;
  text-shadow: 0 3px 0 #60120e, 0 8px 20px #050203;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-card__body p {
  max-width: 420px;
  margin: 0;
  color: #d9c7c3;
  font: 500 14px/1.5 Montserrat, sans-serif;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-card__side {
  gap: 16px;
  border-left: 1px solid color-mix(in srgb, var(--promo-accent, #d35b27) 50%, transparent);
  background: linear-gradient(135deg, #200812d9, #090307ed);
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-terms {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid #8c3725;
  border-radius: 6px;
  background: #090307b8;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-terms div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid #ffffff14;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-terms div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-terms dt,
:root:not(#luckyimp-theme-disabled) body .imp-promo-terms dd {
  margin: 0;
  font: 700 10px/1.3 Montserrat, sans-serif;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-terms dt {
  color: #bca6a0;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-terms dd {
  color: #fff0ce;
  text-align: right;
}

:root:not(#luckyimp-theme-disabled) body .imp-promo-card__side .sces-pin-btn {
  width: 100%;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-list {
  display: grid;
  gap: 18px;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, .65fr) minmax(220px, 1fr) minmax(250px, .9fr);
  min-height: 350px;
  overflow: hidden;
  border: 1px solid #8d3820;
  border-radius: 10px;
  background: #13060b;
  box-shadow: 0 15px 32px #0502038f, inset 0 1px 0 #ffd58a2e;
  isolation: isolate;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-card::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: var(--imp-tournament-bg);
  background-position: center;
  background-size: cover;
  filter: saturate(.92) contrast(1.04);
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #12050aea 0%, #210910b3 46%, #100409e8 100%);
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-prize,
:root:not(#luckyimp-theme-disabled) body .imp-tournament-copy,
:root:not(#luckyimp-theme-disabled) body .imp-tournament-meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-prize {
  align-items: center;
  border-right: 1px solid #ffbd4a24;
  color: #fff0c7;
  text-align: center;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-prize::before {
  content: "♛";
  color: #ffb31a;
  font-size: 32px;
  line-height: 1;
  text-shadow: 0 0 18px #ff5a1a;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-prize strong {
  color: #ffb31a;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 3px 0 #65120e, 0 8px 20px #050203;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-prize small {
  font: 700 13px/1.3 Montserrat, sans-serif;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-copy h2 {
  margin: 0 0 8px;
  color: #fff1cf;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
  text-shadow: 0 3px 0 #631610, 0 8px 18px #050203;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-copy p {
  margin: 0;
  color: #e2d3cf;
  font: 600 13px/1.5 Montserrat, sans-serif;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-meta {
  align-items: center;
  gap: 15px;
  text-align: center;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(44px, 1fr));
  gap: 6px;
  width: 100%;
  max-width: 330px;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-timer span {
  padding: 10px 4px 8px;
  border: 1px solid #8b321f;
  border-radius: 6px;
  background: #0c0307b8;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-timer strong,
:root:not(#luckyimp-theme-disabled) body .imp-tournament-timer small {
  display: block;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-timer strong {
  color: #fff3d8;
  font: 400 25px/1 "Bebas Neue", Impact, sans-serif;
}

:root:not(#luckyimp-theme-disabled) body .imp-tournament-timer small {
  margin-top: 4px;
  color: #c4a9a0;
  font: 700 9px/1 Montserrat, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  :root:not(#luckyimp-theme-disabled) body .sces-nav-links {
    gap: 2px !important;
  }
  :root:not(#luckyimp-theme-disabled) body .sces-nav-links a {
    padding-inline: 4px !important;
    font-size: 11px !important;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  :root:not(#luckyimp-theme-disabled) body .imp-tournament-card {
    grid-template-columns: 160px minmax(190px, 1fr) minmax(230px, .9fr);
  }
}

@media (max-width: 720px) {
  :root:not(#luckyimp-theme-disabled) body .imp-lobby-main {
    gap: 14px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-lobby-hero {
    min-height: 520px;
    width: calc(100% - 20px);
    margin-inline: 10px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-lobby-hero > img {
    object-position: 62% center;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-lobby-hero::after {
    background: linear-gradient(180deg, #12050a18 5%, #12050a66 45%, #0a0206f2 100%);
  }
  :root:not(#luckyimp-theme-disabled) body .imp-lobby-hero-copy {
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    padding: 24px 20px 28px;
    text-align: center;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-lobby-hero h1 {
    font-size: clamp(43px, 14vw, 62px);
  }
  :root:not(#luckyimp-theme-disabled) body .imp-lobby-heading {
    display: block;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-lobby-heading p {
    margin-top: 8px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-game-grid,
  :root:not(#luckyimp-theme-disabled) body .imp-promo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  :root:not(#luckyimp-theme-disabled) body .imp-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :root:not(#luckyimp-theme-disabled) body .imp-lobby-section {
    padding: 18px 12px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-card {
    grid-template-columns: 1fr;
    grid-template-rows: 250px auto auto;
    min-height: 570px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-card::after {
    background:
      repeating-linear-gradient(115deg, transparent 0 20px, #ffffff04 21px, transparent 22px),
      linear-gradient(180deg, #0b020554 0%, #13050a69 33%, #15060bd9 55%, #080206fa 100%);
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-card__art {
    margin-top: -30px;
    background-image: var(--promo-character);
    background-position: center bottom;
    background-size: contain;
    transform: scale(1.02);
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-card__body,
  :root:not(#luckyimp-theme-disabled) body .imp-promo-card__side {
    padding: 20px;
    text-align: center;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-card__body h2,
  :root:not(#luckyimp-theme-disabled) body .imp-promo-card__body p {
    margin-inline: auto;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-card__side {
    border-top: 1px solid color-mix(in srgb, var(--promo-accent, #d35b27) 50%, transparent);
    border-left: 0;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-tournament-card {
    grid-template-columns: 1fr;
    min-height: 460px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-tournament-card::before {
    background-position: center;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-tournament-card::after {
    background: linear-gradient(180deg, #12050a48 0%, #16060ac7 43%, #0b0307f5 100%);
  }
  :root:not(#luckyimp-theme-disabled) body .imp-tournament-prize,
  :root:not(#luckyimp-theme-disabled) body .imp-tournament-copy,
  :root:not(#luckyimp-theme-disabled) body .imp-tournament-meta {
    padding: 17px 20px;
    text-align: center;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-tournament-prize {
    align-self: end;
    border-right: 0;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-tournament-copy h2 {
    margin-inline: auto;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-tournament-prize strong {
    font-size: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root:not(#luckyimp-theme-disabled) body .imp-tournament-card {
    scroll-behavior: auto;
  }
}

@media (max-width: 430px) {
  :root:not(#luckyimp-theme-disabled) body .imp-game-grid {
    gap: 9px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-game-card__copy {
    min-height: 68px;
    padding: 9px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-game-card__copy strong {
    font-size: 11px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-game-category__heading {
    align-items: start;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-game-category__count {
    margin-top: 3px;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-grid {
    grid-template-columns: 1fr;
  }
  :root:not(#luckyimp-theme-disabled) body .imp-promo-card {
    grid-template-rows: 220px auto auto;
    min-height: 550px;
  }
}
