/* Night artwork uses identical boxes so controls never move on theme changes. */
.he-art{aspect-ratio:1024/1536;object-fit:fill}
@media(max-width:700px),(pointer:coarse) and (max-device-width:700px){.he-art{aspect-ratio:724/2172}}
.aas-art,.ap-art,.asp-art,.ass-art{aspect-ratio:948/1659;object-fit:fill}
html[data-theme=dark] .he-art{filter:none!important}
html[data-theme=dark]:has(#ay-art-shelters),html[data-theme=dark]:has([data-art-shelter]),html[data-theme=dark] body:has(#ay-art-shelters),html[data-theme=dark] body:has([data-art-shelter]){background:#10282d!important;color:#f5ead8!important}
html[data-theme=dark] :is(#ay-art-search,#ay-art-shelters,#ay-shelter-profile-v19[data-art-shelter],#ay-elegant-public[data-art-profile]){color:#f5ead8!important}
html[data-theme=dark] :is(.ass-card h2,.ass-card p,.ass-action,.asp-name,.asp-intro,.asp-location,.asp-animal,.asp-animal strong,.asp-pagination,.asp-pagination button,.asp-filter,.ap-heading h1,.ap-subtitle,.ap-facts,.ap-facts dd,.ap-powers,.ap-location,.ap-shelter-identity,.ap-credit){color:#f5ead8!important}
html[data-theme=dark] :is(.ass-tools,.aas-tools,.asp-dialog,.ap-dialog,.aas-filter-dialog,.ass-preview-dialog,.asp-empty,.ass-empty,.aas-empty,.ap-inline-reading,.ap-inline-paper){background-color:#17333a!important;color:#f5ead8!important;border-color:#50686b!important}
html[data-theme=dark] :is(.ass-search select,.ass-search a,.ass-tools input,.ass-tools select,.asp-filter select,.aas-filter-dialog input,.aas-filter-dialog select){background:#17333a!important;color:#f5ead8!important;border-color:#6a7777!important}
html[data-theme=dark] :is(.aas-copy,.ass-card,.asp-animal){color:#f5ead8!important}
html[data-theme=dark] :is(.aas-copy,.aas-slot-mask,.ass-logo,.ass-monogram,.asp-no-photo,.he-copy,.he-photo,.he-logos,.he-story-copy,.he-field output,.he-pause,.he-status,.he-adopted-photo,.he-adopted-photo img){background:#203b40!important;color:#f5ead8!important}
html[data-theme=dark] :is(.aas-copy strong,.aas-copy small,.ass-tools a,.ass-tools button,.ass-pagination button,.aas-pagination button,.he-copy strong,.he-copy small,.he-mobile-label,.he-mobile-copy){color:#f5ead8!important}
html[data-theme=dark] :is(.ap-tabs button,.asp-tabs button){color:#f5ead8!important;background-color:#203b40!important}
html[data-theme=dark] :is(.ap-tabs button[aria-selected=true],.asp-tabs button[aria-selected=true]){background-color:#ad4b20!important;color:#fff7e8!important}
html[data-theme=dark] :is(.ap-inline-reading h2,.ap-inline-reading p,.ap-inline-reading dt,.ap-inline-reading dd,.ap-inline-reading li,.ap-inline-reading a,.ap-panels,.ap-panels p){color:#f5ead8!important}
/* Regional landscape banners retain their exact geometry and receive moonlight. */
html[data-theme=dark] .ay-region-hero>img{filter:brightness(.52) saturate(.62) sepia(.12) hue-rotate(155deg)}
html[data-theme=dark] .ay-region-hero{background:#142e36!important}
html[data-theme=dark] .ay-region-copy{color:#f5ead8!important}
html[data-theme=dark] .ay-region-hero:after{background:linear-gradient(90deg,#142e36 0%,#142e36df 25%,#142e3600 75%)!important}
html[data-theme=dark] #ay-shelter-profile-v19[data-art-shelter] :is(.asp-name,.asp-intro,.asp-location,.asp-animal,.asp-animal strong,.asp-pagination,.asp-pagination button,.asp-filter){color:#f5ead8!important}
html[data-theme=dark] #ay-art-shelters :is(.ass-card h2,.ass-card p,.ass-action,.ass-tools,.ass-tools a,.ass-tools button,.ass-pagination button){color:#f5ead8!important}
html[data-theme=dark] #ay-art-search :is(.aas-copy,.aas-copy strong,.aas-copy small,.aas-tools,.aas-tools a,.aas-tools button){color:#f5ead8!important}
html[data-theme=dark] #ay-elegant-public[data-art-profile] :is(.ap-heading h1,.ap-subtitle,.ap-facts dd,.ap-powers,.ap-location,.ap-shelter-identity,.ap-credit,.ap-tabs button){color:#f5ead8!important}
html[data-theme=dark] #ay-elegant-public[data-art-profile] .ap-inline-reading .ap-panels :is([data-panel],h3,p,dt,dd,li,a){color:#f5ead8!important}
html[data-theme=dark] #ay-elegant-public[data-art-profile] .ap-inline-reading .ap-panels .ay-detail-card{background:#203b40!important;border-color:#50686b!important}
html[data-theme=dark] #ay-elegant-public[data-art-profile] .ap-inline-paper:before{background-image:url("https://ptdtplxvmqipppxqbcml.supabase.co/storage/v1/object/public/adoptaya-web-static/v476/c8726a901cef79e979164c1e0723f1c2ce77422f50fda926d1b3f93146719694.webp")}
html[data-theme=dark] #ay-elegant-public[data-art-profile] .ap-tabs[data-active] button{color:#f5ead8!important;background:#203b40!important}
html[data-theme=dark] #ay-elegant-public[data-art-profile] .ap-tabs[data-active] button[aria-selected=true]{color:#fff7e8!important;background:#ad4b20!important}
