@font-face {
    font-display: swap;
    font-family: myFirstFont;
    src: url('../fonts/MyriadPro-Regular.ttf');
    src: url('../fonts/MyriadPro-Regular.ttf?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/MYRIADPROREGULAR.woff') format('woff'),
        /* Pretty Modern Browsers */
        url('../fonts/MyriadPro-Regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
}

@font-face {
    font-display: swap;
    font-family: mySecondFont;
    src: url('../fonts/MyriadPro-Semibold.otf');
}

@font-face {
    font-display: swap;
    font-family: myThreeFont;
    src: url('../fonts/MYRIADPRO-BOLD.OTF');
}

@font-face {
    font-family: MyFont_IE
}

@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -mos-box-sizing: border-box
}

html,
body {
    font-size: 13px;
    color: #ffc119;
    background-color: #000;
    margin: 0;
    padding: 0;
    font-family: myFirstFont, MyFont_IE, Tahoma, Geneva, sans-serif
}

/* v1.0.135: theme-yellow scrollbar */
html{scrollbar-color:#ffc119 #141414;scrollbar-width:thin}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:#141414}
::-webkit-scrollbar-thumb{background:#ffc119;border-radius:6px;border:2px solid #141414}
::-webkit-scrollbar-thumb:hover{background:#ffd043}

a {
    text-decoration: none;
    transition: all 0.3s linear 0s;
    webkit-transition: all 0.3s linear 0s;
    moz-transition: all 0.3s linear 0s;
    o-transition: all 0.3s linear 0s;
    color: #323e35;
    font-size: 100%
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #ffc119
}

a:hover {
    text-decoration: none
}

img {
    border: 0;
    margin: 0;
    padding: 0
}

p {
    margin: 8px 0
}

.clr {
    clear: both
}

#wrapper_inside {
    margin: auto;
    width: 1088px
}

#wrapper {
    background-color: #1b1b1b;
    float: left;
    width: 1088px;
    padding: 0 20px
}

#wrapper_bg {
    float: left;
    width: 100%
}

.form .row input[type="button"] {
    background: url('../img/icon/searcch.png') no-repeat left 6px
}

[class^="icongec-"],
[class*="icongec-"] {
    background: url('../img/bg-main-3.png') no-repeat -30px top;
    display: inline-block;
    vertical-align: middle;
}

[class^="iconlayer-"],
[class*="iconlayer-"] {
    background: url('../img/icon_player.png') no-repeat left top;
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: -4px;
}

/*============= Section alpha =============== */

nav.alpha {
    background-color: #6d6d6d;
    float: left;
    width: 100%
}

nav.alpha ul {
    margin: 0;
    padding: 0
}

nav.alpha ul li {
    float: left;
    list-style: none;
    background-image: url(../img/bg/alpha.png);
    background-repeat: repeat-y;
    background-position: right top
}

nav.alpha ul li:last-child {
    background-image: none
}

nav.alpha ul li a {
    color: #fff;
    padding: 8px 0;
    display: block;
    width: 35px;
    text-align: center
}

nav.alpha ul li.all a {
    width: 50px
}

nav.alpha ul li a:hover {
    background-color: #f6a818
}

section.headnav {
    float: left;
    width: 100%;
    padding: 12px 0 35px 0px
}

section.headnav .headnav_left {
    float: left;
    padding-right: 40px;
    padding-left: 40px
}

section.headnav .headnav_menu {
    float: left
}

section.headnav .headnav_right {
    float: right;
    width: 300px;
}

nav.menu_top {
    float: left;
    width: 100%;
    margin-top: 26px
}

nav.menu_top ul {
    margin: 0;
    padding: 0;
    float: left;
    width: 100%
}

nav.menu_top ul li {
    float: left;
    list-style: none;
    margin: 0px 18px
}

nav.menu_top ul li a {
    display: block;
    color: #fff;
    padding: 0 0 14px 0px;
    text-transform: uppercase;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14px;
    transition: all 0s linear 0s;
    webkit-transition: all 0s linear 0s;
    moz-transition: all 0s linear 0s;
    o-transition: all 0s linear 0s
}

nav.menu_top ul li:last-child a {
    background-image: none
}

nav.menu_top ul li a:hover,
nav.menu_top ul li.active a {
    color: #ffc119;
    border-bottom: 2px solid #ffc119
}

nav.menu_top ul li a {
    padding-bottom: 3px
}

section.content {
    float: left;
    width: 100%;
    margin: 15px 0
}

section.content section.content_left {
    float: left;
    width: 728px
}

section.content section.content_right {
    float: right;
    width: 300px
}

.alert-success {
    color: #dd4b39;
}

.headnav_center {
    margin-bottom: 26px;
    border: 1px solid #a1a1a1;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
}

.headnav_center .content_items {
    text-align: left;
}

.headnav_center img {
    width: 100%
}

#load_ep {
    position: relative;
}

#load_ep .loader {
    right: 0;
    left: 0;
    display: block;
    top: 0;
    border-color: #a1a1a1;
    border-top-color: #ffc119;
}

.form {
    float: left;
    width: 100%
}

.form .row {
    float: left;
    border: 1px solid #a1a1a1;
    margin: 20px 0 0 0;
    background-color: #101010;
    border-radius: 0px;
    width: 100%;
    position: relative;
}

.form .row input[type="text"] {
    border: 0px;
    padding: 0 10px;
    float: left;
    width: 100%;
    background-color: transparent;
    color: #ffc119;
    line-height: 30px;
    height: 30px;
}

.form .row input[type="submit"],
.form .row input[type="button"] {
    background-position: 0px 6px;
    height: 30px;
    width: 28px;
    border: 0px;
    float: left;
    cursor: pointer;
    background-color: transparent;
    position: absolute;
    right: 0;
    top: 0;
}

footer {
    padding: 25px 0px;
    color: #959595;
    font-size: 12px;
    float: left;
    width: 100%;
    background-image: url(../img/bg/vien_footer.png);
    background-repeat: no-repeat;
    background-position: center top;
    margin-top: 20px;
    position: relative;
}

.menu_bottom {
    float: left;
    padding: 15px
}

.croll {
    float: right;
    padding: 0 15px;
    width: 280px
}

.croll img {
    cursor: pointer
}

.croll img:hover {}

nav.menu_bottom {
    float: left;
    width: 100%;
    padding: 0
}

nav.menu_bottom ul {
    margin: 0;
    padding: 0
}

nav.menu_bottom ul li {
    float: left;
    list-style: none
}

nav.menu_bottom ul li a {
    color: #fff;
    padding-right: 36px
}

nav.menu_bottom ul li a:hover {
    color: #c2c2c2
}

nav.menu_series {
    padding: 0
}

nav.menu_series ul {
    padding: 0;
    margin: 0
}

nav.menu_series ul li {
    list-style: none;
    padding: 2px 0
}

nav.menu_series ul li a {
    color: #ffc119;
    text-align: left !important;
    white-space: nowrap;
    overflow: hidden;
    display: block
}

nav.menu_series ul li a:hover {
    color: #fff
}

nav.menu_recent {
    float: left;
    width: 100%
}

nav.menu_recent ul {
    padding: 0;
    margin: 0;
    float: left;
    width: 100%
}

nav.menu_recent ul li {
    list-style: none;
    padding: 16px 0 0 14px;
    float: left;
    text-align: left;
    width: 100%;
}

nav.menu_recent ul li:first-child {
    padding-top: 0
}

nav.menu_recent ul li a {
    color: #ffc119;
    text-align: left
}

nav.menu_recent ul li a:hover {
    color: #fff
}

nav.menu_recent img {
    float: left;
    width: 90px;
    height: 60px;
    padding-right: 14px
}

p.time_2 {
    color: #fdfcfc;
    font-size: 12px
}

.last_episodes {
    float: left;
    padding: 0 16px;
    width: 100%;
}

.last_episodes_items {
    float: left;
    position: relative;
    margin: 8px 6px;
    width: 165px
}

.last_episodes_items img {
    width: 100%;
    height: 214px
}

.last_episodes .bottom {
    width: 100%;
    font-size: 12px;
    color: #959595;
    text-align: center;
    padding: 6px 0
}

.last_episodes .bottom p {
    margin: 0;
    padding: 0;
    color: #e1e1e1;
    font-size: 12px
}

.last_episodes .bottom p.name {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 13px;
    font-family: mySecondFont;
    height: 34px;
    overflow: hidden
}

.last_episodes_items a {
    display: block;
    color: #ffc119;
    font-size: 14px;
    font-family: mySecondFont
}

.last_episodes_items a:hover {
    color: #fff
}

.last_episodes .left {
    position: absolute;
    left: 44%;
    top: 198px;
    width: 25px;
    height: 14px
}

.last_episodes .left.raw {
    background-image: url(../img/bg/raw.png);
    background-repeat: no-repeat;
    background-position: left top
}

.last_episodes .left.dub {
    background-image: url(../img/bg/dub.png);
    background-repeat: no-repeat;
    background-position: left top
}

.last_episodes .left.sub {
    background-image: url(../img/bg/sub.png);
    background-repeat: no-repeat;
    background-position: left top
}

.last_episodes .right {
    position: absolute;
    right: 4px;
    top: -4px;
    width: 33px;
    font-size: 13px;
    font-family: mySecondFont;
    color: #fff;
    text-align: center;
    padding: 6px 0;
    background-image: url(../img/bg/tap.png);
    background-repeat: no-repeat;
    background-position: right top
}

.last_episodes .right span {
    padding-left: 3px
}

.sldie_popular {
    margin: 14px 14px 6px 10px;
    width: 708px
}

.jcarousel-skin-tango_sikien img {
    width: 165px;
    height: 200px
}

.sldie_popular_items {
    position: relative;
    width: 165px;
    margin-left: 5px
}

.sldie_popular_items .bottom {
    position: absolute;
    left: -5px;
    bottom: 6px;
    width: 100%;
    text-align: center;
    background-image: url(../img/bg/bong_slide.png);
    background-repeat: no-repeat;
    background-position: center center;
    height: 38px;
    width: 174px;
    overflow: hidden;
    z-index: 99999
}

.sldie_popular_items .bottom p {
    margin: 0;
    padding: 0px
}

.sldie_popular_items .bottom p.name {
    padding-top: 4px
}

.sldie_popular_items .bottom p.name a {
    font-family: mySecondFont;
    color: #fff
}

.sldie_popular_items .bottom p.name a:hover {
    color: #f6a818
}

.sldie_popular_items .bottom p.time {
    font-size: 12px;
    color: #fff
}

#chat_group {
    position: fixed;
    right: 10px;
    bottom: 100px;
    width: 250px;
    z-index: 99999
}

#chat_group_name {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
    background-color: #feaf1d;
    border-bottom: solid 2px #30261d;
    padding: 10px 14px;
    cursor: pointer
}

#chat_group_body {
    min-height: 200px;
    border-left: solid 1px #feaf1d;
    border-right: solid 1px #feaf1d;
    border-bottom: solid 1px #feaf1d;
    background-color: #fff;
    display: none
}

.last_mange_body {
    margin: 16px 16px 0 14px
}

.last_mange_body nav.last_mange ul {
    margin: 0;
    padding: 0
}

.last_mange_body nav.last_mange ul li {
    background-image: url(../img/bg/blue.png);
    background-repeat: no-repeat;
    background-position: left top;
    list-style: none;
    padding: 2px 0 6px 26px;
    margin-bottom: 6px;
    position: relative
}

.last_mange_body nav.last_mange ul li .time {
    position: absolute;
    right: 0;
    top: 0;
    color: #7d7d7d
}

.last_mange_body nav.last_mange ul li.red {
    background-image: url(../img/bg/maga_red.png)
}

.last_mange_body nav.last_mange ul li.yellow {
    background-image: url(../img/bg/maga_yellow.png)
}

.last_mange_body nav.last_mange ul li.blue {
    background-image: url(../img/bg/maga_blue.png)
}

.last_mange_body nav.last_mange ul li.hot span.hot {
    color: #feaf1d;
    font-weight: bold
}

.last_mange_body nav.last_mange ul li.new span.new {
    color: #ee3636;
    font-weight: bold
}

.last_mange_body nav.last_mange ul li a {
    font-size: 12px;
    color: #fff
}

.last_mange_body nav.last_mange ul li a:hover {
    color: #f6a818
}

.last_mange_body nav.last_mange ul li ul li {
    background-image: none;
    padding: 0;
    border: 0;
    margin: 0
}

.last_mange_body nav.last_mange ul li ul li a {
    font-size: 12px;
    color: #898989
}

.last_mange_body nav.last_mange ul li ul li a:hover {
    text-decoration: underline;
    color: #898989
}

.last_mange_body nav.last_mange ul li ul li span {
    color: #898989;
    padding: 0 3px
}

.main_body {
    float: left;
    width: 100%;
    border: 1px solid #a1a1a1;
    margin-bottom: 26px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -mos-box-sizing: border-box
}

.main_body_black {
    float: left;
    width: 100%
}

.anime_name {
    padding: 11px 0 11px 66px;
    background-image: url(../img/bg-main-bong.png);
    background-repeat: no-repeat;
    background-position: right top;
    background-color: #ffc119;
    position: relative
}

.anime_name h2, .anime_name h1 {
    color: #252525;
    font-family: mySecondFont;
    text-transform: uppercase;
    font-size: 14px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    white-space: nowrap
}

.facebooke {
    overflow: hidden
}

.anime_name.ongoing {
    background-position: right -184px
}

