/* 4.0.3: restore Cinema 3 episode spacing; mobile uses full-width player/list. */
body.hm-home-page .hm-single.hm-watch{min-width:0;max-width:100%!important;box-sizing:border-box}
body.hm-home-page .hm-single.hm-watch .hm-modern-watch-grid{min-width:0;width:100%;max-width:100%}
body.hm-home-page .hm-single.hm-watch .hm-episode-section{box-sizing:border-box;min-width:0}
body.hm-home-page .hm-single.hm-watch .hm-episode-rail{width:100%!important;max-width:100%!important;min-width:0;box-sizing:border-box;max-height:420px;overflow-y:auto;overflow-x:hidden;padding:7px!important;background:#121720!important}
body.hm-home-page .hm-single.hm-watch .hm-episode-rail ul.halim-list-eps{display:flex!important;flex-wrap:wrap!important;gap:7px!important;padding:0!important;list-style:none}
body.hm-home-page .hm-single.hm-watch .hm-episode-rail :is(#halim-list-server,.halim-server) ul.halim-list-eps>li,
body.hm-home-page .hm-single.hm-watch .hm-episode-rail ul.halim-list-eps>li,
body.hm-home-page .hm-single.hm-watch .hm-episode-rail :is(#halim-list-server,.halim-server) .halim-episode,
body.hm-home-page .hm-single.hm-watch .hm-episode-rail .halim-episode{box-sizing:border-box!important;display:inline-flex!important;align-items:stretch!important;justify-content:center!important;width:calc((100% - 28px)/5)!important;flex:0 0 calc((100% - 28px)/5)!important;min-width:0!important;max-width:none!important;float:none!important;padding:0!important;margin:0!important;vertical-align:top;background:none!important;box-shadow:none!important;border:0!important}
body.hm-home-page .hm-single.hm-watch .hm-episode-rail :is(#halim-list-server,.halim-server) a.halim-episode,
body.hm-home-page .hm-single.hm-watch .hm-episode-rail :is(#halim-list-server,.halim-server) span.halim-episode{min-height:38px!important;align-items:center!important;border:1px solid #3b424d!important;border-radius:3px!important;background:#303640!important;color:#c7ced8!important;font:600 12px/1.4 Arial,sans-serif!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important}
body.hm-home-page .hm-single.hm-watch .hm-episode-rail :is(#halim-list-server,.halim-server) ul.halim-list-eps>li>:is(a,span),
body.hm-home-page .hm-single.hm-watch .hm-episode-rail ul.halim-list-eps>li>:is(a,span),
body.hm-home-page .hm-single.hm-watch .hm-episode-rail .halim-episode>a,
body.hm-home-page .hm-single.hm-watch .hm-episode-rail .halim-episode>span{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:none!important;min-height:38px!important;height:auto!important;margin:0!important;padding:8px 3px!important;border:1px solid #3b424d!important;border-radius:3px!important;background:#303640!important;box-shadow:none!important;color:#c7ced8!important;font:600 12px/1.4 Arial,sans-serif!important;white-space:normal!important;overflow-wrap:anywhere!important;overflow:visible!important;text-overflow:clip!important;text-align:center!important}
body.hm-home-page .hm-single.hm-watch .hm-episode-rail .halim-episode>span>a{display:block!important;width:100%!important;padding:0!important;border:0!important;background:none!important;color:inherit!important;font:inherit!important;white-space:normal!important}
body.hm-home-page .hm-single.hm-watch .hm-episode-rail .halim-episode>a>span{padding:0!important;background:none!important;border:0!important;color:inherit!important;font:inherit!important;white-space:normal!important}
body.hm-home-page .hm-single.hm-watch .hm-episode-rail .halim-episode.active>:is(a,span),
body.hm-home-page .hm-single.hm-watch .hm-episode-rail .halim-episode>:is(a,span).active{background:#07533b!important;border-color:#00cf90!important;color:#56f1bf!important}
body.hm-home-page .hm-single.hm-watch .hm-episode-rail .halim-episode.hm-filtered{display:none!important}
body.hm-home-page .hm-single.hm-watch .hm-episode-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
body.hm-home-page .hm-single.hm-watch .hm-episode-heading>div{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%}
body.hm-home-page .hm-single.hm-watch .hm-find-label{flex:1;min-width:0}
body.hm-home-page .hm-single.hm-watch .hm-find-episode{box-sizing:border-box;width:100%!important;min-width:0;max-width:100%;min-height:38px;font-size:14px}
body.hm-home-page .hm-single.hm-watch .hm-sort-episodes{flex:none;min-width:38px;min-height:38px}
@media(max-width:1024px){
body.hm-home-page .hm-single.hm-watch{width:100%!important;padding:12px!important}
body.hm-home-page .hm-single.hm-watch .hm-modern-watch-grid{display:flex!important;flex-direction:column!important;gap:0!important}
body.hm-home-page .hm-single.hm-watch .hm-modern-watch-grid>.hm-watch-layout,
body.hm-home-page .hm-single.hm-watch .hm-modern-watch-grid>.hm-episode-section{width:100%!important;max-width:100%!important;flex:none!important;margin:0!important}
body.hm-home-page .hm-single.hm-watch .hm-modern-watch-grid>.hm-episode-section{padding:14px 0!important;max-height:none!important;overflow:visible!important}
body.hm-home-page .hm-single.hm-watch .hm-native-player{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden}
body.hm-home-page .hm-single.hm-watch .hm-native-player #halim-player-wrapper{position:relative!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;float:none!important}
body.hm-home-page .hm-single.hm-watch .hm-native-player #ajax-player{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important}
body.hm-home-page .hm-single.hm-watch .hm-native-player #ajax-player iframe,
body.hm-home-page .hm-single.hm-watch .hm-native-player #ajax-player video{width:100%!important;height:100%!important;max-width:100%!important;border:0}
body.hm-home-page .hm-single.hm-watch .hm-native-player .button-watch{display:flex;flex-wrap:wrap;gap:6px;width:100%!important;height:auto!important;min-width:0!important;padding:8px!important}
body.hm-home-page .hm-single.hm-watch .hm-watch-below{display:block!important;width:100%;min-width:0;margin-top:0}
body.hm-home-page .hm-single.hm-watch .hm-watch-mobile-tabs{display:none!important}
body.hm-home-page .hm-single.hm-watch .hm-mobile-panel-hidden{display:block!important}
body.hm-home-page .hm-single.hm-watch .hm-info-episodes{padding:0!important;margin:0!important;width:100%!important;box-sizing:border-box}
body.hm-home-page .hm-single.hm-watch .hm-episode-rail{max-height:360px!important}
body.hm-home-page .hm-single.hm-watch .hm-watch-information{padding:0!important}
}
