/* Mobile-first surface for baji affiliate apps */
:root {
  --c40dbf-ink: #2d2d2d;
  --c40dbf-ink-deep: #191919;
  --c40dbf-panel: #363636;
  --c40dbf-panel-soft: #414141;
  --c40dbf-coral: #cd5c5c;
  --c40dbf-coral-light: #f08080;
  --c40dbf-lime: #adff2f;
  --c40dbf-green: #00ff00;
  --c40dbf-paper: #fff9f5;
  --c40dbf-muted: #d7d0cb;
  --c40dbf-line: rgba(240, 128, 128, 0.42);
  --c40dbf-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  --c40dbf-header-height: 126px;
  --c40dbf-bottom-height: 70px;
}

* {
  box-sizing: border-box;
}

html {
  background: #111;
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 320px;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 100% 6%, rgba(173, 255, 47, 0.1), transparent 23rem),
    linear-gradient(180deg, var(--c40dbf-ink-deep), var(--c40dbf-ink) 22rem, #242424);
  color: var(--c40dbf-paper);
  font-family: "Noto Sans Bengali", "Nirmala UI", "Vrinda", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.7);
}

body.c40dbf-menu-locked {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--c40dbf-lime);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--c40dbf-green);
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--c40dbf-green);
  outline-offset: 3px;
}

.c40dbf-skip {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 50%;
  padding: 8px 12px;
  border: 2px solid var(--c40dbf-ink-deep);
  background: var(--c40dbf-lime);
  color: var(--c40dbf-ink-deep);
  font-weight: 800;
  transform: translate(-50%, -160%);
  transition: transform 160ms ease;
}

.c40dbf-skip:focus {
  transform: translate(-50%, 0);
}

.c40dbf-topbar {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 50%;
  width: min(100%, 430px);
  min-width: 320px;
  border-bottom: 1px solid var(--c40dbf-coral);
  background: rgba(25, 25, 25, 0.97);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.c40dbf-brandrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 66px;
  padding: 8px 10px 6px 14px;
}

.c40dbf-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--c40dbf-paper);
  text-decoration: none;
}

.c40dbf-brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 2px solid var(--c40dbf-lime);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(173, 255, 47, 0.09);
}

.c40dbf-brand strong {
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 4.8vw, 1.24rem);
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c40dbf-menutrigger {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--c40dbf-coral-light);
  border-radius: 4px;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.c40dbf-menuicon,
.c40dbf-menuicon::before,
.c40dbf-menuicon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c40dbf-paper);
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.c40dbf-menuicon {
  position: relative;
}

.c40dbf-menuicon::before {
  position: absolute;
  top: -7px;
}

.c40dbf-menuicon::after {
  position: absolute;
  top: 7px;
}

.c40dbf-menutrigger[aria-expanded="true"] .c40dbf-menuicon {
  background: transparent;
}

.c40dbf-menutrigger[aria-expanded="true"] .c40dbf-menuicon::before {
  top: 0;
  transform: rotate(45deg);
}

.c40dbf-menutrigger[aria-expanded="true"] .c40dbf-menuicon::after {
  top: 0;
  transform: rotate(-45deg);
}

.c40dbf-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 0 10px 9px;
}

.c40dbf-action {
  min-height: 44px;
  border: 1px solid var(--c40dbf-coral-light);
  border-radius: 3px;
  font-weight: 800;
  cursor: pointer;
}

.c40dbf-action-register {
  background: var(--c40dbf-lime);
  color: var(--c40dbf-ink-deep);
}

.c40dbf-action-login {
  background: var(--c40dbf-coral);
  color: #fff;
}

.c40dbf-action:hover,
.c40dbf-inline-action:hover,
.c40dbf-promo-shortcut:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.c40dbf-drawer {
  position: fixed;
  z-index: 95;
  top: var(--c40dbf-header-height);
  left: 50%;
  width: min(100%, 430px);
  height: calc(100dvh - var(--c40dbf-header-height));
  padding: 12px 14px calc(92px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border-top: 1px solid rgba(173, 255, 47, 0.25);
  background: rgba(25, 25, 25, 0.985);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -16px);
  transition: opacity 180ms ease, transform 220ms ease;
}

.c40dbf-drawer.c40dbf-drawer-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.c40dbf-drawer-group {
  margin: 0 0 12px;
  border: 1px solid var(--c40dbf-line);
  border-radius: 5px;
  background: var(--c40dbf-panel);
}

.c40dbf-drawer-group summary {
  min-height: 48px;
  padding: 11px 13px;
  color: var(--c40dbf-coral-light);
  font-weight: 900;
  cursor: pointer;
}

