@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");
/* CSS Document */
html {
    position: relative;
}
body {
    background: radial-gradient(circle at top right, #1a1b2e 0%, #0d0d16 100%);
    font-family: "Poppins", Arial;
    color: #ccc;
    font-size: 14px;
    line-height: 1.4em;
    font-weight: 400;
    padding: 0;
    margin: 0;
    -webkit-text-size-adjust: none;
    min-height: 100vh;
}
a {
    outline: none;
    -moz-outline: none;
    color: #aaa;
}
a:hover {
    color: #06C149;
    text-decoration: none;
}
button,
.btn {
    border: none !important;
}
.btn-sm {
    font-size: 12px;
}
.btn-radius {
    border-radius: 30px;
}
.btn-primary {
    font-weight: 600;
    color: #06C149;
    font-size: 1.2em;
    position: relative;
    padding-left: 50px;
    display: inline-block;
}
.btn-primary img {
    width: 40px;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}
.ulclear {
    list-style: none;
    padding: 0;
}
.container {
    max-width: 1200px !important;
    width: 100% !important;
}
#xwrapper {
    width: 100%;
    position: relative;
}
#xheader {
    padding: 0;
    margin-top: 0;
    position: relative;
    z-index: 100;
}
#xheader #xlogo {
    display: block;
    height: 40px;
    margin: 10px 0;
    float: left;
}
#xheader #xlogo img {
    height: 100%;
    width: auto;
    float: left;
    margin-right: 10px;
}
#xheader #xlogo span {
    line-height: 40px;
    font-size: 20px;
    font-weight: 600;
    color: #06C149 !important;
}
#xheader_menu {
    width: 100%;
    border-radius: 30px 30px 0 0;
}
#xheader_menu .container {
    position: relative;
}
#xheader_menu ul.header_menu-list {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}
#xheader_menu ul.header_menu-list .nav-item {
    display: inline-block;
    margin: 0 20px 0;
    position: relative;
}
#xheader_menu ul.header_menu-list .nav-item > a {
    height: 60px;
    line-height: 60px;
    display: block;
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}
#xheader_menu ul.header_menu-list .nav-item > a:hover {
    color: #06C149;
}
#xheader_browser {
    float: left;
    position: relative;
    margin: 0 20px 0 0;
    display: none;
}
#xheader_browser .header-btn {
    height: 44px;
    cursor: pointer;
    margin: 13px 0;
    line-height: 44px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: 3px;
    color: #fff;
}
#xheader_browser.active .header-btn {
    color: #06C149;
}
/* footer */
#xfooter-about {
    padding: 0 0 40px;
    margin-top: 80px;
}
#xfooter-about .about-text {
    max-width: 800px;
    margin: 0 0 20px;
    line-height: 1.6em;
    font-size: 12px;
    opacity: 0.4;
}
#xfooter-about .copyright {
    margin-bottom: 0 !important;
    font-size: 13px;
}
/* page */
#mw-top {
    padding: 0;
    margin: 0 0 40px 0;
    position: relative;
    z-index: 3;
}
#mw-top .mwt-content {
    position: relative;
    padding: 30px 40px;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    overflow: hidden;
}
#mw-top .mwt-content .mwt-icon {
    position: absolute;
    top: 0;
    right: 0px;
    bottom: 0;
    width: 600px;
    border-radius: 0 40px 40px 0;
    overflow: hidden;
}
#mw-top .mwt-content .mwt-icon::before {
    display: none;
}
#mw-top .mwt-content .mwt-icon img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: center;
    opacity: 1.0;
    transition: opacity 0.3s ease;
}
#mw-top .mwh-logo {
    margin-bottom: 30px;
}
#mw-top .mwh-logo .mwh-logo-div {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#mw-top .mwh-logo .mwh-logo-div:hover {
    transform: scale(1.1);
}
#mw-top .mwh-logo .mwh-logo-div img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(6, 193, 73, 0.3));
}
.mw-heading {
    font-size: 1.8em;
    font-weight: 600;
    margin: 0 0 1em;
    color: #fff;
    line-height: 1.4em;
}
#mw-top .mw-sitename {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #06C149;
    margin: 0 0 10px 0;
}
#mw-top .mw-heading-second {
    font-size: 20px;
    font-weight: 600;
    position: relative;
    padding-left: 30px;
    margin: 0 0 15px;
}
#mw-top .mw-heading-second:before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #06C149;
    left: 0;
    position: absolute;
    top: 8px;
}
.xhashtag span.title {
    font-weight: 500;
    color: #fff;
    margin-right: 10px;
    float: left;
}
.xhashtag .item {
    margin: 0 10px 10px 0;
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.xhashtag .item:hover {
    color: #06C149;
    transform: translateX(3px);
}
.xhashtag .item:after {
    content: none;
}
.xhashtag .item i {
    font-size: 12px;
    margin-right: 4px;
}
#action-button {
    margin: 40px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
#action-button .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    text-decoration: none !important;
    min-width: 180px;
}
#action-button .btn-primary {
    background: #06C149 !important;
    color: #111 !important;
    font-size: 16px !important;
    position: static;
    padding-left: 25px;
}
#action-button .btn-primary:hover {
    background: #05a840 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 193, 73, 0.4) !important;
}
#action-button .btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}
#action-button .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-3px);
}
#action-button .btn-blank {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ccc !important;
}
#action-button .btn-blank:hover {
    border-color: #06C149 !important;
    color: #06C149 !important;
    transform: translateY(-3px);
}
#xsearch.home-search {
    display: block !important;
    margin: 0;
    padding: 0 !important;
    width: 100% !important;
    max-width: 500px !important;
    background: none !important;
    position: relative !important;
    z-index: 100;
}
#xsearch.home-search .search-content {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0,0,0,0.7) !important;
    border: 2px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}
