﻿:root {
    --page-bg: #222222;
    --panel-bg: #2a2a2a;
    --panel-alt: #303043;
    --border-color: #3a3a3a;
    --text-main: #f5f5f5;
    --text-muted: #bdbdbd;
    --accent: #c6463a;
    --cyan: #00d7ff;
    --green: #18ff3c;
    --orange: #ff7a1a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text-main);
    font: 16px/1.5 "Microsoft YaHei", "PingFang SC", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.page-shell {
    width: min(1250px, calc(100% - 24px));
    margin: 0 auto;
}

.site-header {
    background: var(--page-bg);
    padding: 15px 0 0;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.brand {
    order: 1;
    flex: 0 0 auto;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.brand a {
    display: inline-flex;
    align-items: center;
}

.brand-name,
.brand-sep,
.brand-url {
    display: inline-block;
}

.search-wrap {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
}

.search-form {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #f4f4f4;
    max-width: 720px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    height: 36px;
    border: 0;
    outline: 0;
    padding: 0 14px;
    background: transparent;
    color: #444;
    font-size: 14px;
}

.search-button {
    flex: 0 0 76px;
    height: 36px;
    border: 0;
    background: #2c2c2c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.quick-links {
    order: 3;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 12px;
    white-space: nowrap;
    text-align: right;
    line-height: 1.25;
}

.quick-links a:hover,
.nav-menu a:hover,
.notice-link:hover {
    color: #fff;
}

.nav-panel {
    margin-top: 12px;
    background: var(--panel-alt);
    border-radius: 6px;
    padding: 8px;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    color: #f2f2f2;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    background: #353547;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.nav-menu a:hover {
    background: #ee6a5e;
    color: #ffffff;
}

.nav-menu a.is-active {
    background: #d75247;
}

.notice-board {
    margin-top: 2px;
    border: 1px solid var(--border-color);
    background: #262626;
}

.notice-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border-color);
}

.notice-row:first-child {
    border-top: 0;
}

.notice-cell {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.notice-cell + .notice-cell {
    border-left: 1px solid var(--border-color);
}

.notice-red {
    color: #ff5e2f;
}

.notice-cyan {
    color: var(--cyan);
}

.notice-green {
    color: var(--green);
}

.notice-orange {
    color: var(--orange);
}

.notice-link {
    display: inline-block;
    align-items: center;
    justify-content: center;
    width: 100%;
    word-break: break-all;
}

.page-demo {
    min-height: 0;
    margin-top: 2px;
    border: 1px solid var(--border-color);
    background:
        linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.58)),
        url("../../img/81NAuaTWjpn5.webp") repeat top left;
}