.c40dbf-drawer-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 1px;
  background: var(--c40dbf-line);
}

.c40dbf-drawer-list a {
  min-height: 48px;
  padding: 11px 9px;
  background: var(--c40dbf-ink);
  color: var(--c40dbf-paper);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.c40dbf-drawer-list a:hover {
  background: #464646;
  color: var(--c40dbf-lime);
}

.c40dbf-main {
  padding-top: var(--c40dbf-header-height);
  padding-bottom: calc(var(--c40dbf-bottom-height) + 42px + env(safe-area-inset-bottom));
}

.c40dbf-hero {
  position: relative;
  padding: 18px 14px 15px;
  border-bottom: 1px solid var(--c40dbf-line);
  overflow: hidden;
}

.c40dbf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  color: var(--c40dbf-lime);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.c40dbf-eyebrow::before {
  width: 18px;
  height: 2px;
  background: var(--c40dbf-coral-light);
  content: "";
}

.c40dbf-hero h1 {
  max-width: 390px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.92rem, 9.2vw, 2.65rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.c40dbf-hero-lead {
  margin: 13px 0 15px;
  color: var(--c40dbf-muted);
  font-size: 0.94rem;
}

.c40dbf-hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c40dbf-hero-points li {
  min-width: 0;
  padding: 8px 5px;
  border-top: 2px solid var(--c40dbf-lime);
  background: rgba(255, 255, 255, 0.045);
  color: var(--c40dbf-paper);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.c40dbf-slider {
  position: relative;
  margin: 14px 10px 0;
  border: 1px solid var(--c40dbf-coral-light);
  border-radius: 5px;
  overflow: hidden;
  background: #151515;
  box-shadow: var(--c40dbf-shadow);
}

.c40dbf-slides {
  display: flex;
  transition: transform 420ms cubic-bezier(0.22, 0.75, 0.32, 1);
}

.c40dbf-slide {
  position: relative;
  width: 100%;
  min-width: 100%;
  padding: 0;
  border: 0;
  background: #202020;
  cursor: pointer;
}

.c40dbf-slide img {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
}

.c40dbf-slide-caption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 8px 10px;
  border-left: 3px solid var(--c40dbf-lime);
  background: rgba(25, 25, 25, 0.88);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
}

.c40dbf-slider-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(25, 25, 25, 0.82);
  color: var(--c40dbf-lime);
  font-size: 1.35rem;
  cursor: pointer;
  transform: translateY(-50%);
}

.c40dbf-slider-prev {
  left: 6px;
}

.c40dbf-slider-next {
  right: 6px;
}

.c40dbf-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 9px;
  background: #1a1a1a;
}

.c40dbf-dot {
  width: 26px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #696969;
  cursor: pointer;
}

.c40dbf-dot.c40dbf-dot-current {
  background: var(--c40dbf-lime);
}

.c40dbf-quickrail {
  display: grid;
  grid-auto-columns: minmax(100px, 1fr);
  grid-auto-flow: column;
  gap: 7px;
  margin: 15px 0 0;
  padding: 0 12px 5px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--c40dbf-coral) transparent;
}

.c40dbf-quickrail a {
  min-height: 50px;
  padding: 8px 7px;
  border: 1px solid var(--c40dbf-line);
  border-radius: 3px;
  background: var(--c40dbf-panel);
  color: var(--c40dbf-paper);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.c40dbf-section {
  padding: 28px 12px;
  border-bottom: 1px solid rgba(240, 128, 128, 0.2);
}

.c40dbf-section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 10px;
  margin-bottom: 14px;
}

.c40dbf-step {
  color: var(--c40dbf-lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.c40dbf-section h2,
.c40dbf-story h2,
.c40dbf-directory h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.38rem, 6.2vw, 1.86rem);
  letter-spacing: -0.025em;
  line-height: 1.13;
}

.c40dbf-section-intro {
  margin: 0 0 14px;
  color: var(--c40dbf-muted);
  font-size: 0.9rem;
}

.c40dbf-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 5px;
}

