#ponderLowPowerPrompt {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  z-index: 9998;
  width: min(340px, calc(100vw - 20px));
  padding: 10px;
  border: 1px solid rgba(39, 230, 240, .32);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(5, 14, 28, .92), rgba(2, 6, 14, .94));
  box-shadow: 0 0 .75rem rgba(39, 230, 240, .16);
  color: #e7fbff;
  font: 12px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: auto;
}

.ponder-low-power-prompt-text {
  margin: 0 0 8px;
  text-shadow: 0 0 .32rem rgba(39, 230, 240, .18);
}

.ponder-low-power-prompt-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.ponder-low-power-prompt-actions button {
  border: 1px solid rgba(39, 230, 240, .30);
  border-radius: 6px;
  background: rgba(6, 18, 36, .86);
  color: #e7fbff;
  padding: 6px 8px;
  font: inherit;
  cursor: pointer;
}

.ponder-low-power-prompt-actions button[data-low-power-action="enable"] {
  background: linear-gradient(135deg, rgba(39, 230, 240, .22), rgba(166, 83, 255, .18));
}

body.low-power #appHomeScreen.ponder-home-v191,
body.low-power #appHomeScreen.ponder-home-v192 {
  background-color: #02050b !important;
  background-image: url("/assets/ponder_home_bg_low_power.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  animation: none !important;
  transition: none !important;
}

body.low-power #appHomeScreen.ponder-home-v191::before,
body.low-power #appHomeScreen.ponder-home-v192::before,
body.low-power #appHomeScreen.ponder-home-v191::after,
body.low-power #appHomeScreen.ponder-home-v192::after,
body.low-power.home-idle #appHomeScreen.ponder-home-v191::before,
body.low-power.home-idle #appHomeScreen.ponder-home-v192::before {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  animation: none !important;
  transition: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.low-power #appHomeScreen .ponder-home-fx,
body.low-power #appHomeScreen .ponder-home-fx > .fx-tree-sway,
body.low-power #appHomeScreen .ponder-home-fx > .fx-tree-circuit,
body.low-power #appHomeScreen .ponder-home-fx > .fx-owl-pulse,
body.low-power #appHomeScreen .ponder-home-fx > .fx-city-flicker,
body.low-power #appHomeScreen .ponder-home-fx > .fx-floor-ring,
body.low-power #appHomeScreen .ponder-home-fx > .fx-particles,
body.low-power #appHomeScreen .ponder-home-fx > .fx-mist,
body.low-power #appHomeScreen .fx-particles,
body.low-power #appHomeScreen .pp-particle-layer,
body.low-power #appHomeScreen .pp-glitch-layer,
body.low-power #appHomeScreen .fx-city-flicker,
body.low-power #appHomeScreen .fx-owl-pulse,
body.low-power #appHomeScreen .fx-tree-circuit,
body.low-power #appHomeScreen .fx-floor-ring,
body.low-power #appHomeScreen .fx-mist,
body.low-power #appHomeScreen .fx-tree-sway,
body.low-power #appHomeScreen [class^="fx-"],
body.low-power #appHomeScreen [class*=" fx-"],
body.low-power #appHomeScreen [class*="particle"],
body.low-power #appHomeScreen [class*="Particle"],
body.low-power #appHomeScreen [class*="dot"],
body.low-power #appHomeScreen [class*="Dot"],
body.low-power #appHomeScreen [class*="glitch"],
body.low-power #appHomeScreen [class*="Glitch"],
body.low-power #appHomeScreen [class*="leaf"],
body.low-power #appHomeScreen [class*="Leaf"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
  mix-blend-mode: normal !important;
  animation: none !important;
  transition: none !important;
  filter: none !important;
  box-shadow: none !important;
}

body.low-power #appHomeScreen.ponder-home-v192 .fx-city-flicker,
body.low-power #appHomeScreen.ponder-home-v191 .fx-city-flicker,
body.low-power #appHomeScreen.ponder-home-v192 .ponder-home-fx,
body.low-power #appHomeScreen.ponder-home-v191 .ponder-home-fx {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
  animation-name: none !important;
  animation-duration: 0s !important;
  animation-iteration-count: 0 !important;
  animation: none !important;
  filter: none !important;
}

body.low-power .ponder-home-shell,
body.low-power .ponder-player-card,
body.low-power .ponder-season-panel,
body.low-power .ponder-news-panel,
body.low-power .ponder-mission-panel,
body.low-power .ponder-event-panel,
body.low-power .ponder-mode-card,
body.low-power .ponder-ranked-info {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: linear-gradient(180deg, rgba(8, 22, 42, .58), rgba(4, 12, 26, .70)) !important;
  box-shadow: 0 0 .52rem rgba(39, 230, 240, .06) !important;
  filter: none !important;
  transition: none !important;
}

body.low-power.home-idle .ponder-home-shell,
body.low-power.home-idle .ponder-player-card,
body.low-power.home-idle .ponder-season-panel,
body.low-power.home-idle .ponder-news-panel,
body.low-power.home-idle .ponder-mission-panel,
body.low-power.home-idle .ponder-event-panel,
body.low-power.home-idle .ponder-mode-card,
body.low-power.home-idle .ponder-ranked-info {
  box-shadow: none !important;
}