.page-demo .demo-copy {
    max-width: 920px;
    margin: 0 auto;
    padding: 14px 16px 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.page-demo .demo-copy p {
    margin: 0 0 6px;
}

.home-section {
    margin-top: 6px;
}

.section-bar {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-left: 4px solid #ff5a54;
    border-radius: 4px;
    background: linear-gradient(#1f1f1f, #111111);
    position: relative;
}

.section-bar__title {
    color: #f4f4f4;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.section-bar::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-right: 8px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #7d838c;
}

.vod-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 6px;
}

.vod-card {
    min-width: 0;
}

.vod-card__link {
    display: grid;
    grid-template-rows: auto 45px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #232323;
    padding: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.vod-card__thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    padding-top: 60%;
    overflow: hidden;
    background: #111111;
}

.vod-card__thumb.lazyload-bg,
.vod-card__thumb.lazyloaded-bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.vod-card__thumb.lazyload-bg {
    background-image: url("../../img/load.gif");
    background-size: 42px 42px;
    background-color: #111111;
}

.vod-card__remarks {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 22px;
    padding: 1px 4px;
    background: rgba(43, 43, 43, 0.88);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.vod-card__body {
    display: grid;
    gap: 1px;
    align-content: start;
    height: 52px;
    padding: 4px 6px 3px;
}

.vod-card__title {
    display: block;
    overflow: hidden;
    min-height: 16px;
    color: #f0f0f0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vod-card__meta {
    color: #bbbbbb;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vod-card__link:hover {
    border-color: #616161;
    background: #272727;
}

.vod-card__link:hover .vod-card__title {
    color: #ffffff;
}

.text-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.text-item {
    display: block;
    overflow: hidden;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: #272727;
    color: #d9d9d9;
    font-size: 14px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-item:hover {
    color: #ffffff;
    background: #2e2e2e;
}

.pager-summary {
    margin-top: 10px;
    color: #bfbfbf;
    font-size: 12px;
    text-align: center;
}

.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.pager__item {
    min-width: 42px;
    height: 28px;
    padding: 0 12px;
    border: 1px solid #7f7f7f;
    border-radius: 4px;
    background: linear-gradient(#f8f8f8, #dfdfdf);
    color: #3a3a3a;
    font-size: 12px;
    line-height: 26px;
    cursor: pointer;
}

.pager__item.is-active {
    background: linear-gradient(#3a3a3a, #252525);
    border-color: #4b4b4b;
    color: #ffffff;
}

.pager__item:disabled {
    cursor: default;
    opacity: 0.5;
}

.tag-cloud {
    padding: 10px 12px 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: #232323;
}

.tag-cloud__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 72px;
    overflow: hidden;
}

.tag-cloud.is-expanded .tag-cloud__list {
    max-height: none;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #3e5361;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
}

.tag-chip:hover {
    background: #516a7d;
}

.tag-toggle {
    display: block;
    min-width: 92px;
    height: 28px;
    margin: 10px auto 0;
    padding: 0 12px;
    border: 1px solid #5d5d5d;
    border-radius: 5px;
    background: linear-gradient(#343434, #242424);
    color: #dddddd;
    font-size: 12px;
    cursor: pointer;
}

.play-shell {
    margin-top: 2px;
    border: 1px solid var(--border-color);
    background: #1f1f1f;
}

.play-topline,
.play-appbar {
    padding: 6px 10px;
    background: #050505;
    color: #d9d9d9;
    font-size: 12px;
    line-height: 1.45;
}

.play-topline {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.play-topline a,
.play-appbar a {
    color: #ff3e2f;
    font-weight: 700;
}

.play-topline span {
    color: #d9d9d9;
    margin-left: 2px;
}

.play-appbar {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--border-color);
    background: #1f1f1f;
    padding: 0;
}

.play-appbar span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 12px;
    text-align: center;
}

.play-appbar span + span {
    border-left: 1px solid var(--border-color);
}

.play-wrapper {
    margin-top: 0;
    background: #111111;
}

.play-player-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 560px;
    background: #0f0f0f;
    overflow: hidden;
}

.play-player-poster {
    position: absolute;
    inset: 0;
    background-color: #111;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.play-player-mask {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.26) 0%, rgba(8, 8, 8, 0.58) 100%);
}

.play-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(17, 17, 17, 0.88);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.play-launch-btn:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(28, 28, 28, 0.96);
}

.play-launch-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e25a4e;
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.play-launch-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    line-height: 1.4;
}
.play-player {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    min-height: 560px;
    background: #0f0f0f;
    overflow: hidden;
}

.play-player iframe,
.play-player video,
.play-player #playleft,
.play-player .MacPlayer,
.play-player .stui-player__video {
    width: 100% !important;
    height: 100% !important;
}

.play-player .MacPlayer,
.play-player #playleft {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.play-player-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.play-notes {
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    background: #232323;
    color: #d9d9d9;
    font-size: 12px;
    line-height: 1.55;
}

.play-notes p {
    margin: 0;
}

.play-banner {
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #232323;
}

.play-banner img {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 0 auto;
}

.promo-box {
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #232323;
}

.promo-box img {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 0 auto;
}

.detail-crumbs.section-bar {
    margin-top: 8px;
    min-height: 32px;
    padding: 0 10px;
}

.detail-crumbs.section-bar .section-bar__title {
    display: block;
    width: 100%;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 32px;
}

.crumb-link {
    color: #6fd7ff !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.crumb-link:hover {
    color: #ffffff !important;
}

