/* Small compatibility fixes for controls whose original image assets were missing. */
#app .sub-header .back {
  background-image: none !important;
  color: transparent !important;
  font-size: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#app .sub-header .back::before {
  content: "‹";
  color: #fff;
  font: 28px/1 Arial, sans-serif;
  transform: translateY(-1px);
}
#app .back-icon-fallback { position: relative !important; }
#app .back-icon-fallback > img { visibility: hidden !important; }
#app .back-icon-fallback::before {
  content: "‹";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font: 28px/1 Arial, sans-serif;
}
#app .withdraw-password-head > button::before {
  content: "‹";
  display: block;
  color: #fff;
  font: 28px/1 Arial, sans-serif;
}

#app .route-profit .profit-summary {
  background: linear-gradient(135deg, #2c1b54 0%, #171429 52%, #242038 100%) !important;
  border: 1px solid rgba(238, 195, 93, .38) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 8px 22px rgba(0,0,0,.18) !important;
}

#app .guest-dialog:not(.register-dialog) .social-title { margin-bottom: 10px !important; }

#app .coin-platforms {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 9px !important;
}
#app .coin-platforms > button {
  min-width: 0 !important;
  height: 62px !important;
  padding: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#app .coin-platforms > button img {
  display: block !important;
  width: min(100%, 118px) !important;
  max-width: 100% !important;
  height: 42px !important;
  object-fit: contain !important;
}
#app .coin-platforms > button span { display: none !important; }
#app .footer-compliance-note {
  margin: 12px 0 0 !important;
  color: rgba(235, 230, 242, .72) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

#app .original-movie-grid .cards .game-card.wide {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 7px !important;
  background: #171326 !important;
}
#app .original-movie-grid .movie-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 11px 8px;
  box-sizing: border-box;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 25%, hsla(var(--poster-hue), 85%, 68%, .55), transparent 42%),
    linear-gradient(150deg, hsl(var(--poster-hue), 45%, 31%), #14111f 72%);
}
#app .original-movie-grid .movie-poster::before,
#app .original-movie-grid .movie-poster::after {
  content: "";
  position: absolute;
  width: 118%;
  height: 1px;
  left: -9%;
  background: rgba(255,255,255,.22);
  transform: rotate(-28deg);
}
#app .original-movie-grid .movie-poster::before { top: 34%; }
#app .original-movie-grid .movie-poster::after { top: 41%; opacity: .45; }
#app .original-movie-grid .movie-poster > span {
  position: relative;
  z-index: 1;
  width: 100%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  text-shadow: 0 2px 8px #000;
}

@media (max-width: 360px) {
  #app .coin-platforms { gap: 6px !important; }
  #app .coin-platforms > button { height: 56px !important; padding: 6px !important; }
  #app .coin-platforms > button img { height: 36px !important; }
}
