/* 9.4.2: centered account dialog, useful compact recommendations and episode flow. */
body dialog.a65-dialog.at927-guest{position:fixed!important;inset:0!important;margin:auto!important;box-sizing:border-box!important;width:min(420px,calc(100% - 32px))!important;max-width:calc(100% - 32px)!important;height:fit-content!important;max-height:calc(100dvh - 32px)!important;padding:20px!important;border-radius:20px!important;border:1px solid #26333c!important;background:radial-gradient(ellipse at 50% 0,#11242e,#080808 58%)!important;overflow:auto!important}
body dialog.a65-dialog.at927-guest>header{margin:0 0 7px!important;display:block!important}
body dialog.a65-dialog.at927-guest .at927-guest-icon{position:static!important;transform:none!important;width:136px!important;height:100px!important;margin:0 auto 10px!important;display:block!important}
body dialog.a65-dialog.at927-guest .at927-guest-icon img{object-fit:contain!important}
body dialog.a65-dialog.at927-guest h2{font-size:21px!important;line-height:1.2!important}
body dialog.a65-dialog.at927-guest .a65-dialog-body{gap:8px!important}
body dialog.a65-dialog.at927-guest .at927-guest-actions{grid-template-columns:1fr 1fr!important;gap:8px!important}
body dialog.a65-dialog.at927-guest .at927-guest-actions .btn{min-height:44px!important;font-size:13px!important;padding-inline:6px!important}
body dialog.a65-dialog.at927-guest::backdrop{background:#000b!important;backdrop-filter:none!important}
body dialog.a65-dialog.at927-guest[open]{animation:at942-fade .16s ease-out!important}
@keyframes at942-fade{from{opacity:0}to{opacity:1}}
/* Same cyan action on anime and episode pages, including desktop. */
body .at60-wrap.at933-episode .at929-actions .at929-watch,body .at60-wrap.at933-episode .at929-actions .at929-watch:hover,body .a82-detail.at850-detail .a81-primary>.a81-watch{background:#20b5e8!important;border-color:#20b5e8!important;color:#051017!important;box-shadow:none!important}
body .at60-wrap.at933-episode .at929-actions .at933-library{background:#111!important;border-color:#30363b!important;color:#eee!important}
body .tsugi-shell .at942-iconbar{display:flex;gap:5px;flex-wrap:wrap}
body .tsugi-shell .at942-iconbar svg,body .tsugi-shell .at942-watch svg{width:17px!important;height:17px!important;flex:none}
@media(max-width:760px){
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations>.tsugi-compact-row{background:#090b0d!important;border-color:#20262b!important;border-radius:12px!important;padding:9px!important;gap:9px!important;grid-template-columns:78px minmax(0,1fr)!important;align-items:start!important}
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations>.tsugi-compact-row>.tsugi-cover{width:78px!important;height:117px!important;aspect-ratio:2/3!important;align-self:start!important}
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations>.tsugi-compact-row>.tsugi-result-copy{gap:5px!important;min-width:0!important;align-self:start!important;justify-content:flex-start!important}
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations .tsugi-result-title{font-size:14px!important;line-height:1.35!important;min-height:0!important;margin:0!important;padding-right:36px!important}
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations .tsugi532-tags{display:flex!important;flex-wrap:wrap!important;gap:4px!important;margin:0!important;min-height:0!important}
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations .tsugi532-tags span{display:inline-block!important;font-size:10px!important;line-height:1.25!important;color:#b8c7d0!important;background:#152027!important;border:1px solid #27353d!important;border-radius:5px!important;padding:3px 5px!important;white-space:normal!important}
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations .tsugi532-tags:empty{display:none!important}
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations .tsugi532-reason-label{display:none!important}
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations .tsugi-result-reason{display:none!important}
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations .at942-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important;justify-items:start!important;align-items:start!important;min-width:0!important;margin-top:3px!important}
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations .at942-watch{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:36px!important;max-width:100%!important;min-width:0!important;font-size:12px!important;font-weight:700!important;white-space:normal!important;line-height:1.2!important;padding:7px 10px!important;background:#20b5e8!important;color:#051017!important;border:1px solid #20b5e8!important;border-radius:7px!important}
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations .at942-iconbar{display:flex!important;gap:4px!important;flex-wrap:wrap!important;min-width:0!important;width:100%!important}
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations .at942-iconbar :is(a,button){display:inline-flex!important;justify-content:center!important;align-items:center!important;box-sizing:border-box!important;flex:0 0 35px!important;width:35px!important;height:35px!important;min-height:35px!important;min-width:0!important;padding:0!important;background:#11171c!important;border:1px solid #293139!important;color:#a9d9e8!important;border-radius:7px!important}
 body #app .tsugi-shell.at74-premium.at75-ready .tsugi-main .tsugi-results.at733-recommendations .at942-iconbar :is(a,button):focus-visible{outline:2px solid #20b5e8!important;outline-offset:2px}
 body #app .tsugi-shell.at74-premium.at75-ready[data-at75-mode=gallery] .tsugi-main .tsugi-results.at733-recommendations{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body #app .tsugi-shell.at74-premium.at75-ready[data-at75-mode=gallery] .tsugi-main .tsugi-results.at733-recommendations>.tsugi-compact-row{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto 1fr!important;padding:7px!important;gap:7px!important}
 body #app .tsugi-shell.at74-premium.at75-ready[data-at75-mode=gallery] .tsugi-main .tsugi-results.at733-recommendations>.tsugi-compact-row>.tsugi-cover{width:100%!important;height:auto!important;aspect-ratio:2/3!important}
 body #app .tsugi-shell.at74-premium.at75-ready[data-at75-mode=gallery] .tsugi-main .tsugi-results.at733-recommendations>.tsugi-compact-row>.tsugi-result-copy{grid-column:1!important;grid-row:2!important;align-self:stretch!important}
 body #app .tsugi-shell.at74-premium.at75-ready[data-at75-mode=gallery] .tsugi-main .tsugi-results.at733-recommendations .tsugi-result-title{padding:0!important;min-height:2.7em!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important}
 body #app .tsugi-shell.at74-premium.at75-ready[data-at75-mode=gallery] .tsugi-main .tsugi-results.at733-recommendations .at942-actions{margin-top:auto!important;width:100%!important;justify-items:stretch!important}
 body #app .tsugi-shell.at74-premium.at75-ready[data-at75-mode=gallery] .tsugi-main .tsugi-results.at733-recommendations .at942-iconbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body #app .tsugi-shell.at74-premium.at75-ready[data-at75-mode=gallery] .tsugi-main .tsugi-results.at733-recommendations .at942-iconbar :is(a,button){width:100%!important}
 body #app .tsugi-shell.at74-premium.at75-ready[data-at75-mode=highlights] .tsugi-main .tsugi-results.at733-recommendations>.tsugi-compact-row:first-of-type{grid-template-columns:96px minmax(0,1fr)!important}
 body #app .tsugi-shell.at74-premium.at75-ready[data-at75-mode=highlights] .tsugi-main .tsugi-results.at733-recommendations>.tsugi-compact-row:first-of-type>.tsugi-cover{width:96px!important;height:144px!important}
 /* Episode detail: no decorative second image, compact controls, watch then explore. */
 body .at60-wrap.at933-episode{padding:8px 12px 24px!important}
 body .at933-episode .at929-breadcrumb{margin:0 0 10px!important;font-size:11px!important;line-height:1.5!important;overflow-wrap:anywhere}
 body .at933-episode .at933-hero{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:0 0 12px!important;margin:0 0 8px!important;background:#000!important;overflow:visible!important}
 body .at933-episode .at933-backdrop{display:none!important}
 body .at933-episode .at929-art{width:100%!important;aspect-ratio:16/9!important;max-height:none!important;height:auto!important;border-radius:10px!important;box-shadow:none!important}
 body .at933-episode .at929-copy{padding:0!important;min-width:0!important}
 body .at933-episode .at929-copy h1{font-size:24px!important;margin:4px 0!important}
 body .at933-episode .at929-copy h2{font-size:16px!important;line-height:1.35!important;margin:4px 0!important}
 body .at933-episode .at929-copy .muted{font-size:12px!important;margin:5px 0!important}
 body .at933-episode .at933-genres{gap:4px!important;margin:7px 0!important}
 body .at933-episode .at933-genres span{font-size:11px!important;padding:3px 6px!important}
 body .at933-episode .at942-no-score{display:none!important}
 body .at933-episode .at929-copy .at929-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-top:10px!important}
 body .at933-episode .at929-copy .at929-actions .btn{width:100%!important;min-width:0!important;white-space:normal!important;justify-content:center!important;text-align:center!important;font-size:12px!important;min-height:40px!important;padding:7px 6px!important}
 body .at933-episode .at929-copy .at929-actions .at929-watch{grid-column:1/-1!important;min-height:44px!important}
 body .at933-episode .at933-layout{display:flex!important;flex-direction:column!important;gap:14px!important}
 body .at933-episode .at933-main{border:0!important;border-radius:0!important;width:100%!important;overflow:visible!important}
 body .at933-episode .at933-tabs{padding:0!important;gap:8px!important;overflow-x:auto!important;scrollbar-width:none!important;white-space:nowrap!important;max-width:100%!important}
 body .at933-episode .at933-tabs::-webkit-scrollbar{display:none}
 body .at933-episode .at933-tabs>a{flex:none!important;font-size:12px!important;padding:8px 5px!important}
 body .at933-episode .at933-tab-content{padding:0!important}
 body .at933-episode #at933-overview:not([hidden]){display:flex!important;flex-direction:column!important}
 body .at933-episode #at933-overview>#onde-assistir{order:0}
 body .at933-episode #at933-overview>.at929-neighbors{order:1}
 body .at933-episode #at933-overview>.at942-summary{order:2}
 body .at933-episode #at933-overview>.at933-community-preview{order:3}
 body .at933-episode .at942-summary .at933-episode-facts{display:none!important}
 body .at933-episode .at933-section{padding:12px 0!important}
 body .at933-episode .at933-section .at917-watch-links{grid-template-columns:minmax(0,1fr)!important;gap:6px!important}
 body .at933-episode .at933-section .at917-watch-links>a.at917-watch-row{min-height:48px!important;padding:8px 10px!important}
 body .at933-episode .at933-section .at917-watch-links .at743-provider-copy small{font-size:10px!important;line-height:1.35!important}
 body .at933-episode .at929-neighbor-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important}
 body .at933-episode .at929-neighbor-grid>a{display:grid!important;grid-template-columns:40% minmax(0,1fr)!important;align-items:center!important;gap:10px!important;border:1px solid #222!important;background:#090b0d!important;padding:5px!important;min-height:0!important}
 body .at933-episode .at929-neighbor-grid>a[aria-current=page]{border:1px solid #20b5e8!important;box-shadow:none!important}
 body .at933-episode .at934-tile-art{width:100%!important;height:auto!important;aspect-ratio:16/9!important;border-radius:5px!important}
 body .at933-episode .at934-tile-copy{padding:3px 3px 3px 0!important;min-height:0!important;gap:4px!important;align-content:center!important;min-width:0!important}
 body .at933-episode .at942-neighbor-title{font-size:11px;color:#b3b9bf;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 body .at933-episode .at929-ep-nav{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
 body .at933-episode .at929-ep-nav .btn{min-height:38px!important;width:100%!important;justify-content:center!important}
 body .at933-episode .at933-sidebar{display:grid!important;gap:8px!important;width:100%!important}
 body .at933-episode .at933-sidebar .at929-panel{padding:12px!important;background:#080808!important}
 body .at933-episode .at929-progress .a806-progress{margin:0!important;padding:0!important}
 body .at933-episode .at929-progress .a806-ep-copy>span{display:none!important}
 body .at933-episode .at929-progress-note{display:none!important}
 body .at933-episode .at933-sidebar .at929-tsugi{display:block!important}
}
@media(prefers-reduced-motion:reduce){body dialog.a65-dialog.at927-guest[open]{animation:none!important}}
