html.duanju body {
    background: var(--dj-bg) !important;
    color: var(--dj-text) !important;
}

html.duanju .head_box,
html.duanju .site-head-wrap,
html.duanju .header,
html.duanju .foot,
html.duanju .member-wrap,
html.duanju .container {
    background-color: transparent;
}

html.duanju .head_box,
html.duanju .site-head-wrap,
html.duanju .header {
    background: var(--dj-bg) !important;
    border-bottom: 1px solid var(--dj-line);
    box-shadow: none !important;
}

html.duanju .top_nav > li > a {
    color: var(--dj-text) !important;
    border-radius: var(--dj-radius-pill);
    padding: 8px 16px !important;
    line-height: 1.2;
}

html.duanju .top_nav > li.active > a,
html.duanju .top_nav > li > a:hover,
html.duanju .top_nav_overlay_item:hover {
    background: var(--dj-accent) !important;
    color: var(--dj-accent-ink) !important;
}

html.duanju .foot {
    background: var(--dj-bg) !important;
    color: var(--dj-muted) !important;
    border-top: 1px solid var(--dj-line);
}

html.duanju .foot a {
    color: var(--dj-muted);
}

html.duanju .foot a:hover {
    color: var(--dj-accent);
}

html.duanju .mycolor,
html.duanju #black.mycolor,
html.duanju #white.mycolor {
    display: none !important;
}

html.duanju .extra-fab a,
html.duanju .dj-float__btn {
    background: var(--dj-accent) !important;
    color: var(--dj-accent-ink) !important;
    border-radius: var(--dj-radius-pill);
}

body.duanju-home .extra-fab {
    display: none !important;
}

.dj-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 48px;
}

@media screen and (min-width: 821px) {
    body.duanju-home {
        padding-top: var(--dj-pc-head-offset) !important;
    }

    body.duanju-home #topnav .show-pc .head_search_capsule_host {
        flex: 0 0 var(--dj-search-pc-width) !important;
        width: var(--dj-search-pc-width) !important;
        min-width: 0 !important;
        max-width: var(--dj-search-pc-width) !important;
    }

    body.duanju-home #topnav .head_search_capsule_host .head_search_capsule {
        min-height: var(--dj-search-pc-height) !important;
    }
}

.dj-hero {
    position: relative;
    margin: 18px 0 16px;
}

.dj-hero__viewport {
    overflow: hidden;
    border-radius: 18px;
    background: var(--dj-bg-card);
    min-height: 280px;
}

.dj-hero__track {
    display: flex;
    transition: transform .45s ease;
}

.dj-hero__slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    padding: 36px 48px;
    background-size: cover;
    background-position: center;
    color: var(--dj-text);
    text-decoration: none;
    box-sizing: border-box;
}

.dj-hero__mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .2) 70%);
}

.dj-hero__copy {
    position: relative;
    z-index: 1;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dj-hero__kicker {
    color: var(--dj-muted);
    font-size: 14px;
}

.dj-hero__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.dj-hero__sub {
    color: #ddd;
    font-size: 16px;
    line-height: 1.5;
}

.dj-hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: var(--dj-radius-pill);
    background: rgba(255, 255, 255, .12);
    color: var(--dj-text);
    cursor: pointer;
    z-index: 2;
}

.dj-hero__nav--prev { left: 12px; }
.dj-hero__nav--next { right: 12px; }

.dj-hero__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.dj-hero__dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: var(--dj-radius-pill);
    background: #4a4a4a;
    padding: 0;
    cursor: pointer;
}

.dj-hero__dot.is-on {
    width: 22px;
    background: var(--dj-accent);
}

.dj-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 22px;
    padding: 8px 12px;
    border: 1px solid var(--dj-accent);
    border-radius: 10px;
    overflow: hidden;
    color: var(--dj-accent);
}

.dj-notice__label {
    flex: none;
    background: var(--dj-accent);
    color: var(--dj-accent-ink);
    border-radius: 8px;
    padding: 4px 10px;
    font-weight: 700;
}

.dj-notice__track {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dj-sec {
    margin: 28px 0;
}

.dj-sec__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.dj-sec__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--dj-text);
}

.dj-sec__title::before {
    content: "";
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background: var(--dj-accent);
}

.dj-sec__more {
    color: var(--dj-subtle);
    text-decoration: none;
    font-size: 14px;
}

.dj-sec__more:hover {
    color: var(--dj-accent);
}

.dj-tags__lane-wrap {
    position: relative;
}

.dj-tags__lane {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-right: 48px;
}

.dj-tags__lane::-webkit-scrollbar { display: none; }

