/* MyTheme - 苹果CMS V10影视站模板样式 */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #f5f9f9;
    color: #1f3130;
    min-height: 100vh;
}

a {
    color: #14988f;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #197bbc;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #ebf4f3;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    padding: 12px 0;
    gap: 20px;
}

.site-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f3130;
    white-space: nowrap;
}

.site-logo:hover {
    color: #14988f;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex: 1;
}

.main-nav a {
    color: #556c6a;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
    background: #ebf4f3;
    color: #1f3130;
}

.header-search {
    display: flex;
}

.header-search form {
    display: flex;
}

.header-search input {
    background: #ebf4f3;
    border: 1px solid #cedddc;
    color: #1f3130;
    padding: 6px 12px;
    border-radius: 4px 0 0 4px;
    outline: none;
    width: 160px;
    font-size: 0.9rem;
}

.header-search input:focus {
    border-color: #14988f;
}

.header-search button {
    background: #14988f;
    color: #1f3130fff;
    border: none;
    padding: 6px 14px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

.header-search button:hover {
    background: #197bbc;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #1f3130;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.85rem;
    color: #6e8685;
}

.breadcrumb a {
    color: #6e8685;
}

.breadcrumb a:hover {
    color: #14988f;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: #14988f;
    color: #1f3130fff;
}

.btn-primary:hover {
    background: #197bbc;
    color: #1f3130fff;
}

.btn-outline {
    background: transparent;
    color: #14988f;
    border: 1px solid #14988f;
}

.btn-outline:hover {
    background: #14988f;
    color: #1f3130fff;
}

/* Banner */
.banner-section {
    margin-bottom: 30px;
}

.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.banner-item {
    position: relative;
    display: none;
}

.banner-item:first-child {
    display: block;
}

.banner-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.banner-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    border-radius: 0 0 12px 12px;
}

.banner-info h2 {
    font-size: 1.6rem;
    color: #1f3130;
    margin-bottom: 8px;
}

.banner-info p {
    color: #556c6a;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.banner-btns {
    display: flex;
    gap: 10px;
}

/* Section */
.section-category {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ebf4f3;
}

.section-header h2 {
    font-size: 1.2rem;
    color: #1f3130;
}

.more-link {
    font-size: 0.85rem;
    color: #6e8685;
}

.more-link:hover {
    color: #14988f;
}

/* VOD Grid */
.vod-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.vod-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vod-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.vod-thumb {
    position: relative;
    display: block;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.vod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.vod-item:hover .vod-thumb img {
    transform: scale(1.05);
}

.vod-remarks {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(79, 195, 247, 0.9);
    color: #1f3130fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
}

.vod-title {
    padding: 8px 10px;
    font-size: 0.85rem;
    font-weight: 500;
}

.vod-title a {
    color: #1f3130;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vod-title a:hover {
    color: #14988f;
}

.vod-meta {
    padding: 0 10px 8px;
    font-size: 0.75rem;
    color: #6e8685;
}

/* VOD List (search) */
.vod-list-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ebf4f3;
}

.vod-list-thumb {
    flex-shrink: 0;
    width: 120px;
}

.vod-list-thumb img {
    width: 120px;
    height: 170px;
    object-fit: cover;
    border-radius: 6px;
}

.vod-list-info h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.vod-list-info h3 a {
    color: #1f3130;
}

.vod-list-info h3 a:hover {
    color: #14988f;
}

.vod-list-info .vod-meta span {
    margin-right: 10px;
}

.vod-actor, .vod-blurb {
    font-size: 0.85rem;
    color: #6e8685;
    margin-top: 5px;
}

/* Detail Page */
.detail-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.detail-poster {
    flex-shrink: 0;
    width: 220px;
}

.detail-poster img {
    width: 220px;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
}

.detail-info {
    flex: 1;
}

.detail-meta p {
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.detail-meta .label {
    color: #6e8685;
    margin-right: 5px;
}

.detail-btns {
    margin-top: 15px;
}

.detail-content {
    margin-bottom: 30px;
}

.detail-content h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #1f3130;
}

.detail-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #556c6a;
}

/* Play Source */
.play-list-section {
    margin-bottom: 30px;
}

