@media screen {
  :root {
    --dq-app-wallpaper-r343: url("/images/daoquan-wallpaper-r343-fix2.png");
  }

  #app > .shell > .dq-wallpaper {
    display: block !important;
  }

  /* Every screen uses the same art, fitted to the width of the app shell. */
  #app > .shell > .dq-wallpaper[aria-hidden="true"] > .dq-scene-art {
    background-image: var(--dq-app-wallpaper-r343) !important;
    inset: -8px auto auto 0 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 934 / 1684 !important;
    transform: none !important;
    background-position: center top !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    -webkit-mask-image: linear-gradient(#000 91%, transparent);
    mask-image: linear-gradient(#000 91%, transparent);
  }

  #app > .shell > .dq-wallpaper .dq-moon-glow,
  #app > .shell > .dq-wallpaper .dq-moon-surface,
  #app > .shell > .dq-wallpaper .dq-flower,
  #app > .shell > .dq-wallpaper .dq-petal {
    display: none !important;
  }

  /* Reels uses the art in the feed background and the space around video. */
  #app > .shell.dq-reels-shell {
    background-color: #001322 !important;
  }

  #app > .shell.dq-reels-shell > .dq-wallpaper[aria-hidden="true"] > .dq-scene-art {
    inset: 0 !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    background-size: cover !important;
    -webkit-mask-image: none;
    mask-image: none;
  }

  #app > .shell.dq-reels-shell .dq-reels-feed,
  #app > .shell.dq-reels-shell .dq-reels-card,
  #app > .shell.dq-reels-shell .dq-reels-video {
    background-color: transparent !important;
  }

  /* Match the existing wallpaper accents and preserve their contrast overlays. */
  html.dq-phat-active {
    background-image: var(--dq-app-wallpaper-r343) !important;
  }

  #app button.dq255-entry.dq255-entry-premium {
    background-image: linear-gradient(100deg, #021725f2 0%, #082c3fe9 58%, #031824cb),
      var(--dq-app-wallpaper-r343) !important;
  }

  #app .number-page .number-profile {
    background-image: linear-gradient(90deg, #fffaec 0 49%, #fff8e7dc 70%, #fff9e5a6),
      var(--dq-app-wallpaper-r343) !important;
  }

  #app .number-page .peaks {
    background-image: linear-gradient(180deg, #00192bef, #001725bf 52%, #0013229c),
      var(--dq-app-wallpaper-r343) !important;
  }

  #app .number-page .number-bottom section {
    background-image: linear-gradient(180deg, #04233bee, #001b2ae8),
      var(--dq-app-wallpaper-r343) !important;
  }

  #app .number-page .number-year .year-face {
    background-image: linear-gradient(135deg, #fffdf5f9, #fbe7c5f3),
      var(--dq-app-wallpaper-r343) !important;
  }

  #app .number-page .side-numbers .number-trait {
    background-image: linear-gradient(145deg, #0b2c43f5, #071a2cf6),
      var(--dq-app-wallpaper-r343) !important;
  }
}