body.low-power .ponder-mode-card::before,
body.low-power .ponder-mode-card::after {
  animation: none !important;
  filter: none !important;
  box-shadow: none !important;
  background: linear-gradient(135deg, rgba(39, 230, 240, .08), rgba(166, 83, 255, .06)) !important;
  opacity: .42 !important;
}

body.low-power.home-idle .ponder-mode-card::before,
body.low-power.home-idle .ponder-mode-card::after {
  opacity: .24 !important;
}

body.low-power .ponder-logo-main,
body.low-power .ponder-logo-sub,
body.low-power .ponder-card-title,
body.low-power .ponder-ranked-info,
body.low-power .ponder-player-card,
body.low-power .ponder-mode-card {
  text-shadow: 0 0 .20rem rgba(39, 230, 240, .12) !important;
}

body.low-power.home-idle .ponder-logo-main,
body.low-power.home-idle .ponder-logo-sub,
body.low-power.home-idle .ponder-card-title,
body.low-power.home-idle .ponder-ranked-info,
body.low-power.home-idle .ponder-player-card,
body.low-power.home-idle .ponder-mode-card {
  text-shadow: none !important;
}

body.low-power .ponder-logo-main,
body.low-power .ponder-logo-sub,
body.low-power .ponder-card-title {
  filter: none !important;
  animation: none !important;
}

body.low-power #appHomeScreen *,
body.low-power #appHomeScreen *::before,
body.low-power #appHomeScreen *::after {
  animation: none !important;
  transition: none !important;
}

body.low-power .pp-glitch-layer,
body.low-power .fx-mist,
body.low-power .fx-tree-sway,
body.low-power [class*="leaf"],
body.low-power [class*="Leaf"] {
  display: none !important;
  animation: none !important;
  filter: none !important;
}

body.low-power .body-action-vfx.body-raise-right-purple-vfx,
body.low-power .body-raise-right-purple-vfx,
body.low-power .body-raise-purple-vfx,
body.low-power .bet-chip.vfx-raise::before,
body.low-power .bet-chip.vfx-raise::after,
body.low-power .chip-local-vfx.vfx-raise,
body.low-power .chip-local-vfx.raise,
body.low-power .chip-local-vfx.purple,
body.low-power [class*="raise-right-purple"],
body.low-power [class*="raise-purple"],
body.low-power [class*="purple-vfx"] {
  display: none !important;
  animation: none !important;
  filter: none !important;
  box-shadow: none !important;
}

body.low-power .bet-chip.vfx-raise {
  animation: none !important;
  filter: none !important;
  box-shadow: none !important;
}

@keyframes ponderLowPowerActionChipExitFade {
  from { opacity: .96; }
  to { opacity: 0; }
}

body.low-power .bet-chip.chip-exit.vfx-raise,
body.low-power .bet-chip.chip-exit.aggressive,
body.low-power .bet-chip.chip-exit[data-chip-variant="aggressive"],
body.low-power .bet-chip.chip-exit[data-exit-chip-variant-lock="aggressive"] {
  animation: ponderLowPowerActionChipExitFade 620ms cubic-bezier(.17,.82,.25,1) both !important;
  opacity: .96;
}

body.low-power .seat:not(#seat6) .card-ui.seat-card,
body.low-power .seat:not(#seat6) .card-back {
  filter: none !important;
  opacity: .88 !important;
  border-color: rgba(174, 92, 255, .54) !important;
  background-color: #05080d !important;
  box-shadow: none !important;
}

body.low-power .seat.active-turn .seat-side::before,
body.low-power .seat.timer-active .seat-side::before {
  animation: none !important;
  opacity: .36 !important;
  transform: translate(-50%, -50%) scale(1) !important;
  border-color: rgba(52, 236, 255, .42) !important;
  background: rgba(52, 236, 255, .045) !important;
  box-shadow: none !important;
  filter: none !important;
}

body.low-power .seat.active-turn .seat-side::after,
body.low-power .seat.timer-active .seat-side::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

body.low-power .seat.active-turn .card-ui.seat-card,
body.low-power .seat.timer-active .card-ui.seat-card,
body.low-power .seat.active-turn:not(#seat6) .card-back,
body.low-power .seat.timer-active:not(#seat6) .card-back,
body.low-power #seat6.active-turn .card-ui.seat-card,
body.low-power #seat6.timer-active .card-ui.seat-card {
  filter: none !important;
  border-color: rgba(218, 255, 255, .80) !important;
  box-shadow: 0 0 .20em rgba(52, 236, 255, .18) !important;
}

body.low-power #joinPanel,
body.low-power #actionHistoryPanel,
body.low-power .audio-control,
body.low-power #mainMenuDropdown {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: linear-gradient(180deg, rgba(3, 8, 16, .78), rgba(2, 5, 11, .86)) !important;
  box-shadow: none !important;
}