.play-list-section h2 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #1f3130;
}

.play-source {
    margin-bottom: 15px;
}

.play-source-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #14988f;
}

.play-source-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.play-source-list a {
    display: inline-block;
    padding: 5px 12px;
    background: #ebf4f3;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #556c6a;
    transition: background 0.2s;
}

.play-source-list a:hover {
    background: #14988f;
    color: #1f3130fff;
}

/* Player */
.player-wrapper {
    margin-bottom: 20px;
}

.player-container {
    width: 100%;
    background: #f5f9f9;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

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

.player-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    color: #6e8685;
    font-size: 0.9rem;
}

/* FAQ */
.faq-section {
    margin-bottom: 30px;
}

.faq-section h2 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #1f3130;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.faq-question {
    font-weight: 600;
    color: #1f3130;
    margin-bottom: 8px;
}

.faq-answer {
    color: #556c6a;
    font-size: 0.9rem;
}

/* Reviews */
.reviews-section {
    margin-bottom: 30px;
}

.reviews-section h2 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #1f3130;
}

.review-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.review-user {
    font-weight: 600;
    color: #14988f;
    margin-right: 10px;
}

.review-star {
    color: #c68f10;
    margin-right: 10px;
}

.review-time {
    color: #6e8685;
    font-size: 0.8rem;
}

.review-text {
    margin-top: 8px;
    color: #556c6a;
    font-size: 0.9rem;
}

/* Related */
.related-section {
    margin-bottom: 30px;
}

.related-section h2 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #1f3130;
}

/* Pagination */
.pagination {
    text-align: center;
    padding: 20px 0;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    background: #ebf4f3;
    border-radius: 4px;
    color: #556c6a;
    font-size: 0.85rem;
}

.pagination a:hover {
    background: #14988f;
    color: #1f3130fff;
}

.pagination .current {
    background: #14988f;
    color: #1f3130fff;
}

/* Filter */
.filter-box {
    margin-bottom: 20px;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
}

.filter-box a {
    display: inline-block;
    padding: 4px 10px;
    margin: 3px;
    background: #ebf4f3;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #556c6a;
}

.filter-box a:hover, .filter-box a.active {
    background: #14988f;
    color: #1f3130fff;
}

/* Sub Types */
.sub-types {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sub-types a {
    display: inline-block;
    padding: 5px 14px;
    background: #ebf4f3;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #556c6a;
}

.sub-types a:hover {
    background: #14988f;
    color: #1f3130fff;
}

/* Search Form */
.search-form-page {
    margin-bottom: 20px;
}

.search-form-page form {
    display: flex;
    max-width: 500px;
}

.search-form-page input {
    flex: 1;
    background: #ebf4f3;
    border: 1px solid #cedddc;
    color: #1f3130;
    padding: 10px 15px;
    border-radius: 6px 0 0 6px;
    outline: none;
    font-size: 1rem;
}

.search-form-page button {
    background: #14988f;
    color: #1f3130fff;
    border: none;
    padding: 10px 20px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-weight: 600;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 0;
}

.empty-state p {
    color: #6e8685;
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Map Page */
.map-section {
    margin-bottom: 30px;
}

.map-section h2 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #1f3130;
    border-bottom: 2px solid #ebf4f3;
    padding-bottom: 8px;
}

.map-list li {
    padding: 5px 0;
}

.map-list li a {
    color: #556c6a;
}

.map-list li a:hover {
    color: #14988f;
}

.map-list ul {
    padding-left: 20px;
}

.map-time {
    color: #6e8685;
    font-size: 0.8rem;
    margin-left: 10px;
}

/* Score & Digg */
.score-box, .digg-box, .star-box {
    margin: 10px 0;
}

.score-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c68f10;
}

.score-total {
    color: #6e8685;
    font-size: 0.85rem;
}

.digg-box a {
    display: inline-block;
    padding: 8px 16px;
    background: #ebf4f3;
    border-radius: 6px;
    margin-right: 10px;
    color: #556c6a;
    font-size: 0.85rem;
}

.digg-box a:hover {
    background: #cedddc;
}

.star-box .star {
    color: #c68f10;
    font-size: 1.2rem;
}

