/* 9.4.1: scoped, final layer. No network calls or new animation runtime. */
body dialog.a65-dialog.at927-guest{padding:24px!important;overflow:auto;max-height:calc(100dvh - 24px);background:radial-gradient(ellipse at 50% 0,#10232d 0,#080808 60%)!important;border-color:#24343c!important}
body dialog.a65-dialog.at927-guest>header{margin:155px 0 9px!important}
body dialog.a65-dialog.at927-guest .at927-guest-icon{top:18px;width:174px;height:130px;border:0;background:transparent;box-shadow:none;border-radius:0;pointer-events:none}
body dialog.a65-dialog.at927-guest .at927-guest-icon img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain}
body dialog.a65-dialog.at927-guest .at941-guest-kicker{color:#83d7ed;font-size:13px;font-weight:650;margin:0}
body dialog.a65-dialog.at927-guest .at927-guest-title{max-width:100%;font-size:12px!important;color:#a8b7bf!important}
body dialog.a65-dialog.at927-guest .at927-guest-copy{max-width:34ch}
body dialog.a65-dialog.at927-guest .at927-guest-actions{gap:9px}
body dialog.a65-dialog.at927-guest .at927-guest-actions .btn{min-height:46px!important}
@media(max-width:760px){
 body dialog.a65-dialog.at927-guest{width:100%!important;max-width:100%!important;margin:auto 0 0!important;padding:20px 20px calc(20px + env(safe-area-inset-bottom,0px))!important;border-radius:22px 22px 0 0!important;border-bottom:0!important;max-height:calc(100dvh - 12px)}
 body dialog.a65-dialog.at927-guest .at927-guest-actions{grid-template-columns:minmax(0,1fr)}
 body dialog.a65-dialog.at927-guest::backdrop{backdrop-filter:none!important;background:#000b!important}
 body dialog.a65-dialog.at927-guest .a65-close{width:44px!important;height:44px!important}
 body dialog.a65-dialog.at927-guest[open]{animation:at941-enter .18s ease-out}
 /* Both the overview preview (including REST-appended cards) and the full episodes tab. */
 body .a82-detail.at850-detail .at850-overview>.at850-episode-preview .at850-episode-grid,
 body .a82-detail.at850-detail .a82-panels .a806-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;gap:0!important;overflow:visible!important}
 body .a82-detail.at850-detail .at850-episode-grid>.at850-episode-card,
 body .a82-detail.at850-detail .a806-list>.a806-episode{grid-column:auto!important;grid-row:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;min-width:0!important;gap:6px!important;background:#000!important;border:0!important;border-bottom:1px solid #202020!important;border-radius:0!important;padding:9px 0!important;overflow:visible!important}
 body .a82-detail.at850-detail .at850-episode-card .at850-episode-link,
 body .a82-detail.at850-detail .a806-episode .a806-ep-link{display:grid!important;grid-template-columns:minmax(0,42%) minmax(0,1fr)!important;align-items:center!important;gap:11px!important;flex:1 1 auto!important;min-width:0!important;width:100%!important}
 body .a82-detail.at850-detail .at850-episode-card .at850-episode-thumb,
 body .a82-detail.at850-detail .a806-episode .a806-still{display:block!important;position:relative!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/9!important;background:#10161b!important;border:0!important;border-radius:6px!important;overflow:hidden!important;margin:0!important}
 body .a82-detail.at850-detail .at850-episode-thumb img,
 body .a82-detail.at850-detail .a806-still img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
 body .a82-detail.at850-detail .at850-episode-card.m900-no-still .at850-episode-thumb,
 body .a82-detail.at850-detail .a806-still:not(:has(img)){background:#0d171e url('img/tsugi-slime/official-small.webp') center 43%/auto 76% no-repeat!important}
 body .a82-detail.at850-detail .at850-ep-placeholder,
 body .a82-detail.at850-detail .a806-still>span:not(:has(img)){position:absolute!important;left:5px!important;top:5px!important;display:inline-flex!important;align-items:center!important;gap:3px!important;width:auto!important;height:auto!important;padding:2px 4px!important;background:#071016e6!important;color:#c8edf8!important;border-radius:3px!important;font-size:10px!important;font-weight:650!important;line-height:1.2!important}
 body .a82-detail.at850-detail .at850-episode-time{right:4px!important;bottom:4px!important;font-size:10px!important;padding:2px 4px!important}
 body .a82-detail.at850-detail .at850-episode-meta,
 body .a82-detail.at850-detail .a806-ep-copy{min-width:0!important;padding:0!important;gap:4px!important;align-self:center!important}
 body .a82-detail.at850-detail .at850-episode-series{display:none!important}
 body .a82-detail.at850-detail .at850-episode-meta strong,
 body .a82-detail.at850-detail .a806-ep-copy strong{font-size:14px!important;line-height:1.35!important;overflow-wrap:break-word!important}
 body .a82-detail.at850-detail .a806-episode :is(.a806-mark,.a806-login){position:static!important;flex:0 0 40px!important;width:40px!important;min-height:40px!important;margin:0!important}
 /* Two poster columns, uniform action alignment, no rail remnants. */
 body .a82-detail.at850-detail .at850-overview .at846-related-preview .at846-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;gap:10px!important;overflow:visible!important;scroll-snap-type:none!important;align-items:stretch!important}
 body .a82-detail.at850-detail .at850-overview .at846-related-preview .at846-related-grid>article{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;padding:6px!important;min-width:0!important;max-width:100%!important;transform:none!important;background:#080808!important;border:1px solid #202020!important;border-radius:10px!important}
 body .a82-detail.at850-detail .at850-overview .at846-related-preview .at846-related-grid .at846-related-poster{width:100%!important;min-width:0!important;aspect-ratio:2/3!important;height:auto!important;border-radius:6px!important}
 body .a82-detail.at850-detail .at850-overview .at846-related-preview .at846-related-copy{display:flex!important;flex-direction:column!important;flex:1!important;gap:5px!important;padding:0!important}
 body .a82-detail.at850-detail .at850-overview .at846-related-preview .at846-related-copy h3{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.7em!important;font-size:13px!important;line-height:1.35!important}
 body .a82-detail.at850-detail .at850-overview .at846-related-preview .at846-related-copy p{display:none!important}
 body .a82-detail.at850-detail .at850-overview .at846-related-preview .at846-related-copy small{font-size:11px!important;line-height:1.35!important;min-height:1.35em}
 body .a82-detail.at850-detail .at850-overview .at846-related-preview .at846-related-icons{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin-top:auto!important;padding-top:3px!important}
 body .a82-detail.at850-detail .at850-overview .at846-related-preview .at846-related-icons .at846-related-icon{width:100%!important;min-width:0!important;min-height:40px!important;height:40px!important;padding:0!important;border-radius:7px!important}
 body .a82-detail.at850-detail .at850-overview .at846-related-preview .at846-related-icons svg{width:18px!important;height:18px!important}
 body .a82-detail.at850-detail .a81-primary>.a81-watch{background:#20b5e8!important;color:#051017!important;box-shadow:none!important}
}
@keyframes at941-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){body dialog.a65-dialog.at927-guest[open]{animation:none!important}html{scroll-behavior:auto!important}}