#xsearch.home-search .search-content:focus-within {
    border-color: #06C149;
    box-shadow: 0 0 20px rgba(6, 193, 73, 0.2);
    transform: translateY(-2px);
}
#xsearch.home-search .search-input {
    width: 100% !important;
    height: 60px;
    background: transparent !important;
    border: none !important;
    padding: 0 120px 0 25px;
    color: #fff;
    font-size: 16px;
    outline: none !important;
}
#xsearch.home-search .search-submit {
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: 6px;
    width: auto;
    padding: 0 20px;
    z-index: 5;
    background: #06C149;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #111;
    font-weight: 600;
}
#xsearch.home-search .search-submit:hover {
    background: #05a840;
    transform: scale(1.02);
}
#xsearch.home-search .search-submit i {
    font-size: 18px;
}
#xsearch.home-search .search-submit span {
    font-size: 14px;
}
.mw-buttons .btn-primary {
    font-weight: 600;
    background: #06C149 !important;
    color: #111 !important;
    padding: 15px 30px;
    transition: all 0.2s ease 0s;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
}
.mw-buttons .btn-primary:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(97, 222, 86, 0.6) !important;
}
.mw-body .mwb-left {
    font-size: 14px;
    line-height: 1.5em;
}
.mw-body .mwb-left p {
    line-height: 1.4em;
    margin-bottom: 1em;
}
.mw-body .mwb-left ul {
    padding-left: 15px;
}
.mw-body .mwb-left ul li {
    margin-bottom: 1em;
}
.mw-body .mwb-left h2 {
    font-size: 1.5em;
    margin-top: 1.5em;
    font-weight: 600;
    line-height: 1.4em;
    margin-bottom: 15px;
    color: #fff;
}
.mw-body .mwb-left h3 {
    font-size: 1.2em;
    margin-top: 1.5em;
    font-weight: 600;
    line-height: 1.4em;
    margin-bottom: 15px;
    color: #fff;
}
.mwb-left {
    float: left;
    width: calc(100% - 450px);
}
.mwb-right {
    float: right;
    width: 400px;
}
.zr-news .item .zr-news-thumb {
    width: 100%;
    padding-bottom: 56%;
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin-bottom: 10px;
}
.zr-news .item .zr-news-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zr-news .item .zrn-title {
    color: #fff;
}
.zr-news .item .zrn-title:hover {
    color: #06C149;
}
.zr-news .item .zrn-title .news-title {
    font-size: 16px;
    line-height: 1.4em;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zr-news .item .description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zr-news.zr-news-list {
    padding: 0px 20px 50px;
    background: rgb(22, 27, 34);
    background: -moz-linear-gradient(180deg, rgba(22, 27, 34, 0) 0%, rgba(22, 27, 34, 1) 30%, rgba(22, 27, 34, 1) 70%, rgba(22, 27, 34, 0.050840404521183435) 100%);
    background: -webkit-linear-gradient(180deg, rgba(22, 27, 34, 0) 0%, rgba(22, 27, 34, 1) 30%, rgba(22, 27, 34, 1) 70%, rgba(22, 27, 34, 0.050840404521183435) 100%);
    background: linear-gradient(180deg, rgba(22, 27, 34, 0) 0%, rgba(22, 27, 34, 1) 30%, rgba(22, 27, 34, 1) 70%, rgba(22, 27, 34, 0.050840404521183435) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#414248",endColorstr="#414248",GradientType=1);
}
.zr-news.zr-news-list .item {
    margin-bottom: 20px;
    position: relative;
    padding-left: 135px;
    min-height: 88px;
}
.zr-news.zr-news-list .item .news-title {
    font-size: 14px;
    margin-bottom: 5px;
}
.zr-news.zr-news-list .item .zr-news-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    padding-bottom: 82px;
}
.zr-news.zr-news-list .item .description {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 13px;
}
.zr-news.zr-news-list .item.item-more {
    min-height: auto;
    padding: 0;
    margin: 0;
}
.zr-news.zr-news-list .item.item-more .btn-sm {
    padding: 10px 10px;
    background: #5c5d63;
    color: #fff;
}
.heading-news {
    font-size: 24px;
    color: #fff;
    font-weight: 600;
    margin: 0 0 30px;
}
.mw-keywords {
    margin-bottom: 30px;
    display: block;
    overflow: hidden;
}
.mw-keywords .mwk-item {
    display: block;
    float: left;
    color: #fff;
    margin: 0 5px 5px 0;
    padding: 4px 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 180px;
}
.mw-keywords .mwk-item i {
    display: inline;
    font-size: 11px;
    line-height: 12px;
}
.mw-keywords .mwk-item:hover {
    color: #fff;
    background: #5c5d63;
}
.mw-keywords .mwk-item .anime-title {
    font-size: 12px;
    line-height: 1.2em;
    margin: 0;
    display: inline;
}
.share-buttons {
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
}
.share-buttons .share-buttons-block {
    padding: 0;
    position: relative;
}
.share-buttons .share-buttons-block .share-icon {
    display: none;
}
.share-buttons .share-buttons-block .sbb-title {
    display: block;
    font-size: 12px;
    float: left;
    margin-right: 20px;
    position: relative;
}
.share-buttons .share-buttons-block .sbb-title span {
    font-weight: 600;
    font-size: 14px;
    color: #06C149;
}
.share-buttons .share-buttons-block .sbb-social {
    float: left;
    clear: none !important;
}
.share-buttons .share-buttons-block .at-style-responsive .at-share-btn {
    margin: 1px 6px 1px 0 !important;
}
@media screen and (max-width: 1365px) {
    #mw-top .mwt-content {
        margin: 0;
    }
}
@media screen and (max-width: 1199px) {
    #xheader {
        margin-top: 10px;
    }
    #mw-top .mwt-content {
        padding: 60px;
    }
}
@media screen and (max-width: 990px) {
    .mwb-left,
    .mwb-right {
        float: none;
        width: 100%;
        margin-bottom: 50px;
    }
    #xfooter-about {
        margin-top: 50px;
    }
}
@media screen and (max-width: 780px) {
    #mw-top .mwt-content .mwt-icon {
        display: none;
    }
    #xsearch.home-search {
        max-width: 100%;
    }
    #xheader_browser {
        display: inline-block;
    }
    #xheader_menu {
        display: none;
        position: absolute;
        left: 15px;
        width: auto;
        top: 60px;
        right: 15px;
        background: rgba(11, 11, 11, 0.98);
        border-radius: 25px;
        height: auto;
        padding: 10px 0;
        z-index: 99;
    }
    #xheader_menu .header_menu-list li.nav-item {
        display: block;
        margin: 10px 0;
        float: none;
        text-align: center;
    }
    #xheader_menu ul.header_menu-list .nav-item > a {
        height: auto;
        line-height: normal;
        padding: 10px 20px;
        color: #fff;
        font-size: 16px;
    }
    #xheader_menu ul.header_menu-list .nav-item > a:hover {
        color: #06C149;
    }
    #xheader_menu.active {
        display: block !important;
    }
    #mw-home {
        padding-top: 20px;
    }
    .mw-heading,
    .heading-news {
        font-size: 20px;
        margin-bottom: 20px;
    }
    #action-button {
        margin-top: 30px;
        justify-content: center;
    }
    #xsearch.home-search .search-input {
        height: 50px;
        padding-right: 100px;
    }
    #xsearch.home-search .search-submit {
        padding: 0 15px;
    }
    #xsearch.home-search .search-submit span {
        display: none;
    }
    .mw-body {
        font-size: 14px;
        line-height: 1.5em;
    }
    .mw-buttons .btn {
        font-size: 18px;
        padding: 12px 40px;
    }
}
@media screen and (max-width: 520px) {
    #mw-top .mwh-logo {
        text-align: center;
    }
    #mw-top .mwh-logo .mwh-logo-div img {
        height: 40px;
    }
    #mw-top .mwt-content {
        margin: 0 -15px;
    }
    .zr-news.zr-news-list .item .zr-news-thumb {
        width: 80px;
        padding-bottom: 60px;
        top: 5px;
    }
    .zr-news.zr-news-list .item {
        padding-left: 95px;
    }
    .zr-news.zr-news-list .item .description {
        line-height: 1.3em;
        -webkit-line-clamp: 3;
    }
    .mw-keywords .mwk-item {
        max-width: 140px;
    }
    #xsearch.home-search .search-input {
        font-size: 14px;
    }
    .xhashtag .item {
        margin-bottom: 2px;
    }
    .share-buttons .share-buttons-block .sbb-title {
        padding: 0;
        border-left: none;
        margin-bottom: 10px;
        float: none;
    }
    #mw-top .mwt-content {
        padding: 30px;
        border-radius: 0;
    }
    #action-button .btn {
        max-width: 100%;
        width: 100%;
        font-size: 16px;
    }
    #xsearch.home-search .search-input {
        height: 54px;
        padding-right: 60px;
    }
    #xsearch.home-search .search-submit {
        padding: 0 15px;
    }
    #xsearch.home-search .search-submit span {
        display: none;
    }
    .home-search .xhashtag {
        font-size: 12px;
    }
}
.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}
.profile-avatar img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.cn-owner {
    display: flex;
    align-items: center;
    align-content: stretch;
}
.cn-owner .profile-avatar {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    flex-shrink: 0;
}
div.user-name {
    display: flex;
    align-items: center;
}
div.user-name.is-level-x span {
    font-size: 9px;
    text-transform: uppercase;
    margin-left: 5px;
    line-height: 14px;
    color: #94969d;
    border: 1px solid #94969d;
    padding: 1px 3px;
    border-radius: 0.25rem;
}
div.user-name.is-level-a {
    color: #ffb526 !important;
}
div.user-name.is-level-b {
    color: #ff426e !important;
}
div.user-name.is-level-c {
    color: #b1ef97 !important;
}
div.user-name.is-level-d {
    color: #4da6ff !important;
}
div.user-name.is-level-mute {
    color: #777 !important;
    text-decoration: line-through;
}
.badg-level {
    width: 16px;
    height: 16px;
    background-size: cover;
    background-position: center center;
    display: inline-block;
    margin-right: 5px;
    vertical-align: sub;
}
.badg-level.level-a {
    background-image: url(../images/level-a.png);
}
.badg-level.level-a.up-2 {
    background-image: url(../images/level-a-2.png);
}
.badg-level.level-a.up-3 {
    background-image: url(../images/level-a-3.png);
}
.badg-level.level-a.up-4 {
    background-image: url(../images/level-a-4.png);
}
.badg-level.level-b {
    background-image: url(../images/level-b.png);
}
.badg-level.level-c {
    background-image: url(../images/level-c.png);
}
.badg-level.level-d {
    background-image: url(../images/level-d.png);
}
.badg-level.level-mute {
    background-image: url(../images/level-muted.png);
}
.connecting-list {
    margin-bottom: 2rem;
}
.connecting-list .item {
    width: 100%;
    display: block;
    cursor: default;
    padding: 20px;
    border-radius: 1rem;
    position: relative;
    font-size: 12px;
    line-height: 1.4;
    background: rgb(255, 255, 255, 0.05);
    margin-bottom: 0.5rem;
}
.connecting-list .item .item-name {
    font-size: 1.3em;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}
