/* 9.6.3: detail hero and Tsugi navigation; retain native actions and score. */
body .a82-detail.at850-detail .a81-hero{position:relative!important;isolation:isolate!important;min-height:0!important;margin:0 0 16px!important;padding:0!important;border:1px solid #20282d!important;border-radius:16px!important;background:#080a0c!important;overflow:hidden!important}
body .a82-detail.at850-detail .a81-hero .a81-cinema{position:relative!important;inset:auto!important;width:100%!important;height:clamp(180px,24vw,340px)!important;max-height:none!important;aspect-ratio:auto!important;z-index:0!important;border-radius:0!important;overflow:hidden!important;background:#080a0c!important}
body .a82-detail.at850-detail .a81-hero .a81-cinema .a81-banner{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 37%!important;opacity:.94!important}
body .a82-detail.at850-detail .a81-hero .a81-cinema::after{background:linear-gradient(0deg,#080a0c 0%,#080a0cb3 20%,#080a0c22 58%,transparent 100%)!important;pointer-events:none!important}
body .a82-detail.at850-detail .a81-hero .a81-main{position:relative!important;z-index:1!important;display:grid!important;grid-template-columns:clamp(130px,15vw,190px) minmax(0,1fr)!important;grid-template-areas:'poster copy' 'poster genres' 'poster actions'!important;grid-template-rows:auto auto 1fr!important;align-items:start!important;align-content:start!important;min-height:0!important;gap:12px 24px!important;padding:0 24px 22px!important;margin:0!important;max-width:none!important;width:100%!important;box-sizing:border-box!important}
body .a82-detail.at850-detail .a81-hero.has-banner .a81-main{margin-top:-76px!important}
body .a82-detail.at850-detail .a81-hero.no-banner .a81-main{padding-top:22px!important}
body .a82-detail.at850-detail .a81-hero .a81-poster{grid-area:poster!important;width:100%!important;max-width:none!important;margin:0!important;align-self:start!important;position:relative!important;inset:auto!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:12px!important;border:1px solid #465057!important;box-shadow:0 8px 24px #0007!important}
body .a82-detail.at850-detail .a81-hero .a81-copy{grid-area:copy!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;min-width:0!important;margin:0!important;padding:12px 0 0!important;position:relative!important}
body .a82-detail.at850-detail .a81-hero .a81-copy-body{min-width:0!important;width:100%!important}
body .a82-detail.at850-detail .a81-hero .a81-kicker{display:inline-block!important;color:#9cc6d2!important;font-size:12px!important;font-weight:600!important;letter-spacing:.02em!important;margin:0 0 5px!important}
body .a82-detail.at850-detail .a81-hero h1{font-size:clamp(24px,3vw,42px)!important;line-height:1.12!important;margin:0 0 5px!important;letter-spacing:-.025em!important;font-weight:750!important;overflow-wrap:anywhere!important;color:#f5f7f8!important;text-shadow:0 2px 12px #0008!important}
body .a82-detail.at850-detail .a81-hero :is(.a81-alias,.a81-meta,.a81-studio){font-size:13px!important;color:#aab5bc!important;line-height:1.38!important;margin:3px 0!important;overflow-wrap:anywhere!important}
body .a82-detail.at850-detail .a81-hero .a81-score{display:flex!important;align-items:baseline!important;gap:8px!important;margin:0!important;padding:0!important;flex-wrap:wrap!important;background:none!important;border:0!important}
body .a82-detail.at850-detail .a81-hero .a81-score strong{font-size:23px!important;line-height:1.15!important;color:#e9c677!important;font-weight:750!important}
body .a82-detail.at850-detail .a81-hero .a81-score small{font-size:11px!important;color:#9ca9b0!important}
body .a82-detail.at850-detail .a81-hero .a81-genres{grid-area:genres!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;margin:0!important;padding:0!important;min-width:0!important}
body .a82-detail.at850-detail .a81-hero .a81-genres span{border:1px solid #2b343b!important;background:#11161a!important;color:#bac6ce!important;border-radius:7px!important;font-size:11px!important;padding:5px 9px!important;line-height:1.2!important}
body .a82-detail.at850-detail .a81-hero .at850-actions{grid-area:actions!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important;min-width:0!important;align-self:start!important;margin:0!important;padding:0!important}
body .a82-detail.at850-detail .a81-hero .a81-primary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important;width:100%!important;max-width:570px!important}
body .a82-detail.at850-detail .a81-hero .a81-primary>.a81-watch:only-child{grid-column:1/-1!important}
body .a82-detail.at850-detail .a81-hero .a81-primary>.a81-library{order:0!important;background:#11252e!important;border:1px solid #29647a!important;color:#b9edfa!important}
body .a82-detail.at850-detail .a81-hero .a81-primary>.a81-watch,body .a82-detail.at850-detail .a81-hero .a81-primary>.a81-watch:hover{order:1!important;background:#24b7dc!important;color:#04151c!important;border:1px solid #24b7dc!important}
body .a82-detail.at850-detail .a81-hero .a81-primary :is(a,button){display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:100%!important;min-width:0!important;min-height:44px!important;height:auto!important;border-radius:9px!important;box-shadow:none!important;padding:10px!important;font-size:13px!important;font-weight:700!important;line-height:1.2!important;white-space:normal!important;text-align:center!important}
body .a82-detail.at850-detail .a81-hero .a81-tools{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:stretch!important;margin:0!important;min-width:0!important;width:100%!important;max-width:none!important}
body .a82-detail.at850-detail .a81-hero .a81-tools :is(a,button){display:inline-flex!important;flex:0 1 auto!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;gap:6px!important;width:auto!important;min-width:0!important;min-height:38px!important;height:auto!important;background:#111417!important;color:#c2cbd0!important;border:1px solid #293036!important;border-radius:8px!important;box-shadow:none!important;padding:8px 12px!important;font-size:12px!important;line-height:1.2!important;white-space:normal!important;text-align:center!important}
body .a82-detail.at850-detail .a81-hero .a81-tools .a81-favorite-icon span{display:inline!important;font-size:inherit!important}
body .a82-detail.at850-detail .a81-hero :is(.a81-tools,.a81-primary) svg{width:19px!important;height:19px!important;flex:none!important}
body .a82-detail.at850-detail .a81-hero :is(a,button):focus-visible{outline:2px solid #7ad7ed!important;outline-offset:2px!important}
body .a82-detail.at850-detail .a82-tabs{border-bottom:1px solid #20272c!important;margin:0 0 14px!important;background:#000!important}
body .a82-detail.at850-detail .a82-tab-strip{display:flex!important;gap:10px!important;overflow-x:auto!important;scrollbar-width:thin;min-width:0!important}
body .a82-detail.at850-detail .a82-tab-strip a{flex:0 0 auto!important;white-space:nowrap!important;padding:10px 9px!important;font-size:13px!important;min-height:44px!important}
@media(max-width:760px){
 body .a82-detail.at850-detail .a81-hero{border-radius:12px!important;margin-bottom:12px!important}
 body .a82-detail.at850-detail .a81-hero .a81-cinema{height:clamp(142px,45vw,225px)!important}
 body .a82-detail.at850-detail .a81-hero .a81-main{grid-template-columns:clamp(78px,25vw,120px) minmax(0,1fr)!important;grid-template-areas:'poster copy' 'genres genres' 'actions actions'!important;grid-template-rows:auto auto auto!important;padding:0 12px 12px!important;gap:10px 12px!important}
 body .a82-detail.at850-detail .a81-hero.has-banner .a81-main{margin-top:-46px!important}
 body .a82-detail.at850-detail .a81-hero.no-banner .a81-main{padding-top:12px!important}
 body .a82-detail.at850-detail .a81-hero .a81-copy{padding-top:6px!important;gap:5px!important}
 body .a82-detail.at850-detail .a81-hero h1{font-size:clamp(19px,5.1vw,27px)!important;line-height:1.12!important;margin:0 0 4px!important}
 body .a82-detail.at850-detail .a81-hero .a81-kicker{font-size:10px!important;margin-bottom:3px!important}
 body .a82-detail.at850-detail .a81-hero :is(.a81-alias,.a81-meta,.a81-studio){font-size:11px!important;margin:2px 0!important;line-height:1.3!important}
 body .a82-detail.at850-detail .a81-hero .a81-score strong{font-size:19px!important}
 body .a82-detail.at850-detail .a81-hero .a81-cover{border-radius:8px!important}
 body .a82-detail.at850-detail .a81-hero .a81-primary{max-width:none!important}
 body .a82-detail.at850-detail .a81-hero .a81-primary :is(a,button){font-size:12px!important;min-height:44px!important;padding:7px 5px!important;gap:5px!important}
 body .a82-detail.at850-detail .a81-hero .a81-tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
 body .a82-detail.at850-detail .a81-hero .a81-tools :is(a,button){width:100%!important;min-height:47px!important;flex-direction:column!important;padding:6px 3px!important;gap:4px!important;font-size:10px!important}
 body .a82-detail.at850-detail .a81-hero .a81-tools svg{width:17px!important;height:17px!important}
 body .a82-detail.at850-detail .a82-tab-strip{gap:5px!important}
 body .a82-detail.at850-detail .a82-tab-strip a{font-size:12px!important;padding-inline:7px!important}
}
/* Header link and visible new-conversation label; layout centered independently of left/right control count. */
body .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-top .at70-chat-brand{color:#eef4f6!important;text-decoration:none!important;justify-content:center!important;gap:6px!important;white-space:nowrap!important;flex:none!important;min-width:0!important;overflow:visible!important;margin:0!important}
body .tsugi-shell.at74-premium.at75-ready .tsugi-top .at70-chat-brand small{display:none!important}
body .tsugi-shell.at74-premium.at75-ready .tsugi-top .at70-chat-brand:focus-visible{outline:2px solid #7cd9ee!important;outline-offset:3px!important;border-radius:7px!important}
body .tsugi-shell.at74-premium.at75-ready .tsugi-top :is(.at702-new,.at860-new){gap:5px!important;white-space:nowrap!important;border:1px solid #2b4c58!important;background:#101d24!important;color:#c2edf7!important;border-radius:8px!important;font-size:12px!important;font-weight:650!important;line-height:1.2!important;box-shadow:none!important;width:auto!important;min-width:0!important;padding:7px 9px!important}
body .tsugi-shell.at74-premium.at75-ready .tsugi-top :is(.at702-new,.at860-new)>span{display:inline!important;font-size:inherit!important;white-space:nowrap!important}
body .tsugi-shell.at74-premium.at75-ready .tsugi-top :is(.at702-new,.at860-new)>svg{width:16px!important;height:16px!important;flex:none!important}
@media(min-width:801px){
 body .tsugi-shell.at860-desktop.at74-premium.at75-ready .tsugi-main .tsugi-top{position:relative!important;justify-content:flex-end!important;min-height:56px!important;gap:6px!important;padding-inline:12px!important}
 body .tsugi-shell.at860-desktop.at74-premium.at75-ready .tsugi-top .at74-panel-toggle{margin-right:auto!important}
 body .tsugi-shell.at860-desktop.at74-premium.at75-ready .tsugi-top .at70-chat-brand{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important}
 body .tsugi-shell.at860-desktop.at74-premium.at75-ready .tsugi-top .at860-new{display:inline-flex!important;align-items:center!important;min-height:36px!important}
}
/* Compact desktops may have the conversation sidebar open: second line avoids collisions. */
@media(min-width:801px) and (max-width:1150px){
 body .tsugi-shell.at860-desktop.at74-premium.at75-ready .tsugi-main .tsugi-top{padding-top:45px!important;min-height:88px!important}
 body .tsugi-shell.at860-desktop.at74-premium.at75-ready .tsugi-top .at70-chat-brand{top:5px!important;transform:translateX(-50%)!important}
}
@media(max-width:800px){
 body .tsugi-shell.at74-premium.at75-ready.at702-mobile .tsugi-main .tsugi-top{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:40px 36px!important;gap:3px 5px!important;padding:4px 9px 6px!important;min-height:0!important;align-items:center!important;justify-items:center!important}
 body .tsugi-shell.at74-premium.at75-ready.at702-mobile .tsugi-top .at702-back{grid-area:1/1!important;justify-self:start!important;height:40px!important;min-height:40px!important}
 body .tsugi-shell.at74-premium.at75-ready.at702-mobile .tsugi-top .at70-chat-brand{grid-area:1/2!important;position:static!important;transform:none!important;justify-self:center!important;overflow:visible!important}
 body .tsugi-shell.at74-premium.at75-ready.at702-mobile .tsugi-top .at70-chat-brand img{display:block!important;width:29px!important;height:29px!important;flex:none!important}
 body .tsugi-shell.at74-premium.at75-ready.at702-mobile .tsugi-top .at74-panel-toggle{grid-area:1/3!important;justify-self:end!important;height:40px!important;min-height:40px!important}
 body .tsugi-shell.at74-premium.at75-ready.at702-mobile .tsugi-top [data-tsugi-memory-settings]{grid-area:2/1!important;justify-self:stretch!important;width:100%!important;min-width:0!important;min-height:34px!important;height:34px!important;padding:4px 5px!important;font-size:11px!important;white-space:nowrap!important;border-radius:8px!important}
 body .tsugi-shell.at74-premium.at75-ready.at702-mobile .tsugi-top .at702-new{grid-area:2/2/3/4!important;justify-self:stretch!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:34px!important;min-height:34px!important;min-width:0!important;font-size:12px!important}
 body .tsugi-shell.at74-premium.at75-ready.at702-mobile .tsugi-main:has(>.tsugi-advanced) .tsugi-top [data-tsugi-advanced]{grid-area:2/2/3/4!important;justify-self:stretch!important;min-height:34px!important;height:34px!important}
 body .tsugi-shell.at74-premium.at75-ready.at702-mobile .tsugi-main:has(>.tsugi-advanced) .tsugi-top .at702-new{display:none!important}
}

body .a82-detail.at850-detail .a81-hero .a81-copy{align-self:start!important}
body .a82-detail.at850-detail .a81-hero .a81-score{flex-direction:row!important;box-shadow:none!important}
