/* ============================================================================
   原有样式
   ============================================================================ */
.wrapper2 {
    position: relative;
}

#m_input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -10;
    font-size: 1px;
}

.img_item {
    float: left;
    padding: 2px;
}

@media (max-width: 500px) {
    .img_item {
        width: 50%;
    }
}

@media (min-width: 501px) {
    .img_item {
        width: 25%;
    }
}

.download {
    display: flex;
    justify-content: center;
    color: white;
    margin-top: 20px;
    text-align: center;
    font-size: 20px;
}

.downbtn a {
    background: ;
    color: white;
    width: 100%;
}

.downbtn {
    display: inline-block;
    background: #c9302c;
    color: white;
    margin: 0px 10px;
    padding: 5px 10px;
    font-weight: bold;
    border: 0px solid;
    border-radius: 5px;
}


/* ============================================================================
   从 head.html 提取的样式
   ============================================================================ */

/* 响应式图片样式 */
@media (min-width: 768px) {
    .img-responsive {
        width: 100%;
        height: 160px;
    }
}

@media (max-width: 768px) {
    .img-responsive {
        width: 100%;
        height: 100px;
    }
}

/* 顶部链接样式 */
.toplinks {
    width: 100%;
    overflow: hidden;
    display: block;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .05);
    margin: 10px 0;
}

.toplinks a {
    width: 9.8%;
    float: left;
    border-radius: 3px;
    line-height: 30px;
    height: 30px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    display: inline-block;
    background-color: #c12e2a;
    margin: 1px;
    transition-duration: .3s;
}

.toplinks a:hover {
    background: #DC3545;
    color: #FFF;
}

@media screen and (max-width: 960px) {
    .toplinks a {
        width: 24.4%;
        float: left;
        border-radius: 3px;
        line-height: 30px;
        height: 30px;
        text-align: center;
        font-size: 13px;
        color: #fff;
        display: inline-block;
        background-color: #c12e2a;
        margin: 1px;
        transition-duration: .3s;
    }
}

/* APP 样式 */
.app {
    margin: 10px 0;
}

.app_title {
    text-align: center;
    line-height: 35px;
    font-size: 15px;
    color: #fff000;
    font-weight: bolder;
}

.app ul li {
    margin: 10px 0;
    float: left;
    width: 8.33%;
    text-align: center;
    list-style-type: none;
}

.app ul li img {
    margin: 0 auto;
    width: 56px;
    height: 56px;
    display: block;
    border-radius: 8px;
}

.app ul li a {
    font: 12px/28px Tahoma, 'Microsoft Yahei', Simsun;
    color: #fff000;
    overflow: hidden;
    white-space: nowrap;
}

.app ul li a:hover {
    color: #FD4C5D;
    font-weight: bolder;
}

@media screen and (max-width: 640px) {
    .app ul li {
        width: 25%;
    }
}

@media screen and (min-width: 768px) {
    .app {
        display: none;
    }
}

/* 横幅动画样式 */
#hengfu {
    animation: hengfu 2.5s 3.15s infinite;
}

@keyframes hengfu {
    10% {
        transform: rotate(1deg);
    }
    20% {
        transform: rotate(-1deg);
    }
    30% {
        transform: rotate(1deg);
    }
    40% {
        transform: rotate(-1deg);
    }
    50%,
    100% {
        transform: rotate(0deg);
    }
}

/* 标签样式 */
.tag {
    margin-bottom: 4px;
    margin-right: 2px;
}

.has-text-centered {
    text-align: center !important;
}

.tag:not(body).is-danger {
    background-color: #c9302c;
    color: #fff;
}

.tag:not(body) {
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 4px;
    color: #4a4a4a;
    display: inline-flex;
    justify-content: center;
    line-height: 1.5;
    padding-left: .75em;
    padding-right: .75em;
    white-space: nowrap;
}


/* ============================================================================
   从 list.html 提取的样式
   ============================================================================ */
.news-feed-btn a {
    margin: 5px 0;
}


/* ============================================================================
   从 play.html 提取的样式
   ============================================================================ */

/* 剧集按钮样式 */
.episode-btn:hover {
    background: #2196f3 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

@media screen and (max-width: 760px) {
    .episode-btn {
        padding: 6px 12px !important;
        font-size: 13px !important;
    }
}

/* 下一页导航样式 */
.next-page em {
    font-style: normal;
}

.text-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    max-width: 350px;
}

@media screen and (min-width: 769px) {
    .next-page {
        width: 100%;
        height: 35px;
        line-height: 35px;
        font-size: 18px;
        padding: 0 15px;
        margin: 0 auto;
        text-align: right;
    }

    .content-next1 {
        width: 50%;
        float: left;
        height: 35px;
        line-height: 35px;
        text-align: left;
    }

    .content-next2 {
        width: 50%;
        float: right;
        height: 35px;
        line-height: 35px;
        text-align: right;
    }
}

@media screen and (max-width: 769px) {
    .next-page {
        width: 100%;
        min-height: 35px;
        line-height: 35px;
        font-size: 14px;
        margin: 0 auto;
        text-align: right;
    }

    .content-next1 {
        height: 35px;
        line-height: 35px;
        text-align: left;
        padding-left: 10px;
    }

    .content-next2 {
        height: 35px;
        line-height: 35px;
        text-align: left;
        padding-left: 10px;
    }
}


/* ============================================================================
   从 list2.html 提取的样式
   ============================================================================ */
* {
    font-family: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Hiragino Sans GB', 'Heiti SC', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
}

/* 主内容区域 */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.content {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
}

/* 面包屑导航样式 */
.breadcrumb {
    padding: 10px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.breadcrumb a {
    color: #2196f3;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #1976d2;
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: 600;
}

/* 视频列表样式 */
.mod.play-list {
    margin-top: 15px;
}

.row.clearfix {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
    margin: 0;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .row.clearfix {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media screen and (max-width: 800px) {
    .row.clearfix {
        grid-template-columns: repeat(6, 1fr);
        gap: 8px;
    }
}

@media screen and (max-width: 480px) {
    .row.clearfix {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }

    .content {
        padding: 10px;
    }

    .breadcrumb {
        font-size: 12px;
    }
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

.pin a {
    font-size: 12px;
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.pin svg {
    border-radius: 1em;
}

p {
    text-align: center;
}

h1, h3 {
    color: #f90;
    font-size: 20px;
    text-align: center;
}

.container {
    margin: 0 auto;
}

.waterfall {
    column-count: 12;
    column-width: 11.111%;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .waterfall {
        column-count: 3;
        column-width: 33.333%;
    }
}

@media only screen and (max-width: 767px) {
    .waterfall {
        column-count: 4;
        column-width: 33.333%;
        column-gap: 0.5em;
    }
}

.pin {
    padding: 0.1em;
    margin: 0 0.11em 0.1em;
    break-inside: avoid;
    background: #f5f5f5;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
}

.pin img {
    width: 90%;
    border-radius: 1em;
}

.header {
    width: 100%;
    padding: 0 0 10px 0;
    overflow: hidden;
}

.header .logo {
    width: 20%;
    margin: 0 auto;
}

@media only screen and (max-width: 992px) {
    .header .logo {
        width: 50%;
    }

    .header .logo a {
        margin: auto;
        text-align: center;
        width: 100%;
        display: inline-block;
    }
}


/* ============================================================================
   从 player.html 提取的样式
   ============================================================================ */
.player-wrapper * {
    margin: 0;
    padding: 0;
}

.player-wrapper html,
.player-wrapper body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.player-wrapper #dplayer {
    width: 100%;
    height: 100%;
}
