:root {
  --app-shell-max-width: 450px;
  --app-shell-card: #1c1c3c;
  --app-shell-border: rgba(255, 255, 255, 0.14);
  --app-shell-shadow: 0 24px 60px rgba(5, 10, 25, 0.35);
  --app-shell-radius: 28px;
  --app-shell-muted: #e7e7e7;
  --app-shell-heading: #ffffff;
  --app-shell-blue: #173b8f;
  --app-shell-blue-deep: #102c6d;
  --app-shell-blue-soft: #e9f0ff;
  --app-shell-blue-border: #9eb5eb;
}

html,
body {
  min-height: 100%;
}

body,
body.blog-ui {
  background: url("/webappbdg.jpg") center center / cover no-repeat fixed !important;
  color: var(--app-shell-heading);
}

.main-wrapper,
.blog-shell {
  width: min(var(--app-shell-max-width), 100vw) !important;
  max-width: var(--app-shell-max-width) !important;
  min-height: 100vh;
  margin: 0 auto !important;
  position: relative;
  background: var(--app-shell-card) !important;
  box-shadow: var(--app-shell-shadow);
  border: 1px solid var(--app-shell-border);
  border-radius: var(--app-shell-radius);
}

.repeater,
.winners-information,
.category-remaining-card,
.new-introsuccess-page,
.your-coins {
  border-color: var(--app-shell-blue-border) !important;
}

.repeater .entry-fees,
.repeater .content h5,
.repeater .content h3,
.repeater .playbtn a,
.winners-information .or-with-anchor .text-anchor1,
.your-coins h6,
.your-coins h6 small,
.intro-coin .large-size,
.intro-coin p {
  color: var(--app-shell-blue-deep) !important;
}

.repeater .content h6,
.category-remaining-card .content h6 {
  color: var(--app-shell-blue) !important;
}

.repeater .playbtn a,
.winners-information .or-with-anchor .text-anchor1,
.category-remaining-card .playbtn a {
  border-color: var(--app-shell-blue) !important;
  background: var(--app-shell-blue-soft) !important;
}

.repeater .playbtn a:hover,
.repeater .playbtn a:focus,
.winners-information .or-with-anchor .text-anchor1:hover,
.winners-information .or-with-anchor .text-anchor1:focus,
.category-remaining-card .playbtn a:hover,
.category-remaining-card .playbtn a:focus {
  background: #dce8ff !important;
}

.category-remaining-card {
  border-color: var(--app-shell-blue-border) !important;
}

.category-remaining-card .content h5,
.category-remaining-card .content h3,
.category-remaining-card .entry-fees {
  color: var(--app-shell-blue-deep) !important;
}

.app-game-frame {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.app-game-frame.is-open {
  display: block;
}

.app-game-frame__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
}

.app-game-frame__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--app-shell-max-width), 100vw);
  background: var(--app-shell-card);
  box-shadow: var(--app-shell-shadow);
  border: 1px solid var(--app-shell-border);
  display: flex;
  flex-direction: column;
}

.app-game-frame__header {
  height: 58px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--app-shell-border);
  background: rgba(20, 20, 44, 0.98);
}

.app-game-frame__title {
  margin: 0;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  color: var(--app-shell-heading);
}

.app-game-frame__close {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: var(--app-shell-heading);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.app-game-frame__body {
  flex: 1 1 auto;
  min-height: 0;
  background: #16162f;
}

.app-game-frame__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #ffffff;
}

body.app-frame-open {
  overflow: hidden !important;
}

@media (min-width: 768px) {
  body,
  body.blog-ui {
    padding: 24px 14px !important;
    box-sizing: border-box;
  }

  .main-wrapper,
  .blog-shell,
  .app-game-frame__panel {
    min-height: calc(100vh - 48px);
  }

  .app-game-frame__panel {
    top: 24px;
    bottom: 24px;
    border-radius: var(--app-shell-radius);
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  body,
  body.blog-ui {
    padding: 0 !important;
  }

  .main-wrapper,
  .blog-shell,
  .app-game-frame__panel {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0;
    box-shadow: none;
  }
}