/* Down Page */
.down-source-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.down-source-list a {
    display: inline-block;
    padding: 8px 16px;
    background: #ebf4f3;
    border-radius: 4px;
    color: #556c6a;
    font-size: 0.85rem;
}

.down-source-list a:hover {
    background: #14988f;
    color: #1f3130fff;
}

/* Article */
.art-list {
    margin-bottom: 20px;
}

.art-item {
    padding: 15px 0;
    border-bottom: 1px solid #ebf4f3;
}

.art-item h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.art-item h3 a {
    color: #1f3130;
}

.art-item h3 a:hover {
    color: #14988f;
}

.art-meta {
    font-size: 0.8rem;
    color: #6e8685;
    margin-bottom: 5px;
}

.art-blurb {
    font-size: 0.85rem;
    color: #556c6a;
}

/* Topic */
.topic-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.topic-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.topic-item h3 {
    font-size: 0.9rem;
    margin-top: 8px;
    color: #1f3130;
}

/* Gbook */
.gbook-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: #ebf4f3;
    border: 1px solid #cedddc;
    color: #1f3130;
    padding: 10px;
    border-radius: 6px;
    outline: none;
    font-size: 0.9rem;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #14988f;
}

.gbook-item {
    padding: 15px 0;
    border-bottom: 1px solid #ebf4f3;
}

.gbook-user {
    font-weight: 600;
    color: #14988f;
}

.gbook-time {
    font-size: 0.8rem;
    color: #6e8685;
}

.gbook-content {
    margin-top: 5px;
    color: #556c6a;
}

.gbook-reply {
    margin-top: 8px;
    padding: 8px;
    background: #ffffff;
    border-radius: 4px;
    font-size: 0.85rem;
}

.reply-label {
    color: #14988f;
    font-weight: 600;
}

/* Comment */
.comment-section h2 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #1f3130;
}

.comment-form textarea {
    width: 100%;
    background: #ebf4f3;
    border: 1px solid #cedddc;
    color: #1f3130;
    padding: 10px;
    border-radius: 6px;
    outline: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.comment-item {
    padding: 10px 0;
    border-bottom: 1px solid #ebf4f3;
}

.comment-user {
    font-weight: 600;
    color: #14988f;
}

.comment-time {
    font-size: 0.8rem;
    color: #6e8685;
}

.comment-content {
    margin-top: 5px;
    color: #556c6a;
}

/* Msg & PWD pages */
.msg-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.msg-box {
    text-align: center;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.msg-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.pwd-box {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.pwd-form {
    margin-top: 15px;
}

.pwd-form input {
    width: 100%;
    background: #ebf4f3;
    border: 1px solid #cedddc;
    color: #1f3130;
    padding: 10px;
    border-radius: 6px;
    outline: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Play Info */
.play-info {
    margin-bottom: 30px;
}

.play-info h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #1f3130;
}

.play-info p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.play-info .label {
    color: #6e8685;
}

/* Footer */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #ebf4f3;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: center;
}

.footer-nav a {
    color: #6e8685;
    font-size: 0.85rem;
}

.footer-nav a:hover {
    color: #14988f;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    color: #6e8685;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

/* Main */
.site-main {
    padding: 20px 0;
    min-height: 60vh;
}

/* Responsive */
@media (max-width: 1024px) {
    .vod-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .topic-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }
    .main-nav.active {
        display: flex;
        flex-direction: column;
    }
    .mobile-menu-btn {
        display: block;
    }
    .header-search {
        order: 2;
        flex: 1;
    }
    .header-search input {
        width: 100%;
    }
    .vod-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .detail-wrapper {
        flex-direction: column;
    }
    .detail-poster {
        width: 100%;
        text-align: center;
    }
    .detail-poster img {
        width: 180px;
        height: 260px;
        margin: 0 auto;
    }
    .banner-item img {
        height: 220px;
    }
    .topic-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .vod-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .banner-info h2 {
        font-size: 1.2rem;
    }
    .banner-btns {
        flex-direction: column;
    }
}


/* split s0089_moban14 light 湖蓝 analog */
body {
  color: #1f3130;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
