html {
  scroll-behavior: auto;
}

body {
  min-width: 320px;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

img {
  max-width: 100%;
}

.gm-navigation-drawer--mobile {
  top: 0;
  right: 0;
  width: min(88vw, 380px);
  max-width: 380px;
  transform: translate3d(105%, 0, 0);
  visibility: hidden;
  pointer-events: none;
}

.gm-navigation-drawer--mobile.gm-navigation-drawer--open {
  transform: translate3d(0, 0, 0) !important;
  visibility: visible;
  pointer-events: auto;
}

body.gm-menu-open::after {
  content: "";
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(2, 9, 28, 0.58);
}

.gm-navigation-drawer--mobile {
  z-index: 1000;
}

.gm-navigation-drawer--mobile .gm-dropdown-menu-wrapper {
  display: none;
}

.gm-navigation-drawer--mobile .gm-dropdown.gm-open > .gm-dropdown-menu-wrapper {
  display: block;
}

.elementor-swiper-button {
  cursor: default;
}

.elementor-section.elementor-section-stretched {
  right: auto !important;
  left: 0 !important;
  width: 100% !important;
}

.elementor-widget-slides .swiper-slide,
.elementor-widget-image-carousel .swiper-slide {
  width: 100% !important;
}

.elementor-widget-slides .swiper-wrapper,
.elementor-widget-image-carousel .swiper-wrapper {
  max-width: 100%;
}

.scam-content {
  overflow-wrap: anywhere;
}

.elementor-widget-text-editor img.emoji {
  width: 1.2em !important;
  height: 1.34em !important;
  max-width: none !important;
  vertical-align: -0.1em !important;
}

.elementor-widget-text-editor p:last-child img.emoji {
  width: 2.43em !important;
}

.kefubox {
  max-width: calc(100vw - 20px);
}

a[aria-disabled="true"],
button:not(.platform-download-button),
[role="button"],
input,
select,
textarea,
summary,
label {
  cursor: default !important;
  pointer-events: none !important;
}

#linkchatTab,
.kefubox {
  display: none !important;
}

.platform-download-bar {
  position: fixed;
  z-index: 1200;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(440px, calc(100% - 24px));
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(6, 27, 68, 0.96);
  box-shadow: 0 16px 40px rgba(3, 12, 36, 0.32);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.platform-download-button {
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-family: "Noto Sans HK", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  text-align: left;
  pointer-events: auto !important;
}

.platform-download-button.ios {
  color: #071b44;
  background: #fff;
}

.platform-download-button.android {
  background: linear-gradient(135deg, #22b573, #087f4d);
}

.platform-download-icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.platform-download-icon svg {
  width: 24px;
  height: 24px;
}

.platform-download-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.platform-download-copy small {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0.72;
}

.platform-download-copy strong {
  font-size: 16px;
  line-height: 1.2;
}

.platform-download-button:focus-visible {
  outline: 3px solid #ffd24a;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (min-width: 768px) {
  .elementor-section.elementor-section-stretched > .elementor-container {
    max-width: 1150px;
  }

  .elementor-widget-slides .swiper-slide {
    height: 400px;
  }
}

@media (max-width: 360px) {
  .platform-download-bar {
    gap: 8px;
    padding: 8px;
  }

  .platform-download-button {
    min-height: 54px;
    gap: 7px;
    padding: 7px 8px;
  }

  .platform-download-copy small {
    font-size: 9px;
  }
}
