/* Phone layouts use the transparent project artwork in place of the desktop illustrations. */
@media (max-width: 760px) {
  .card-artwork:has(> .ucb-art--korn), .uxrp-link > .ucb-art--korn,
  .uh-work__artboard--korn:has(> .uxkf-blue-thumb) { --phone-art: url("../../images/mobile-projects/korn.webp"); }
  .card-artwork:has(> .ucb-art--beasts), .uxrp-link > .ucb-art--beasts,
  .case-thumbnail-frame:has(> .ucb-art--beasts) { --phone-art: url("../../images/mobile-projects/beasts.webp"); }
  .card-artwork:has(> .ucb-art--whip), .uxrp-link > .ucb-art--whip { --phone-art: url("../../images/mobile-projects/whip.webp"); }
  .support-artwork:has(> .ucb-art--wilder), .uxrp-link > .ucb-art--wilder { --phone-art: url("../../images/mobile-projects/wilder.webp"); }
  .support-artwork:has(> .ucb-art--ktd), .uxrp-link > .ucb-art--ktd { --phone-art: url("../../images/mobile-projects/ktd.webp"); }
  .support-artwork:has(> .ucb-art--kfi), .uxrp-link > .ucb-art--kfi { --phone-art: url("../../images/mobile-projects/kfi.webp"); }
  .uxa-game-feature__art:has(> .gc-art) { --phone-art: url("../../images/mobile-projects/game.webp"); }

  #console-content :is(.card-artwork:has(> .ucb-art), .support-artwork:has(> .ucb-art),
    .uxa-game-feature__art:has(> .gc-art), .uxrp-link > .ucb-art,
    .case-thumbnail-frame:has(> .ucb-art--beasts), .uh-work__artboard--korn:has(> .uxkf-blue-thumb)) {
    background: transparent var(--phone-art) center / contain no-repeat !important;
    mask: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  #console-content :is(.card-artwork, .support-artwork, .case-thumbnail-frame) > .ucb-art,
  #console-content .uxa-game-feature__art > .gc-art,
  #console-content .uxrp-link > .ucb-art > *,
  #console-content .uh-work__artboard--korn > .uxkf-blue-thumb {
    display: none !important;
  }
  #console-content :is(.card-artwork, .support-artwork, .uxrp-link > .ucb-art,
    .case-thumbnail-frame, .uxa-game-feature__art, .uh-work__artboard--korn)::before,
  #console-content :is(.card-artwork, .support-artwork, .uxrp-link > .ucb-art,
    .case-thumbnail-frame, .uxa-game-feature__art, .uh-work__artboard--korn)::after,
  #selected-work .deck-stage::before, #selected-work .deck .card::before,
  #selected-work .deck .card::after, #selected-work .deck .surface-light {
    display: none !important;
  }
  #selected-work .deck .card, #console-content .support-project { background: white !important; }
  #console-content :is(.uxrp-link > .ucb-art, .case-thumbnail-frame:has(> .ucb-art--beasts),
    .uh-work__artboard--korn:has(> .uxkf-blue-thumb)) {
    display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: 3 / 2;
  }
  #console-content :is(.card-artwork, .support-artwork, .uxa-game-feature__art):has(> :is(.ucb-art, .gc-art)) {
    width: 100% !important;
    max-width: 420px !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 2;
    inset: auto !important;
    margin-inline: auto !important;
  }
}