.connecting-list .item .item-name a {
    color: #fff;
}
.connecting-list .item .subject {
    margin-bottom: 0.75rem;
    color: #aaa;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.connecting-list .item .gi-top {
    margin-bottom: 0.75rem;
    font-size: 11px;
}
.connecting-list .item .time {
    color: #aaa;
}
.ztag .zt-green {
    color: #7df796;
}
.ztag .zt-yellow {
    color: #ffce71;
}
.ztag .zt-red {
    color: #ff718c;
}

/* xmas */
body.xmas-ui {
    background: #0e4042 url(../images/xmas/xmas-bg-green.png) repeat;
}
body.xmas-ui #mw-top .mwh-logo .mwh-logo-div {
    width: 198px;
    height: 60px;
    background-image: url(../images/xmas/logo.png);
    background-size: cover;
}
body.xmas-ui #mw-top .mwh-logo .mwh-logo-div img {
    display: none;
}
body.xmas-ui .mw-keywords .mwk-item {
    background: #0c3d42;
    color: #5eadb5;
}
body.xmas-ui .mw-keywords .mwk-item:hover {
    color: #06C149;
}
body.xmas-ui #mw-top {
    background: rgb(34, 95, 98);
    background: linear-gradient(0deg, rgba(34, 95, 98, 1) 0%, rgba(34, 95, 98, 0) 100%);
}
body.xmas-ui #mw-top:before {
    display: none;
}
body.xmas-ui .zr-news.zr-news-list {
    background: rgb(15, 80, 87);
    background: linear-gradient(0deg, rgba(15, 80, 87, 0) 0%, rgba(15, 80, 87, 1) 50%, rgba(15, 80, 87, 0) 100%);
}
body.xmas-ui #xmain-wrapper .share-buttons {
    background: #0c1717;
}
body.xmas-ui .zr-news.zr-news-list .item.item-more .btn-sm {
    background-color: #225f62;
}
@media screen and (max-width: 780px) {
    body.xmas-ui #xheader_menu {
        background: #2f7679;
    }
}