.anime_name_img_ongoing {
    background-image: url(../img/bg/ongoing.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    bottom: 0
}

.anime_name.recent_release {
    background-position: right -48px
}

.anime_name_img_recent_release {
    background-image: url(../img/bg/recent_release.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    bottom: 0
}

.anime_name.added_series {
    background-position: right top
}

.anime_name_img_added_series {
    background-image: url(../img/bg/added_series.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    bottom: 0
}

.anime_name.last_mange {
    background-image: url(../img/bg/last_mange_bong.png);
    background-repeat: no-repeat;
    background-position: right top
}

.anime_name_img_last_mange {
    background-image: url(../img/bg/last_mange.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    bottom: 0
}

.anime_name.comedy {
    background-position: right -229px
}

.anime_name_img_comedy {
    background-image: url(../img/bg/comedy.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    bottom: 0
}

.anime_name.anime_list {
    background-position: right -323px
}

.anime_name_img_anime_list {
    background-image: url(../img/bg/anime_list.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    bottom: 0
}

.anime_name.anime_movies {
    background-position: right -323px
}

.anime_name_img_anime_movies {
    background-image: url(../img/bg/anime_movies.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    bottom: 0
}

.anime_name.new_series {
    background-position: right -323px
}

.anime_name_img_new_series {
    background-image: url(../img/bg/new_series.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    bottom: 0
}

.anime_name.anime_info {
    background-position: right -94px
}

.anime_name_img_anime_info {
    background-image: url(../img/bg/anime_info.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    bottom: 0
}

.anime_name.anime_video {
    background-position: right -323px
}

.anime_name_img_anime_video {
    background-image: url(../img/bg/anime_video.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    bottom: 0
}

.comedy_body {
    float: left;
    margin: 10px 0 0 14px
}

.comedy_body_items {
    float: left;
    width: 100px;
    text-align: center;
    margin: 8px
}

.comedy_body_items img {
    height: 100px;
    width: 100%
}

.comedy_body_items .bottom p.name a {
    color: #ffc119;
    font-size: 12px
}

.comedy_body_items .bottom p.name {
    height: 14px;
    overflow: hidden
}

.comedy_body_items .bottom p.name a:hover {
    color: #fff
}

.added_series_body {
    float: left;
    width: 100%;
    padding: 20px 0
}

.added_series_body ul {
    margin: 0;
    padding: 0
}

.added_series_body ul li {
    float: left;
    list-style: none;
    width: 50%;
    padding: 5px 0;
    overflow: hidden;
}

.added_series_body ul li.even {
    border-right: solid 1px #555
}

.added_series_body ul li a {
    font-size: 13px;
    color: #ffc119;
    white-space: nowrap;
    overflow: hidden
}

.added_series_body ul li a:hover {
    color: #fff
}

.anime_name_pagination {
    position: absolute;
    right: 0px;
    top: 0px
}

.pagination {
    padding: 6px 0;
    float: right;
    margin-right: 14px
}

.pagination ul {
    margin: 0;
    padding: 0
}

.pagination ul li {
    float: left;
    list-style: none
}

.pagination ul li a {
    display: block;
    padding: 6px 12px;
    margin: 3px;
    font-size: 12px;
    color: #000
}

.pagination ul li a:hover,
.pagination ul li.selected a {
    background-color: #00a651;
    color: #fff
}

.pagination ul li.hidden {
    display: none
}

.anime_list_body {
    float: left;
    padding: 20px 18px
}

.anime_list_body .list_title {
    color: #ffc119;
    border: solid 1px #ffc119;
    width: 26px;
    text-align: center;
    border-radius: 13px;
    padding: 4px 0;
    margin: 5px 0
}

.anime_list_body ul {
    margin: 0;
    padding: 0
}

.anime_list_body ul li {
    list-style: none;
    float: left;
    width: 50%;
    padding: 3px 0;
}

.anime_list_body ul li a {
    color: #fff
}

.anime_list_body ul li a:hover {
    color: #ffc119
}

.anime_movies_items {
    float: left;
    position: relative;
    margin: 8px 6px;
    width: 165px
}

.anime_movies_items img {
    width: 100%;
    height: 214px
}

.anime_movies_items .bottom p.name {
    margin: 0;
    padding: 0;
    color: #fff;
    height: 34px;
    overflow: hidden
}

.anime_movies_items .bottom p.released {
    color: #fff;
    font-size: 12px
}

.anime_movies_items a {
    display: block;
    color: #ffc119;
    font-weight: normal !important
}

.anime_movies_items a:hover {
    color: #fff
}

.anime_info_body {
    margin: 0 20px
}

.anime_info_body_bg {
    float: left;
    width: 100%;
    margin: 20px 0
}

.anime_info_body img {
    float: left;
    width: 320px;
    padding-right: 15px
}

.anime_info_body h1,
.anime_info_body h2 {
    text-transform: uppercase
}

.anime_info_body p.type {
    font-size: 12px;
    color: #fff
}

.anime_info_body p.type span {
    color: #00a651
}

.anime_info_episodes h2 {
    border-bottom: solid 1px #000;
    margin-bottom: 10px;
    padding-bottom: 5px
}

.anime_info_episodes_next ul {
    padding-bottom: 10px
}

.anime_info_episodes_next ul li {
    list-style: none;
    padding: 4px 0;
    position: relative
}

.anime_info_episodes_next ul li a {
    color: #fff;
    font-size: 14px
}

.anime_info_episodes_next ul li a:hover {
    color: #ffc119
}

.go_time {
    position: absolute;
    right: 0;
    top: 0;
    color: #898989
}

.anime_video_body {
    padding: 20px
}

.anime_video_body_cate,
.anime_video_body_cate a {
    font-size: 12px;
    color: #ffc119;
    padding-top: 5px;
    position: relative
}

.anime_video_body_cate a:hover {
    color: #fff
}

.anime_video_note_watch {
    position: relative;
    text-align: center;
}

.anime_video_body_report {
    position: absolute;
    right: 0;
    bottom: 0px
}

.anime_video_body_report a {
    color: #00a651
}

.anime_video_body_cate span {
    color: #fff
}

/* v1.0.65: episode page body title (reference style — yellow, like gogoanime.pt) */
.anime_video_body h1.ga-ep-h1 {
    color: #ffc119;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
    padding: 0;
    line-height: 1.4;
}

.anime_video_body_watch {
    margin: 20px 0
}

.anime_video_body_episodes {
    float: left;
    width: 100%
}

.anime_video_body_episodes a {
    color: #ffc119
}

.anime_video_body_episodes a:hover {
    color: #fff
}

.anime_video_body_episodes_l {
    float: left;
    width: 50%
}

.anime_video_body_episodes_r {
    float: right;
    width: 50%;
    text-align: right
}

.anime_video_body_comment_name {
    color: #00a651;
    font-size: 18px;
    padding: 15px 0
}

.anime_video_body_watch_items {
    margin: 10px 0
}

#msg_eror {
    color: red
}

.anime_name.adsverting {
    background-position: right -139px;
    text-align: left;
}

.anime_name_img_adsverting {
    background-image: url(../img/bg/adverting.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    bottom: 0
}

.headnav_items {
    overflow: hidden
}

span.child,
fancybox-title.fancybox-title-float-wrap {
    display: none !important
}

#selectQuality {
    background-color: #ffc119;
    color: #fff;
    border: 0 none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 2px 20px 2px 10px;
    background: url(../img/bg/select.png) no-repeat right #ffc119;
    outline: 0
}

select#selectQuality::-ms-expand {
    display: none
}

#selectQuality select option {
    border: 0 none;
    outline: 0
}

.anime_video_body_watch_items {
    position: relative
}

.add_ads {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-image: url(../img/bg/bong.png);
    background-repeat: repeat
}

.add_ads2,
.add_ads3 {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background: #000
}

.add_ads_items_close,
.add_ads_items_close2,
.add_ads_items_close3 {
    /* background-color: #7b7c6f; text-align: center; color: #000; padding: 4px 0; cursor: pointer; font-weight: 600; z-index: 99999; */
    font-family: Arial;
    font-size: 12px;
    cursor: pointer;
    z-index: 99999;
    text-align: center;
    color: #FFFFFF;
    background: #5B5B5B;
    cursor: pointer;
    height: 20px;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    width: 300px;
    display: block;
}

.add_ads_items {
    width: 300px;
    margin: auto;
    margin-top: 8%;
    background-color: #000
}

.add_ads_items2,
.add_ads_items3 {
    width: 300px;
    margin: auto;
    margin-top: 8%;
    background-color: #000;
    max-width: 100%;
}

.anime_name.episode_video {
    background-position: right -372px
}

.anime_name_img_episode_video {
    background-image: url(../img/bg/episode.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    top: -17px
}

.headnav_info {
    background-color: #000;
    max-width: 100%;
    overflow: hidden;
    text-align: center
}

ul#episode_related {}

ul#episode_related li {
    position: relative;
    list-style: none;
    float: left;
    margin: 5px 0;
    margin-left: 1.5%;
    width: 13%;
}

ul#episode_related li:nth-child(7n+1) {
    margin-left: 0
}

ul#episode_related li a {
    color: #fff;
    display: block;
    background-color: #363636;
    width: 100%;
    float: left;
    padding: 0 8px;
}

ul#episode_related li a:hover {
    transition: all 0s linear 0s;
    webkit-transition: all 0s linear 0s;
    moz-transition: all 0s linear 0s;
    o-transition: all 0s linear 0s;
    background-color: #ffc119
}

ul#episode_related li a.active {
    background-color: #ffc119
}

ul#episode_related li a div.vien {
    background-image: url(../img/bg/vien_episode.png);
    background-repeat: no-repeat;
    background-position: center center;
    width: 1px;
    height: 30px;
    float: left
}

ul#episode_related li a div.name {
    float: left;
    padding: 8px 0;
    width: 60%;
    font-size: 11px;
}

ul#episode_related li a div.cate {
    float: right;
    color: #737373;
    padding: 8px 0;
    font-size: 11px;
}

.type a {
    color: #fff
}

.type a:hover {
    color: #ffc119
}

ul#episode_page {
    margin-bottom: 12px;
    float: left
}

ul#episode_page li {
    list-style: none;
    float: left;
    padding-right: 18px
}

ul#episode_page li a {
    color: #ffc119
}

ul#episode_page li a:hover,
ul#episode_page li a.active {
    text-decoration: underline
}

.ads_iframe {
    height: 100%;
    background-color: #000;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(../img/bg/watch_btn.png);
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    z-index: 2
}

.ads_iframe_hd {
    background-image: url(../img/bg/hd.png);
    background-repeat: no-repeat;
    background-position: right top;
    height: 24px;
    width: 42px;
    margin-top: 28px;
    float: right;
    margin-right: 28px
}

.thumbnail-recent {
    width: 90px;
    height: 60px;
    background-size: 100% auto !important;
    background-position: center center;
    background-repeat: repeat !important;
    float: left;
    margin-right: 16px
}

.form {
    position: relative
}

#header_search_autocomplete {
    position: absolute;
    right: 0;
    top: 51px;
    z-index: 100;
    width: 100%
}

#header_search_autocomplete_body {
    border: 1px solid #a1a1a1;
    width: 100%;
    padding: 5px 10px;
    background-color: #1b1b1b;
    float: left;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -mos-box-sizing: border-box
}

.list_search_ajax {
    float: left;
    width: 100%;
    margin: 5px 0
}

.list_search_ajax a {
    color: #ffc119;
    display: block;
    float: left;
    width: 100%;
    font-size: 12px
}

.list_search_ajax a:hover {
    color: #fff
}

.list_search_ajax.focused,
.list_search_ajax.focused a,
.list_search_ajax a:focus {
    color: #fff
}

.thumbnail-recent_search {
    width: 30px;
    height: 34px;
    background-size: 100% auto !important;
    background-position: center center;
    background-repeat: repeat !important;
    float: left;
    margin-right: 10px
}

.list_search ul {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 20px;
    margin-left: 13px;
}

.list_search ul li {
    float: left;
    list-style: none;
}

.list_search ul li a {
    color: #FFF;
    display: block;
    width: 25px;
    padding: 4px 0;
    text-align: center;
}

.list_search ul li a:hover {
    background-color: #00a651;
}

.list_search ul li a.active {
    color: #ffc119;
}

.tooltip {
    border: solid 1px #949494;
    padding: 12px;
    background-image: url(../img/bg/tooltip.png);
    background-repeat: repeat;
}

.tooltip .thumnail_tool {
    width: 160px;
    background-size: 100% auto !important;
    background-position: center center;
    background-repeat: repeat !important;
    position: relative;
    margin-right: 12px;
    float: left;
    max-height: 224px;
    overflow: hidden;
}

.tooltip .thumnail_tool img {
    width: 100%;
}

.thumnail_tool_right {
    float: left;
}

a.bigChar {
    color: #ffc119;
    font-size: 14px;
}

.tooltip p {
    padding: 0;
    margin: 4px 0;
}

.tooltip p.type {
    color: #898989;
    font-size: 12px;
}

.tooltip p.type span,
.tooltip p.sumer span {
    color: #00a651;
    font-size: 12px;
}

p.sumer {
    max-height: 142px;
    overflow: hidden;
    font-size: 12px;
    line-height: 18px;
    color: #898989;
}

.hide {
    display: none;
}

.thumbnail-popular {
    width: 90px;
    height: 94px;
    background-size: 100% auto !important;
    background-position: center center;
    background-repeat: repeat !important;
    float: left;
    margin-right: 16px;
    margin-left: 18px;
}

.thumbnail-recent_home {
    width: 165px;
    height: 214px;
    background-size: 100% auto !important;
    background-position: center center;
    background-repeat: repeat !important;
}

.added_series_body.popular ul li {
    float: left;
    overflow: visible;
    height: auto;
    padding: 10px 0;
}

.added_series_body.popular ul li a {
    padding-left: 0;
    white-space: normal;
    padding-bottom: 10px;
}

.added_series_body.popular ul li p {
    padding: 0;
    margin: 0;
    color: #898989;
}

.added_series_body.popular ul li p a {
    color: #ffffff;
}

.added_series_body.popular ul li p a:hover {
    color: #ffc119;
}

.added_series_body.popular ul li p.genres {
    padding-top: 12px;
}

.added_series_body.popular ul li p.genres a {
    color: #898989;
}

.added_series_body.popular ul li p.genres a:hover {
    color: #ffffff;
}

.link_face {
    position: absolute;
    right: 20px;
    top: 7px;
    text-align: right;
}

.link_face a {
    display: block;
    width: 24px;
    height: 24px;
    float: right;
    background-image: url(../img/bg/share_link_2.png);
    background-repeat: no-repeat;
}

.link_face a:hover {
    /* opacity: 0.5; filter:Alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity: 0.5; -webkit-opacity: 0.5; -mos-opacity: 0.5; */
}

.link_face a.twitter {
    margin: 0 8px;
    background-position: -30px top;
}

.link_face a.twitter:hover {
    background-position: -30px -24px;
}

.link_face a.facebook {
    background-position: left top;
}

.link_face a.facebook:hover {
    background-position: left -24px;
}

.link_face a.google {
    background-position: -60px top;
}

.link_face a.google:hover {
    background-position: -60px -24px;
}

.link_face a.reddit {
    background-position: -92px top
}

.link_face a.reddit:hover {
    background-position: -92px -24px
}

.link_face a.discord {
    background-position: -122px top
}

.link_face a.discord:hover {
    background-position: -122px -24px
}

.link_face a.telegram {
    background-position: right top
}

.link_face a.telegram:hover {
    background-position: right -24px
}

.title_name {
    white-space: nowrap;
    overflow: hidden;
    width: 546px;
}

.anime_name.anime_video {
    position: relative;
}

nav.menu_series.right ul {
    padding: 9px 0;
    float: left;
    width: 100%;
}

nav.menu_series.right ul li {
    float: left;
    width: 50%;
    padding: 4px 14px;
}

nav.menu_series.right ul li a {
    font-size: 13px;
}

nav.menu_series.cron {
    padding-left: 14px;
}

nav.menu_series.right ul li.even,
nav.menu_series.right ul li:nth-child(2n+1) {
    border-right: solid 1px #555555;
}

nav.menu_series.right ul li.oven a {
    padding-left: 20px;
}

.anime_name.genre {
    background-position: right -276px;
}

.anime_name_img_genre {
    background-image: url(../img/bg/genres.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    height: 56px;
    width: 60px;
    position: absolute;
    left: 0px;
    bottom: 0;
}

#left-side-ads {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 160px;
    line-height: 0px;
    margin: 0px;
    padding: 0px;
}

#right-side-ads {
    position: fixed;
    right: 0px;
    top: 0px;
    width: 160px;
    line-height: 0px;
    margin: 0px;
    padding: 0px;
}

.menu_top_link {
    float: left;
    text-align: right;
    padding-top: 10px;
    padding-right: 63px;
    width: 100%;
}

.menu_top_link a {
    color: #a1a1a1;
    padding-left: 1px;
    font-size: 12px;
}

.menu_top_link a:hover {
    color: #ffc119;
}

.form .row input[type="text"]::-webkit-input-placeholder,
.form .row input[type="text"]:-moz-placeholder,
.form .row input[type="text"]::-moz-placeholder,
.form .row input[type="text"]:-ms-input-placeholder {
    color: #a1a1a1;
}

.submenu_intro,
.link_face.intro {
    float: right;
}

.submenu_intro {
    margin-top: 2px;
}
.submenu_intro .ga9-toggle {
    margin-right: 8px;
}