.dj-tags {
    position: relative;
}

.dj-tag,
.dj-tags__next {
    flex: none;
    border-radius: var(--dj-radius-pill);
    background: var(--dj-bg-chip);
    color: var(--dj-text);
    text-decoration: none;
    padding: 8px 16px;
    font-size: 14px;
}

.dj-tags__next {
    position: absolute;
    right: 0;
    top: 0;
    border: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    cursor: pointer;
    color: var(--dj-accent);
}

.dj-tags__bar {
    height: 3px;
    width: 42%;
    margin-top: 14px;
    background: var(--dj-accent);
    border-radius: 2px;
}

.dj-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
}

.dj-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 16px;
}

.dj-card {
    min-width: 0;
    color: var(--dj-text);
}

.dj-row > .dj-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

.dj-row > .dj-card.dj-card--row {
    flex-basis: 360px;
}

.dj-card__poster {
    position: relative;
    display: block;
    border-radius: var(--dj-radius);
    overflow: hidden;
    background: var(--dj-bg-card);
    aspect-ratio: var(--dj-catalog-poster);
}

.dj-card__poster::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    background: linear-gradient(transparent, rgba(0, 0, 0, .72));
    pointer-events: none;
}

.dj-ep {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 1;
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 8px;
    padding: 2px 8px;
    background: rgba(0, 0, 0, .55);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.dj-card__poster img,
.dj-topic__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dj-badge,
.dj-score {
    position: absolute;
    top: 8px;
    z-index: 1;
    border-radius: 8px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.dj-badge {
    left: 8px;
    background: var(--dj-accent);
    color: var(--dj-accent-ink);
}

.dj-score {
    right: 8px;
    background: rgba(0, 0, 0, .72);
    color: var(--dj-accent);
}

.dj-card__title {
    margin: 10px 0 4px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.dj-card__title a,
.dj-topic__title {
    color: var(--dj-text);
    text-decoration: none;
}

.dj-card__meta,
.dj-card__blurb,
.dj-card__tags,
.dj-topic__count {
    margin: 0;
    color: var(--dj-muted);
    font-size: 13px;
    line-height: 1.5;
}

.dj-card__blurb {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 6px;
}

.dj-card__tags {
    margin-top: 8px;
}

.dj-card__tags a {
    color: var(--dj-muted);
    text-decoration: none;
}

.dj-card__tags a:hover,
.dj-official a:hover {
    color: var(--dj-accent);
}

.dj-card--row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    flex: 0 0 360px;
    background: var(--dj-bg-card);
    border-radius: var(--dj-radius);
    padding: 10px;
}

.dj-card--row .dj-card__poster {
    aspect-ratio: 3 / 4;
}

.dj-card--row .dj-card__title {
    margin-top: 0;
}

.dj-topics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dj-topic {
    position: relative;
    display: block;
    min-height: 180px;
    border-radius: 16px;
    overflow: hidden;
    color: var(--dj-text);
    text-decoration: none;
    background: var(--dj-bg-card);
}

.dj-topic__cover {
    position: absolute;
    inset: 0;
}

.dj-topic__cover img {
    width: 100%;
    height: 100%;
}

.dj-topic__mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .78));
}

.dj-topic__copy {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
}

.dj-topic__count {
    color: var(--dj-accent);
    margin-bottom: 4px;
}

.dj-topic__title {
    font-size: 18px;
    font-weight: 700;
}

.dj-official {
    margin-top: 12px;
    padding: 28px 32px;
    border: 1px solid #333;
    border-radius: 24px;
    background: #121212;
}

.dj-official h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.dj-official p {
    margin: 8px 0;
    color: var(--dj-muted);
}

.dj-official span {
    color: var(--dj-subtle);
    margin-right: 8px;
}

.dj-official a {
    color: var(--dj-accent);
    text-decoration: none;
}