/* test vli */
.tvli-display {
    display: block;
    background-color: #00ff47;
    position: relative;
    margin: 1rem auto;
    display: none !important;
}
.tvli-display .text-size {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    padding: 1rem;
    color: #000;
    font-size: 20px;
    font-weight: 600;
}

:root {
    --text: #F0F6FC;
    --background: #0D1017;
    --tint: #06C149;
    --icon: #8B949E;
    --tab-icon-default: #8B949E;
    --tab-icon-selected: #06C149;
    --card: #161B22;
    --primary: #06C149;
    --border: #21262D;
}

body {
    background-color: var(--background) !important;
    color: var(--text) !important;
}

#wrapper, #main-wrapper {
    background-color: var(--background) !important;
}

#header, #sidebar_menu, #footer, #xfooter-about, .header-content {
    background-color: var(--background) !important;
    border-color: var(--border) !important;
}

/* Buttons */
.btn-primary, .btn-focus, .btn-tab.active, .btn-play, .btn-watch, .btn-login, .btn-submit, .btn-showmore, .submit-reply-btn {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #000 !important;
    font-weight: 600 !important;
}

.btn-secondary, .btn-tab, .btn-light, .cancel-reply-btn, #df-cm-close {
    background: var(--card) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

.btn-primary:hover, .btn-focus:hover, .btn-tab.active:hover, .btn-submit:hover {
    filter: brightness(1.1);
}