/* v1.0.124: EN/JP title-language toggle — 9anime.or.at footer toggler look */
.ga9-toggle {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}
.ga9-toggle-onoff {
    display: inline-block;
    width: 24px;
    height: 15px;
    background: #ffc119;
    border-radius: 24px;
    position: relative;
    cursor: pointer;
    float: left;
    margin-right: 5px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.ga9-toggle-onoff > span {
    background: #fff;
    border-radius: 50%;
    width: 11px;
    height: 11px;
    margin: 2px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.2);
    position: absolute;
    left: calc(100% - 15px);
    transition: left .15s ease;
}
.ga9-toggle-onoff.off { background: #4d5059; }
.ga9-toggle-onoff.off > span { left: 0; }
.ga9-name {
    font-size: 12px;
    line-height: 15px;
    float: left;
    color: #b9b9b9;
    letter-spacing: .3px;
}
.ga-tlang-foot {
    margin-left: 12px;
}

.link_face.intro {
    position: inherit;
    right: auto;
    top: auto;
    margin-left: 10px;
}

.menu_top_link {
    padding-right: 0;
}

.link_face.intro a {
    display: block;
    height: 20px;
    float: right;
    background-image: url(../img/bg/share_link_6.png?v=1);
    background-repeat: no-repeat;
}

.link_face.intro a.twitter {
    margin: 0 2px;
}

.menu_top_link a.mobile {
    background-image: url(../img/bg/icon_mobile.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding: 5px 12px 5px 22px;
}

.btndownload {
    background: #ffc119;
    color: #FFFFFF;
    display: inline-block;
    line-height: 16px;
    padding: 0 8px 0 10px;
    height: 25px;
    line-height: 25px;
}

.clearfix {
    clear: both;
}

.anime-info {
    padding-top: 5px;
    padding-bottom: 2px;
}

.ver_anime_spanish {
    float: right;
}

.ver_anime_spanish a {
    color: #ffc119;
    font-size: 14px;
}

.download-anime {
    padding-top: 15px;
    position: relative;
}

.fixclass {
    position: fixed;
    top: 10px;
}

a.dub {
    color: #252525;
}

a.dub:hover,
a.dub.active {
    color: #FFF;
}

.menu_bottom a {
    color: #959595;
    padding-right: 10px;
}

.menu_bottom a:hover {
    color: #ffc119;
}

.content_privacy a {
    color: #ffc119;
}

.form-contact,
.form-contact a,
.page_content {
    color: #FFF;
}

.errorSummary {
    color: #F00;
    padding-left: 14px;
}

.form-contact input[type='text'],
.form-contact textarea,
.form-contact input[type='email'] {
    width: 406px;
    border: solid 1px #CCC;
    height: 24px;
    line-height: 24px;
    padding: 0 10px;
    max-width: 100%;
}

.form-contact textarea {
    height: 80px;
}

.form-contact .row {
    padding: 5px 0;
}

.last_episodes_items a p.name {
    color: #ffc119 !important;
}

.last_episodes_items a:hover p.name {
    color: #fff !important;
}

.last_episodes .left.SUB {
    background-image: url(../img/bg/sub.png);
    background-repeat: no-repeat;
    background-position: left top;
}

.last_episodes .left.RAW {
    background-image: url(../img/bg/raw.png);
    background-repeat: no-repeat;
    background-position: left top;
}

.last_episodes .left.DUB {
    background-image: url(../img/bg/dub.png);
    background-repeat: no-repeat;
    background-position: left top;
}

.added_series_body.popular ul li:nth-child(2n+1) {
    border-right: solid 1px #555;
    clear: both;
}

.added_series_body ul li:nth-child(2n+1) {
    border-right: solid 1px #555;
}

.added_series_body.final ul li {
    padding: 5px 20px;
}

.added_series_body.final ul li a {
    display: block;
    line-height: 14px;
}

.play-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    width: 100%;
    background-color: #000;
}

.play-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.user_auth {
    float: left;
    margin-left: 238px;
    margin-right: 5px;
}

.user_auth ul li {
    list-style: none;
    position: relative;
    padding: 3px 30px;
}

.user_auth ul li ul li {
    background-image: none;
}

.user_auth ul li a.fix {
    text-decoration: none;
}

.favorites_book ul {}

.favorites_book ul li {
    list-style: none;
    cursor: pointer;
    color: #fff;
    background-color: #00a651;
    padding: 0 10px;
    height: 25px;
    line-height: 25px;
}

.favorites_book ul li span {
    padding-left: 8px;
}

.login-popup {
    position: fixed;
    background: rgba(47, 47, 48, 0.9);
    max-width: 300px;
    width: 100%;
    z-index: 9999;
    padding: 22px;
    left: 0;
    right: 0;
    top: 50px;
    margin: auto;
    display: none;
}

.login-popup h2 {
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
}

.login-popup .btn-facebook,
.login-popup .btn-google {
    display: inline-block;
    width: 100%;
    margin: 7px 0;
    position: relative;
    color: #FFF;
    font-size: 14px
}

.login-popup .btn-facebook:hover,
.login-popup .btn-google:hover {
    color: #FFF
}

.login-popup .btn-facebook {
    background: #3b5998
}

.login-popup .btn-google {
    background: #dd4b39
}

.login-popup .btn-facebook span,
.login-popup .btn-google span {
    display: inline-block;
    width: 40px;
    padding: 10px 0;
    text-align: center;
    margin-right: 10px
}

.login-popup .btn-facebook img,
.login-popup .btn-google img {
    height: 17px
}

.login-popup .btn-facebook span {
    background-color: #2f477a
}

.login-popup .btn-google span {
    background-color: #b13c2e
}

.login-popup input:not([type="checkbox"]) {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #cdcdcd;
    height: 40px;
    margin: 7px 0;
    font-size: 14px;
    padding: 0 10px;
}

.login-popup .link-forget:hover {
    color: #fff;
}

.login-popup .link-forget {
    display: block;
    color: #ffc119;
    margin: 5px 0;
}

.login-popup .link-signup:hover {
    color: #fff;
}

.login-popup .link-signup {
    display: block;
    color: #ffc119;
    margin: 5px 0;
}

.login-popup button {
    padding: 5px 10px;
    float: right;
    text-align: center;
    background: #ffc119;
    color: #000;
    font-size: 14px;
    border: none;
    -webkit-border-radius: 0;
    -webkit-appearance: none;
    cursor: pointer;
}

.login-popup hr {
    margin-bottom: 10px;
    visibility: hidden;
}

.mask {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    z-index: 998;
    position: fixed;
    top: 0;
    display: none;
}

.contact-input button {
    background: #ffc119;
    padding: 5px 10px;
    color: #fff;
    border: 0;
}

.nav_down_up {
    position: absolute;
    top: 26px;
    left: 0;
    z-index: 9999;
    display: none;
    background: #000000;
}

.nav_down_up ul {
    padding: 10px 15px !important;
}

.auth .nav_down_up li {
    padding: 6px 5px;
    text-align: left;
}

.nav_down_up ul li a {
    height: auto !important;
    line-height: inherit !important;
    padding: 4px 0 !important;
    white-space: nowrap;
    color: #FFF;
    text-decoration: none;
}

.favorites_book {
    float: left;
}

.fa-heart::before {
    content: "\f004";
}

.favorites_book ul li.active i,
.favorites_book ul li.active span {
    color: #ffc119;
}

.login-popup input.error {
    border: solid 1px red;
}

.anime_video_note_watch a {
    color: #00a651;
}

.btndownload {
    float: left;
}

p.tips {
    color: #00a651;
}

.anime_info_body .bookmark {
    color: #FF0000;
    display: block;
    padding-top: 5px;
    padding-bottom: 10px;
}

.anime_info_body .bookmark:hover {
    color: #FFF;
}

.bookmark-manage i {
    background: url('../img/bookmart-manage.png') no-repeat;
    background-position: 0 3px;
    padding: 5px 0 10px 20px !important;
}

.bookmark-add i {
    background: url('../img/bookmart-add.png') no-repeat;
    background-position: 0 3px;
    padding: 5px 0 10px 24px !important;
}

.bookmark-remove i {
    background: url('../img/bookmart-remove.png') no-repeat;
    background-position: 0 5px;
    padding: 5px 0 10px 18px !important;
}

.headnav_center.intro {
    border: 0;
}

.anime_muti_link ul li {
    float: left;
    width: 100%;
}

.anime_muti_link ul {
    float: left;
    width: 100%;
    border-top: solid 1px #555555;
    padding: 20px 0;
    margin-top: 20px;
}

.anime_muti_link ul li {
    float: left;
    width: 100%;
    list-style: none;
    color: #FFF;
    padding: 0;
    position: relative;
    margin: 1px 0;
}

.introtext {
    color: #00a651;
    padding-top: 20px;
}

.login-popup .remember-me {
    color: #fff;
}

.anime_muti_link ul li a {
    display: block;
    color: #FFF;
    text-transform: uppercase;
    padding: 10px 0;
}

.anime_muti_link ul li a span {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 10px 5px;
    text-align: center;
}

.anime_muti_link ul li a:hover span,
.anime_muti_link ul li a.active span {
    background-color: #ffc119;
}

.anime_muti_link ul li a.active {
    cursor: inherit;
}

.anime_video_body_watch_items.next {
    display: none;
}

/* 3.2. List anime */
ul.items {
    margin-top: 20px;
}

ul.items li {
    float: left;
    position: relative;
    margin-left: 1.8867%;
    width: 23.5849%;
    text-align: center;
    list-style: none;
    margin-bottom: 20px;
    vertical-align: top;
}

ul.items li .img {
    overflow: hidden;
    position: relative;
}

ul.items li .img:before {
    content: "";
    display: block;
    padding-top: 125%;
}

ul.items li .img img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

ul.items li .img a {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

ul.items li:nth-child(4n+1) {
    margin-left: 0;
}

ul.items li p.name {
    line-height: 16px;
    height: 34px;
    overflow: hidden;
}

ul.items li p.name a {
    color: #ffc119;
    font-size: 13px;
    font-family: mySecondFont;
}

ul.items li p.name a:hover {
    color: #FFF;
}

ul.items li p.episode {
    margin: 0;
    padding: 0;
    color: #e1e1e1;
    font-size: 12px;
    font-family: mySecondFont;
}

ul.items li p.released {
    margin: 0;
    padding: 0;
    color: #e1e1e1;
    font-size: 12px;
}

ul.items li p.episode a {
    color: #e1e1e1;
}

ul.items li .type {
    position: absolute;
    bottom: 0;
    z-index: 1;
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    height: 18px;
}

ul.items li .type img {
    width: auto;
}

.page_menu_items.show {
    padding-top: 12px;
    margin-right: 0;
    width: 38px;
    float: left;
    display: none;
    position: relative;
    z-index: 9999;
    position: absolute;
    top: 10px;
    left: 16px;
}

.page_menu_items.show a img {
    height: 14px;
}

.search-iph a {
    width: 42px;
    height: 32px;
    display: none;
    text-align: center;
}

.hide_search {
    height: 30px;
    width: 20px;
    cursor: pointer;
    float: right;
    margin-right: 10px;
}

img.logo.hide {
    display: block;
}

.hide_search.show {
    display: none;
}

.hide_search.hide {
    display: none;
}

.croll .small,
nav.menu_top ul li.user {
    display: none;
}

#off_light {
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: transparent none repeat fixed 0% 0%;
    display: none;
}

.adsdisplay {
    max-height: 250px;
    overflow: hidden;
}

.tab_comment ul li {
    display: inline-block;
    margin-bottom: 10px;
}

.tab_comment ul li:first-child {
    margin-right: 18px;
}

.tab_comment ul li a {
    display: block;
    padding: 8px 25px;
    color: #fff;
    background-color: #ffc119;
}

.tab_comment ul li a.active {
    background-color: #00a651;
}

.anime_muti_link ul li:nth-child(2n+1) {
    background-color: #131313;
}

.ads_upper_video {
    max-width: 100%;
    max-height: 350px;
    padding-top: 5px;
    overflow: hidden;
}

.ads_mobile {
    clear: both;
    display: block;
    text-align: center;
}

#BAP-holder {
    position: fixed
}

#scrollbar2 {
    width: 296px;
    text-align: justify;
    margin: 15px 0 10px 0;
}

#scrollbar2 .viewport {
    width: 280px;
    height: 1678px;
    overflow: hidden;
    position: relative;
}

#scrollbar2 .overview {
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    margin: 0;
}

#scrollbar2 .scrollbar {
    position: relative;
    float: right;
    width: 4px;
    background-color: transparent;
}

#scrollbar2 .track {
    height: 100%;
    width: 4px;
    position: relative;
    padding: 0 1px;
    margin-left: -6px;
}

#scrollbar2 .thumb {
    height: 20px;
    width: 5px;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
    top: 0;
    background-color: #363636;
    border-radius: 4px;
    border-radius: 8px;
}

#scrollbar2 .thumb .end {
    overflow: hidden;
    height: 5px;
    width: 25px;
}

#scrollbar2 .disable {
    display: none;
}

/* Tiny Scrollbar */
#scrollbar1 {
    width: 296px;
    text-align: justify;
    margin: 24px 0 18px 0;
}

#scrollbar1 .viewport {
    width: 280px;
    height: 1140px;
    overflow: hidden;
    position: relative;
}

#scrollbar1 .overview {
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    margin: 0;
}

#scrollbar1 .scrollbar {
    position: relative;
    float: right;
    width: 4px;
    background-color: transparent;
}

#scrollbar1 .track {
    height: 100%;
    width: 4px;
    position: relative;
    padding: 0 1px;
    margin-left: -6px;
}

#scrollbar1 .thumb {
    height: 20px;
    width: 5px;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
    top: 0;
    background-color: #363636;
    border-radius: 4px;
    border-radius: 8px;
}

#scrollbar1 .thumb .end {
    overflow: hidden;
    height: 5px;
    width: 25px;
}

#scrollbar1 .disable {
    display: none;
}

.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.3;
}

.btm-center {
    text-align: center;
}

.specialButton {
    box-shadow: inset 0px 1px 0px 0px #ffc119;
    background-color: #ffc119;
    border: 1px solid #ffc119;
    border-radius: 20px;
    display: inline-block;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    font-style: normal;
    height: 40px;
    line-height: 40px;
    width: 180px;
    text-align: center;
    text-shadow: 1px 1px 0px #689324;
    cursor: pointer;
}

.specialButton a {
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
}

#disqus_thread {
    display: none;
}

.headnav_center.intro {
    margin-bottom: 0;
}

ul.items li .img a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 33px;
    background: linear-gradient(transparent, #1b1b1b);
    z-index: 1;
    opacity: .9;
}

ul.items li .img a:hover:after {
    background: url('../img/icon/ic-play.svg') no-repeat center bottom, linear-gradient(transparent, #1b1b1b);
    background-size: contain;
}

ul.items li .img a:hover .type {
    opacity: 0;
}

ul.items li .type {
    height: 33px;
    z-index: 2;
}

ul.items li .type.ic-SUB {
    background: url('../img/icon/ic-sub.svg') no-repeat center bottom;
    background-size: contain;
}

ul.items li .type.ic-DUB {
    background: url('../img/icon/ic-dub.svg') no-repeat center bottom;
    background-size: contain;
}

ul.items li .type.ic-RAW {
    background: url('../img/icon/ic-raw.svg') no-repeat center bottom;
    background-size: contain;
}

.loader {
    display: none;
    border: 2px solid #00a651;
    border-radius: 50%;
    border-top: 2px solid #ffc119;
    width: 15px;
    height: 15px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: absolute;
    right: 80px;
    top: 28px
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.topview .tab {
    text-transform: uppercase;
    font-weight: bold;
    font-family: mySecondFont;
    line-height: 100%;
    font-size: 100%;
    margin-top: 4px;
}

.topview .tab .tab_icon {
    display: inline-block;
    padding: 0 10px;
    text-align: center;
    cursor: pointer;
    border-left: solid 2px #010101;
    border-right: solid 2px #010101;
    color: #252525;
}

.topview .tab .tab_icon:first-child {
    border: 0;
}

.topview .tab .tab_icon:last-child {
    border: 0;
}

.topview .tab .tab_icon.active {
    color: #fff;
}

.topview h2 {
    text-transform: uppercase;
}

.movies_show {
    position: relative;
    float: left;
    width: 100%;
    min-height: 30px;
    padding: 14px 14px;
}

#load_topivews ul li {
    float: left;
    width: 100%;
    list-style: none;
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

#load_topivews ul li a:hover .title {
    color: #fff;
}

#load_topivews ul li:first-child {
    margin-top: 0;
}

#load_topivews ul li:last-child {
    margin-bottom: 0;
}

#load_topivews ul li .cover {
    float: left;
    margin-right: 15px;
}

#load_topivews ul li .cover img {
    width: 65px;
}

#load_topivews ul li p {
    margin: 2px 0;
}

#load_topivews ul li .title {
    color: #ffc119;
}

#load_topivews ul li .number {
    color: #ffc119;
    position: absolute;
    left: 0;
    top: 2px;
}

#load_topivews ul li .number.hide {
    display: none;
}

#load_topivews ul li .reaslead {
    color: #fff;
}

#load_topivews ul li .reaslead span {
    color: #898989;
}

#laoding {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
    padding-top: 10px;
}

.loaders {
    border: 1px solid #fff;
    border-top: 1px solid #00a651;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: spin 2s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.i_pos {
    width: 54px;
    height: 55px;
    margin-left: 3px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.icongec-recent_release {
    background-position: -30px top;
}

.icongec-added_series {
    background-position: -93px top;
}

.icongec-anime_info {
    background-position: -150px top;
}

.icongec-ongoing {
    background-position: -210px top;
}

.icongec-genre {
    background-position: -268px 1px;
}

.icongec-anime_list {
    background-position: -146px -72px;
}

.icongec-new_series {
    background-position: -216px -72px;
}

.icongec-anime_movies {
    background-position: -288px -72px;
}

.icongec-anime_info {
    background-position: -346px -73px;
    margin-left: 16px;
}

.icongec-anime_video {
    background-position: -336px -1px;
    margin-left: 0;
}

.icongec-adsverting {
    background-position: -90px -72px;
}

.icongec-episode_video {
    background-position: -464px -76px;
}

.icongec-comdy {
    background-position: -404px top;
}

.icongec-guide {
    background-position: -398px -76px;
}

.icongec-logins {
    background-position: -465px -2px;
    margin-left: 6px
}

.icongec-reg {
    background-position: -28px -72px;
}

.icongec-login {
    background-position: -532px -100px;
    width: 23px;
    height: 21px;
    position: absolute;
    left: 0;
    top: 1px;
}

.icongec-menu-show {
    background-position: -571px -78px;
    width: 25px;
    height: 14px;
    cursor: pointer;
}

.icongec-backtop {
    background-position: -526px top;
    width: 126px;
    height: 44px;
    cursor: pointer;
}

.icongec-backtop_mb {
    background-position: -530px -45px;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.icongec-muiten {
    background-position: -570px -51px;
    width: 20px;
    height: 14px;
    cursor: pointer;
    margin-top: 8px;
}

.icongec-search-mb {
    background-position: left top;
    width: 22px;
    height: 18px;
    cursor: pointer;
    margin-top: 8px;
}

.icongec-fa-heart {
    background-position: -563px -105px;
    width: 14px;
    height: 12px
}

.icongec-dowload {
    background-position: -600px -102px;
    width: 14px;
    height: 18px;
}

.favorites_book ul li.active i {
    background-position: -582px -105px;
}

.cf-download a {
    background-color: #ffc119;
    color: #fff;
    padding: 5px 10px;
    margin: 1px;
    display: inline-block;
}

.list_dowload {
    margin-top: 20px;
}

.list_dowload span,
.list_dowload span a {
    color: #fff;
}

.favorites_book {
    padding-right: 30px;
}

.favorites_book li {
    display: inline-block;
    margin-right: 6px;
}

.favorites_book li.dowloads {
    background-color: #ffc119;
}

.favorites_book li:last-child {
    margin-right: 0;
}

.icongec-watchs {
    background-position: -631px -122px;
    width: 15px;
    height: 10px;
}

.favorites_book ul li.watchs.active i {
    background-position: -631px -92px
}

.note_raw {
    color: #FFF;
    padding-top: 5px;
}

h1.seohiden {
    text-indent: -999999px;
    display: none;
}

.menu_bottom h3 {
    font-size: 12px;
    color: #959595;
    font-weight: normal;
}

.menu_bottom a {
    display: inline-block;
}

.iconlayer-hydrax,
.iconlayer-Hyrax,
.iconlayer-server.hydrax {
    background-position: left -25px
}

.iconlayer-xstreamcdn,
.iconlayer-Xstreamcdn {
    background-position: left -48px
}

.iconlayer-easyload,
.iconlayer-Easyload {
    background-position: left -68px
}

.iconlayer-rapidvideo {
    background-position: left -88px
}

.iconlayer-open {
    background-position: left -114px
}

.iconlayer-thevideo,
.iconlayer-Cloud9,
.iconlayer-cloud9 {
    background-position: left -140px
}

.iconlayer-mp4,
.iconlayer-Mp4Upload,
.iconlayer-mp4upload {
    background-position: left -165px
}

.iconlayer-your,
.iconlayer-YourUpload,
.iconlayer-yourupload {
    background-position: left -189px
}

.iconlayer-bestream {
    background-position: left -213px
}

.iconlayer-kingvid {
    background-position: left -237px
}

.iconlayer-vidup {
    background-position: left -140px
}

.iconlayer-vidlox {
    background-position: left -260px
}

.iconlayer-Mixdrop,
.iconlayer-mixdrop {
    background-position: left -284px
}

.iconlayer-doodstream {
    background-image: url('../img/doodstream.png')
}

.iconlayer-streamtape {
    background-image: url('../img/streamtape.png')
}

.iconlayer-streamsb {
    background-image: url('../img/streamsb.png')
}

.reportForm {
    position: fixed;
    background: rgba(47, 47, 48, 0.9);
    max-width: 90%;
    width: 440px;
    z-index: 9999;
    left: 0;
    right: 0;
    top: calc(50% - 140px);
    margin: auto;
    display: none;
    border-radius: 4px;
    padding-bottom: 20px;
}

.reportForm .title {
    font-size: 20px;
    color: #fff;
    padding: 15px 20px;
    font-weight: 400;
    text-align: center;
}

.reportForm label {
    float: left;
    text-align: right;
    padding-right: 10px;
    width: 120px;
}

.reportForm #contact-form {
    padding-top: 5px;
}

.reportForm #contact-form select,
.reportForm #contact-form input[type=text] {
    border: solid 1px #CCC;
    padding: 2px 0;
    width: 300px;
}

