/* 9.0.25 — compact headings, cinematic ficha, ranking. Scoped, no JS layout changes. */
body .at915-home .p915-head{align-items:center!important;gap:12px!important;min-width:0}
body .at915-home .p915-heading{flex:1 1 auto;min-width:0;align-items:flex-start!important;gap:9px!important}
body .at915-home .p915-heading>div{flex:1 1 auto;min-width:0;max-width:none!important}
body .at915-home .p915-title{display:flex!important;flex-wrap:nowrap!important;align-items:center;min-width:0}
body .at915-home .p915-title h2{max-width:none!important;width:auto!important;min-width:0;white-space:nowrap!important;text-wrap:nowrap!important;overflow:hidden;text-overflow:ellipsis;font-size:clamp(18px,1.55vw,25px)!important;line-height:1.22!important;margin:0!important}
body .at915-home .p915-heading p{max-width:none!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;font-size:clamp(11px,.8vw,13px)!important;line-height:1.35!important;margin:4px 0 0!important}
body .at915-home .p915-more,body .at915-home .p916-controls{flex:0 0 auto}
@media(max-width:760px){
 body .at915-home .p915-head{gap:7px!important}
 body .at915-home .p915-heading{gap:7px!important}
 body .at915-home .p915-heading>svg{width:20px!important;height:20px!important;flex:0 0 20px!important;margin-top:1px}
 body .at915-home .p915-title h2{font-size:clamp(15px,4.65vw,19px)!important;letter-spacing:-.035em!important}
 body .at915-home .p915-heading p{font-size:11px!important}
}
/* One consistent content grid, full-width availability shelf. */
body .a82-detail.at850-detail{--at850-side:clamp(230px,23%,300px);--at850-gap:clamp(22px,2.5vw,38px);background:#000!important}
body .a82-detail.at850-detail .a81-hero{position:relative;isolation:isolate;border-radius:0!important;background:#000!important}
body .a82-detail.at850-detail .a81-hero .a81-cinema{overflow:hidden!important;background:#000!important;pointer-events:none}
body .a82-detail.at850-detail .a81-hero .a81-cinema:after{background:linear-gradient(90deg,#000 0%,rgba(0,0,0,.38) 13%,rgba(0,0,0,.07) 48%,rgba(0,0,0,.37) 85%,#000 100%),linear-gradient(0deg,#000 0%,rgba(0,0,0,.85) 19%,rgba(0,0,0,.23) 62%,rgba(0,0,0,.15) 85%,#000 100%)!important}
body .a82-detail.at850-detail .a81-hero .a81-primary>.a81-watch{background:#3ddca7!important;border:1px solid #3ddca7!important;color:#052219!important;font-weight:750!important;box-shadow:none!important}
body .a82-detail.at850-detail .a81-hero .a81-primary>.a81-watch:hover{background:#71edc5!important;border-color:#71edc5!important}
body .a82-detail.at850-detail .a81-hero .a81-primary>.a81-library:not(.a65-saved){background:#20b5e8!important;border-color:#20b5e8!important;color:#051017!important}
body .a82-detail.at850-detail .a81-hero .a81-primary>.a81-library.a65-saved{background:#102e3a!important;border-color:#2a687d!important;color:#a6eaff!important}
body .a82-detail.at850-detail .a81-hero .a81-primary>:is(a,button),body .a82-detail.at850-detail .a81-tools>button{border-radius:9px!important;min-height:44px!important;box-sizing:border-box}
body .a82-detail.at850-detail .at850-overview>.at855-services .a65-stream{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:start!important;justify-items:stretch!important;gap:12px!important;width:100%!important;max-width:none!important;padding:0 0 22px!important;overflow:visible!important}
body .a82-detail.at850-detail .at855-services .a65-stream-label{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;width:100%!important;margin:0!important}
body .a82-detail.at850-detail .at855-services .a65-stream-label h2{display:block!important;visibility:visible!important;font-size:clamp(19px,1.8vw,24px)!important;line-height:1.25!important;margin:0!important;color:#fff!important}
body .a82-detail.at850-detail .at855-services .a65-stream-label small{font-size:12px!important;color:#aab3bc!important;margin-top:3px!important}
body .a82-detail.at850-detail .at855-services .at917-watch-links{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr))!important;width:100%!important;max-width:none!important;min-width:0!important;justify-content:start!important;align-items:stretch!important;gap:12px!important;margin:0!important}
body .a82-detail.at850-detail .at855-services .at917-watch-links>a.at917-watch-row{min-height:72px!important;width:100%!important;max-width:none!important;align-self:stretch!important;background:#0a0d10!important;border:1px solid #252d32!important;border-radius:10px!important;padding:12px!important;text-decoration:none!important}
body .a82-detail.at850-detail .at855-services .at917-watch-links>a.at917-watch-row:hover{background:#101b1a!important;border-color:#3ddca7!important}
body .a82-detail.at850-detail .at855-services .at917-watch-row .at743-provider-copy strong{color:#f2f5f8!important;font-size:14px!important}
body .a82-detail.at850-detail .at855-services .at917-watch-row .at743-provider-arrow{color:#91a5ad!important}
body .a82-detail.at850-detail .at855-services .at917-watch-row:has([data-provider="google"]){border-style:dashed!important}
body .a82-detail.at850-detail .at850-overview{row-gap:clamp(24px,2.4vw,36px)!important;column-gap:var(--at850-gap)!important}
body .a82-detail.at850-detail .at850-main,body .a82-detail.at850-detail .at850-sidebar{min-width:0}
body .a82-detail.at850-detail .at850-main .at60-heading,body .a82-detail.at850-detail .at850-sidebar .at60-heading{margin-top:0!important}
@media(min-width:900px){
 body .a82-detail.at850-detail .a81-hero .a81-cinema{inset:0!important;width:100%!important;height:100%!important;max-height:none!important;margin:0!important;border-radius:0!important;z-index:-1!important}
 body .a82-detail.at850-detail .a81-hero .a81-banner{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 39%!important}
 body .a82-detail.at850-detail .a81-hero .a81-main{grid-template-columns:minmax(0,1fr) var(--at850-side)!important;grid-template-areas:'copy poster' 'genres poster' 'actions poster'!important;grid-template-rows:1fr auto auto!important;min-height:0!important;gap:12px var(--at850-gap)!important;margin:0!important;padding:clamp(18px,2vw,32px) 0 22px!important;align-items:end!important}
 body .a82-detail.at850-detail .a81-hero .a81-poster{width:100%!important;max-width:250px!important;align-self:end!important;justify-self:end!important;margin:0!important}
 body .a82-detail.at850-detail .a81-hero .a81-cover{display:block!important;width:100%!important;height:auto!important;aspect-ratio:2/3!important;object-fit:cover!important;border-radius:10px!important;box-shadow:0 10px 34px #0009!important}
 body .a82-detail.at850-detail .a81-hero .a81-copy{padding:clamp(24px,5vw,86px) 0 0!important;align-self:end!important;align-items:end!important}
 body .a82-detail.at850-detail .a81-hero.no-banner .a81-copy{padding-top:0!important}
 body .a82-detail.at850-detail .a81-hero .a81-copy h1{font-size:clamp(29px,3.15vw,49px)!important;line-height:1.12!important;overflow-wrap:anywhere}
 body .a82-detail.at850-detail .a81-hero .a81-genres,body .a82-detail.at850-detail .a81-hero .at850-actions{margin-left:0!important;padding-left:0!important}
 body .a82-detail.at850-detail .at850-overview{display:grid!important;grid-template-columns:minmax(0,1fr) var(--at850-side)!important}
}
@media(max-width:760px){
 body .a82-detail.at850-detail .a81-hero .a81-cinema:after{background:linear-gradient(90deg,#0007,transparent 22%,transparent 78%,#0007),linear-gradient(0deg,#000 0%,#0009 25%,transparent 80%,#0003 100%)!important}
 body .a82-detail.at850-detail .a81-hero .a81-primary>.a81-watch,body .a82-detail.at850-detail .a81-hero .a81-primary>.a81-library{font-size:12px!important;white-space:nowrap;min-width:0;flex:1 1 auto!important;padding-inline:8px!important}
 body .a82-detail.at850-detail .at855-services .at917-watch-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body .a82-detail.at850-detail .at855-services .at917-watch-links>a.at917-watch-row{gap:6px!important;padding:9px 7px!important;min-height:65px!important}
 body .a82-detail.at850-detail .at855-services .at917-watch-row .at743-provider-copy strong{font-size:12px!important}
}
/* Top 3: restrained medal accent, prominent cover and readable score. */
body .at848-ranking .at848-podium-card{--medal:#e9c66f;background:linear-gradient(135deg,#151515,#090b0d 75%)!important;border:1px solid #282d32!important;border-top:2px solid var(--medal)!important;border-radius:12px!important;display:flex;flex-direction:column;min-width:0;overflow:hidden}
body .at848-ranking .at848-podium-card.rank-2{--medal:#c2cddc}
body .at848-ranking .at848-podium-card.rank-3{--medal:#d2a182}
body .at848-ranking .at848-podium-card .at848-position{color:var(--medal)!important;font-weight:850!important}
body .at848-ranking .at848-podium-card .at848-value strong{font-size:19px!important;color:#f1d18a!important}
body .at848-ranking .at848-podium-card .at848-anime-info strong{font-size:clamp(14px,1.15vw,18px)!important;line-height:1.3!important}
body .at848-ranking .at848-podium-card .at848-cover{border-radius:8px!important;object-fit:cover!important}
body .at848-ranking .at848-podium-card>.at848-save{background:#141c20!important;color:#bdebf5!important;border:1px solid #283c43!important;border-radius:8px!important;min-height:40px!important;margin-top:auto!important;font-weight:650!important}
body .at848-ranking .at848-podium-card>.at848-save:hover,body .at848-ranking .at848-podium-card>.at848-save.a65-saved{border-color:#20b5e8!important;color:#fff!important}
@media(min-width:761px){
 body .at848-ranking .at848-podium-card .at848-rank-link{flex:1;display:grid!important;grid-template-columns:clamp(90px,10vw,155px) minmax(0,1fr)!important;grid-template-rows:auto 1fr auto!important;gap:8px 14px!important;padding:16px!important;min-height:0!important;align-items:start!important}
 body .at848-ranking .at848-podium-card .at848-cover{width:100%!important;max-width:none!important;align-self:start!important;grid-row:1/4!important}
 body .at848-ranking .at848-podium-card .at848-position{font-size:clamp(29px,2.5vw,38px)!important}
 body .at848-ranking .at848-list-row{grid-template-columns:minmax(0,1fr) 155px!important}
 body .at848-ranking .at848-list-head{grid-template-columns:1fr 140px 155px!important}
}
@media(max-width:760px){
 body .at848-ranking .at848-podium-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;padding:8px!important;gap:7px!important}
 body .at848-ranking .at848-podium-card .at848-rank-link{min-height:0!important;padding:0!important}
 body .at848-ranking .at848-podium-card .at848-value strong{font-size:14px!important}
 body .at848-ranking .at848-podium-card>.at848-save{width:36px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:5px!important}
}
@media(max-width:760px){
 /* Top three keep a visible action label; lower positions retain compact icon buttons. */
 body .at848-ranking .at848-podium-card{grid-template-columns:minmax(0,1fr)!important;gap:8px!important;padding:10px!important}
 body .at848-ranking .at848-podium-card>.at848-save{width:100%!important;height:auto!important;min-height:38px!important;justify-content:center!important;font-size:12px!important}
 body .at848-ranking .at848-podium-card>.at848-save span{display:inline!important}
}
