/* Place the bird on the same edges that organise the content. */
.perched{display:block;width:var(--bird-size,120px);aspect-ratio:1;pointer-events:none;user-select:none;line-height:0;z-index:2}
.perched img,.end-note .bird-action .perched img{display:block;width:100%;height:100%;object-fit:contain;border-radius:0}
.d10-cover .street-film{position:absolute;inset:0 0 0 23%;width:77%;height:100%;z-index:-2;object-fit:cover;object-position:center 62%;opacity:0;transition:opacity .4s}
.d10-cover .street-film.ready{opacity:1}
.d10-cover .cover-inner{position:relative;z-index:1;pointer-events:none}
.cover-inner a{pointer-events:auto}
.perched-cover{position:absolute;--bird-size:clamp(128px,15vw,225px);right:6%;bottom:-1%;filter:drop-shadow(0 4px 2px #101a2090)}
.film-control{position:absolute;right:var(--edge);top:18px;z-index:3;min-width:44px;min-height:44px;display:grid;place-items:center;border-radius:50%;border:1px solid #f7f5ef80;background:#101d27ab;color:white;cursor:pointer}
.film-control[hidden]{display:none}
.film-control svg{width:20px;height:20px}
.d10-home .search-pair{margin-top:38px}
.perched-proof{--bird-size:clamp(92px,9vw,145px);position:absolute;right:5%;bottom:calc(100% - 12px);transform:rotate(-5deg);transform-origin:bottom center}
.end-note .bird-action{display:block;flex:none}.perched-close{--bird-size:clamp(96px,12vw,172px)}
.tools-hero,.learn-hero,.footer-top{position:relative}
.perched-index{--bird-size:clamp(95px,13vw,210px);position:absolute;right:3%;bottom:5%}
.tools-hero:has(.perched-index)>:is(h1,p),.learn-hero:has(.perched-index)>:is(h1,p){max-width:76%}
.perched-footer{--bird-size:clamp(72px,8vw,110px);position:absolute;right:16%;bottom:0}
@media(max-width:680px){
 .d10-cover .street-film{inset:31% 0 0;width:100%;height:69%;object-position:50% 53%}
 .perched-cover{--bird-size:clamp(84px,22vw,130px);right:4%;bottom:0}
 .film-control{top:auto;bottom:14px;left:var(--edge);right:auto}
 .perched-proof{--bird-size:76px;right:6px;bottom:calc(100% - 8px)}
 .d10-home .search-pair{margin-top:48px}
 .perched-index{--bird-size:75px;right:0;top:0;bottom:auto}
 .tools-hero:has(.perched-index)>:is(h1,p),.learn-hero:has(.perched-index)>:is(h1,p){max-width:100%}
 .tools-hero:has(.perched-index) .breadcrumbs,.learn-hero:has(.perched-index) .breadcrumbs{padding-right:70px;min-height:48px}
 .perched-footer{right:24%;--bird-size:62px}
}
@media(prefers-reduced-motion:reduce){.street-film,.film-control{display:none!important}}

#prompt-results,#checklist-results{position:relative}
.perched-result{--bird-size:64px;float:right;margin:-18px 0 0 8px}
.d10-home .search-pair figure:first-of-type{margin-top:-15px}
@media(max-width:680px){.d10-home .search-pair figure:first-of-type{margin-top:0}}
@media(prefers-reduced-motion:no-preference){
 .perched-cover[data-played=true]{animation:glide-in 1.4s cubic-bezier(.16,.67,.25,1) both}
 .search-pair.inspected figure:nth-of-type(2) ellipse{animation:ink-answer .55s ease-out 1.85s both}
 @keyframes glide-in{from{opacity:0;transform:translate(38%,-45%) rotate(-8deg)}20%{opacity:1}to{opacity:1;transform:none}}
 @keyframes ink-answer{from{stroke-dasharray:1;stroke-dashoffset:1}to{stroke-dasharray:1;stroke-dashoffset:0}}
}