.reportForm #contact-form .row {
    padding: 2px 0;
    float: left;
    width: 100%;
}

.reportForm #contact-form textarea {
    border: solid 1px #CCC;
    padding: 2px 5px;
    width: 300px;
    height: 50px;
}

.reportForm .row_btn {
    margin-top: 5px;
}

.reportForm .row_btn input {
    background: #ffc119;
    color: #000;
    border: none;
    font-size: 14px;
    padding: 5px 10px;
    cursor: pointer;
}

.captcha {
    float: left;
}

#msg_eror {
    text-align: center;
    color: red;
    padding-top: 5px;
}

.alert-danger {
    color: red
}

.close-poup {
    float: right;
    cursor: pointer;
}

.ads_watch_top {
    float: left;
    width: 100%;
}

.ads_watch_top .ads_col1 {
    float: left;
    width: 50%;
}

.ads_watch_top .ads_col2 {
    float: right;
    width: 50%;
}

.ads_watch_top .ads_col1 iframe,
.ads_watch_top .ads_col2 iframe {}

@media only screen and (max-width: 1087px) {

    section.content section.content_right,
    .main_body.none,
    .headnav_center.intro.none,
    .link_face,
    .tooltip div,
    .menu_top_link {
        display: none;
    }

    #wrapper,
    #wrapper_inside,
    section.content section.content_left {
        width: 100%;
    }

    #wrapper {
        padding: 0;
    }

    .croll {
        width: auto;
    }

    .croll img {
        width: 100px;
    }

    footer {
        margin-top: 0;
    }

    .anime_video_note_watch {
        left: 0;
    }

    .ver_anime_spanish {
        float: left;
        width: 100%;
        margin-bottom: 10px;
    }

    .tooltip {
        padding: 0;
        border: 0;
        background-image: none;
    }

    .page_menu_items.show {
        display: block;
    }

    section.headnav {
        padding: 12px 16px;
        background-color: #111111;
        border-bottom: solid 1px #303030;
        margin-bottom: 12px;
        min-height: 62px;
    }

    section.headnav .headnav_left {
        padding: 0;
        margin-left: 58px;
        position: relative;
        z-index: 9999;
    }

    section.headnav .headnav_right {
        width: 40%;
        position: relative;
        z-index: 9999;
    }

    section.headnav .headnav_left img {
        max-height: 32px;
        width: auto;
    }

    nav.menu_top {
        display: none;
    }

    .form .row {
        margin: 0;
        background-color: #252525;
        border: 0;
    }

    nav.menu_top {
        margin-top: 0;
        background-color: #111111;
        position: fixed !important;
        left: 0;
        top: 0;
        z-index: 9998;
        max-width: 300px;
        width: 100%;
        height: 100%;
        padding-top: 60px;
    }

    nav.menu_top ul {
        overflow-x: auto;
        height: 100%;
        width: 100%;
    }

    nav.menu_top ul li {
        width: 100%;
        background-image: url(../img/bg/nav_menu/na_menu.png);
        background-repeat: repeat-x;
        background-position: left bottom;
        margin: 0;
    }

    nav.menu_top ul li.hide {
        display: block !important;
    }

    nav.menu_top ul li a {
        text-transform: capitalize;
        color: #ffffff;
        display: block;
        padding: 14px 0 14px 62px;
        white-space: nowrap;
        background-repeat: no-repeat;
        background-position: 16px center;
        background-size: 26px;
        font-size: 13px;
    }

    nav.menu_top ul li a:hover,
    nav.menu_top ul li.active,
    nav.menu_top ul li.active a {
        border: 0;
    }

    nav.menu_top ul li a.home {
        background-image: url(../img/bg/nav_menu/home.png);
    }

    nav.menu_top ul li a.home:hover,
    nav.menu_top ul li.active a.home {
        background-image: url(../img/bg/nav_menu/home-hover.png);
    }

    nav.menu_top ul li a.series {
        background-image: url(../img/bg/nav_menu/series.png);
    }

    nav.menu_top ul li a.series:hover,
    nav.menu_top ul li.active a.series {
        background-image: url(../img/bg/nav_menu/series-hover.png);
    }

    nav.menu_top ul li a.list {
        background-image: url(../img/bg/nav_menu/list-anime.png);
    }

    nav.menu_top ul li a.list:hover,
    nav.menu_top ul li.active a.list {
        background-image: url(../img/bg/nav_menu/list-anime-hover.png);
    }

    nav.menu_top ul li a.popular {
        background-image: url(../img/bg/nav_menu/popu.png);
    }

    nav.menu_top ul li a.popular:hover,
    nav.menu_top ul li.active a.popular {
        background-image: url(../img/bg/nav_menu/popu_hover.png);
    }

    nav.menu_top ul li a.movie {
        background-image: url(../img/bg/nav_menu/movie.png);
        position: relative;
    }

    nav.menu_top ul li a.movie:hover,
    nav.menu_top ul li.active a.movie {
        background-image: url(../img/bg/nav_menu/movie-hover.png);
        position: relative;
    }

    nav.menu_top ul li a.online {
        background-image: url(../img/bg/nav_menu/watch-cartoon.png);
    }

    nav.menu_top ul li a.online:hover {
        background-image: url(../img/bg/nav_menu/watch-cartoon-hover.png);
    }

    nav.menu_top ul li a.manga {
        background-image: url(../img/bg/nav_menu/read-manga.png);
    }

    nav.menu_top ul li a.manga:hover {
        background-image: url(../img/bg/nav_menu/read-manga-hover.png);
    }

    nav.menu_top ul li a.drama {
        background-image: url(../img/bg/nav_menu/watch-drama.png);
    }

    nav.menu_top ul li a.drama:hover {
        background-image: url(../img/bg/nav_menu/watch-drama-hover.png);
    }

    nav.menu_top ul li a.genre,
    nav.menu_top ul li button.genre {
        background-image: url(../img/bg/nav_menu/genre.png);
    }

    nav.menu_top ul li ul {
        padding-left: 62px;
    }

    nav.menu_top ul li ul li {
        width: 50%;
        background-image: none;
        margin-bottom: 5px;
    }

    nav.menu_top ul li ul li a {
        padding: 5px 0 5px 10px;
        width: 90px;
        overflow: hidden;
        max-width: 100%;
    }

    nav.menu_top ul li.user {
        display: block;
        white-space: nowrap;
    }

    nav.menu_top ul li.user ul li a {
        width: 100%;
    }

    nav.menu_top ul li.user ul li {
        width: 100%;
    }

    nav.menu_top ul li.user a {
        float: left;
    }

    nav.menu_top ul li.user {
        position: relative;
    }

    nav.menu_top ul li.user i {
        left: 16px;
        top: 10px;
    }

    nav.menu_top ul li.user a.fix,
    nav.menu_top ul li.user a.reg {
        padding: 14px 0 14px 5px;
    }

    .nav_down_up {
        position: static;
        top: 0;
        left: 0;
        z-index: 9999;
        display: none;
        background-color: #000;
        width: 100%;
    }

    .nav_down_up ul {
        padding: 10px 0 10px 62px !important;
    }

    .nav_down_up ul li {
        background-image: none !important;
    }

    .fancybox-close {
        top: 2px !important;
        right: 0px !important;
        background-position: left top;
        background-size: 100% auto !important;
        height: 25px !important;
    }

    .add_ads_items2,
    .add_ads_items3 {
        max-width: 100%;
        max-height: 100%;
        min-height: 260px;
        overflow: hidden;
        margin-top: 0;
    }

    .add_ads2,
    .add_ads3 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        display: block;
        z-index: 9999;
        background: #000000;
        overflow: hidden;
    }

    .add_ads_items2,
    .add_ads_items3 {
        position: relative;
        overflow: hidden;
        top: 50%;
        max-height: 80%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .add_ads_items_close,
    .add_ads_items_close2,
    .add_ads_items_close3 {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 99999;
    }

    .title_name {
        width: 100%;
    }
}

@media only screen and (min-width: 1001px) and (max-width: 1087px) {
    ul.items li {
        margin-left: 2%;
        width: 15%;
    }

    ul.items li:nth-child(3n+1),
    ul.items li:nth-child(4n+1) {
        margin-left: 2%;
    }

    ul.items li:nth-child(6n+1) {
        margin-left: 0;
    }

    .hide_search.show {
        display: none;
    }

    img.logo.hide {
        display: block;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1000px) {
    ul.items li {
        margin-left: 2%;
        width: 18.4%;
    }

    ul.items li:nth-child(3n+1),
    ul.items li:nth-child(4n+1) {
        margin-left: 2%;
    }

    ul.items li:nth-child(5n+1) {
        margin-left: 0;
    }

    .hide_search.show {
        display: none;
    }

    img.logo.hide {
        display: block;
    }
}

@media only screen and (min-width: 726px) and (max-width: 799px) {
    .hide_search.show {
        display: none;
    }

    img.logo.hide {
        display: block;
    }
}

@media only screen and (min-width: 610px) and (max-width: 725px) {
    ul#episode_related li {
        margin-left: 2%;
        width: 18.4%;
    }

    ul#episode_related li:nth-child(7n+1) {
        margin-left: 2%;
    }

    ul#episode_related li:nth-child(5n+1) {
        margin-left: 0;
    }

    .hide_search.show {
        display: none;
    }

    img.logo.hide {
        display: block;
    }

}

@media only screen and (min-width: 480px) and (max-width: 609px) {
    ul.items li {
        margin-left: 2%;
        width: 32%;
    }

    ul.items li:nth-child(4n+1) {
        margin-left: 2%;
    }

    ul.items li:nth-child(3n+1) {
        margin-left: 0;
    }

    .reportForm .title {
        padding: 10px 20px !important;
    }

    .reportForm #contact-form .row {
        padding: 2px 10px !important;
    }

    .reportForm #contact-form .row.row_btn label,
    .reportForm #contact-form .row.row_cap label {
        display: none;
    }

    .reportForm label,
    .reportForm #contact-form select,
    .reportForm #contact-form textarea {
        width: 100% !important;
        text-align: left !important;
    }

    ul#episode_related li {
        margin-left: 3%;
        width: 22.75%;
    }

    ul#episode_related li:nth-child(7n+1) {
        margin-left: 3%;
    }

    ul#episode_related li:nth-child(4n+1) {
        margin-left: 0;
    }

    .list_search ul {
        padding-right: 13px;
    }

    .anime_list_body ul li {
        width: 100%;
    }

    .anime_info_body img {
        width: 50%;
        padding-bottom: 5px;
    }

    .hide_search.show {
        display: none;
    }

    img.logo.hide {
        display: block;
    }

    .added_series_body ul li {
        width: 100%;
    }
}

@media only screen and (max-width: 479px) {
    ul.items li {
        margin-left: 3%;
        width: 48.5%;
    }

    ul.items li:nth-child(2n+1) {
        margin-left: 0;
    }

    .croll {
        position: absolute;
        right: 0px;
        top: 16px;
    }

    .anime_video_body_watch_items .play-video {
        padding: 0;
        min-height: 260px;
        background-color: #000;
    }

    .anime_video_body {
        padding: 16px;
    }

    .anime_video_body_report a {
        background-image: url(../img/report.png);
        background-repeat: no-repeat;
        background-position: center center;
        display: block;
        width: 20px;
        height: 18px;
        text-indent: -9999px;
    }

    .reportForm .title {
        padding: 10px 20px !important;
    }

    .reportForm #contact-form .row {
        padding: 2px 10px !important;
    }

    .reportForm #contact-form .row.row_btn label,
    .reportForm #contact-form .row.row_cap label {
        display: none;
    }

    .reportForm label,
    .reportForm #contact-form select,
    .reportForm #contact-form textarea {
        width: 100% !important;
        text-align: left !important;
    }

    .list_search ul {
        padding-left: 13px;
        margin-left: 0;
        margin-right: 0;
    }

    section.headnav .headnav_right {
        width: auto;
        position: absolute;
        right: 16px;
        top: 14px;
    }

    #search-form {
        display: none;
    }

    .form .row {
        float: right;
        width: 160px;
    }

    .search-iph a {
        display: block;
    }

    .page_menu_items.show {
        margin-right: 0;
    }

    section.headnav .headnav_left {
        margin-left: calc(50% - 41px);
    }

    .thumbnail-recent_search {
        display: none;
    }

    .hide_search.show {
        display: block;
    }

    img.logo.hide {
        display: none;
    }

    .croll .big {
        display: none;
    }

    .croll .small {
        display: block;
    }

    .croll .small img {
        width: 28px;
    }

    .anime_list_body ul li {
        width: 100%;
        margin: 3px 0;
    }

    .added_series_body ul li {
        width: 100%;
    }

    .anime_video_note_watch {
        text-align: left;
    }

    .list_search ul li {
        margin: 2px 0;
    }

    .list_search ul li a {
        padding: 5px;
    }

    .list_search ul li:first-child {
        margin-left: 0;
    }

    .icongec-recent_release.i_pos {
        margin-left: 0;
    }

    .anime_name.recent_release {
        padding-left: 55px;
        padding-top: 13px;
    }

    .anime_name.recent_release h2, .anime_name.recent_release h1 {
        font-size: 12px;
        line-height: 100%;
    }

    .anime_name.recent_release h2 span, .anime_name.recent_release h1 span {
        padding: 0 4px !important;
    }

    .favorites_book ul li {
        margin-bottom: 10px;
        margin-right: 5px;
        padding: 0 5px;
    }

    .favorites_book ul li:last-child {
        margin-bottom: 0;
    }

    .icongec-dowload {
        margin-right: 5px;
    }

    .favorites_book ul li span {
        padding-left: 4px;
    }

    .laps {
        display: none;
    }
}

@media only screen and (min-width: 360px) and (max-width: 479px) {
    .pagination ul li a {
        padding: 6px 10px;
        margin: 3px 2px;
    }

    .anime_name h2, .anime_name h1 {
        font-size: 13px;
    }

    .anime_name h2 span, .anime_name h1 span {
        padding: 0 8px !important;
    }

    ul#episode_related li {
        margin-left: 3%;
        width: 31.333%;
    }

    ul#episode_related li:nth-child(7n+1) {
        margin-left: 3%;
    }

    ul#episode_related li:nth-child(3n+1) {
        margin-left: 0;
    }

    .anime_info_body img {
        width: 40%;
        padding-bottom: 5px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 359px) {

    .anime_name_pagination.intro,
    .anime_name_pagination .pagination.intro {
        display: none;
    }

    ul#episode_related li {
        margin-left: 3%;
        width: 31.333%;
    }

    ul#episode_related li:nth-child(7n+1) {
        margin-left: 3%;
    }

    ul#episode_related li:nth-child(3n+1) {
        margin-left: 0;
    }

    .anime_info_body img {
        width: 35%;
        padding-bottom: 5px;
    }

    .anime_name.recent_release .chinese {
        display: none;
    }
}