.c40dbf-game {
  display: grid;
  min-width: 0;
  padding: 0 0 6px;
  border: 1px solid rgba(240, 128, 128, 0.34);
  border-radius: 3px;
  overflow: hidden;
  align-content: start;
  background: #303030;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.c40dbf-game:hover,
.c40dbf-game:focus-visible {
  z-index: 2;
  border-color: var(--c40dbf-lime);
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.c40dbf-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid rgba(240, 128, 128, 0.25);
  object-fit: cover;
  background: #202020;
}

.c40dbf-game span {
  display: -webkit-box;
  min-height: 2.55rem;
  padding: 6px 3px 0;
  overflow: hidden;
  color: var(--c40dbf-paper);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.22;
  text-align: center;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.c40dbf-game-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.c40dbf-game-featured span {
  min-height: auto;
  padding: 9px 5px 4px;
  color: var(--c40dbf-lime);
  font-size: 0.84rem;
}

.c40dbf-game-featured img {
  aspect-ratio: 1.18 / 1;
}

.c40dbf-notice {
  margin: 18px 0 0;
  padding: 11px 12px;
  border-left: 3px solid var(--c40dbf-coral-light);
  background: rgba(205, 92, 92, 0.1);
  color: var(--c40dbf-muted);
  font-size: 0.82rem;
}

.c40dbf-story {
  padding: 28px 14px;
  border-bottom: 1px solid var(--c40dbf-line);
  background: linear-gradient(145deg, #343434, #252525);
}

.c40dbf-story > p {
  margin: 12px 0;
  color: var(--c40dbf-muted);
  font-size: 0.93rem;
}

.c40dbf-progress {
  display: grid;
  gap: 0;
  margin: 18px 0;
  padding: 0;
  counter-reset: c40dbf-progress;
  list-style: none;
}

.c40dbf-progress li {
  position: relative;
  min-height: 92px;
  padding: 0 0 20px 54px;
  counter-increment: c40dbf-progress;
}

.c40dbf-progress li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 38px;
  height: 38px;
  border: 2px solid var(--c40dbf-lime);
  border-radius: 50%;
  place-items: center;
  background: var(--c40dbf-ink-deep);
  color: var(--c40dbf-lime);
  content: counter(c40dbf-progress, bengali);
  font-weight: 900;
}

.c40dbf-progress li:not(:last-child)::after {
  position: absolute;
  top: 40px;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: linear-gradient(var(--c40dbf-coral-light), transparent);
  content: "";
}

.c40dbf-progress strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1rem;
}

.c40dbf-progress span {
  color: var(--c40dbf-muted);
  font-size: 0.86rem;
}

.c40dbf-choice-grid {
  display: grid;
  gap: 9px;
  margin: 15px 0;
}

.c40dbf-choice {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--c40dbf-line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.035);
}

.c40dbf-choice-mark {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c40dbf-lime);
  place-items: center;
  color: var(--c40dbf-lime);
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 900;
}

.c40dbf-choice h3 {
  margin: 0 0 3px;
  color: #fff;
  font-size: 0.97rem;
  line-height: 1.35;
}

.c40dbf-compare {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.035);
  color: var(--c40dbf-muted);
  font-size: 0.78rem;
}

.c40dbf-compare caption {
  margin-bottom: 8px;
  color: var(--c40dbf-lime);
  font-weight: 900;
  text-align: left;
}

.c40dbf-compare th,
.c40dbf-compare td {
  padding: 8px 6px;
  border: 1px solid var(--c40dbf-line);
  vertical-align: top;
  text-align: left;
}

.c40dbf-compare th {
  color: #fff;
  font-weight: 800;
}

.c40dbf-compare thead th {
  background: var(--c40dbf-panel);
  color: var(--c40dbf-coral-light);
}

.c40dbf-choice p {
  margin: 0;
  color: var(--c40dbf-muted);
  font-size: 0.82rem;
}

.c40dbf-checks {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.c40dbf-checks li {
  position: relative;
  padding: 10px 10px 10px 38px;
  border-bottom: 1px solid rgba(240, 128, 128, 0.25);
  color: var(--c40dbf-muted);
  font-size: 0.88rem;
}

.c40dbf-checks li::before {
  position: absolute;
  top: 10px;
  left: 8px;
  display: grid;
  width: 20px;
  height: 20px;
  border: 1px solid var(--c40dbf-lime);
  place-items: center;
  color: var(--c40dbf-lime);
  content: "✓";
  font-weight: 900;
}

.c40dbf-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.c40dbf-inline-action {
  display: inline-grid;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--c40dbf-coral-light);
  border-radius: 3px;
  place-items: center;
  background: var(--c40dbf-coral);
  color: #fff;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.c40dbf-inline-action-alt {
  background: transparent;
  color: var(--c40dbf-lime);
}

.c40dbf-law-note {
  margin-top: 18px;
  padding: 13px;
  border: 1px dashed var(--c40dbf-coral-light);
  color: var(--c40dbf-muted);
  font-size: 0.84rem;
}

.c40dbf-law-note strong {
  color: var(--c40dbf-coral-light);
}

