/* Replace the existing artwork in place; default and Lite drawing stay unchanged. */
#game[data-gameplay-background]::before{
 background-image:linear-gradient(180deg,#0a121529 0%,transparent 42%,#06090c73 100%),var(--gameplay-background);
 background-size:cover,cover;
 background-position:center,center;
}
.gameplay-background-panel{display:grid;gap:7px;min-width:0}
.gameplay-background-panel p{margin:0}
.gameplay-background-panel .gameplay-background-preview:not([hidden]){
 display:block;inline-size:min(100%,240px);height:auto;max-height:142px;aspect-ratio:16/9;
 object-fit:cover;border:1px solid #aa826158;border-radius:8px;
}
.gameplay-background-panel :is(input,select,.pf-select){min-width:0;max-width:100%}
.gameplay-background-panel button{justify-self:start}
/* Explicitly added static art can render on normal mobile using the same single layer. */
#game[data-mobile-render][data-uploaded-gameplay-background]:not([data-replay]):not([data-mobile-lite]):not([data-hallway=off])::before{
 display:block;
}
#game.replay-capture-mirror[data-hide-uploaded-gameplay-background]::before{display:none}