.dj-float {
    position: fixed;
    right: 18px;
    bottom: 88px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dj-float__btn {
    width: 58px;
    min-height: 58px;
    height: auto;
    padding: 8px 4px;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

@media (max-width: 1100px) {
    .dj-grid,
    .dj-topics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dj-hero__slide {
        min-height: 280px;
        padding: 28px 20px;
    }
    .dj-hero__title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .dj-page {
        width: min(100% - 20px, 1180px);
    }
    .dj-grid,
    .dj-topics {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .dj-hero__slide {
        min-height: 220px;
    }
    .dj-hero__title {
        font-size: 24px;
    }
    .dj-card--row {
        flex-basis: 86%;
    }
}

html.duanju body,
html.duanju body a,
html.duanju body a:link,
html.duanju body a:visited,
html.duanju body h1,
html.duanju body h2,
html.duanju body h3,
html.duanju body h4,
html.duanju body h5,
html.duanju body h6,
html.duanju body p,
html.duanju body li,
html.duanju body span,
html.duanju body label,
html.duanju body dt,
html.duanju body dd,
html.duanju body strong,
html.duanju body em,
html.duanju body small,
html.duanju body td,
html.duanju body th,
html.duanju body div,
html.duanju body .iconfont,
html.duanju body input,
html.duanju body textarea,
html.duanju body select,
html.duanju body button {
    color: var(--dj-text) !important;
}

html.duanju body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
html.duanju body textarea,
html.duanju body select {
    background-color: var(--dj-bg-elevated) !important;
    border-color: var(--dj-line) !important;
}

html.duanju body input::placeholder,
html.duanju body textarea::placeholder {
    color: var(--dj-muted) !important;
}

html.duanju .top_nav > li.active > a,
html.duanju .top_nav > li > a:hover,
html.duanju .top_nav_overlay_item:hover,
html.duanju .dj-badge,
html.duanju .dj-notice__label,
html.duanju .dj-float__btn,
html.duanju .extra-fab a,
html.duanju input[type="submit"],
html.duanju button[type="submit"],
html.duanju .search-hub__submit,
html.duanju .dj-episodes__item.is-on,
html.duanju .dj-episodes__source.is-on {
    color: var(--dj-accent-ink) !important;
}

html.duanju #play_page #bofy {
    display: none !important;
}

.dj-episodes {
    margin: 16px 0 8px;
    padding: 4px 2px 8px;
}

.dj-episodes__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.dj-episodes__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.dj-episodes__status,
.dj-episodes__current {
    margin: 0;
    color: var(--dj-muted);
    font-size: 13px;
}

.dj-episodes__current {
    margin: 8px 0 12px;
}

.dj-episodes__sources {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.dj-episodes__source,
.dj-episodes__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 8px;
    background: var(--dj-bg-elevated);
    text-decoration: none;
}

.dj-episodes__source {
    min-height: 32px;
    padding: 4px 12px;
    border-radius: var(--dj-radius-pill);
}

.dj-episodes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
    gap: 8px;
}

.dj-episodes__item {
    min-height: 40px;
    padding: 6px 4px;
    font-size: 14px;
    font-weight: 600;
}

.dj-episodes__item.is-on,
.dj-episodes__source.is-on {
    background: var(--dj-accent) !important;
}

@media (max-width: 640px) {
    .dj-episodes__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

html.duanju .dj-score,
html.duanju .dj-topic__count,
html.duanju .dj-notice,
html.duanju .dj-notice__track,
html.duanju .dj-official a,
html.duanju .foot a:hover,
html.duanju body a:hover {
    color: var(--dj-accent) !important;
}

html.duanju .dj-episodes__status,
html.duanju .dj-episodes__current {
    color: var(--dj-muted) !important;
}

html.duanju .dj-episodes__item.is-on,
html.duanju .dj-episodes__item.is-on:hover,
html.duanju .dj-episodes__source.is-on,
html.duanju .dj-episodes__source.is-on:hover {
    color: var(--dj-accent-ink) !important;
}

html.duanju .mac-catalog-show__grid.vod-show-grid {
    display: grid;
    grid-template-columns: repeat(var(--dj-catalog-cols), minmax(0, 1fr));
    gap: 18px 16px;
    width: 100%;
}

html.duanju .mac-catalog-show__grid.vod-show-grid::before,
html.duanju .mac-catalog-show__grid.vod-show-grid::after {
    content: none;
    display: none;
}

html.duanju .mac-catalog-show__grid .vodlist_item.dj-card {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

html.duanju .mac-catalog-show__grid .dj-card__poster {
    aspect-ratio: var(--dj-catalog-poster);
}

html.duanju .dj-card__title,
html.duanju .dj-card__title a,
html.duanju .dj-ep {
    color: var(--dj-text) !important;
}

html.duanju .dj-card__blurb,
html.duanju .dj-card__tags,
html.duanju .dj-card__tags a,
html.duanju .dj-card__meta {
    color: var(--dj-muted) !important;
}

html.duanju .dj-card__tags a:hover {
    color: var(--dj-accent) !important;
}

@media (max-width: 820px) {
    html.duanju .mac-catalog-show__grid.vod-show-grid {
        grid-template-columns: repeat(var(--dj-catalog-cols-sm), minmax(0, 1fr));
        gap: 12px;
    }
}

.dj-episodes__item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