.c40dbf-faq {
  margin: 13px 0;
  border-top: 1px solid var(--c40dbf-line);
}

.c40dbf-faq details {
  border-bottom: 1px solid var(--c40dbf-line);
}

.c40dbf-faq summary {
  min-height: 48px;
  padding: 12px 26px 12px 2px;
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.c40dbf-faq p {
  margin: 0;
  padding: 0 2px 14px;
  color: var(--c40dbf-muted);
  font-size: 0.87rem;
}

.c40dbf-directory {
  padding: 28px 12px;
  background: var(--c40dbf-ink-deep);
}

.c40dbf-route-strip {
  display: flex;
  gap: 7px;
  margin: 14px -12px 20px;
  padding: 2px 12px 9px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.c40dbf-route-strip a {
  display: grid;
  min-width: 126px;
  min-height: 60px;
  padding: 9px;
  border: 1px solid var(--c40dbf-line);
  border-radius: 3px;
  place-items: center;
  background: var(--c40dbf-panel);
  color: var(--c40dbf-paper);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.c40dbf-brand-note {
  margin: 0 0 22px;
  padding: 13px;
  border-top: 2px solid var(--c40dbf-lime);
  background: #292929;
}

.c40dbf-brand-note strong {
  display: block;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.14rem;
}

.c40dbf-brand-note p {
  margin: 6px 0 0;
  color: var(--c40dbf-muted);
  font-size: 0.84rem;
}

.c40dbf-promo-rack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.c40dbf-promo-shortcut {
  min-height: 48px;
  padding: 9px 6px;
  border: 1px solid var(--c40dbf-coral-light);
  border-radius: 3px;
  background: transparent;
  color: var(--c40dbf-paper);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.c40dbf-promo-shortcut:nth-child(3n + 1) {
  background: var(--c40dbf-coral);
}

.c40dbf-disclaimer {
  margin: 20px 0 0;
  padding: 12px;
  border: 1px solid rgba(173, 255, 47, 0.35);
  color: #cfcfcf;
  font-size: 0.77rem;
}

.c40dbf-copyright {
  padding: 16px 14px calc(90px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--c40dbf-coral);
  background: #141414;
  color: #aaa;
  font-size: 0.76rem;
  text-align: center;
}

.c40dbf-bottomnav {
  position: fixed;
  z-index: 110;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  width: min(100%, 430px);
  min-width: 320px;
  min-height: var(--c40dbf-bottom-height);
  margin: 0 auto;
  padding: 5px 5px calc(5px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--c40dbf-coral-light);
  background: rgba(24, 24, 24, 0.98);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.c40dbf-bottom-item {
  display: grid;
  min-width: 0;
  min-height: 58px;
  padding: 3px 2px;
  border: 0;
  border-radius: 3px;
  grid-template-rows: 28px auto;
  place-items: center;
  background: transparent;
  color: #a9a9a9;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.c40dbf-bottom-item:hover,
.c40dbf-bottom-item.c40dbf-current {
  background: var(--c40dbf-lime);
  color: var(--c40dbf-ink-deep);
}

.c40dbf-bottom-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
}

.c40dbf-to-top {
  position: fixed;
  z-index: 105;
  right: max(calc((100vw - 430px) / 2 + 9px), 9px);
  bottom: calc(var(--c40dbf-bottom-height) + 12px + env(safe-area-inset-bottom));
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c40dbf-lime);
  border-radius: 50%;
  place-items: center;
  background: var(--c40dbf-ink-deep);
  color: var(--c40dbf-lime);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.c40dbf-to-top.c40dbf-to-top-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.c40dbf-noscript {
  margin: var(--c40dbf-header-height) 10px 0;
  padding: 10px;
  border: 1px solid var(--c40dbf-coral-light);
  background: #321d1d;
  color: #fff;
  font-size: 0.84rem;
}

@media (min-width: 375px) {
  .c40dbf-game-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .c40dbf-game-featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .c40dbf-promo-rack {
    grid-template-columns: repeat(3, 1fr);
  }

  .c40dbf-choice-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 431px) {
  body {
    border-right: 1px solid #484848;
    border-left: 1px solid #484848;
  }
}

@media (max-width: 340px) {
  :root {
    --c40dbf-header-height: 122px;
  }

  .c40dbf-brandrow {
    min-height: 62px;
  }

  .c40dbf-brand img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .c40dbf-game-grid {
    gap: 6px 4px;
  }

  .c40dbf-game span {
    padding-right: 2px;
    padding-left: 2px;
    font-size: 0.62rem;
  }

  .c40dbf-drawer-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
