/* Only the homepage animal photographs get plain day/night backgrounds. */
#ay-elegant-home .aeh-card .aeh-photo{background:#fff!important;object-fit:contain!important;object-position:center bottom!important;padding:5px;box-sizing:border-box}
html[data-theme=dark] #ay-elegant-home .aeh-card .aeh-photo{background:#001923!important}
#ay-elegant-public .animal-card>.ay-card-scene{position:relative;display:block;width:100%;height:100%;min-height:0;overflow:hidden;background:#fff;background-size:cover;background-position:center}
#ay-elegant-public .ay-card-scene>img{width:100%;height:100%;object-fit:cover;display:block}
#ay-elegant-public .ay-card-scene.ay-composed-scene>img{object-fit:contain}
html[data-theme=dark] #ay-elegant-public .ay-card-scene{background-color:#001923}
.ay-composed-scene[data-background-id=pradera]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/abaa0225dd7ca0c119a53adae46ce095bd895ae1f6e0f48c838ac7c516aae35d.webp")!important}
.ay-composed-scene[data-background-id=hogar]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/505e17fe604029040bda2bf460b0f63743f4bcccce1ca69113d0babc1d9d193b.webp")!important}
.ay-composed-scene[data-background-id=jardin]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/6e00e4aedfa4df3a735b18d72ee2974ecfb5b96348d1268d9f260302f69850ee.webp")!important}
.ay-composed-scene[data-background-id=bosque]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/7b807e913bec4ad22bb6a9a47867d0b9dd1f6303d2cd84605d9ccf86d19ba07f.webp")!important}
.ay-composed-scene[data-background-id=playa]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/266aadb2459a5ee8d41b5a8f53823a8f55e6485a30f945041aa99d2ac541da5f.webp")!important}
.ay-composed-scene[data-background-id=terraza]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/b6a5d75e30012b8390e3f9f4edfd09c99e08ebe7fe7e6f844bbab470cc7be2fa.webp")!important}
.ay-composed-scene[data-background-id=salon]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/cc135c4e8cf58b9b0cdecf45daa4f8df45768b6bc731f00544d22cf480a219d3.webp")!important}
.ay-composed-scene[data-background-id=flores]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/b3d6fc55c624a12de9fc6bcf6a71cdd36eb59716435420481775007157bb0295.webp")!important}
.ay-composed-scene[data-background-id=parque]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/6bac4734822b329af2f792a786c3e69e2c9266163921600fe3f2f0bf527b57f3.webp")!important}
.ay-composed-scene[data-background-id=porche]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/514351a67612b928e7144163d30144121312c1122261b9e9416e6159b50b5369.webp")!important}
#ay-elegant-public .ay-composed-scene[data-grounding=ready]>img,#publishReview>.publish-cutout-stage[data-grounding=ready]>img,.ay-template-card[data-cutout-state=ready] .ayt-portrait-frame[data-grounding=ready]>img{position:absolute!important;inset:auto!important;left:var(--ay-ground-left)!important;top:var(--ay-ground-top)!important;width:var(--ay-ground-width)!important;height:var(--ay-ground-height)!important;max-height:none!important;object-fit:contain!important;transform:none!important;z-index:2}
.ay-template-card .ayt-portrait-frame[data-background-id]{background-size:cover!important;background-position:center!important;overflow:hidden}
#publishReview>.publish-cutout-stage{overflow:hidden;touch-action:pan-y}
#publishReview>.publish-cutout-stage>p{pointer-events:none}
#publishReview>.publish-cutout-stage>img{cursor:grab;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
#publishReview>.publish-cutout-stage.ay-composer-dragging{outline:3px solid #ff7629;outline-offset:3px}
#publishReview>.publish-cutout-stage.ay-composer-dragging>img{cursor:grabbing}
.ay-composer-controls{max-width:420px;margin:15px auto;padding:14px;border:1px solid #edcfb5;border-radius:14px;background:var(--card,#fffaf3)}
.ay-composer-controls label{display:grid;gap:10px;font-weight:700}.ay-composer-controls input[type=range]{width:100%;accent-color:#ff7629;min-height:36px}.ay-composer-controls p{font-size:13px;line-height:1.5;margin:10px 0 0}
#ay-elegant-public .animal-card.photo-error .ay-card-scene>img{display:none}

/* Compact editing controls and visible foreground in the private cover editor. */
.ay-cover-editor .publish-background-options{display:flex;gap:8px;overflow-x:auto;padding:8px 0;margin:8px 0;scrollbar-width:thin}.ay-cover-editor .publish-background-options .btn{flex:0 0 82px;min-width:82px;padding:6px!important;display:grid;gap:4px;font-size:11px!important}.ay-cover-editor .publish-background-options .btn img{width:68px!important;height:42px!important;object-fit:cover;border-radius:7px}.ay-cover-editor .publish-background-options .btn[aria-pressed=true]{outline:2px solid #ef7a36;outline-offset:-2px}.ay-cover-editor .publish-cutout-stage[data-grounding=ready]>img{position:absolute!important;inset:auto!important;left:var(--ay-ground-left)!important;top:var(--ay-ground-top)!important;width:var(--ay-ground-width)!important;height:var(--ay-ground-height)!important;max-height:none!important;object-fit:contain!important;transform:none!important;z-index:2}.ay-cover-editor .publish-cutout-stage>img[hidden]{display:none!important}.ay-cover-editor .ay-composer-controls{max-width:320px;width:100%;box-sizing:border-box;padding:8px 10px;margin:8px auto;border-radius:10px}.ay-cover-editor .ay-composer-controls label{font-size:12px!important;gap:3px}.ay-cover-editor .ay-composer-controls input[type=range]{min-height:28px!important;height:28px;margin:0}.ay-cover-editor .ay-composer-controls output{font-size:11px;line-height:1}.ay-cover-editor .ay-composer-controls .btn{font-size:11px!important;min-height:32px!important;padding:5px 8px!important;margin-top:6px}.ay-cover-editor .ay-composer-controls p{font-size:11px!important;line-height:1.35;margin:6px 0 0}