/* Links and Typography */
a {
    color: var(--text);
}

a:hover, .highlight-text, .text-primary, .nav-item:hover > a, .nav-item.active > a, .link-highlight {
    color: var(--primary) !important;
    text-decoration: none !important;
}

.cat-heading {
    color: var(--primary) !important;
}

/* Cards and Block Areas */
.film-poster, .flw-item, .block_area, .connecting-list .item, .zr-connect, .episode-container, .sb-setting, .anif-block, .cbox, .trending-list .item {
    background-color: var(--card) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
}

.anif-block-header {
    background: var(--border) !important;
    color: var(--primary) !important;
    border-bottom: 2px solid var(--primary) !important;
}

/* Trending Home Section */
.block_area_trending .number span {
    color: var(--primary) !important;
}

/* Common Components */
.form-control, .search-input, .custom-select, .comment-subject, .reply-form-area textarea {
    background-color: var(--card) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
}

.custom-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238B949E' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right .75rem center !important;
    background-size: 16px 12px !important;
}

.dot {
    background: var(--border) !important;
}

i, .hst-icon i, .fas, .fa-solid, .far {
    color: var(--icon);
}

.zr-social-button i {
    color: #fff !important;
}

.active i, .active .hst-icon i, a:hover i, .btn-primary i {
    color: inherit !important;
}