@media only screen and (max-width: 319px) {

    .anime_name_pagination.intro,
    .anime_name_pagination .pagination.intro {
        display: none;
    }

    ul#episode_related li {
        margin-left: 3%;
        width: 48.5%;
    }

    ul#episode_related li:nth-child(7n+1) {
        margin-left: 3%;
    }

    ul#episode_related li:nth-child(2n+1) {
        margin-left: 0;
    }

    .anime_info_body img {
        width: 100%;
        padding-bottom: 5px;
        padding-right: 0;
    }

    .anime_name.recent_release .chinese {
        display: none;
    }
}

@media only screen and (max-width: 405px) {
    .notice-400 {
        font-size: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ---- Desktop GENRES hover dropdown (v1.0.1) ---- */
@media only screen and (min-width: 1088px) {
    nav.menu_top ul li.genre {
        position: relative;
    }
    nav.menu_top ul li.genre > ul {
        display: none;
        position: absolute;
        top: 100%;
        left: -12px;
        min-width: 360px;
        margin: 0;
        padding: 10px 12px;
        background: #141414;
        border: 1px solid #2b2b2b;
        border-top: 2px solid #ffc119;
        box-shadow: 0 10px 26px rgba(0, 0, 0, .55);
        z-index: 999;
    }
    nav.menu_top ul li.genre:hover > ul,
    nav.menu_top ul li.genre:focus-within > ul {
        display: block;
    }
    nav.menu_top ul li.genre > ul > li {
        float: left;
        width: 50%;
        margin: 0;
        padding: 0;
        background-image: none;
        list-style: none;
    }
    nav.menu_top ul li.genre > ul > li > a {
        display: block;
        width: auto;
        max-width: 100%;
        padding: 7px 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #d8d8d8;
        text-transform: uppercase;
        font-size: 13px;
    }
    nav.menu_top ul li.genre > ul > li > a:hover {
        color: #ffc119;
        border-bottom: none;
    }
}

/* ---- Compact search next to GENRES in nav row (v1.0.2, desktop only) ---- */
@media only screen and (min-width: 1088px) {
    nav.menu_top {
        width: auto;
    }
    nav.menu_top ul {
        width: auto;
    }
    section.headnav .headnav_menu .form {
        float: left;
        width: 230px;
        margin-left: 24px;
    }
    section.headnav .headnav_menu .form .row {
        margin-top: 22px;
    }
}

/* ---- Search bar like reference: wider + yellow magnifier icon (v1.0.4, desktop only) ---- */
@media only screen and (min-width: 1088px) {
    nav.menu_top ul li {
        margin: 0 14px;
    }
    section.headnav .headnav_menu .form {
        width: 290px;
        margin-left: 16px;
    }
    section.headnav .headnav_menu .form .row {
        margin-top: 20px;
        border: 1px solid #6f6f6f;
        background-color: #0d0d0d;
    }
    section.headnav .headnav_menu .form .row input[type="text"] {
        height: 32px;
        line-height: 32px;
        color: #e8e8e8;
        padding: 0 42px 0 12px;
        font-size: 14px;
    }
    section.headnav .headnav_menu .form .row input[type="text"]::placeholder {
        color: #8d8d8d;
    }
    section.headnav .headnav_menu .form .row input.btngui {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc119' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cline x1='15.5' y1='15.5' x2='21' y2='21'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 18px 18px;
        width: 42px;
        height: 32px;
        top: 0;
        right: 0;
    }
}

/* ---- Search pushed to far right of nav row (v1.0.5, desktop only) ---- */
@media only screen and (min-width: 1088px) {
    section.headnav .headnav_menu {
        width: calc(100% - 220px);
    }
    section.headnav .headnav_menu .form {
        float: right;
        margin-left: 0;
    }
}

/* v1.0.6 - Episode grid (gogoanime style: range label + EP buttons) */
.ep-range-nav{color:#ffc119;font-size:13px;font-weight:600;margin:6px 0 12px;letter-spacing:.5px}
/* v1.0.85: episode grid dims while a range loads via AJAX (no page reload) */
.ep-grid.epf-loading{opacity:.35;pointer-events:none;transition:opacity .2s ease}
ul.ep-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:6px}
ul.ep-grid li{margin:0;padding:0;min-width:0}
ul.ep-grid li a{display:flex;align-items:center;justify-content:center;gap:4px;background:#333;color:#fff;padding:7px 2px;font-size:11px;font-weight:600;border-radius:3px;text-decoration:none;transition:background .15s ease,color .15s ease;white-space:nowrap;min-width:0;max-width:110px;width:100%;margin:0 auto;box-sizing:border-box}
ul.ep-grid li a>span:first-child{font-weight:400}
ul.ep-grid li a .ep-div{color:#5f5f5f;font-weight:400}
ul.ep-grid li a .ep-sub{color:#9a9a9a;font-size:10px;font-weight:400;letter-spacing:.5px}
ul.ep-grid li a:hover,ul.ep-grid li.current a{background:#ffc119;color:#111}
ul.ep-grid li a:hover .ep-div,ul.ep-grid li.current a .ep-div{color:#111}
ul.ep-grid li a:hover .ep-sub,ul.ep-grid li.current a .ep-sub{color:#111}
/* LOCKED: episode filter bar UI (Sub&Dub / range / find) — do not restyle without user approval */
.ep-filterbar{display:flex;align-items:center;gap:10px;background:#141414;border:1px solid #222;border-radius:6px;padding:10px 14px;margin:0 0 14px;flex-wrap:wrap}
.epf-dropdown{position:relative;flex:none}
.epf-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;background:#262626;border:1px solid #3a3a3a00;color:#e8e8e8;font-size:13px;font-family:inherit;padding:9px 12px;border-radius:0px;cursor:pointer;min-width:118px;line-height:1.4}
.epf-btn:hover{border-color:#ffc119}
.epf-btn:focus-visible{outline:2px solid #ffc119;outline-offset:1px}
.epf-btn svg{flex:none;transition:transform .15s ease;color:#9a9a9a}
.epf-dropdown.open .epf-btn{border-color:#ffc119}
.epf-dropdown.open .epf-btn svg{transform:rotate(180deg);color:#ffc119}
.epf-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epf-menu{position:absolute;top:calc(100% + 6px);left:0;min-width:100%;width:max-content;max-width:220px;background:#161616;border:1px solid #3a3a3a;border-radius:5px;list-style:none;margin:0;padding:5px;display:none;z-index:60;box-shadow:0 10px 28px rgba(0,0,0,.55);max-height:230px;overflow:auto}
.epf-dropdown.open .epf-menu{display:block}
.epf-menu li{margin:0;padding:0}
.epf-menu button{display:block;width:100%;text-align:left;background:none;border:0;color:#cfcfcf;font-size:13px;font-family:inherit;padding:8px 10px;border-radius:4px;cursor:pointer;white-space:nowrap}
.epf-menu button:hover{background:#242424;color:#ffc119}
.epf-menu button.active{color:#ffc119;font-weight:600}
.epf-find{flex:none;background:#262626;border:1px solid #3a3a3a;color:#e8e8e8;font-size:13px;font-family:inherit;padding:9px 12px;border-radius:0px;width:110px;line-height:1.4}
.epf-find::placeholder{color:#7a7a7a}
.epf-find:focus{outline:none;border-color:#ffc119}
.ep-none{color:#8a8a8a;font-size:13px;padding:16px 4px;margin:0}
@media(max-width:560px){ul.ep-grid li a{font-size:11px;padding:7px 2px}}
/* v1.0.132: mobile — episode filter controls in one compact row */
@media(max-width:600px){
  .ep-filterbar{flex-wrap:nowrap;gap:6px;padding:8px}
  .epf-btn{min-width:0;font-size:11px;padding:6px 8px;gap:6px;line-height:1.3}
  .epf-find{flex:1;min-width:0;width:auto;font-size:11px;padding:6px 8px;line-height:1.3}
  .epf-menu button{font-size:12px;padding:7px 9px}
}
/* v1.0.92: locked episode buttons for Upcoming anime — visible but clearly empty, not clickable */
ul.ep-grid li>span.ep-off{display:flex;align-items:center;justify-content:center;gap:5px;background:#1d1d1d;color:#666;padding:8px 4px;font-size:12px;font-weight:600;border-radius:3px;white-space:nowrap;min-width:0;box-sizing:border-box;opacity:.6;cursor:not-allowed}
ul.ep-grid li>span.ep-off>span:first-child{font-weight:400}
ul.ep-grid li>span.ep-off .ep-div{color:#444;font-weight:400}
ul.ep-grid li>span.ep-off .ep-sub{color:#555;font-size:10px;font-weight:400;letter-spacing:.5px}
@media(max-width:560px){ul.ep-grid li>span.ep-off{font-size:11px;padding:7px 2px}}
/* v1.0.92: Coming Soon panel on the episode page of an Upcoming anime */
.ga-coming-soon{position:relative;width:100%;min-height:380px;background:#0b0b0b;border:1px solid #232323;border-radius:4px;display:flex;align-items:center;justify-content:center;text-align:center;padding:48px 24px;overflow:hidden;box-sizing:border-box}
.ga-cs-inner{position:relative;z-index:2;max-width:560px}
.ga-cs-badge{display:inline-block;background:#ffc119;color:#111;font-weight:800;font-size:13px;letter-spacing:2px;padding:8px 22px;border-radius:999px;margin-bottom:18px}
.ga-coming-soon h3{color:#fff;font-size:20px;margin:0 0 10px;line-height:1.4}
.ga-coming-soon p{color:#9a9a9a;font-size:14px;margin:0;line-height:1.6}
@media(max-width:560px){.ga-coming-soon{min-height:280px;padding:36px 18px}.ga-coming-soon h3{font-size:16px}}
/* v1.0.92: disabled Watch Now on the anime page of an Upcoming anime */
.ad-watch.ad-watch-off{opacity:.55;cursor:not-allowed}

/* v1.0.8 - Show Comments toggle button */
.show-comments-wrap{text-align:center;margin:18px 0}
.show-comments-btn{display:inline-block;background:#ffc119;color:#fff;font-weight:700;font-size:15px;padding:12px 48px;border:none;border-radius:999px;cursor:pointer;letter-spacing:.3px;transition:background .15s ease}
.show-comments-btn:hover{background:#e0a90e}
.comments-collapsible{display:none;text-align:left}
.comments-collapsible.open{display:block}

/* v1.0.9 - Anime list page (yellow bar + A-Z nav + two-column list) */
.animelist-bar{background:#ffc119;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 16px;border-radius:4px}
.animelist-bar h2{color:#111;font-size:17px;font-weight:800;margin:0;letter-spacing:.5px}
.animelist-pages{display:flex;gap:4px;align-items:center;flex-wrap:wrap}
.animelist-pages a,.animelist-pages span.page-numbers{color:#111;font-size:13px;font-weight:700;padding:4px 10px;text-decoration:none;border-radius:2px;line-height:1.4}
.animelist-pages a:hover{background:rgba(0,0,0,.12)}
.animelist-pages .current{background:#00a651!important;color:#fff!important}
.animelist-az{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:14px 2px}
.animelist-az a{color:#eee;font-size:13px;font-weight:600;padding:5px 9px;text-decoration:none;border-radius:2px}
.animelist-az a:hover{color:#ffc119}
.animelist-az a.active{color:#ffc119}
ul.animelist-cols{list-style:none;margin:0;padding:16px 2px 24px;columns:2;column-gap:48px}
ul.animelist-cols li{break-inside:avoid;margin:0 0 9px;padding:0}
ul.animelist-cols li a{color:#e6e6e6;font-size:14px;text-decoration:none}
ul.animelist-cols li a:hover{color:#ffc119}
.animelist-empty{color:#888;padding:24px 4px}
@media(max-width:640px){ul.animelist-cols{columns:1}.animelist-bar h2{font-size:15px}}

/* v1.0.11 - Anime list: filterable poster grid (theme colours: black + #ffc119) */
.al-wrap{width:100%;float:left}
.al-filters{background:#101010;border:1px solid #232323;border-radius:0;padding:14px;margin-bottom:14px}
.al-frow{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:10px}
.al-frow:last-child{margin-bottom:0}
.al-frow-btn{display:flex;align-items:center}
.al-filters input[type=text],.al-filters select{background:#1d1d1d;border:1px solid #333;color:#bbb;border-radius:0;padding:10px 12px;font-size:13px;width:100%;font-family:inherit}
.al-filters input[type=text]::placeholder{color:#777}
.al-filters input[type=text]:focus,.al-filters select:focus{border-color:#ffc119;color:#eee}
.al-filters select{appearance:none;-webkit-appearance:none;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6"><path d="M1 1l4 4 4-4" stroke="%23888" fill="none" stroke-width="1.5"/></svg>');background-repeat:no-repeat;background-position:right 12px center;padding-right:30px;cursor:pointer}
.al-filter-btn{background:#ffc119;color:#111;font-weight:800;border:0;border-radius:0;padding:10px 30px;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;font-family:inherit}
.al-filter-btn:hover{background:#ffd34d}
.al-clear{color:#888;margin-left:14px;font-size:13px}
.al-clear:hover{color:#ffc119}
.al-toolbar{display:flex;align-items:center;justify-content:space-between;margin:2px 2px 14px}
.al-count{color:#888;font-size:13px}
.al-views{display:flex;gap:6px}
.al-view{background:transparent;border:0;color:#8a8a8a;cursor:pointer;padding:6px;border-radius:0;display:flex;line-height:0}
.al-view svg{width:20px;height:20px;fill:currentColor}
.al-view:hover{color:#bbb}
.al-view.active{color:#ffc119}
.al-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:20px 14px}
.al-card a{display:block}
.al-poster{position:relative;border-radius:0;overflow:hidden;aspect-ratio:3/4;background:#181818}
.al-poster img{width:100%;height:100%;object-fit:cover;display:block}
.al-badges{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:7px;background:rgba(0,0,0,.78);padding:5px 8px;font-size:11px;font-weight:700}
.al-badge-sub{background:#ffc119;color:#111;border-radius:0;padding:2px 6px;font-size:10px}
.al-badge-eps{color:#fff}
.al-badge-type{margin-left:auto;color:#ccc;font-weight:600}
.al-title{color:#f2f2f2;font-size:13px;margin:8px 2px 0;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:35px}
.al-card a:hover .al-title{color:#ffc119}
/* v1.0.12 - Anime list: horizontal list-view cards (reference style) */
.al-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.al-lcard{display:flex;background:#141414;border:1px solid #232323;border-radius:0;overflow:hidden;min-height:152px}
.al-lcard-poster{width:112px;flex:0 0 112px;display:block;background:#1a1a1a}
.al-lcard-poster img{width:100%;height:100%;object-fit:cover;display:block}
.al-lcard-body{flex:1;padding:14px 16px;display:flex;flex-direction:column;min-width:0}
.al-lcard-title{margin:0 0 6px;font-size:15px}
.al-lcard-title a{color:#f2f2f2}
.al-lcard-title a:hover{color:#ffc119}
.al-lcard-genres{color:#8a8a8a;font-size:13px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.al-lcard-stats{display:flex;margin-top:auto;padding-top:14px}
.al-stat{flex:1;min-width:0}
.al-stat-val{display:block;color:#e8e8e8;font-size:14px;font-weight:600;margin-bottom:5px}
.al-stat-label{display:flex;align-items:center;gap:5px;color:#7d7d7d;font-size:12px}
.al-stat-label svg{width:13px;height:13px;fill:#7d7d7d;flex:0 0 13px}
.al-cc{background:#3a3a3a;color:#ddd;font-size:9px;font-weight:800;border-radius:3px;padding:2px 4px;font-style:normal;line-height:1}
@media(max-width:900px){.al-list{grid-template-columns:1fr}}
.al-pagination{display:flex;gap:6px;justify-content:center;margin:28px 0 12px;flex-wrap:wrap}
.al-pagination a,.al-pagination span.page-numbers{background:#1a1a1a;color:#ddd;padding:8px 14px;border-radius:5px;font-size:13px;font-weight:700;text-decoration:none}
.al-pagination a:hover{background:#2b2b2b;color:#ffc119}
.al-pagination .current{background:#ffc119!important;color:#111!important}
.al-empty{color:#888;padding:44px 0;text-align:center}
@media(max-width:1024px){.al-frow{grid-template-columns:repeat(3,1fr)}.al-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:640px){.al-frow{grid-template-columns:repeat(2,1fr)}.al-grid{grid-template-columns:repeat(3,1fr);gap:14px 10px}.al-title{font-size:12px;min-height:32px}}
@media(max-width:420px){.al-grid{grid-template-columns:repeat(2,1fr)}}
/* v1.0.13 - view toggle safety: hidden attribute must always win over display rules */
.al-grid[hidden],.al-list[hidden]{display:none!important}
/* v1.0.14 - listing heading (Movies etc.) */
.al-heading{color:#f2f2f2;font-size:20px;font-weight:800;margin:0 0 14px;letter-spacing:.5px}
.al-heading::after{content:"";display:block;width:52px;height:3px;background:#ffc119;margin-top:8px;border-radius:2px}

/* v1.0.15 - Footer: A-Z list + logo + links (theme colours) */
.site-footer{background:#1b1b1b;padding:26px 0 20px;margin-top:0;border-top:1px solid #2a2a2a}
.footer-az{max-width:1200px;margin:0 auto;padding:0 20px 20px}
.footer-az h2{color:#fff;font-size:26px;margin:0 0 6px}
.footer-az>p{color:#8a8a8a;font-size:13px;margin:0 0 16px}
.footer-letters{display:flex;flex-wrap:nowrap;gap:6px}
.footer-letters a{background:#333333;color:#ddd;font-size:16px;font-weight:400;padding:7px 8px;border-radius:1px;min-width:28px;text-align:center;text-decoration:none;white-space:nowrap}
.footer-letters a:hover{background:#2c2c2c;color:#ffc119}
.footer-letters a.active{background:#ffc119;color:#111}
.footer-main{max-width:1200px;margin:0 auto;padding:20px 20px 0;border-top:1px solid #1b1b1b}
.footer-toprow{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.footer-logo{display:inline-block;margin-bottom:0}
.back-to-top{display:inline-flex;align-items:center;gap:10px;background:none;border:0;cursor:pointer;padding:6px 2px;color:#8a8a8a;font-size:12px;letter-spacing:1.5px;font-weight:600;font-family:inherit}
.back-to-top .btt-circle{width:34px;height:34px;flex:0 0 34px;border:2px solid #ffc119;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;transition:background .25s ease}
.back-to-top svg{width:16px;height:16px;stroke:#ffc119;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;display:block}
.back-to-top:hover{color:#ffc119}
.back-to-top:hover .btt-circle{background:rgba(255,193,25,.12)}
.back-to-top:focus-visible{outline:2px solid #ffc119;outline-offset:3px}
.footer-logo img{height:46px;width:auto;display:block}
.footer-links{display:flex;flex-wrap:wrap;gap:10px 24px;margin-bottom:18px}
.footer-links a{color:#9a9a9a;font-size:14px;text-decoration:none}
.footer-links a:hover{color:#ffc119}
.footer-copy{color:#8a8a8a;font-size:13px;margin:0 0 8px}
.footer-disclaimer{color:#8a8a8a;font-size:12.5px;max-width:660px;line-height:1.65;margin:0}
@media(max-width:640px){.footer-az h2{font-size:22px}.footer-letters{flex-wrap:wrap;gap:6px}.footer-letters a{padding:7px 9px;min-width:30px}}

/* v1.0.16 - Footer background character art, low transparency, right side */
.site-footer>*{position:relative;z-index:1}

/* v1.0.16 - Static pages (footer links) */
.static-page{background:#111;border:1px solid #1e1e1e;border-radius:6px;padding:28px 30px;margin-bottom:24px}
.static-page-title{color:#ffc119;font-size:24px;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid #222}
.static-page-body{color:#ccc;font-size:14px;line-height:1.8}
.static-page-body p{margin:0 0 14px}
.static-page-body ul,.static-page-body ol{margin:0 0 14px 20px}
.static-page-body li{margin-bottom:6px}
.static-page-body strong{color:#fff}
.static-page-body a{color:#ffc119}

/* ===== Watch page: toolbar + server panel (v1.0.26) ===== */
.watch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#0e0e0e;border:1px solid #222;border-radius:6px;padding:8px 14px;margin:14px 0;flex-wrap:wrap}
.wt-left{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wt-right{display:flex;align-items:center;gap:8px}
.wt-btn{display:inline-flex;align-items:center;gap:7px;background:transparent;border:0;color:#bdbdbd;font-size:13px;padding:8px 12px;border-radius:5px;cursor:pointer;text-decoration:none;white-space:nowrap;font-family:inherit;line-height:1.4}
.wt-btn:hover{color:#ffc119;background:#1a1a1a}
.wt-btn.disabled{opacity:.35;pointer-events:none}
/* v1.0.110: icon-only toolbar buttons (Report, bookmark) — no text label */
.wt-btn.wt-icon-only{padding:8px 10px}
.wt-btn.wt-icon-only svg{width:16px;height:16px}
.wt-btn.wt-icon-only:hover{background:#1a1a1a}
/* bookmarked state: yellow bookmark icon */
#wt-addlist.added{color:#ffc119}
#wt-addlist.added svg{fill:#ffc119}
.wt-ico{font-size:14px;line-height:1}
.wt-switch{width:30px;height:16px;background:#3a3a3a;border-radius:10px;position:relative;transition:background .2s;flex:none}
.wt-knob{position:absolute;top:2px;left:2px;width:12px;height:12px;background:#888;border-radius:50%;transition:left .2s,background .2s}
.wt-btn.on .wt-switch{background:#ffc119}
.wt-btn.on .wt-knob{left:16px;background:#111}
#wt-autoskip.on{background:#ffc119;color:#111;font-weight:600}
#wt-autoskip.on:hover{color:#111}
#wt-expand.on,#wt-light.on{color:#ffc119;background:#1a1a1a}

/* v1.0.105 — player options that had JS but no CSS (Expand/Light/toast did nothing visible) */
/* Theater mode: full-width player, sidebar hidden */
section.content.theater-on section.content_left{width:100%;float:none}
section.content.theater-on section.content_right{display:none}
section.content.theater-on #watch-player-wrap{height:560px}
/* Lights-off mode */
#lights-off-overlay{position:fixed;inset:0;background:rgba(0,0,0,.93);opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s;z-index:9990}
#lights-off-overlay.show{opacity:1;visibility:visible}
#watch-player-wrap.lights-on-player{position:relative;z-index:9991}
/* Toast feedback */
.watch-toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(16px);background:#16181f;color:#ffc119;border:1px solid rgba(255,193,25,.5);padding:10px 20px;border-radius:8px;font-size:13px;font-weight:600;opacity:0;visibility:hidden;transition:opacity .25s ease,transform .25s ease,visibility .25s;z-index:10000;pointer-events:none;max-width:90vw;text-align:center}
.watch-toast.show{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
#wt-light.on{color:#ffc119}
#wt-expand.on{color:#ffc119}
#wt-addlist.added{color:#ffc119}
/* ===== Watch Servers Panel (2-Row Clean Stack: SUB top, DUB bottom) ===== */
.watch-servers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #14161d;
    border: 1px solid #232734;
    border-radius: 0;
    padding: 14px 18px;
    margin: 0 0 14px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}
.ws-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1f2330;
    flex-wrap: wrap;
}
.ws-watch {
    margin: 0;
    color: #cbd5e1;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.ws-watching-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
    animation: ws-pulse 2s infinite ease-in-out;
}
@keyframes ws-pulse {
    0%, 100% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}
.ws-watch strong {
    color: #ffc119;
    font-weight: 700;
}
.ws-hint-inline {
    font-size: 11.5px;
    color: #64748b;
}
.ws-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.ws-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 2px 0;
    box-sizing: border-box;
}
.ws-row-dub {
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
.ws-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 82px;
    flex: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.ws-label-sub {
    color: #ffc119;
    font-weight: 800;
}
.ws-label-dub {
    color: #ffc119;
    font-weight: 800;
}
.ws-cc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 18px;
    padding: 0 4px;
    background: rgba(255, 193, 25, 0.15);
    border: 1px solid #ffc119;
    border-radius: 0;
    font-size: 10px;
    color: #ffc119;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.ws-mic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 18px;
    background: rgba(255, 193, 25, 0.15);
    border: 1px solid #ffc119;
    border-radius: 0;
    color: #ffc119;
}
/* v1.0.109: server buttons like the compact reference — small inline pills
   (not the big 2-col grid), dark grey with circle-play icon, active = theme yellow. */
.ws-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    flex: 1;
}
.ws-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #26262c;
    border: 1px solid #34343c;
    color: #d5d5d8;
    font-size: 12.5px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.3;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
    user-select: none;
    width: auto;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
}
.ws-pill:hover {
    background: #2e2e35;
    border-color: #ffc119;
    color: #ffc119;
}
.ws-pill.active {
    background: linear-gradient(135deg, #ffc119 0%, #e5a805 100%);
    border-color: #ffc119;
    color: #141414;
    font-weight: 700;
    box-shadow: none;
}
.ws-pill.active:hover {
    color: #141414;
    background: linear-gradient(135deg, #ffd043 0%, #ffc119 100%);
}
.ws-play {
    flex: none;
    display: inline-flex;
    width: 14px;
    height: 14px;
    opacity: 0.75;
}
.ws-pill.active .ws-play {
    opacity: 1;
}

@media (max-width: 768px) {
    .watch-servers {
        padding: 12px 14px;
        gap: 10px;
    }
    .ws-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding-bottom: 8px;
    }
    .ws-hint-inline {
        font-size: 11px;
    }
    .ws-rows {
        gap: 12px;
    }
    .ws-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .ws-label {
        min-width: 0;
        font-size: 11px;
    }
    .ws-pills {
        gap: 6px;
    }
    .ws-pill {
        padding: 5px 10px;
        font-size: 10.5px;
        gap: 5px;
    }
    .ws-play {
        width: 11px;
        height: 11px;
    }
}

/* ===== Watch toolbar flush under player (v1.0.27) ===== */
.anime_video_body_watch{margin:15px 0 0!important}
#watch-player-wrap{border-radius:4px 4px 0 0!important}
.watch-toolbar{margin:0 0 14px;border-radius:0 0 6px 6px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.watch-toolbar::-webkit-scrollbar{display:none}
.wt-left{flex-wrap:nowrap;flex:none}
.wt-right{flex:none;margin-left:auto}
.wt-btn{flex:none}

/* ===== Compact watch toolbar: fit one row in 728px (v1.0.28) ===== */
.watch-toolbar{padding:5px 8px;gap:4px}
.wt-left{gap:0}
.wt-btn{font-size:12px;padding:7px 6px;gap:5px}
.wt-ico{font-size:12px}
.wt-switch{width:26px;height:14px}
.wt-knob{width:10px;height:10px}
.wt-btn.on .wt-knob{left:14px}

/* ===== Cinematic player skin (v1.0.30) ===== */
.player-skin{position:absolute;inset:0;z-index:5;cursor:pointer;overflow:hidden;background:#000;transition:opacity .45s ease}
.player-skin.hide{opacity:0;pointer-events:none}
.pskin-bg{position:absolute;inset:0;background-size:cover;background-position:center}
}
.pskin-shade{position:absolute;inset:0;background:radial-gradient(ellipse at center,rgba(0,0,0,.12) 0%,rgba(0,0,0,.58) 100%),linear-gradient(180deg,rgba(0,0,0,.28) 0%,rgba(0,0,0,0) 42%,rgba(0,0,0,.5) 100%)}
.pskin-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:86px;height:86px;border-radius:50%;background:#ffc119;border:4px solid rgba(255,255,255,.95);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;box-shadow:0 6px 24px rgba(0,0,0,.5);transition:transform .25s ease,background-color .25s ease}
.pskin-play svg{width:36px;height:36px;fill:#fff;margin-left:5px}
.pskin-play:hover{background-color:#ffd24d;transform:translate(-50%,-50%) scale(1.07)}
}


/* ===== Mobile: toolbar icons only, no text (v1.0.33) ===== */
@media(max-width:640px){
  .wt-btn span:not(.wt-ico):not(.wt-switch):not(.wt-knob){display:none}
  .wt-btn{padding:9px 10px}
  .wt-ico{font-size:16px}
  .watch-toolbar .wt-btn svg{width:16px;height:16px}
}

/* ===== Mobile: player 16:9, not fixed 480px (v1.0.34) ===== */
@media(max-width:640px){
  #watch-player-wrap{height:auto!important;aspect-ratio:16/9;min-height:0}
}

/* ===== Anime detail page — cinematic layout (v1.0.35) ===== */
.ad-page{background:#0d0d0d;color:#e8e8e8;float:left;width:100%}
.ad-hero{position:relative;overflow:hidden;background:#0d0d0d;float:left;width:100%;box-shadow:inset 0 -160px 140px -40px #0d0d0d,inset 0 -40px 80px -30px rgba(13,13,13,.7)}
@media only screen and (min-width:1088px){.ad-hero{width:calc(100% + 40px);margin-left:-20px;margin-right:-20px}}
.ad-backdrop{position:absolute;left:-40px;top:-40px;right:-40px;bottom:-40px;background-size:cover;background-position:center top;filter:blur(45px) brightness(.62) saturate(1.25);opacity:.85;pointer-events:none}
.ad-hero-inner{position:relative;max-width:1400px;margin:0 auto;padding:30px 28px;display:grid;grid-template-columns:300px 1fr;gap:30px;align-items:start}
/* v1.0.106: CLS fix — reserved 3/4 box so the poster never pushes content down */
.ad-poster{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:8px;background:#1a1a1a;box-shadow:0 8px 30px rgba(0,0,0,.6)}
.ad-poster img{width:100%;height:100%;object-fit:cover;display:block;border-radius:8px}
.ad-infobox{margin-top:18px;border:1px solid #2b2b2b;border-radius:8px;background:rgba(20,20,20,.85);overflow:hidden}
.ad-inforow{display:flex;flex-direction:column;gap:4px;padding:12px 16px}
.ad-inforow+.ad-inforow{border-top:1px solid #262626}
.ad-inforow span{font-size:12px;color:#8a8a8a}
.ad-inforow strong{font-size:15px;font-weight:600;color:#fff}
.ad-title{font-size:34px;font-weight:700;color:#fff;margin:0 0 6px;line-height:1.2}
.ad-alt{font-size:18px;font-style:italic;color:#ffc119;margin-bottom:14px}
.ad-synopsis{font-size:15px;line-height:1.75;color:#c6c6c6;margin-bottom:18px;max-width:1000px}
.ad-synopsis,.ad-collapsible{max-height:5.25em;overflow:hidden;position:relative;transition:max-height .35s ease}
.ad-synopsis.expanded,.ad-collapsible.expanded{max-height:2000px}
.ad-synopsis:not(.expanded)::after,.ad-collapsible:not(.expanded)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2.4em;background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.65));pointer-events:none}
.ad-synopsis-toggle{background:none;border:none;cursor:pointer;color:#ffc119;font-size:14px;font-weight:600;padding:0;margin:-8px 0 18px}
.ad-synopsis-toggle:hover{text-decoration:underline}
.ad-synopsis-toggle[hidden]{display:none}
#adOverview{position:relative}
#adOverview.capped .ad-cut{display:none}
#adOverview.capped::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2.4em;background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.65));pointer-events:none}
/* v1.0.115: live search dropdown — theme colors, lightweight */
.ga-ls-drop{position:absolute;top:100%;left:-1px;right:-1px;z-index:999;background:#141414;border:1px solid #2c2c2c;border-top:none;max-height:384px;overflow-y:auto;box-shadow:0 12px 28px rgba(0,0,0,.55);text-align:left}
.ga-ls-drop[hidden]{display:none}
.ga-ls-item{display:flex;align-items:center;gap:10px;padding:8px 10px;text-decoration:none;color:#e8e8e8}
.ga-ls-item:hover{background:#1f1f1f}
.ga-ls-item img{width:36px;height:50px;object-fit:cover;border-radius:4px;background:#0a0a0a;flex:none}
.ga-ls-noposter{width:36px;height:50px;border-radius:4px;background:#0a0a0a;flex:none}
.ga-ls-title{font-size:14px;line-height:1.35;color:#e8e8e8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ga-ls-empty{padding:12px;font-size:13px;color:#8a8a8a}
.ga-ls-all{display:block;text-align:center;padding:9px;font-size:13px;font-weight:600;color:#ffc119;text-decoration:none;border-top:1px solid #2c2c2c}
.ga-ls-all:hover{background:#1f1f1f}
/* v1.0.117: dedicated schedule page — theme colors (dark + #ffc119) */
.gsp-wrap{margin:0 0 24px}
.gsp-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 12px}
.gsp-tab{flex:1;min-width:86px;background:#1d1d1d;border:1px solid #2c2c2c;border-radius:10px;color:#c6c6c6;padding:10px 6px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px}
.gsp-tab:hover{border-color:#ffc119}
.gsp-tab.active{background:#ffc119;border-color:#ffc119;color:#141414}
.gsp-wday{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.gsp-mday{font-size:13px}
.gsp-today{font-size:10px;font-weight:700;background:#141414;color:#ffc119;border-radius:999px;padding:2px 8px;margin-top:4px}
.gsp-day{display:none}
.gsp-day.active{display:block}
.gsp-timeline{position:relative;padding-left:26px}
.gsp-timeline::before{content:"";position:absolute;left:8px;top:6px;bottom:6px;width:2px;background:#2c2c2c}
.gsp-item{position:relative;display:flex;align-items:center;gap:12px;padding:9px 0}
.gsp-item.is-aired{opacity:.55}
.gsp-dot{position:absolute;left:-24px;top:50%;transform:translateY(-50%);width:12px;height:12px;border-radius:50%;background:#3a3a3a;border:2px solid #141414}
.gsp-dot.is-next{background:#ffc119;box-shadow:0 0 0 4px rgba(255,193,25,.18)}
.gsp-time{flex:none;width:76px;font-size:13px;font-weight:700;color:#ffc119}
.gsp-card{flex:1;display:flex;align-items:center;gap:12px;background:#1d1d1d;border:1px solid #2c2c2c;border-radius:10px;padding:8px 12px 8px 8px;text-decoration:none;min-width:0}
.gsp-card:hover{border-color:#ffc119}
.gsp-card img{width:44px;height:62px;object-fit:cover;border-radius:6px;background:#0a0a0a;flex:none}
.gsp-cinfo{display:flex;flex-direction:column;gap:3px;min-width:0}
.gsp-ctitle{font-size:14px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gsp-cmeta{font-size:12px;color:#8a8a8a}
.gsp-next{margin-left:auto;flex:none;font-size:11px;font-weight:700;color:#141414;background:#ffc119;border-radius:999px;padding:4px 10px}
.gsp-empty{padding:26px;text-align:center;color:#8a8a8a;font-size:14px}
@media(max-width:640px){.gsp-time{width:64px;font-size:12px}.gsp-card img{width:36px;height:50px}}
.ad-genres{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.ad-genres a{background:#1d1d1d;color:#ffc119;font-size:13px;font-weight:500;padding:7px 16px;border-radius:999px;text-decoration:none;border:1px solid #2c2c2c}
.ad-genres a:hover{background:#ffc119;color:#141414;border-color:#ffc119}
.ad-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;margin-bottom:20px}
.ad-watch{display:inline-flex;align-items:center;gap:8px;background:#ffc119;color:#141414;font-weight:700;font-size:15px;padding:12px 24px;border-radius:8px;text-decoration:none;border:none;cursor:pointer}
.ad-watch:hover{background:#ffd24d;color:#141414}
.ad-listgroup{position:relative;display:flex}
.ad-list{display:inline-flex;align-items:center;gap:8px;background:#191919;color:#e8e8e8;font-size:14px;font-weight:600;padding:12px 16px;border:1px solid #383838;border-right:none;border-radius:8px 0 0 8px;cursor:pointer}
.ad-list:hover{border-color:#ffc119;color:#ffc119}
.ad-list.in-list{border-color:#ffc119;color:#ffc119}
.ad-bell{display:inline-flex;align-items:center;justify-content:center;background:#191919;color:#e8e8e8;padding:12px 14px;border:1px solid #383838;border-radius:0 8px 8px 0;cursor:pointer}
.ad-bell:hover{color:#ffc119;border-color:#ffc119}
.ad-bell.on{color:#ffc119;border-color:#ffc119;background:#241d08}
.ad-list-menu,.ad-share-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:200px;background:#161616;border:1px solid #333;border-radius:8px;overflow:hidden;display:none;z-index:50;box-shadow:0 12px 32px rgba(0,0,0,.6)}
.ad-list-menu.open,.ad-share-menu.open{display:block}
.ad-list-menu button,.ad-share-menu button,.ad-share-menu a{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:none;border:none;color:#ddd;font-size:14px;padding:11px 16px;cursor:pointer;text-decoration:none}
.ad-list-menu button:hover,.ad-share-menu button:hover,.ad-share-menu a:hover{background:#222;color:#ffc119}
.ad-list-menu .ad-list-remove{color:#e06565;border-top:1px solid #2a2a2a}
.ad-sharewrap{position:relative;display:flex}
.ad-share{display:inline-flex;align-items:center;gap:8px;background:#191919;color:#e8e8e8;font-size:14px;font-weight:600;padding:12px 18px;border:1px solid #383838;border-radius:8px;cursor:pointer}
.ad-share:hover{border-color:#ffc119;color:#ffc119}
.ad-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:6px}
.ad-chip{font-size:13px;color:#cfcfcf;border:1px solid #383838;border-radius:6px;padding:6px 13px;background:rgba(25,25,25,.7)}
.ad-tabs{margin-top:22px;border:1px solid #2b2b2b;border-radius:10px;background:rgba(17,17,17,.72);overflow:hidden}
.ad-tabnav{display:flex;border-bottom:1px solid #2b2b2b}
.ad-tab{flex:1;background:none;border:none;color:#8f8f8f;font-size:15px;font-weight:600;padding:14px 10px;cursor:pointer;box-shadow:inset 0 -2px 0 transparent}
.ad-tab:hover{color:#ccc}
.ad-tab.active{color:#ffc119;box-shadow:inset 0 -2px 0 #ffc119}
.ad-panel{display:none;padding:24px 22px}
.ad-panel.active{display:block}
.ad-panel h3{color:#fff;font-size:18px;font-weight:700;margin:0 0 12px}
.ad-panel h3:not(:first-child){margin-top:26px}
.ad-altchips{display:flex;flex-wrap:wrap;gap:10px}
.ad-altchips span{background:#1a1a1a;border:1px solid #2c2c2c;color:#cfcfcf;font-size:14px;padding:8px 16px;border-radius:6px}
.ad-info-grid{max-width:640px}
.ad-info-row{display:flex;justify-content:space-between;gap:16px;padding:11px 2px;border-bottom:1px solid #232323;font-size:14px}
.ad-info-row span{color:#8a8a8a}
.ad-info-row strong{color:#eee;font-weight:600;text-align:right}
.ad-cast-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:18px}
.ad-cast-card{text-align:center}
.ad-cast-name{font-size:13px;color:#ddd;line-height:1.4}

/* ===== Rich Cast & Voice Actors Grid (AniList / HiAnime Style) ===== */
.ad-cast-grid-rich {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 14px;
    margin-top: 10px;
}
.ad-cast-dual-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #14161f;
    border: 1px solid #232836;
    border-radius: 8px;
    padding: 8px 10px;
    transition: all 0.2s ease;
    overflow: hidden;
}
.ad-cast-dual-card:hover {
    border-color: #ffc119;
    background: #191c28;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.ad-char-side,
.ad-va-side {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.ad-va-side {
    justify-content: flex-end;
    text-align: right;
    border-left: 1px dashed rgba(255, 255, 255, 0.08);
    padding-left: 10px;
    margin-left: 8px;
}
.ad-char-thumb,
.ad-va-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    flex: none;
    background: #0d0f14;
    border: 1px solid #282f42;
}
.ad-char-thumb img,
.ad-va-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ad-char-placeholder,
.ad-va-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffc119;
    font-weight: 700;
    font-size: 18px;
    background: #1e222d;
}
.ad-char-info,
.ad-va-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.ad-char-name,
.ad-va-name {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.ad-char-role {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}
.ad-char-role.main {
    color: #ffc119;
}
.ad-char-role.supporting {
    color: #94a3b8;
}
.ad-va-lang {
    font-size: 10.5px;
    color: #64748b;
    margin-top: 3px;
    text-transform: uppercase;
}
@media (max-width: 640px) {
    .ad-cast-grid-rich {
        grid-template-columns: 1fr;
    }
}
.ad-rec-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:18px}
.ad-rec-card{text-decoration:none}
.ad-rec-poster{position:relative;border-radius:8px;overflow:hidden;aspect-ratio:3/4;background:#1a1a1a}
.ad-rec-poster img{width:100%;height:100%;object-fit:cover;display:block}
.ad-rec-card:hover .ad-rec-poster img{transform:scale(1.05)}
.ad-rec-poster img{transition:transform .3s ease}
.ad-rec-eps{position:absolute;left:8px;bottom:8px;background:rgba(0,0,0,.75);color:#ffc119;font-size:11px;font-weight:700;padding:3px 9px;border-radius:4px}
.ad-rec-title{font-size:13px;color:#ddd;margin-top:8px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ad-rec-card:hover .ad-rec-title{color:#ffc119}
.ad-empty{color:#8a8a8a;font-size:14px;padding:12px 0}
.ad-eps{background:#0d0d0d;border-top:1px solid #1e1e1e;float:left;width:100%}
.ad-eps-inner{max-width:1400px;margin:0 auto;padding:26px 28px}
.ad-sec-title{color:#fff;font-size:20px;font-weight:700;margin:0 0 14px;padding-left:12px;border-left:4px solid #ffc119}
.ad-comments{background:#0d0d0d;float:left;width:100%}
.ad-toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(20px);background:#161616;color:#ffc119;border:1px solid #ffc119;font-size:14px;font-weight:600;padding:11px 22px;border-radius:8px;opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease;z-index:9999}
.ad-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:900px){
  .ad-hero-inner{grid-template-columns:1fr;padding:22px 18px}
  .ad-poster{max-width:230px}
  .ad-title{font-size:26px}
  .ad-eps-inner{padding:20px 18px}
}

/* ============ UI LOCK: homepage hero slider (v1.0.50) - DO NOT RESTYLE WITHOUT APPROVAL ============
   v1.0.137: user-approved change — image now sits ABOVE the title bar (flex column),
   centered (object-position:center), fully visible instead of hidden behind the bar. */
.ga-slider{position:relative;overflow:hidden;background:#0d0d0d;margin:0 0 18px}
.ga-slides{position:relative;height:360px}
.ga-slide{position:absolute;inset:0;opacity:0;z-index:1;pointer-events:none;transition:opacity .8s ease;display:flex;flex-direction:column}
.ga-slide.active{opacity:1;z-index:2;pointer-events:auto}
.ga-slide-link{display:block;flex:1;min-height:0;position:relative}
img.ga-bg{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;-webkit-user-drag:none;user-select:none}
.ga-slide-link::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.28) 0%,rgba(0,0,0,0) 40%,rgba(0,0,0,0) 70%,rgba(0,0,0,.35) 100%);pointer-events:none}
.ga-slide-bar{position:static;z-index:2;background:#ffc119;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 20px;flex:none}
.ga-slide-title{color:#141414;font-size:20px;font-weight:700;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ga-watchnow{flex:none;background:#fff;color:#141414;font-weight:600;font-size:15px;padding:10px 34px;border-radius:999px;text-decoration:none;transition:background .2s,color .2s}
.ga-watchnow:hover{background:#141414;color:#ffc119}
.ga-dots{position:absolute;top:14px;right:16px;z-index:5;display:flex;gap:8px}
.ga-dot{width:24px;height:24px;border-radius:50%;border:0;padding:0;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s}
.ga-dot::before{content:"";width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.55);transition:background .2s,transform .2s}
.ga-dot:hover::before{background:#fff}
.ga-dot.active::before{background:#ffc119;transform:scale(1.15)}
.ga-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:36px;height:76px;border:0;border-radius:10px;background:rgba(255,255,255,.88);color:#141414;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .25s ease,background .2s ease}
.ga-slider:hover .ga-arrow{opacity:1;pointer-events:auto}
.ga-arrow:hover{background:#ffc119}
.ga-prev{left:12px}
.ga-next{right:12px}
@media(max-width:640px){.ga-slides{height:200px}.ga-slide-bar{padding:10px 14px}.ga-slide-title{font-size:15px}.ga-watchnow{padding:8px 22px;font-size:13px}.ga-dots{top:10px;right:12px}.ga-arrow{width:30px;height:60px}.ga-prev{left:8px}.ga-next{right:8px}}

/* ============ UI LOCK: poster hover tooltip (v1.0.51) - DO NOT RESTYLE WITHOUT APPROVAL ============ */
.ga-tip{position:fixed;left:0;top:0;width:360px;max-width:calc(100vw - 16px);background:#181818;border-radius:8px;box-shadow:0 14px 44px rgba(0,0,0,.65);padding:18px 18px 16px;z-index:9999;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .18s ease,transform .18s ease,visibility .18s}
.ga-tip.show{opacity:1;visibility:visible;transform:none}
.ga-tip-title{color:#fff;font-size:19px;font-weight:700;line-height:1.35;padding-right:32px;margin:0 0 8px}
.ga-tip-add{position:absolute;top:12px;right:12px;width:28px;height:28px;border-radius:50%;border:1px solid #ffc119;background:transparent;color:#ffc119;font-size:18px;line-height:1;cursor:pointer;padding:0;transition:background .2s,color .2s}
.ga-tip-add:hover{background:#ffc119;color:#141414}
.ga-tip-add.added{background:#ffc119;color:#141414}
.ga-tip-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:#cfcfcf;font-size:13px}
.ga-tip-badges{display:flex;gap:6px}
.tb-sub{background:#e8e8e8;color:#333;font-size:11px;font-weight:700;padding:2px 8px;border-radius:3px;font-style:normal}
.tb-type{background:#3fae5a;color:#fff;font-size:11px;font-weight:700;padding:2px 8px;border-radius:3px;font-style:normal}
.ga-tip-syn{color:#bdbdbd;font-size:13px;line-height:1.55;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.ga-tip-row{font-size:12.5px;color:#9a9a9a;margin-bottom:5px;line-height:1.5}
.ga-tip-row>span{color:#767676}
.ga-tip-row a{color:#ffc119;text-decoration:none}
.ga-tip-row a:hover{text-decoration:underline}
.ga-tip-watch{display:block;margin-top:12px;background:#ffc119;color:#141414;text-align:center;font-weight:800;font-size:14px;letter-spacing:.5px;padding:11px 10px;border-radius:6px;text-decoration:none;transition:background .2s}
.ga-tip-watch:hover{background:#ffd24d}
.ga-toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(12px);background:#ffc119;color:#141414;font-weight:700;font-size:14px;padding:11px 22px;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.5);z-index:10001;opacity:0;visibility:hidden;transition:opacity .25s,transform .25s,visibility .25s;pointer-events:none}
.ga-toast.show{opacity:1;visibility:visible;transform:translateX(-50%)}
/* circular play overlay on hovered poster card */
@media(hover:hover){
.has-tip .img a,.has-tip .al-poster,.has-tip .al-lcard-poster{position:relative;display:block}
/* v1.0.63: hover play-circle overlay removed per user request — no more black blob on posters */
}
/* v1.0.103: fail-safe image reveal. Images are VISIBLE by default — JS hides an
   image (adds .ga-fx) only when it is alive to fade it back in on
   decode/load/error/timeout. A JS error anywhere else can never leave posters
   or the hero black again. The fade still hides half-painted images mid-load. */
.last_episodes .img img,.al-poster img,.al-lcard-poster img{opacity:1}
.last_episodes .img img.ga-fx,.al-poster img.ga-fx,.al-lcard-poster img.ga-fx{opacity:0;transition:opacity .35s ease}
.last_episodes .img img.ga-fx.ga-img-in,.al-poster img.ga-fx.ga-img-in,.al-lcard-poster img.ga-fx.ga-img-in{opacity:1}
/* v1.0.106: hero (img.ga-bg) excluded from fade — LCP element paints immediately */
img.ga-bg{opacity:1}
@media (prefers-reduced-motion:reduce){.last_episodes .img img,.al-poster img,.al-lcard-poster img,img.ga-bg{transition:none}}

/* Homepage: Recently Added Anime Series view-more link (v1.0.52) */
.ga-viewmore{text-align:right;padding:6px 4px 2px}
.ga-viewmore a{color:#ffc119;font-size:13px;font-weight:600;text-decoration:none}
.ga-viewmore a:hover{text-decoration:underline}

/* ============ UI LOCK: estimated schedule widget (v1.0.53) - DO NOT RESTYLE WITHOUT APPROVAL ============ */
/* v1.0.80: header bar restyled per user approval -> MOVIES-style yellow bar (mascot + Naruto artwork) */
.ga-sched{background:#101012;border-radius:8px;padding:0 0 10px;margin:0 0 18px;overflow:hidden}
.anime_name.ga-sched-bar{background-position:right -94px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:8px 8px 0 0;padding-top:9px;padding-bottom:9px}
.anime_name_img_ga_sched{background-image:url(../img/bg/sched_ninja.png);background-repeat:no-repeat;background-position:center bottom;background-size:contain;height:70px;width:40px;position:absolute;left:6px;bottom:0;z-index:2}
.ga-sched-bartitle{flex:1;display:flex;align-items:baseline;gap:10px;min-width:0}
.anime_name.ga-sched-bar h2{flex:none}
.ga-sched-bar .gs-nowwrap{color:#4a4a4a;font-size:12px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ga-sched-bar .gs-now{color:#4a4a4a}
.ga-sched-bar .gs-tabs{flex:none;display:flex;gap:4px;align-items:center}
.ga-sched-bar .gs-tab{border:0;background:transparent;color:#252525;font-size:13px;font-weight:700;letter-spacing:.5px;padding:6px 14px;border-radius:5px;cursor:pointer;transition:background .2s,color .2s}
.ga-sched-bar .gs-tab.active{background:#141414;color:#ffc119}
.ga-sched-bar .gs-tab:not(.active):hover{color:#000}
.gs-head{padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.gs-head h2{color:#fff;font-size:22px;font-weight:700;margin:0}
.gs-nowwrap{color:#8a8a8a;font-size:15px;font-weight:400}
.gs-now{color:#8a8a8a}
.gs-tabs{display:flex;gap:4px;align-items:center}
.gs-tab{border:0;background:transparent;color:#8a8a8a;font-size:14px;font-weight:700;letter-spacing:.5px;padding:7px 16px;border-radius:5px;cursor:pointer;transition:background .2s,color .2s}
.gs-tab.active{background:#ffc119;color:#141414}
.gs-tab:not(.active):hover{color:#fff}
.gs-daybar{display:flex;align-items:center;gap:6px;padding:16px 10px 6px}
.gs-nav{flex:none;width:34px;height:60px;border:0;background:transparent;color:#cfcfcf;font-size:34px;line-height:1;cursor:pointer;border-radius:6px;transition:color .2s,background .2s}
.gs-nav:hover{color:#ffc119;background:rgba(255,255,255,.05)}
.gs-days{flex:1;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.gs-days::-webkit-scrollbar{display:none}
.gs-day{flex:1 0 64px;border:0;background:transparent;cursor:pointer;padding:8px 4px 10px;display:flex;flex-direction:column;align-items:center;gap:2px;position:relative;transition:background .2s}
.gs-day:hover{background:rgba(255,255,255,.04)}
.gs-date{color:#8a8a8a;font-size:12px;letter-spacing:.5px}
.gs-wday{color:#5a5a5a;font-size:24px;font-weight:800;letter-spacing:1px}
.gs-day.active .gs-date{color:#9a9a9a}
.gs-day.active .gs-wday{color:#fff}
.gs-day.active::after{content:"";position:absolute;left:18%;right:18%;bottom:2px;height:3px;background:#ffc119;border-radius:2px}
.gs-body{padding:8px 0 6px;transition:opacity .18s ease}
.gs-row{display:flex;align-items:center;gap:16px;padding:13px 22px;border-top:1px solid rgba(255,255,255,.05)}
.gs-row:first-child{border-top:0}
.gs-time{flex:none;width:88px;color:#9a9a9a;font-size:15px;font-weight:700}
.gs-title{flex:1;color:#cfcfcf;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gs-ep{flex:none;background:#232326;color:#d5d5d5;font-size:13px;padding:8px 18px;border-radius:999px;text-decoration:none;display:inline-flex;align-items:center;gap:8px;transition:background .2s,color .2s;white-space:nowrap}
.gs-ep:hover{background:#ffc119;color:#141414}
.gs-play{font-size:10px}
.gs-loading,.gs-empty{padding:26px 22px;color:#8a8a8a;font-size:14px;text-align:center}
.gs-retry{background:#ffc119;color:#141414;border:0;border-radius:5px;font-weight:700;padding:6px 14px;cursor:pointer;margin-left:6px}
@media(max-width:640px){.ga-sched-bar .gs-nowwrap{display:none}.ga-sched-bar{gap:8px}.ga-sched-bar .gs-tab{padding:5px 10px;font-size:12px}.gs-row{padding:11px 14px;gap:10px}.gs-time{width:72px;font-size:13px}.gs-title{font-size:13px}.gs-ep{font-size:12px;padding:7px 13px}}
.gs-more{text-align:center;padding:14px 0 10px}
.gs-morebtn{background:transparent;border:1px solid #ffc119;color:#ffc119;font-size:13px;font-weight:700;padding:9px 26px;border-radius:999px;cursor:pointer;transition:background .2s,color .2s}
.gs-morebtn:hover{background:#ffc119;color:#141414}

/* ============ UI LOCK: Top Anime widget (v1.0.55) - DO NOT RESTYLE WITHOUT APPROVAL ============ */
/* Matches reference: no transitions in this widget - hover changes are instant, tabs swap instantly */
.ga-topanime{background:#1c1c1c;border-radius:6px;padding:15px 15px 5px;color:#ababab}
.gta-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}
.gta-head h2{color:#fff;font-size:20px;line-height:32px;font-weight:500;margin:0}
.gta-tabs{list-style:none;margin:0;padding:0;display:flex;gap:2px}
.gta-tabs li{margin:0;padding:0}
.gta-tab{font-size:14px;font-weight:500;line-height:32px;padding:0 5px;color:#525252;text-decoration:none;background:transparent;border:0}
.gta-tab:hover{color:#787878}
.gta-tab.active{color:#fff}
.gta-pane{display:none}
.gta-pane.active{display:block}
.gta-list{list-style:none;margin:0;padding:0}
/* #1 banner row */
.gta-first{margin:-5px -15px 20px;position:relative}
.gta-first a{position:relative;display:block;padding:100px 15px 0 65px;text-decoration:none;overflow:hidden}
.gta-banner{position:absolute;inset:0;background-size:cover;background-position:center 20%;z-index:0}
.gta-first a::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to bottom,transparent 20%,#000 100%)}
.gta-first .gta-num{position:absolute;left:15px;bottom:10px;z-index:2;width:40px;height:40px;border-radius:5px;background:#f8f8f8;border:1px solid #f8f8f8;display:flex;align-items:center;justify-content:center}
.gta-first .gta-num span{font-size:24px;font-weight:700;color:#212121;line-height:1}
.gta-first .gta-detail{position:relative;z-index:2;display:block;padding:10px 0;color:#ababab}
.gta-first .gta-name{display:block;font-size:14px;color:#fff;line-height:1.4em;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gta-first .gta-views{display:flex;align-items:center;gap:6px;font-size:13px;color:#ababab}
/* #2+ rows */
.gta-row{position:relative;margin:0 0 20px;min-height:60px}
.gta-row a{display:block;position:relative;padding-left:110px;min-height:60px;text-decoration:none;color:#525252}
.gta-row .gta-num{position:absolute;left:0;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:5px;border:1px solid #666;background:transparent;display:flex;align-items:center;justify-content:center}
.gta-row .gta-num span{font-size:24px;font-weight:300;color:#666;line-height:38px}
.gta-row:hover .gta-num span{color:#fff}
.gta-thumb{position:absolute;left:50px;top:0;width:46px;height:60px;border-radius:3px;overflow:hidden;display:block}
.gta-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.gta-row .gta-detail{position:relative;z-index:2;display:block;min-height:60px}
.gta-row .gta-name{display:block;font-size:14px;line-height:1.4em;font-weight:400;color:#ababab;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gta-row .gta-name:hover{color:#fff}
.gta-row .gta-views{display:flex;align-items:center;gap:6px;font-size:13px;color:#525252;white-space:nowrap;overflow:hidden}
.gta-views svg{flex:none}

/* ============================================================
   v1.0.93 — ONGOING SERIES ranked widget
   aniwaves-style ranked list, GogoAnime dark + yellow colors.
   ============================================================ */
.ga-toprank{padding:10px 12px;}
.ga-tr-item{display:block;margin-bottom:10px;text-decoration:none;}
.ga-tr-item:last-child{margin-bottom:2px;}
.ga-tr-inner{display:flex;align-items:center;background:#141414;border-radius:5px;overflow:hidden;transition:background .2s ease;padding:6px 10px 6px 0;}
.ga-tr-item:hover .ga-tr-inner{background:#202020;}
.ga-tr-item.rank1 .ga-tr-inner{border-right:2px solid #ffc119;}
.ga-tr-item.rank2 .ga-tr-inner{border-right:2px solid #e6e6e6;}
.ga-tr-item.rank3 .ga-tr-inner{border-right:2px solid #a8842c;}
.ga-tr-rank{width:42px;flex-shrink:0;text-align:center;font-size:32px;font-weight:900;line-height:1;color:transparent;-webkit-text-stroke:1.5px #5a5a5a;transition:transform .2s ease;user-select:none;}
.ga-tr-item.rank1 .ga-tr-rank{-webkit-text-stroke-color:#ffc119;}
.ga-tr-item.rank2 .ga-tr-rank{-webkit-text-stroke-color:#e6e6e6;}
.ga-tr-item.rank3 .ga-tr-rank{-webkit-text-stroke-color:#c79a35;}
.ga-tr-item:hover .ga-tr-rank{transform:scale(1.1);}
.ga-tr-poster{width:50px;flex-shrink:0;}
.ga-tr-poster img{width:50px;height:68px;object-fit:cover;border-radius:3px;display:block;background:#0a0a0a;}
.ga-tr-info{flex:1;min-width:0;padding-left:12px;}
.ga-tr-name{display:block;color:#dcdcdc;font-weight:600;font-size:14px;line-height:1.4;margin-bottom:7px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;transition:color .2s ease;}
.ga-tr-item:hover .ga-tr-name{color:#ffc119;}
.ga-tr-meta{display:flex;align-items:center;gap:8px;font-size:11px;color:#9a9a9a;}
.ga-ep-wrap{display:inline-flex;align-items:center;gap:3px;}
.ga-ep{display:inline-flex;align-items:center;gap:3px;padding:1px 5px;border-radius:3px;font-weight:700;font-size:10px;line-height:1.6;}
.ga-ep i{font-size:10px;}
.ga-ep.sub svg.ga-ico{width:12px;height:12px;}
.ga-ep.dub svg.ga-ico{width:10px;height:10px;}
.ga-ep .ga-ico{flex:none;display:inline-flex;}
.ga-ep.sub{background:#ffc119;color:#141414;}
.ga-ep.dub{background:#333;color:#ffc119;}
.ga-ep.total{background:#262626;color:#b5b5b5;}
/* v1.0.97: dots removed from the widget meta row. v1.0.98: renamed ga-dot -> ga-tr-type (ga-dot collided with the slider's dot nav CSS which hid the TV text) */
.ga-tr-type{white-space:nowrap;}
.ga-tr-empty{color:#999;padding:10px 4px;font-size:13px;margin:0;}

/* ============================================================
   v1.0.94 — Domain notice bar (reanime-style DOMAIN LIST UPDATE,
   GogoAnime dark + yellow colors). Sits below the hero slider.
   ============================================================ */
.ga-domainbar{background:#0b0b0b;background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.022) 0 10px,transparent 10px 20px);border-top:1px solid #1a1a1a;border-bottom:1px solid #1a1a1a;margin:0 0 18px;}
.ga-domainbar-inner{display:flex;align-items:center;gap:14px;padding:12px 16px;}
.ga-domainbar-icon{flex-shrink:0;width:36px;height:36px;border:1px solid #ffc119;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#ffc119;}
.ga-domainbar-text{flex:1;min-width:0;}
.ga-domainbar-title-row{display:flex;align-items:center;gap:12px;margin-bottom:4px;}
.ga-domainbar-title-row strong{color:#ffc119;font-size:13px;font-weight:800;letter-spacing:2.5px;white-space:nowrap;}
.ga-domainbar-dash{flex:1;min-width:20px;border-top:1px dashed rgba(255,193,25,.45);}
.ga-domainbar-msg{display:block;color:#cfcfcf;font-size:14px;line-height:1.5;}
.ga-domainbar-msg a{color:#ffc119;text-decoration:underline;}
.ga-domainbar-msg a:hover{color:#ffd34d;}
.ga-domainbar-actions{flex-shrink:0;display:flex;align-items:center;gap:10px;}
.ga-domainbar-discord{display:inline-flex;align-items:center;gap:8px;background:#161616;border:1px solid #2b2b2b;color:#fff;font-size:12px;font-weight:800;letter-spacing:1.5px;padding:11px 18px;border-radius:3px;text-decoration:none;transition:all .2s ease;}
.ga-domainbar-discord span{font-size:15px;line-height:1;}
.ga-domainbar-discord:hover{border-color:#ffc119;color:#ffc119;}
.ga-domainbar-close{width:40px;height:40px;background:#161616;border:1px solid #2b2b2b;border-radius:3px;color:#999;font-size:20px;line-height:1;cursor:pointer;transition:all .2s ease;}
.ga-domainbar-close:hover{color:#ffc119;border-color:#ffc119;}
/* v1.0.134: bookmark helper toast */
#gaBmToast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);z-index:9999;display:flex;align-items:center;gap:10px;max-width:min(92vw,480px);background:#161616;border:1px solid #ffc119;border-radius:8px;padding:12px 14px;box-shadow:0 12px 32px rgba(0,0,0,.6);opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease}
#gaBmToast.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.ga-bm-star{color:#ffc119;font-size:18px;flex:none}
.ga-bm-msg{color:#e8e8e8;font-size:13px;line-height:1.5;flex:1;min-width:0}
.ga-bm-msg b{color:#ffc119}
.ga-bm-copy{flex:none;background:#ffc119;border:0;border-radius:5px;color:#141414;font-size:12px;font-weight:700;padding:7px 12px;cursor:pointer;font-family:inherit}
.ga-bm-x{flex:none;background:none;border:0;color:#888;font-size:18px;cursor:pointer;line-height:1;padding:2px 4px}
.ga-bm-x:hover{color:#ffc119}
@media (max-width:640px){
  .ga-domainbar-inner{flex-wrap:wrap;gap:10px;}
  .ga-domainbar-icon{order:1;}
  .ga-domainbar-actions{order:1;margin-left:auto;}
  .ga-domainbar-text{flex:1 1 100%;order:2;}
  .ga-domainbar-dash{display:none;}
}

/* v1.0.101: mobile header like aniWave — hamburger (left) + logo + search icon (right), slide-in drawer with all categories */
.ga-mnav-toggle,
.ga-msearch-toggle,
.ga-mnav-overlay{display:none;}

@media only screen and (max-width: 1087px){
    section.headnav{position:relative;display:flex;align-items:center;gap:12px;padding:10px 14px !important;min-height:56px;}

    /* Hamburger */
    .ga-mnav-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:none;border:0;padding:10px 8px;cursor:pointer;-webkit-tap-highlight-color:transparent;}
    .ga-mnav-toggle span{display:block;width:24px;height:3px;background:#fff;border-radius:2px;transition:transform .25s ease,opacity .25s ease;}
    body.ga-mnav-open .ga-mnav-toggle span:nth-child(1){transform:translateY(8px) rotate(45deg);}
    body.ga-mnav-open .ga-mnav-toggle span:nth-child(2){opacity:0;}
    body.ga-mnav-open .ga-mnav-toggle span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

    section.headnav .headnav_left{margin-left:0 !important;padding:0 !important;flex:0 0 auto;}
    section.headnav .headnav_menu{flex:1 1 auto;display:flex;justify-content:flex-end;min-width:0;}

    /* Search icon */
    .ga-msearch-toggle{display:flex;align-items:center;justify-content:center;background:none;border:0;color:#cfcfcf;padding:8px;cursor:pointer;-webkit-tap-highlight-color:transparent;}
    .ga-msearch-toggle:active{color:#ffc119;}

    /* Hide the inline search form; it drops down when the icon is tapped */
    section.headnav .headnav_menu .form{display:none !important;}
    section.headnav.ga-search-open .headnav_menu .form{display:block !important;position:absolute;top:100%;left:0;right:0;z-index:9996;background:#111111;padding:10px 14px 14px;border-bottom:1px solid #303030;box-shadow:0 10px 20px rgba(0,0,0,.5);}
    section.headnav.ga-search-open .headnav_menu .form .row{margin:0;}
    /* v1.0.103: the inner <form id="search-form"> is display:none below 479px in
       the base stylesheet — reveal it too, or the dropdown opens empty. */
    section.headnav.ga-search-open .headnav_menu .form #search-form{display:block !important;}

    /* Drawer: reuse nav.menu_top, slide in/out */
    nav.menu_top{transform:translateX(-105%);transition:transform .28s ease;display:block !important;visibility:hidden;}
    nav.menu_top.ga-open{transform:translateX(0);visibility:visible;}

    /* Dark overlay behind the drawer */
    body.ga-mnav-open .ga-mnav-overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:9997;}
    body.ga-mnav-open{overflow:hidden;}

    /* Upcoming drawer icon (clock) — inline SVG so no image file is needed */
    nav.menu_top ul li a.upcoming{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");}
    nav.menu_top ul li a.upcoming:hover,
    nav.menu_top ul li.active a.upcoming{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc119' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");}
}

/* v1.0.102 fixes: centered logo, hamburger stays tappable above drawer, collapsible genre submenu */
@media only screen and (max-width: 1087px){
    /* Logo dead-center like the reference */
    section.headnav .headnav_left{position:absolute;left:50%;transform:translateX(-50%);margin:0 !important;padding:0 !important;}
    /* Keep the hamburger/X above the open drawer so it can always close it */
    .ga-mnav-toggle{position:relative;z-index:9999;}
    /* v1.0.103: push the drawer menu below the X button so a tap never hits
       both the X and the Home item at once. */
    nav.menu_top{padding-top:78px !important;}
    /* Genre list collapsed by default in the drawer; tap Genres to expand */
    nav.menu_top ul li.genre ul{display:none;}
    nav.menu_top ul li.genre.ga-sub-open ul{display:block;}
    nav.menu_top ul li a.genre,nav.menu_top ul li button.genre{position:relative;background:none;border:0;font:inherit;color:inherit;text-align:left;width:100%;cursor:pointer;padding:0;}
    nav.menu_top ul li a.genre::after,nav.menu_top ul li button.genre::after{content:'+';position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:20px;line-height:1;color:#ffc119;}
    nav.menu_top ul li.ga-sub-open a.genre::after,nav.menu_top ul li.ga-sub-open button.genre::after{content:'\2013';}
}
