/* Recolour only the purple paint in the original stationery. The selective
   filter leaves cream paper, green leaves, pink tape and ingredient art alone. */
#sceneWrap #containers .selected:before,
#sceneWrap .modes .selected:before,
html[data-game-layout] #sceneWrap #playDock .ingredient-tabs button[aria-selected=true]:before,
html[data-game-layout="desktop"] #sceneWrap #playDock .section-title:before,
html[data-game-layout] #sceneWrap #hudpack:before,
#receiptNext:before,
#sceneWrap #sceneFill:before,
#sceneWrap .game-menu>summary{
 filter:var(--stationery-rose-filter,url(#stationery-rose));
}

/* Filter the vial painting independently so recipe layers keep their colours. */
#sceneWrap .recipe-collage{background:none;isolation:isolate}
#sceneWrap .recipe-collage:before{
 content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
 /* Left: the entire glass and arrow. Right: scallops and flower stickers.
    The 29px slice between them is plain paper, so neither end is stretched. */
 border:0 solid transparent;
 border-image:url('ui/recipe-collage.png') 0 280 0 530 fill / 0 86.77px 0 164.24px / 0 stretch;
 filter:var(--stationery-rose-filter,url(#stationery-rose));
}

/* Preserve the fill badge's warning and success colours. */
#sceneWrap #sceneFillHud[data-fill-stage=yellow] #sceneFill:before{filter:var(--stationery-gold-filter,url(#stationery-gold))}
#sceneWrap #sceneFillHud[data-fill-stage=green] #sceneFill:before{filter:var(--stationery-green-filter,url(#stationery-green))}
#sceneWrap #sceneFillHud[data-fill-stage=red] #sceneFill:before{filter:var(--stationery-red-filter,url(#stationery-red))}
