html.sx-mobile-performance {
  scroll-behavior: auto !important;
}

html.sx-mobile-performance.sx-home-route body > #root {
  visibility: hidden;
}

@media (max-width: 820px), (pointer: coarse) {
  html.sx-mobile-performance .sundex-card-story:not(.is-media-ready) .scc-cylinder-card {
    --scc-texture: linear-gradient(145deg, #171c25, #090c12 58%, #040609);
  }

  html.sx-mobile-performance img[data-sundex-lazy-src]:not([src]) {
    visibility: hidden;
  }

  html.sx-mobile-performance .suh-header {
    background: #04070c !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }

  html.sx-mobile-performance :is(
    .suh-mobile-panel,
    .suh-menu,
    .suh-account-menu,
    .support-panel,
    [data-support-panel]
  ) {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  html.sx-mobile-performance :is(
    .scc-card-body,
    .scc-card-texture-shade,
    .scc-halo,
    .smi-grid,
    .smi-hero-image-reveal,
    .sis-device-aura,
    .sps-vault-ring,
    .sps-vault-atmosphere,
    .sps-vault-scan
  ) {
    animation: none !important;
  }

  html.sx-mobile-performance :is(
    .sundex-liquid-metal-canvas,
    .sundex-liquid-metal-ripple,
    canvas[data-sundex-liquid-metal]
  ) {
    display: none !important;
  }

  html.sx-mobile-performance .sps-partner-viewport {
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  html.sx-mobile-performance .sps-partner-viewport::-webkit-scrollbar {
    display: none;
  }

  html.sx-mobile-performance .sps-partner-viewport[data-sps-static="true"] .sps-partner-track {
    width: max-content !important;
    transform: none !important;
    will-change: auto !important;
  }

  html.sx-mobile-performance .sps-partner-viewport[data-sps-static="true"] .sps-partner-track > [aria-hidden="true"] {
    display: none !important;
  }

  html.sx-mobile-performance :is(
    .scc-cylinder-card,
    .scc-card-face,
    .sps-vault-ring,
    .sps-vault-atmosphere,
    .sps-vault-scan
  ) {
    will-change: auto !important;
  }

  html.sx-mobile-performance :is(
    .scc-halo,
    .sis-device-aura,
    .sps-vault-atmosphere
  ) {
    display: none !important;
    filter: none !important;
  }

  html.sx-mobile-performance :is(
    .smi-grid,
    .smi-hero-image-reveal
  ) {
    display: none !important;
  }

  html.sx-mobile-performance :is(
    .smi-nav::before,
    .smi-menu-button,
    .smi-button-glass,
    .sma-price > strong::before
  ) {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  html.sx-mobile-performance [class~="transition-all"] {
    transition-property: color, background-color, border-color, opacity, transform !important;
    transition-duration: 140ms !important;
    transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1) !important;
  }

  html.sx-mobile-performance :is(
    [data-processing-scroll],
    .sundex-processing-scroll,
    .sundex-coin-list,
    .sundex-network-list
  ) {
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sundex-liquid-metal-canvas,
  .sundex-liquid-metal-ripple,
  canvas[data-sundex-liquid-metal] {
    display: none !important;
  }
}