.crumb-current {
    color: #ffffff;
}

.detail-crumbs {
    min-height: 28px;
    padding: 0 10px;
    color: #d8d8d8;
    font-size: 12px;
    line-height: 1.4;
}

.detail-crumbs .section-bar__title {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.detail-crumbs a,
.detail-crumbs a:hover {
    color: #ffffff;
}

.detail-notes {
    margin-top: 4px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #252525;
    color: #f0f0f0;
    font-size: 14px;
    line-height: 1.45;
}

.detail-notes p {
    margin: 0 0 2px;
}

.detail-notes p:last-child {
    margin-bottom: 0;
}

.detail-card {
    display: grid;
    grid-template-columns: 520px minmax(0, 1fr);
    gap: 18px;
    margin-top: 6px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #232323;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid #4a4a4a;
    border-radius: 10px;
    background: #111111;
}

.detail-poster img {
    width: 100%;
    display: block;
    aspect-ratio: 580 / 340;
    object-fit: cover;
}

.detail-body {
    min-width: 0;
}

.detail-title {
    margin: 2px 0 18px;
    color: #2fd0ff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
}

.detail-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    height: 32px;
    padding: 0 16px;
    border-radius: 3px;
    background: linear-gradient(#3f4f5e, #2d3945);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.detail-meta {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    color: #efefef;
    font-size: 12px;
    line-height: 1.7;
}

.detail-meta li {
    margin: 0 0 8px;
}

.detail-meta a {
    color: #ffffff;
}

.detail-playlist {
    margin-top: 6px;
}

.play-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin-top: 6px;
}

.play-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 8px;
    border-radius: 4px;
    background: #343446;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.play-link:hover {
    background: #d75247;
}

.vod-grid--detail-related {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.vod-grid--detail-related .vod-card__link {
    grid-template-rows: auto 46px;
}

.vod-grid--detail-related .vod-card__thumb {
    padding-top: 62%;
}

.vod-grid--detail-related .vod-card__body {
    height: 46px;
    padding: 4px 4px 3px;
}

.vod-grid--detail-related .vod-card__title {
    min-height: 18px;
    font-size: 11px;
    line-height: 1.2;
}

.vod-grid--detail-related .vod-card__meta {
    font-size: 9px;
    line-height: 1.1;
}

.site-footer {
    margin-top: 8px;
    padding: 0 0 24px;
    text-align: center;
}

.footer-bars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: min(1250px, calc(100% - 24px));
    margin: 0 auto;
}

.footer-bars__item {
    display: block;
    height: 5px;
}

.footer-bars__item--green {
    background: #17c63b;
}

.footer-bars__item--blue {
    background: #2b78d0;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    color: #d6d6d6;
    font-size: 13px;
}

.footer-copy {
    width: min(1250px, calc(100% - 24px));
    margin: 10px auto 0;
    color: #d0d0d0;
    font-size: 12px;
    line-height: 1.7;
}

.footer-copy p {
    margin: 0;
}

@media (max-width: 900px) {
    .topbar {
        gap: 12px;
    }

    .brand {
        font-size: 18px;
    }

    .quick-links {
        font-size: 13px;
    }

}