a:hover i {
    color: var(--primary) !important;
}

/* Episodes */
.episode-item.active {
    background: var(--primary) !important;
    color: #000 !important;
}

.episode-item {
    background-color: var(--card) !important;
    border: 1px solid var(--border) !important;
    color: var(--icon) !important;
}

.episode-item:hover {
    background-color: var(--border) !important;
    color: var(--text) !important;
}

/* Dropdowns */
.dropdown-menu {
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
}

.dropdown-item {
    color: var(--text) !important;
}

.dropdown-item:hover, .dropdown-item.active {
    background: var(--border) !important;
    color: var(--primary) !important;
}

/* Breadcrumbs */
.prebreadcrumb .breadcrumb, .breadcrumb-item.active {
    background: transparent !important;
    color: var(--icon) !important;
}

.breadcrumb-item a {
    color: var(--primary) !important;
}

/* Stats and Badges */
.film-stats .tick-item, .badge {
    background: var(--border) !important;
    color: var(--text) !important;
}

.badge-primary {
    background: var(--primary) !important;
    color: #000 !important;
}

/* Comments Section Overrides */
.block_area-comment {
    background: transparent !important;
    border: none !important;
}

.comments-wrap {
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px;
    padding: 20px;
}

.cw_l-line {
    border-bottom: 1px solid var(--border) !important;
}

.comment-input .user-avatar img, .cw_l-line .user-avatar img {
    border: 2px solid var(--border);
    padding: 2px;
}

.replies-section {
    border-left: 2px solid var(--border) !important;
}

/* TOP 10 SideNav */
.anw-tabs .nav-link.active {
    background: var(--primary) !important;
    color: #000 !important;
}

.anif-block-chart li {
    border-bottom: 1px solid var(--border) !important;
}

.anif-block-chart li.item-top .film-number span {
    color: var(--primary) !important;
}

/* Schedule Section */
.tsd-item.active {
    background: var(--primary) !important;
    color: #000 !important;
}

.tsd-item {
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
}

.tsl-link:hover {
    background: var(--border) !important;
}

/* Actors and Recommendations */
.bac-item, .os-item {
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
}

.os-item.active {
    border-color: var(--primary) !important;
}

hr {
    border-top: 1px solid var(--border) !important;
}

/* PFP Fix */
.user-avatar-img {
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* Theme Overrides V2 */

/* Custom Select (Filter page) */
.custom-select, select.form-control {
    background-color: var(--card) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%238B949E' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") !important;
}

/* Pagination */
.page-link {
    background-color: var(--card) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}
.page-link:hover {
    background-color: var(--border) !important;
    color: var(--primary) !important;
}
.page-item.active .page-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #000 !important;
}

/* Trending */
.trending-navi .navi-next, .trending-navi .navi-prev {
    background: var(--card) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    opacity: 1 !important;
}
.trending-navi .navi-next:hover, .trending-navi .navi-prev:hover {
    background: var(--primary) !important;
    color: #000 !important;
    border-color: var(--primary) !important;
}
.trending-list .item .number span {
    color: var(--primary) !important;
}

/* Schedule */
.table_schedule .table_schedule-date .tsd-item {
    background: var(--card) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
}
.table_schedule .table_schedule-date .tsd-item .date {
    color: var(--icon) !important;
}
.table_schedule .table_schedule-date .tsd-item.active {
    background: var(--primary) !important;
    color: #000 !important;
    border-color: var(--primary) !important;
}
.table_schedule .table_schedule-date .tsd-item.active .date {
    color: #000 !important;
}
.table_schedule .table_schedule-list li .time {
    color: var(--primary) !important;
}
.table_schedule .table_schedule-list li .film-detail .fd-play .btn-play {
    background: var(--border) !important;
    color: var(--text) !important;
    border: none !important;
}
.table_schedule .table_schedule-list li:hover {
    background: var(--card) !important;
}
.table_schedule .table_schedule-list li {
    border-bottom: 1px solid var(--border) !important;
}

