/* Final responsive safeguards: keep desktop design and prevent mobile clipping. */
html{max-width:100%;scroll-padding-top:80px}body{max-width:100%}.shell,main,.section,.section-head,.hero-copy,.dialog,.player-frame,.headright{min-width:0}.hero h1,.dialog h1,.dialog h2,.section h2{overflow-wrap:anywhere}.player-frame iframe,.player-frame video{max-width:100%}.rail{overscroll-behavior-x:contain}.rail>*{min-width:0}.seo-discovery a{overflow-wrap:anywhere}
@media(max-width:720px){.overlay{padding:8px!important;align-items:flex-start!important;overflow-y:auto!important}.dialog{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 16px)!important;overflow-y:auto!important}.player-frame{width:100%!important;aspect-ratio:16/9;height:auto!important;min-height:0!important}.player-frame iframe,.player-frame video{width:100%!important;height:100%!important}.player-bottom-row,.player-episode-row,.player-source-row,.detail-footer{flex-wrap:wrap!important;min-width:0}.player-bottom-row>*,.player-episode-row>*,.player-source-row>*{min-width:0;max-width:100%}.select{max-width:100%}.hero .buttons button,.iconbtn,.anime-menu-toggle{min-height:40px!important}.hero-controls button{min-width:36px;min-height:36px}.hero-copy{padding-bottom:49px!important}.hero{height:auto!important;max-height:none!important;min-height:300px!important}.hero-copy{min-height:300px!important}.hero-desc{font-size:12px!important}.hero h1{line-height:1.12!important}.section-head{flex-wrap:wrap}.seo-discovery{padding:16px!important}.seo-title-links{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:420px){.topbar .shell{padding-inline:8px!important;gap:5px!important}.brandtext small{display:none!important}.brand-name{font-size:16px!important}.brandmark.brand-icon{width:29px!important;height:29px!important}.topbar .headright{gap:3px!important}.topbar .searchbox:focus-within{width:85px!important}.topbar .iconbtn{padding:0 5px!important}.hero-feature-poster{display:none!important}.hero-copy{max-width:100%!important;padding:20px 17px 54px!important}.hero-art{inset:0!important;opacity:.48}.hero h1{font-size:clamp(25px,7vw,33px)!important}.hero-desc{-webkit-line-clamp:3!important}.hero .buttons button{font-size:12px!important}.rail{grid-auto-columns:45%!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