@media (max-width: 720px) {
    .page-shell {
        width: min(100% - 16px, 1250px);
    }

    .site-header {
        padding: 12px 0 4px;
    }

    .topbar {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .brand {
        font-size: 15px;
        white-space: nowrap;
        line-height: 1;
    }

    .brand-sep,
    .brand-url {
        display: none;
    }

    .quick-links {
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 1px;
        text-align: right;
        font-size: 10px;
        line-height: 1.1;
    }

    .search-wrap {
        min-width: 0;
    }

    .search-form {
        width: 100%;
        max-width: 100%;
        height: 30px;
        border-width: 0;
        background: transparent;
    }

    .search-input {
        height: 30px;
        padding: 0 8px;
        font-size: 11px;
        background: #f4f4f4;
    }

    .search-button {
        flex-basis: 46px;
        height: 30px;
        font-size: 11px;
    }

    .nav-menu {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .nav-menu a {
        min-width: 0;
        min-height: 30px;
        padding: 0 6px;
        font-size: 12px;
    }

    .notice-cell {
        min-height: 30px;
        padding: 4px 5px;
        font-size: 11px;
        line-height: 1.2;
    }

    .notice-link {
        word-break: break-word;
    }

    .page-demo .demo-copy {
        padding: 10px 8px 8px;
        font-size: 11px;
        line-height: 1.65;
    }

    .home-section {
        margin-top: 4px;
    }

    .section-bar {
        min-height: 32px;
        padding: 0 10px;
    }

    .section-bar__title {
        font-size: 12px;
    }

    .vod-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
        margin-top: 4px;
    }

    .vod-card__link {
        grid-template-rows: auto 45px;
        padding: 0;
    }

    .vod-card__thumb {
        height: 0;
        padding-top: 62%;
    }

    .vod-card__remarks {
        min-width: 20px;
        padding: 1px 3px;
        font-size: 10px;
    }

    .vod-card__body {
        gap: 1px;
        height: 45px;
        padding: 4px 4px 2px;
    }

    .vod-card__title {
        min-height: 16px;
        font-size: 11px;
        line-height: 1.2;
    }

    .vod-card__meta {
        font-size: 10px;
        line-height: 1.1;
    }

    .text-grid {
        grid-template-columns: 1fr;
        gap: 5px;
        margin-top: 5px;
    }

    .text-item {
        padding: 7px 9px;
        font-size: 12px;
    }

    .pager {
        gap: 5px;
    }

    .pager__item {
        min-width: 34px;
        height: 24px;
        padding: 0 8px;
        font-size: 11px;
        line-height: 22px;
    }

    .tag-cloud {
        padding: 7px 7px 9px;
    }

    .tag-cloud__list {
        gap: 5px;
        max-height: 58px;
    }

    .tag-chip {
        min-width: 32px;
        height: 22px;
        padding: 0 7px;
        font-size: 10px;
    }

    .detail-card {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 7px;
    }

    .play-appbar {
        grid-template-columns: 1fr;
    }

    .play-player-shell {
        min-height: 220px;
    }

    .play-player {
        min-height: 220px;
    }

    .play-launch-btn {
        min-height: 38px;
        padding: 0 14px;
        font-size: 12px;
    }

    .play-launch-icon {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .play-launch-note {
        font-size: 11px;
    }

    .play-notes {
        padding: 7px 8px;
        font-size: 10px;
        line-height: 1.45;
    }

    .play-appbar span {
        min-height: 34px;
        padding: 0 8px;
        font-size: 10px;
    }

    .play-appbar span + span {
        border-left: 0;
        border-top: 1px solid var(--border-color);
    }

    .play-banner {
        margin-top: 5px;
        padding: 7px;
    }

    .promo-box {
        margin-top: 5px;
        padding: 7px;
    }

    .detail-poster img {
        aspect-ratio: 580 / 340;
    }

    .detail-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .detail-notes {
        padding: 8px 9px;
        font-size: 11px;
        line-height: 1.4;
    }

    .detail-meta {
        font-size: 11px;
        line-height: 1.55;
    }

    .play-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }

    .play-link {
        min-height: 30px;
        font-size: 11px;
    }

    .vod-grid--detail-related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .vod-grid--detail-related .vod-card__link {
        grid-template-rows: auto 42px;
    }

    .vod-grid--detail-related .vod-card__body {
        height: 42px;
        padding: 3px 3px 2px;
    }

    .vod-grid--detail-related .vod-card__title {
        font-size: 10px;
    }

    .vod-grid--detail-related .vod-card__meta {
        font-size: 8px;
    }

    .site-footer {
        margin-top: 5px;
        padding-bottom: 16px;
    }

    .footer-bars,
    .footer-copy {
        width: min(100% - 16px, 1250px);
    }

    .footer-links {
        margin-top: 10px;
        gap: 8px;
        font-size: 11px;
    }

    .footer-copy {
        margin-top: 7px;
        font-size: 10px;
        line-height: 1.5;
    }
}
