/* Shared scenic assets for registration preview and public approved profile. */
.publish-background-picker{border:0;padding:16px 0 0;margin:10px 0}.publish-background-picker legend{font:800 17px Nunito,Arial,sans-serif}.publish-background-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.publish-background-options label{position:relative;display:flex!important;flex-direction:column;gap:5px;padding:5px;border:2px solid #dfd7c8;border-radius:12px;background:#fffaf0;cursor:pointer}.publish-background-options label.selected{border-color:#ff7629;background:#fff0dd}.publish-background-options img{width:100%;height:62px!important;object-fit:cover!important;border-radius:7px}.publish-background-options span{font-size:11px;text-align:center}.publish-background-options input{position:absolute;left:8px;top:8px;width:16px!important;accent-color:#f36f28}.publish-background-picker p{font-size:13px}.publish-cutout-stage[data-background-id]:not([data-background-id=""]){background-size:cover!important;background-position:center bottom!important}.publish-cutout-stage[data-background-id]:not([data-background-id=""])>p{background:#fff9e9e8;color:#493a27;border-radius:10px;padding:8px}.publish-cutout-stage img{filter:drop-shadow(0 6px 4px #493d2944)}
#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-background-id]{background-size:cover!important;background-position:center bottom!important}#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-background-id]:after{display:none!important}
@media(max-width:560px){.publish-background-options{grid-template-columns:repeat(2,minmax(0,1fr))}.publish-background-options img{height:88px!important}}
#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-background-id="pradera"]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/abaa0225dd7ca0c119a53adae46ce095bd895ae1f6e0f48c838ac7c516aae35d.webp")!important}
#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-background-id="hogar"]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/505e17fe604029040bda2bf460b0f63743f4bcccce1ca69113d0babc1d9d193b.webp")!important}
#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-background-id="jardin"]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/6e00e4aedfa4df3a735b18d72ee2974ecfb5b96348d1268d9f260302f69850ee.webp")!important}
#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-background-id="bosque"]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/7b807e913bec4ad22bb6a9a47867d0b9dd1f6303d2cd84605d9ccf86d19ba07f.webp")!important}
#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-background-id="playa"]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/266aadb2459a5ee8d41b5a8f53823a8f55e6485a30f945041aa99d2ac541da5f.webp")!important}
#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-background-id="terraza"]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/b6a5d75e30012b8390e3f9f4edfd09c99e08ebe7fe7e6f844bbab470cc7be2fa.webp")!important}
#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-background-id="salon"]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/cc135c4e8cf58b9b0cdecf45daa4f8df45768b6bc731f00544d22cf480a219d3.webp")!important}
#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-background-id="flores"]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/b3d6fc55c624a12de9fc6bcf6a71cdd36eb59716435420481775007157bb0295.webp")!important}
#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-background-id="parque"]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/6bac4734822b329af2f792a786c3e69e2c9266163921600fe3f2f0bf527b57f3.webp")!important}
#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-background-id="porche"]{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v294/514351a67612b928e7144163d30144121312c1122261b9e9416e6159b50b5369.webp")!important}

/* Keep the scene selector directly beside the preview, rather than below the description. */
#publishReview>.publish-cutout-stage{min-height:0;padding:10px;position:relative}
#publishReview>.publish-cutout-stage>img{height:220px!important;max-height:220px!important;margin:0 auto!important}
#publishReview>.publish-background-picker{margin:8px 0 18px;padding:0;border-bottom:1px solid #e1d6c3;padding-bottom:12px}
#publishReview .publish-background-options{display:flex!important;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:4px 0 8px}
#publishReview .publish-background-options label{flex:0 0 94px;min-width:0;scroll-snap-align:nearest}
#publishReview .publish-background-options img{height:56px!important}
#publishReview .publish-background-picker legend{font-size:14px;margin-bottom:4px}
#publishReview .publish-background-picker p{font-size:12px;margin:3px 0}
#publishReview>.publish-cutout-stage>p{font-size:12px;margin:5px 0 0}
@media(max-width:560px){#publishReview>.publish-cutout-stage>img{height:185px!important;max-height:185px!important}#publishReview .publish-background-options label{flex-basis:86px}#publishReview .publish-background-options img{height:48px!important}}
/* Show all ten choices at once; no off-screen options in the registration preview. */
#publishReview .publish-background-options{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important;gap:6px;padding:4px 0}
#publishReview .publish-background-options label{min-width:0;flex:none;padding:4px;gap:3px}
#publishReview .publish-background-options img{height:46px!important}
#publishReview .publish-background-options span{font-size:10px;line-height:1.2;overflow-wrap:anywhere}
#publishReview .publish-background-options input{top:6px;left:6px}
@media(max-width:560px){#publishReview .publish-background-options img{height:32px!important}#publishReview .publish-background-options label{min-height:64px}#publishReview .publish-background-options span{font-size:9px}#publishReview>.publish-cutout-stage>img{height:165px!important;max-height:165px!important}}

/* Ground the visible silhouette; the contact shadow follows its feet. */
#publishReview>.publish-cutout-stage{width:min(100%,320px);aspect-ratio:4/5;height:auto!important;min-height:0!important;margin:0 auto;padding:0!important;isolation:isolate;background-position:center bottom!important;background-size:cover!important}
#publishReview>.publish-cutout-stage>p{position:absolute;z-index:4;left:8px;right:8px;bottom:6px;margin:0!important;padding:7px!important;font-size:11px;line-height:1.25;background:#fff9e9e8;color:#493a27;border-radius:9px}
#publishReview>.publish-cutout-stage>img{position:absolute!important;inset:24px 6% 48px!important;width:88%!important;height:calc(100% - 72px)!important;max-height:none!important;object-fit:contain!important;object-position:center bottom!important;margin:0!important;z-index:2}
#publishReview>.publish-cutout-stage>button{position:relative;z-index:5;margin-top:40px}
#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-grounding="ready"]>img,#publishReview>.publish-cutout-stage[data-grounding="ready"]>img{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;object-position:center bottom!important;filter:drop-shadow(1px 2px 2px #3b30171a)!important;transform:none!important}
#ay-elegant-public[data-view="animal-detail"] .ay44-photo.ay-common-scene[data-grounding="ready"]:before,#publishReview>.publish-cutout-stage[data-grounding="ready"]:before{content:"";position:absolute!important;inset:auto!important;left:50%!important;top:var(--ay-ground-floor)!important;width:var(--ay-ground-shadowWidth)!important;height:var(--ay-ground-shadowHeight)!important;transform:translate(-50%,-45%);border:0!important;border-radius:50%!important;box-shadow:none!important;background:radial-gradient(ellipse,#35271655 0%,#35271623 45%,transparent 72%)!important;z-index:1;pointer-events:none}
.ay-template-card[data-cutout-state="ready"] .ayt-portrait-frame .ayt-cover-photo{transform:none!important;object-fit:contain!important;object-position:center bottom!important;filter:drop-shadow(1px 2px 2px #3b30171a)!important}
.ay-template-card[data-cutout-state="ready"] .ayt-portrait-frame:before{content:"";position:absolute;left:20%;right:20%;bottom:-3px;height:12px;border-radius:50%;background:radial-gradient(ellipse,#35271645,transparent 72%);z-index:0}