/* Top 10 */
.anw-tabs .nav-link.active {
    background-color: var(--primary) !important;
    color: #000 !important;
    border-color: var(--primary) !important;
}
.anw-tabs .nav-link {
    background-color: var(--card) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    margin: 0 2px;
}
.anw-tabs .nav-link:hover {
    color: var(--primary) !important;
}
.film-number span {
    color: var(--icon) !important;
}
.item-top .film-number span {
    color: var(--primary) !important;
}
.block_area-realtime .anif-block-ul li {
    border-bottom: 1px solid var(--border) !important;
}

/* Genres */
.sb-genre-list li a {
    background: var(--card) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
}
.sb-genre-list li a:hover {
    background: var(--primary) !important;
    color: #000 !important;
    border-color: var(--primary) !important;
}

/* Misc */
.cat-heading {
    color: var(--primary) !important;
}
.box-bg {
    background: var(--card) !important;
    color: var(--text) !important;
}
.btn-showmore {
    background: var(--card) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
}

/* Player PC Controls */
.player-controls {
    background: var(--card) !important;
    border-top: 1px solid var(--border) !important;
}
.pc-item .btn, .pc-item .toggle-basic {
    color: var(--text) !important;
}
.toggle-basic.on .tb-result:before {
    background-color: var(--primary) !important;
}
.toggle-basic .tb-result:before {
    background-color: var(--border) !important;
}

/* Server buttons */
.btn-server {
    background: var(--card) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
}
.btn-server.active, .btn-server:hover {
    background: var(--primary) !important;
    color: #000 !important;
    border-color: var(--primary) !important;
}

/* Breadcrumb */
.breadcrumb-item.active {
    color: var(--icon) !important;
}

/* Qtip / Tooltip Overrides */
.qtip-content {
    background-color: var(--card) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
}

/* Additional Hero Section Overrides */
.deslide-item .deslide-poster .deslide-poster-wrap {
    border: 20px solid var(--border) !important;
}

#header.fixed {
    background-color: rgba(13, 16, 23, 0.9) !important;
    border-bottom: 1px solid var(--border) !important;
}

.deslide-item .desi-sub-text {
    color: var(--primary) !important;
}

.deslide-item .deslide-item-content .desi-buttons .btn {
    border-radius: 30px !important;
}

/* Fix for trending list items background */
.trending-list .item {
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
}

/* Blended Theme Overrides */
:root {
    --text: #F0F6FC;
    --background: #0D1017;
    --tint: #06C149;
    --icon: #8B949E;
    --tab-icon-default: #8B949E;
    --tab-icon-selected: #06C149;
    --card: #0D1017; /* Blend card with background */
    --primary: #06C149;
    --border: #1b1f27; /* Subtle border */
    --card-surface: #12161f; /* Surface for elements that NEED a background */
}

/* Base resets for blending */
.block_area, .cbox, .anif-block, .trending-list .item, .flw-item {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Headers blending */
.block_area .block_area-header .cat-heading {
    font-size: 20px !important;
    border-left: 4px solid var(--primary);
    padding-left: 12px !important;
}

.anif-block-header {
    background: transparent !important;
    border-bottom: 1px solid var(--border) !important;
}

/* Trending numbering - subtle blending */
.trending-list .item .number span {
    opacity: 0.8;
}

/* List items blending */
.anif-block-ul li, .table_schedule-list li {
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.03) !important;
}

.anif-block-ul li:hover, .table_schedule-list li:hover {
    background: rgba(255,255,255,0.02) !important;
}

/* Buttons blending */
.btn-secondary {
    background: var(--card-surface) !important;
    border: 1px solid var(--border) !important;
}

/* Input fields blending */
.form-control, .search-input, .custom-select {
    background-color: var(--card-surface) !important;
    border-color: var(--border) !important;
}

/* Sidebar boxes blending */
#main-sidebar .block_area-content {
    background: transparent !important;
}

/* Hero section blending improvements */
.deslide-item .deslide-poster .deslide-poster-wrap {
    border: 10px solid rgba(255,255,255,0.05) !important;
}

#header.fixed {
    background-color: rgba(13, 16, 23, 0.85) !important;
    backdrop-filter: blur(10px);
}

/* Fix for those specific boxes in screenshot (Top Airing, etc) */
.anif-block {
    border: none !important;
}
.anif-block .anif-block-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Card surfaces where elevation is needed */
.dropdown-menu, .search-result-pop, .qtip-content {
    background: #12161f !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}
