Files
2026-10-28 17:27:22 +07:00

2823 lines
63 KiB
CSS

.play-page {
background: transparent;
width: 964px;
max-width: calc(100% - 32px);
padding: 36px 0;
gap: 24px;
}
.play-breadcrumb {
display: inline-flex;
align-items: center;
gap: 8px;
overflow: hidden;
}
.play-breadcrumb-link {
color: #A3A3A3;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
text-decoration: none;
}
.play-breadcrumb-sep {
color: #D4D4D4;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
}
.play-breadcrumb-current {
color: #ec237f;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
}
.play-layout {
width: 100%;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 30px;
padding-bottom: 0;
}
.play-main {
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 30px;
}
.play-player {
position: relative;
width: 100%;
height: 539px;
border-radius: 24px;
overflow: hidden;
background: #0A0A0A;
}
/* DPlayer 控制器:显示播放/暂停、音量、全屏;隐藏设置等多余项 */
.play-player .dplayer-video,
.play-player .dplayer {
width: 100%;
height: 100%;
}
.play-player .dplayer-controller {
z-index: 6;
padding: 0 26px 24px !important;
height: auto !important;
background: transparent !important;
}
.play-player .dplayer-controller-mask {
z-index: 5;
height: 150px !important;
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%) !important;
}
.play-player .dplayer-icons-left,
.play-player .dplayer-icons-right {
display: flex !important;
align-items: center;
}
.play-player .dplayer-icons-left {
gap: 24px !important;
}
.play-player .dplayer-icons-right {
gap: 20px !important;
}
.play-player .dplayer-notice,
.play-player .dplayer-bezel,
.play-player .dplayer-comment,
.play-player .dplayer-comment-box,
.play-player .dplayer-comment-input,
.play-player .dplayer-send-icon,
.play-player .dplayer-airplay-icon,
.play-player .dplayer-camera-icon,
.play-player .dplayer-full-in-icon {
display: none !important;
}
.play-player .dplayer-play-icon,
.play-player .dplayer-volume,
.play-player .dplayer-full,
.play-player .dplayer-setting {
display: inline-block !important;
}
.play-player .dplayer-setting-icon {
width: auto !important;
height: auto !important;
padding: 0 !important;
background: transparent !important;
}
.play-player .dplayer-setting-icon .dplayer-icon-content {
display: none !important;
}
.play-player .dplayer-setting-icon::after {
content: "倍速";
color: #fff;
font-size: 14px;
font-family: PingFang SC, sans-serif;
font-weight: 400;
line-height: 20px;
white-space: nowrap;
}
.play-player .dplayer-time {
display: inline !important;
color: #8A8A8A !important;
font-size: 18px !important;
line-height: 24px !important;
}
.play-player .dplayer-bar-wrap {
padding: 0 !important;
margin: 0 0 25px !important;
}
.play-player .dplayer-bar {
height: 4px !important;
border-radius: 2px !important;
background: rgba(255, 255, 255, 0.30) !important;
}
.play-player .dplayer-loaded {
background: rgba(255, 255, 255, 0.15) !important;
}
.play-player .dplayer-played {
background: linear-gradient(90deg, #fff 0%, #999 100%) !important;
}
.play-player .dplayer-thumb {
width: 12px !important;
height: 12px !important;
margin-top: -4px !important;
background: #fff !important;
border: none !important;
box-shadow: none !important;
opacity: 1 !important;
transform: scale(1) !important;
}
.play-player-cover {
position: absolute;
inset: 0;
z-index: 3;
width: 100%;
height: 100%;
object-fit: cover;
display: block;
pointer-events: none;
}
.play-player-cover--hidden {
opacity: 0;
visibility: hidden;
transition: opacity 0.2s ease;
}
.play-player-center {
position: absolute;
left: 50%;
top: 50%;
z-index: 4;
transform: translate(-50%, -50%);
width: 84px;
height: 84px;
padding: 0;
border: none;
background: transparent;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
}
/* DPlayer 在检测到移动端时会自带渲染一个 .dplayer-mobile-play 按钮,
与我们自定义的封面播放按钮(.play-player-center)重叠,且层级更高,
会拦截点击导致自定义按钮的 dp.play() 事件永远不会触发。
页面已有统一的封面+播放按钮方案,这里直接禁用 DPlayer 自带的重复按钮。 */
.play-player .dplayer-mobile-play {
display: none !important;
pointer-events: none !important;
}
.play-player-center img {
width: 84px;
height: 84px;
display: block;
}
.play-player-gradient {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 150px;
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
pointer-events: none;
}
.play-player-gradient--top,
.play-h5-top,
.play-h5-side,
.play-h5-meta,
.play-h5-next,
.play-h5-bottom,
.play-h5-sheet-mask,
.play-sidebar-close,
.play-comment-sheet,
.play-ep-sheet,
.play-speed-sheet {
display: none;
}
.play-danmaku {
position: absolute;
color: #fff;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
white-space: nowrap;
pointer-events: none;
}
.play-danmaku--1 {
left: 48px;
top: 72px;
}
.play-danmaku--2 {
left: 220px;
top: 128px;
}
.play-danmaku--3 {
left: 96px;
top: 188px;
}
.play-danmaku--4 {
right: 64px;
top: 96px;
}
.play-controls {
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding: 0 16px 14px;
display: flex;
flex-direction: column;
gap: 10px;
}
.play-progress {
position: relative;
height: 16px;
display: flex;
align-items: center;
}
.play-progress-track {
position: absolute;
left: 0;
right: 0;
height: 4px;
border-radius: 2px;
background: rgba(255, 255, 255, 0.2);
}
.play-progress-fill {
position: absolute;
left: 0;
width: 12%;
height: 4px;
border-radius: 2px;
background: #EC237F;
}
.play-progress-thumb {
position: absolute;
left: 12%;
width: 12px;
height: 12px;
margin-left: -6px;
border-radius: 50%;
background: #fff;
box-shadow: none;
}
.play-controls-bar {
display: flex;
justify-content: space-between;
align-items: center;
}
.play-controls-left,
.play-controls-right {
display: flex;
align-items: center;
gap: 14px;
}
.play-ctrl-btn {
width: 28px;
height: 28px;
padding: 0;
border: none;
background: transparent;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.play-ctrl-btn img {
width: 18px;
height: 18px;
object-fit: contain;
}
.play-ctrl-btn--next::before {
content: "";
width: 0;
height: 0;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
border-left: 9px solid #fff;
margin-right: 2px;
}
.play-ctrl-btn--next::after {
content: "";
width: 2px;
height: 12px;
background: #fff;
}
.play-ctrl-btn--volume::before {
content: "";
width: 8px;
height: 10px;
background: #fff;
clip-path: polygon(0 30%, 45% 30%, 100% 0, 100% 100%, 45% 70%, 0 70%);
}
.play-ctrl-btn--volume::after {
content: "";
position: absolute;
right: 4px;
width: 6px;
height: 10px;
border: 2px solid #fff;
border-left: none;
border-radius: 0 8px 8px 0;
}
.play-ctrl-btn--fullscreen::before {
content: "";
width: 14px;
height: 10px;
border: 2px solid #fff;
border-radius: 1px;
box-sizing: border-box;
}
.play-time {
color: rgba(255, 255, 255, 0.9);
font-size: 13px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.play-speed {
height: 24px;
padding: 0 8px;
border: none;
border-radius: 4px;
background: rgba(255, 255, 255, 0.12);
color: #fff;
font-size: 12px;
font-family: PingFang SC;
cursor: pointer;
}
.play-danmaku-bar {
width: 100%;
height: 44px;
padding: 0 8px 0 10px;
background: rgba(255, 255, 255, 0.05);
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.10);
display: flex;
align-items: center;
gap: 10px;
box-sizing: border-box;
}
.play-danmaku-toggle {
width: 32px;
height: 28px;
border: none;
border-radius: 6px;
background: #ec237f;
color: #fff;
font-size: 13px;
font-family: PingFang SC;
cursor: pointer;
flex-shrink: 0;
}
.play-danmaku-input {
flex: 1;
min-width: 0;
height: 28px;
border: none;
background: transparent;
color: #fff;
font-size: 13px;
font-family: PingFang SC;
box-shadow: none;
outline: none;
outline-color: transparent;
-webkit-appearance: none;
appearance: none;
}
.play-danmaku-input:focus,
.play-danmaku-input:focus-visible {
border: none;
outline: none;
outline-color: transparent;
box-shadow: none;
}
.play-danmaku-input::placeholder {
color: rgba(255, 255, 255, 0.35);
}
.play-danmaku-send {
height: 28px;
padding: 0 14px;
border: none;
border-radius: 6px;
background: #ec237f;
color: #fff;
font-size: 13px;
font-family: PingFang SC;
cursor: pointer;
flex-shrink: 0;
}
.play-info {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
overflow: hidden;
}
.play-info-text {
display: flex;
flex-direction: column;
gap: 12px;
min-width: 0;
overflow: hidden;
}
.play-info-ep {
color: #ec237f;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.play-info-title {
margin: 0;
color: #fff;
font-size: 28px;
font-family: PingFang SC;
font-weight: 400;
line-height: 34px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.play-info-tags {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.play-info-tag {
height: 26px;
padding: 0 11px;
background: rgba(255, 255, 255, 0.10);
border-radius: 13px;
color: #8A8A8A;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
display: inline-flex;
align-items: center;
box-sizing: border-box;
border: 1px solid transparent;
text-decoration: none;
transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
a.play-info-tag:hover,
a.play-info-tag:focus-visible {
color: #ec237f;
background: rgba(236, 35, 127, 0.16);
border-color: rgba(236, 35, 127, 0.35);
outline: none;
}
.play-info-sub {
color: #A3A3A3;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.play-info-actions {
display: flex;
align-items: center;
gap: 18px;
flex-shrink: 0;
}
.play-comments {
width: 100%;
}
.play-comments .detail-comments-head-gap {
flex: 1 1 0;
height: 1px;
}
.play-comments .detail-comment-replies {
align-self: stretch;
padding: 10px 12px;
background: rgba(255, 255, 255, 0.05);
overflow: hidden;
border-radius: 8px;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 6px;
display: flex;
box-sizing: border-box;
}
.play-comments .detail-comment-replies-more {
color: #ec237f;
font-size: 12px;
font-family: "Noto Sans SC", "PingFang SC", sans-serif;
font-weight: 400;
line-height: 18px;
}
.play-comments .detail-comment-list {
align-self: stretch;
width: 100%;
}
.play-episodes {
width: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 16px;
}
.play-episodes-label {
align-self: stretch;
color: #F5F5F5;
font-size: 18px;
font-family: PingFang SC;
font-weight: 600;
line-height: 27px;
}
.play-ep-ranges {
width: 100%;
overflow: hidden;
display: none;
justify-content: flex-start;
align-items: center;
gap: 24px;
flex-wrap: wrap;
}
.play-ep-range {
padding: 0;
border: none;
background: transparent;
color: #A3A3A3;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
cursor: pointer;
word-wrap: break-word;
}
.play-ep-range--active {
background: transparent;
color: #F5F5F5;
}
.play-ep-grid {
width: 100%;
overflow: hidden;
display: grid;
grid-template-columns: repeat(8, minmax(0, 1fr));
justify-content: start;
align-items: start;
gap: 14px;
}
.play-ep.is-range-hidden,
.play-ep-sheet-item.is-range-hidden {
display: none;
}
.play-player .dplayer-video,
.play-player .dplayer {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.play-player .dplayer-video {
z-index: 1;
}
.play-ep-row {
display: flex;
gap: 14px;
}
.play-ep {
position: relative;
width: 100%;
min-width: 0;
height: 54px;
border: none;
border-radius: 7px;
background: rgba(255, 255, 255, 0.10);
color: #808080;
font-size: 12px;
font-family: PingFang SC, sans-serif;
font-weight: 400;
line-height: 18px;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
cursor: pointer;
padding: 0;
overflow: hidden;
}
.play-ep-num {
color: inherit;
font-size: inherit;
font-family: inherit;
font-weight: inherit;
line-height: inherit;
word-wrap: break-word;
text-align: center;
}
.play-ep--active {
background: rgba(255, 74, 74, 0.08);
color: #FF4B02;
border: none;
}
.play-ep--active .play-ep-num {
color: #FF4B02;
}
.play-ep-playing {
display: none;
}
.play-ep-lock {
position: absolute;
right: 4px;
left: auto;
top: 4px;
height: 16px;
padding: 0 4px;
background: linear-gradient(135deg, #FF5F62 0%, #EC237F 100%);
border-radius: 4px;
display: block;
box-sizing: border-box;
pointer-events: none;
z-index: 1;
color: #fff;
font-size: 10px;
font-weight: 500;
line-height: 16px;
white-space: nowrap;
}
.play-ep--active .play-ep-lock {
display: none;
}
/* 付费剧集:播放器内引导下载 APP。 */
.play-player-locked {
position: absolute;
left: 50%;
top: 50%;
z-index: 4;
transform: translate(-50%, -50%);
width: calc(100% - 32px);
max-width: 320px;
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
text-align: center;
}
.play-player-locked-text {
margin: 0;
color: rgba(255, 255, 255, 0.85);
font-size: 14px;
line-height: 20px;
}
.play-player-locked-btn {
padding: 10px 24px;
border: none;
border-radius: 999px;
background: #ec237f;
color: #fff;
font-size: 15px;
font-weight: 500;
line-height: 22px;
cursor: pointer;
white-space: nowrap;
}
.play-player-locked-btn:hover {
opacity: 0.9;
}
@media (max-width: 1200px) {
.play-layout,
.play-main,
.play-player,
.play-danmaku-bar,
.play-info,
.play-comments,
.play-episodes {
width: 100%;
}
.play-player {
height: auto;
aspect-ratio: 16 / 9;
}
}
@media (max-width: 767px) {
body.site-shell.is-play-page {
background: #0E0E0E;
overflow: hidden;
height: 100dvh;
/* 移动端播放页使用播放器内的沉浸式导航,不保留公共导航占位。 */
padding-top: 0;
}
body.is-play-page .site-header,
body.is-play-page .footer-box,
body.is-play-page .home-mobile-footer,
body.is-play-page .floating-action,
body.is-play-page .download-fab {
display: none !important;
}
.play-page.page-shell {
width: 100%;
max-width: 100%;
height: 100dvh;
padding: 0;
margin: 0;
gap: 0;
background: #0E0E0E;
}
.play-layout,
.play-main {
width: 100%;
height: 100%;
gap: 0;
position: relative;
}
.play-player {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: calc(58px + env(safe-area-inset-bottom, 0px));
width: 100%;
height: auto;
border-radius: 0;
aspect-ratio: auto;
z-index: 1;
background: #0E0E0E;
overflow: hidden;
}
.play-player .dplayer-video,
.play-player .dplayer {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.play-player .dplayer-controller {
bottom: 0 !important;
padding: 0 !important;
height: 12px !important;
background: transparent !important;
z-index: 6;
}
.play-player .dplayer-controller-mask {
display: none !important;
}
.play-player .dplayer-bar-wrap {
left: 16px !important;
right: 16px !important;
bottom: 8px !important;
width: auto !important;
height: 8px !important;
padding: 3px 0 !important;
margin: 0 !important;
box-sizing: border-box;
}
body.play-next-countdown-visible .play-player .dplayer-bar-wrap {
bottom: 48px !important;
}
.play-player .dplayer-bar {
height: 2px !important;
border-radius: 3px !important;
background: rgba(255, 255, 255, 0.20) !important;
}
.play-player .dplayer-loaded {
background: transparent !important;
}
.play-player .dplayer-played {
background: #EC237F !important;
}
.play-player .dplayer-thumb {
width: 8px !important;
height: 8px !important;
margin-top: -3px !important;
background: #fff !important;
border: none !important;
box-shadow: none !important;
opacity: 1 !important;
transform: scale(1) !important;
}
.play-player .dplayer-icons-left,
.play-player .dplayer-icons-right {
display: none !important;
}
.play-player .dplayer-notice,
.play-player .dplayer-bezel,
.play-player .dplayer-setting,
.play-player .dplayer-comment,
.play-player .dplayer-comment-box,
.play-player .dplayer-comment-input,
.play-player .dplayer-send-icon,
.play-player .dplayer-airplay-icon,
.play-player .dplayer-camera-icon,
.play-player .dplayer-full-in-icon {
display: none !important;
}
.play-player .dplayer-play-icon,
.play-player .dplayer-volume,
.play-player .dplayer-full {
display: none !important;
}
.play-player .dplayer-time {
display: none !important;
}
.play-player-cover {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
}
.play-player-gradient {
display: none;
pointer-events: none;
z-index: 2;
}
.play-player-gradient--top {
display: block;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: auto;
height: min(300px, 40%);
background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}
.play-player-gradient--bottom {
display: none !important;
}
.play-danmaku,
.play-danmaku-bar,
.play-breadcrumb,
.play-info,
.play-comments,
.play-episodes,
.play-controls,
.play-controls-bar {
display: none !important;
}
.play-h5-top {
display: flex;
position: absolute;
left: 0;
right: 0;
top: 0;
z-index: 5;
padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px;
align-items: center;
gap: 4px;
box-sizing: border-box;
}
.play-h5-back {
width: 24px;
height: 24px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
}
.play-h5-back img {
width: 24px;
height: 24px;
display: block;
}
.play-h5-ep {
flex: 1;
min-width: 0;
color: white;
font-size: 18px;
font-family: PingFang SC;
font-weight: 600;
line-height: 24px;
}
.play-h5-speed-wrap {
position: relative;
flex-shrink: 0;
z-index: 8;
margin-right: 8px;
}
.play-h5-speed {
display: inline-flex;
align-items: center;
gap: 4px;
background: none;
border: none;
padding: 0;
cursor: pointer;
color: white;
font-size: 12px;
font-family: PingFang SC;
font-weight: 500;
line-height: 18px;
flex-shrink: 0;
}
.play-h5-speed-icon {
width: 18px;
height: 18px;
object-fit: contain;
display: block;
}
.play-speed-sheet {
display: none;
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 40;
flex-direction: column;
align-items: center;
gap: 12px;
padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
background: #1A1A1A;
border-radius: 20px 20px 0 0;
overflow: hidden;
box-sizing: border-box;
}
.play-speed-sheet-head {
width: 100%;
max-width: 343px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.play-speed-sheet-collapse {
width: 24px;
height: 24px;
padding: 0;
border: none;
background: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.play-speed-sheet-collapse img {
width: 16px;
height: 16px;
}
.play-speed-sheet-title {
flex: 1;
min-width: 0;
text-align: center;
color: white;
font-size: 16px;
font-family: PingFang SC;
font-weight: 500;
line-height: 22px;
}
.play-speed-sheet-spacer {
width: 24px;
height: 24px;
flex-shrink: 0;
}
.play-speed-sheet-list {
align-self: stretch;
display: flex;
flex-direction: column;
gap: 4px;
}
.play-speed-sheet-option {
align-self: stretch;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
width: 100%;
padding: 10px 0;
border: none;
background: none;
cursor: pointer;
color: white;
font-size: 16px;
font-family: PingFang SC;
font-weight: 400;
line-height: 22px;
text-align: left;
min-height: 46px;
margin: 0;
box-sizing: border-box;
}
.play-speed-sheet-option-label {
flex: 1;
min-width: 0;
}
.play-speed-sheet-option.is-active {
color: #ec237f;
font-weight: 500;
}
.play-speed-sheet-check {
width: 24px;
height: 24px;
object-fit: contain;
flex-shrink: 0;
}
.play-speed-sheet-check[hidden] {
display: none !important;
}
body.play-speed-sheet-open {
overflow: hidden;
}
body.play-speed-sheet-open .play-h5-sheet-mask {
display: block;
}
body.play-speed-sheet-open .play-speed-sheet {
display: flex;
}
.play-h5-side {
display: inline-flex;
position: absolute;
right: 16px;
width: 48px;
top: 48%;
transform: translateY(-20%);
z-index: 5;
flex-direction: column;
justify-content: flex-start;
align-items: center;
gap: 18px;
box-sizing: border-box;
}
.play-h5-side-item {
display: flex;
width: 100%;
flex-direction: column;
justify-content: flex-start;
align-items: center;
gap: 0;
background: none;
border: none;
padding: 0;
cursor: pointer;
color: rgba(255, 255, 255, 0.60);
font-size: 12px;
font-family: PingFang SC;
font-weight: 500;
line-height: 18px;
text-align: center;
white-space: nowrap;
box-sizing: border-box;
}
.play-h5-side-item img {
width: 30px;
height: 30px;
object-fit: contain;
filter: brightness(0) invert(1);
transform-origin: center;
}
.play-h5-side-item[data-play-comment-open] img {
transform: scale(1.09);
}
.play-h5-side-item[data-detail-share] img {
transform: scale(1);
}
.play-h5-meta {
display: inline-flex;
position: absolute;
left: 16px;
width: min(278px, calc(100% - 90px));
bottom: 20px;
z-index: 5;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 10px;
box-sizing: border-box;
}
body.play-next-countdown-visible .play-h5-meta {
bottom: 68px;
}
.play-h5-meta-title {
display: inline-flex;
align-items: center;
margin: 0;
max-width: 100%;
font-size: inherit;
font-weight: inherit;
}
.play-h5-meta-title button {
display: inline-flex;
align-items: center;
gap: 5px;
background: none;
border: none;
padding: 0;
cursor: pointer;
color: white;
font-size: 12px;
font-family: PingFang SC;
font-weight: 500;
line-height: 18px;
max-width: 100%;
}
.play-h5-meta-tags {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
max-width: 100%;
}
.play-h5-meta-tag {
padding: 2px 6px;
background: rgba(255, 255, 255, 0.10);
border-radius: 3px;
color: white;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
border: 1px solid transparent;
text-decoration: none;
transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
a.play-h5-meta-tag:hover,
a.play-h5-meta-tag:focus-visible {
color: #ec237f;
background: rgba(236, 35, 127, 0.16);
border-color: rgba(236, 35, 127, 0.35);
outline: none;
}
.play-h5-meta-title button span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.play-h5-meta-title button img {
width: 18px;
height: 18px;
flex-shrink: 0;
filter: brightness(0) invert(1);
}
.play-h5-meta-intro {
display: flex;
align-items: flex-start;
gap: 6px;
align-self: stretch;
width: 100%;
}
.play-h5-meta-text {
margin: 0;
flex: 1;
min-width: 0;
color: rgba(255, 255, 255, 0.65);
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
display: -webkit-box;
-webkit-line-clamp: 1;
line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
word-wrap: break-word;
}
.play-h5-meta-text.is-expanded {
display: block;
-webkit-line-clamp: unset;
line-clamp: unset;
overflow: visible;
}
.play-h5-meta-more {
flex-shrink: 0;
background: none;
border: none;
padding: 0;
cursor: pointer;
color: white;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.play-h5-meta-more[hidden] {
display: none;
}
.play-h5-next {
display: none;
position: absolute;
left: 16px;
right: 16px;
bottom: 2px;
z-index: 5;
width: auto;
min-height: 40px;
padding: 6px 12px;
background: rgba(255, 255, 255, 0.10);
border-radius: 6px;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
}
.play-h5-next:not([hidden]) {
display: inline-flex;
}
.play-h5-next-label {
color: white;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
}
.play-h5-next-countdown {
color: #FFAB6B;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
}
.play-h5-bottom {
display: flex;
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 20;
height: calc(58px + env(safe-area-inset-bottom, 0px));
min-height: calc(58px + env(safe-area-inset-bottom, 0px));
padding: 6px 16px calc(6px + env(safe-area-inset-bottom, 0px));
background: #1A1A1A;
align-items: center;
justify-content: center;
gap: 10px;
box-sizing: border-box;
}
.play-h5-ep-picker {
flex: 1 1 0;
min-width: 0;
padding: 6px 12px;
background: rgba(255, 255, 255, 0.05);
border: none;
border-radius: 3px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
color: white;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
box-sizing: border-box;
}
.play-h5-ep-picker img {
width: 24px;
height: 24px;
opacity: 0.9;
flex-shrink: 0;
filter: brightness(0) invert(1);
}
.play-h5-clear {
width: 24px;
height: 24px;
flex-shrink: 0;
border: none;
background: transparent;
cursor: pointer;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.play-h5-clear img {
width: 24px;
height: 24px;
display: block;
filter: brightness(0) invert(1);
}
.play-h5-comment {
display: none;
flex-shrink: 0;
padding: 6px 12px;
border: none;
border-radius: 3px;
background: rgba(255, 255, 255, 0.05);
cursor: pointer;
align-items: center;
justify-content: flex-start;
gap: 36px;
box-sizing: border-box;
}
.play-h5-comment img {
width: 24px;
height: 24px;
object-fit: contain;
display: block;
filter: brightness(0) invert(1);
}
body.play-h5-focus .play-h5-comment {
display: flex;
}
body.play-h5-focus .play-h5-side,
body.play-h5-focus .play-h5-meta,
body.play-h5-focus .play-h5-next,
body.play-h5-focus .play-player-gradient {
display: none !important;
}
.play-h5-sheet-mask {
display: none;
position: fixed;
inset: 0;
z-index: 30;
background: rgba(0, 0, 0, 0.70);
}
.play-sidebar,
.play-episodes {
display: none !important;
}
.play-ep-sheet {
display: none;
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 40;
max-height: 75vh;
padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
background: #181818;
border-radius: 20px 20px 0 0;
overflow: hidden;
flex-direction: column;
align-items: center;
gap: 12px;
box-sizing: border-box;
}
.play-ep-sheet-handle {
width: 36px;
height: 5px;
background: white;
border-radius: 100px;
flex-shrink: 0;
}
.play-ep-sheet-drama {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
}
.play-ep-sheet-drama-main {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
flex: 1;
}
.play-ep-sheet-cover {
width: 54px;
height: 75px;
border-radius: 3px;
object-fit: cover;
flex-shrink: 0;
background: #D4D4D4;
}
.play-ep-sheet-drama-info {
display: flex;
flex-direction: column;
gap: 8px;
min-width: 0;
}
.play-ep-sheet-drama-title {
display: inline-flex;
align-items: center;
gap: 8px;
color: white;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
min-width: 0;
}
.play-ep-sheet-drama-title span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.play-ep-sheet-drama-close {
width: 18px;
height: 18px;
padding: 0;
border: none;
background: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.play-ep-sheet-drama-close img {
width: 12px;
height: 12px;
display: block;
filter: brightness(0) invert(1);
}
.play-ep-sheet-drama-status {
color: white;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.play-ep-sheet-tabs {
width: 100%;
display: flex;
align-items: center;
gap: 24px;
overflow-x: auto;
scrollbar-width: none;
}
.play-ep-sheet-tabs::-webkit-scrollbar {
display: none;
}
.play-ep-sheet-tab {
flex-shrink: 0;
background: none;
border: none;
padding: 0;
cursor: pointer;
color: rgba(255, 255, 255, 0.55);
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
}
.play-ep-sheet-tab--active {
color: white;
}
.play-ep-sheet-panel {
width: 100%;
min-height: 0;
flex: 1;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.play-ep-sheet-panel.is-hidden {
display: none;
}
.play-ep-sheet-grid {
width: 100%;
display: grid;
grid-template-columns: repeat(5, 58px);
justify-content: space-between;
align-content: flex-start;
row-gap: 8px;
}
.play-ep-sheet-item {
position: relative;
width: 58px;
height: 58px;
border: none;
border-radius: 10px;
background: rgba(255, 255, 255, 0.10);
color: #fff;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
text-decoration: none;
box-sizing: border-box;
overflow: hidden;
}
.play-ep-sheet-item.is-range-hidden {
display: none;
}
.play-ep-sheet-num {
width: 24px;
z-index: 1;
text-align: center;
color: #fff;
font-size: 18px;
font-family: "PingFang SC", sans-serif;
font-weight: 400;
line-height: 24px;
word-wrap: break-word;
}
.play-ep-sheet-item--active {
background: rgba(255, 74, 74, 0.08);
color: #FF4B02;
}
.play-ep-sheet-item--active .play-ep-sheet-num {
color: #FF4B02;
font-weight: 400;
}
.play-ep-sheet-lock {
position: absolute;
right: 4px;
left: auto;
top: 4px;
height: 16px;
padding: 0 4px;
background: linear-gradient(135deg, #FF5F62 0%, #EC237F 100%);
border-radius: 4px;
display: block;
z-index: 2;
box-sizing: border-box;
pointer-events: none;
color: #fff;
font-size: 10px;
font-weight: 500;
line-height: 16px;
white-space: nowrap;
}
.play-ep-sheet-item--active .play-ep-sheet-lock {
display: none;
}
.play-ep-more-grid {
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 12px 5px;
}
.play-ep-more-card {
width: calc((100% - 10px) / 3);
display: flex;
flex-direction: column;
gap: 4px;
text-decoration: none;
}
.play-ep-more-cover {
position: relative;
width: 100%;
aspect-ratio: 111 / 148;
border-radius: 6px;
overflow: hidden;
background: #525252;
}
.play-ep-more-cover img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.play-ep-more-heat {
position: absolute;
left: 0;
right: 0;
bottom: 4px;
padding: 0 4px;
display: flex;
align-items: center;
gap: 2px;
}
.play-ep-more-heat img {
width: 16px;
height: 16px;
object-fit: contain;
filter: brightness(0) invert(1);
}
.play-ep-more-heat span {
color: white;
font-size: 10px;
font-family: PingFang SC;
font-weight: 400;
line-height: 16px;
}
.play-ep-more-title {
color: white;
font-size: 12px;
font-family: PingFang SC;
font-weight: 500;
line-height: 18px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.play-ep-more-meta {
color: rgba(255, 255, 255, 0.65);
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
body.play-ep-sheet-open {
overflow: hidden;
}
body.play-ep-sheet-open .play-h5-sheet-mask {
display: block;
}
body.play-ep-sheet-open .play-ep-sheet {
display: flex;
}
.play-comment-sheet {
display: none;
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 40;
flex-direction: column;
max-height: 489px;
background: #1A1A1A;
border-radius: 20px 20px 0 0;
overflow: hidden;
}
.play-comment-sheet-panel {
display: flex;
flex-direction: column;
gap: 12px;
padding: 18px 16px calc(12px + env(safe-area-inset-bottom, 0px));
min-height: 0;
flex: 1;
overflow: hidden;
}
.play-comment-sheet-head {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
}
.play-comment-sheet-collapse {
width: 24px;
height: 24px;
padding: 0;
border: none;
background: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.play-comment-sheet-collapse img {
width: 16px;
height: 16px;
}
.play-comment-sheet-title {
flex: 1;
min-width: 0;
color: white;
font-size: 16px;
font-family: PingFang SC;
font-weight: 500;
line-height: 22px;
}
.play-comment-sort {
display: flex;
align-items: center;
padding: 2px;
background: rgba(255, 255, 255, 0.05);
border-radius: 999px;
flex-shrink: 0;
}
.play-comment-sort-btn {
padding: 4px 10px;
border: none;
border-radius: 999px;
background: transparent;
cursor: pointer;
color: rgba(255, 255, 255, 0.65);
font-size: 10px;
font-family: PingFang SC;
font-weight: 400;
line-height: 16px;
}
.play-comment-sort-btn--active {
background: rgba(255, 255, 255, 0.10);
color: white;
}
.play-comment-sheet-body {
flex: 1;
min-height: 0;
overflow: hidden;
/* 覆盖 detail.css H5 的 `.detail-comments { display: none !important }` */
display: flex !important;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
gap: 0;
padding: 0;
width: 100%;
background: transparent;
border-radius: 0;
border: none;
}
.play-comment-sheet-list,
.play-comment-sheet-list.detail-comment-list {
flex: 1;
align-self: stretch;
width: 100%;
min-height: 0;
overflow-y: auto;
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
gap: 18px;
padding: 0 0 12px;
-webkit-overflow-scrolling: touch;
box-sizing: border-box;
}
.play-comment-sheet-list .section-empty,
.play-comment-empty {
flex: 1;
align-self: stretch;
display: flex;
align-items: center;
justify-content: center;
min-height: 200px;
width: 100%;
margin: 0 auto;
padding: 48px 16px;
box-sizing: border-box;
color: rgba(255, 255, 255, 0.45);
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
text-align: center;
}
.play-comment-sheet-more {
align-self: center;
margin: 0 0 8px;
padding: 6px 12px;
border: none;
background: transparent;
color: rgba(255, 255, 255, 0.65);
font-size: 12px;
font-family: PingFang SC;
line-height: 18px;
cursor: pointer;
}
.play-comment-sheet-more[hidden] {
display: none !important;
}
.play-comment-item {
display: flex;
align-items: flex-start;
align-self: stretch;
gap: 12px;
width: 100%;
}
.play-comment-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
background: #525252;
flex-shrink: 0;
}
.play-comment-body {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 10px;
}
.play-comment-name {
color: rgba(255, 255, 255, 0.65);
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
}
.play-comment-text {
color: white;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
word-wrap: break-word;
}
.play-comment-meta {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.play-comment-meta-left {
display: flex;
align-items: center;
gap: 6px;
}
.play-comment-time {
color: rgba(255, 255, 255, 0.65);
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.play-comment-like {
display: inline-flex;
align-items: center;
gap: 4px;
background: none;
border: none;
padding: 0;
cursor: pointer;
color: white;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.play-comment-like img {
width: 18px;
height: 18px;
object-fit: contain;
}
.play-comment-more-replies {
display: inline-flex;
align-items: center;
gap: 0;
padding: 6px 12px;
background: rgba(255, 255, 255, 0.05);
border: none;
border-radius: 3px;
cursor: pointer;
color: #679ACC;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
align-self: stretch;
justify-content: flex-start;
}
.play-comment-more-replies img {
width: 16px;
height: 16px;
filter: brightness(0) saturate(100%) invert(58%) sepia(28%) saturate(652%) hue-rotate(169deg) brightness(95%) contrast(88%);
}
.play-comment-like img[src*="like_hollow"] {
filter: brightness(0) invert(1);
opacity: 0.9;
}
.play-comment-replies {
width: 100%;
padding: 12px;
background: rgba(255, 255, 255, 0.05);
border-radius: 6px;
display: flex;
flex-direction: column;
gap: 4px;
box-sizing: border-box;
}
.play-comment-reply-line {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: 4px;
width: 100%;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.play-comment-reply-name {
color: rgba(255, 255, 255, 0.65);
}
.play-comment-reply-badge {
padding: 0 2px;
background: linear-gradient(135deg, #FF5F62 0%, #F73336 100%);
border-radius: 3px;
color: white;
font-size: 10px;
line-height: 16px;
}
.play-comment-reply-text {
color: white;
}
.play-comment-reply-action {
background: none;
border: none;
padding: 0;
margin-left: 4px;
cursor: pointer;
color: #679ACC;
font-size: 12px;
font-family: PingFang SC;
line-height: 18px;
flex-shrink: 0;
}
.play-comment-reply-to {
color: rgba(255, 255, 255, 0.65);
}
.play-comment-reply-hint {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 4px;
color: rgba(255, 255, 255, 0.65);
font-size: 12px;
line-height: 18px;
}
.play-comment-reply-hint button {
background: none;
border: none;
padding: 0;
color: #ec237f;
cursor: pointer;
font-size: 12px;
}
.play-comment-replies-all {
background: none;
border: none;
padding: 0;
cursor: pointer;
color: #679ACC;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
text-align: left;
}
body.play-comment-sheet-open {
overflow: hidden;
}
body.play-comment-sheet-open .play-h5-sheet-mask {
display: block;
}
body.play-comment-sheet-open .play-comment-sheet {
display: flex;
}
}
/* PC 播放器操控栏:按 Figma 40635:136408 / 40635:136415 还原。 */
@media (min-width: 768px) {
.play-player .play-player-center,
.play-player .play-player-center img {
width: calc(84px * var(--play-s));
height: calc(84px * var(--play-s));
}
.play-player .dplayer-controller {
left: calc(50px * var(--play-s)) !important;
right: calc(50px * var(--play-s)) !important;
bottom: calc(30px * var(--play-s)) !important;
width: auto !important;
height: calc(53px * var(--play-s)) !important;
padding: 0 !important;
box-sizing: border-box;
}
.play-player .dplayer-controller-mask {
height: calc(150px * var(--play-s)) !important;
}
.play-player .dplayer-bar-wrap {
left: 0 !important;
right: 0 !important;
top: 0 !important;
bottom: auto !important;
width: 100% !important;
height: calc(12px * var(--play-s)) !important;
margin: 0 !important;
padding: calc(4px * var(--play-s)) 0 !important;
box-sizing: border-box;
}
.play-player .dplayer-bar,
.play-player .dplayer-loaded,
.play-player .dplayer-played {
height: calc(4px * var(--play-s)) !important;
border-radius: calc(2px * var(--play-s)) !important;
}
.play-player .dplayer-bar {
background: rgba(255, 255, 255, 0.3) !important;
}
.play-player .dplayer-loaded {
background: rgba(255, 255, 255, 0.15) !important;
}
.play-player .dplayer-played {
background: linear-gradient(90deg, #fff 0%, #999 100%) !important;
}
.play-player .dplayer-bar .dplayer-thumb {
right: 0 !important;
width: calc(12px * var(--play-s)) !important;
height: calc(12px * var(--play-s)) !important;
margin-top: calc(-4px * var(--play-s)) !important;
margin-right: calc(-6px * var(--play-s)) !important;
background: #fff !important;
transform: scale(1) !important;
}
.play-player .dplayer-icons-left,
.play-player .dplayer-icons-right {
top: calc(29px * var(--play-s)) !important;
bottom: auto !important;
height: calc(24px * var(--play-s)) !important;
display: flex !important;
align-items: center;
box-sizing: border-box;
}
.play-player .dplayer-icons-left {
left: 0 !important;
gap: calc(24px * var(--play-s)) !important;
}
.play-player .dplayer-icons-right {
right: 0 !important;
gap: calc(20px * var(--play-s)) !important;
}
.play-player .dplayer-icons .dplayer-icon,
.play-player .play-player-next,
.play-player .dplayer-volume,
.play-player .dplayer-full {
flex: 0 0 calc(24px * var(--play-s));
width: calc(24px * var(--play-s)) !important;
height: calc(24px * var(--play-s)) !important;
min-width: 0;
padding: 0 !important;
margin: 0 !important;
box-sizing: border-box;
}
.play-player .play-player-next {
display: inline-flex !important;
align-items: center;
justify-content: center;
}
.play-player .play-player-next img {
width: 100%;
height: 100%;
display: block;
}
.play-player .play-player-next:disabled {
cursor: default;
opacity: 0.35;
}
.play-player .dplayer-play-icon .dplayer-icon-content,
.play-player .dplayer-volume-icon .dplayer-icon-content,
.play-player .dplayer-full-icon .dplayer-icon-content {
opacity: 0 !important;
}
.play-player .dplayer-play-icon {
position: relative;
background: center / contain no-repeat url("/static/images/figma-play/control-play.svg") !important;
}
.play-player .dplayer.dplayer-playing .dplayer-play-icon {
background: none !important;
}
.play-player .dplayer.dplayer-playing .dplayer-play-icon::before,
.play-player .dplayer.dplayer-playing .dplayer-play-icon::after {
content: "";
position: absolute;
top: calc(4px * var(--play-s));
width: calc(4px * var(--play-s));
height: calc(16px * var(--play-s));
border-radius: calc(1px * var(--play-s));
background: #fff;
}
.play-player .dplayer.dplayer-playing .dplayer-play-icon::before {
left: calc(5px * var(--play-s));
}
.play-player .dplayer.dplayer-playing .dplayer-play-icon::after {
right: calc(5px * var(--play-s));
}
.play-player .dplayer-volume-icon {
background: center / contain no-repeat url("/static/images/figma-play/control-volume.svg") !important;
}
.play-player .dplayer-full-icon {
background: center / contain no-repeat url("/static/images/figma-play/control-fullscreen.svg") !important;
}
.play-player .dplayer-volume-bar-wrap,
.play-player .dplayer-full-in-icon {
display: none !important;
}
.play-player .dplayer-setting {
display: inline-flex !important;
align-items: center;
width: auto !important;
height: calc(24px * var(--play-s)) !important;
}
.play-player .dplayer-setting-icon {
display: inline-flex !important;
flex: 0 0 auto !important;
width: auto !important;
height: calc(24px * var(--play-s)) !important;
align-items: center;
justify-content: center;
}
.play-player .dplayer-setting-icon::after {
content: none !important;
}
.play-player .play-player-speed-label {
display: inline-block;
color: #fff;
font-size: calc(14px * var(--play-s));
font-weight: 400;
line-height: calc(20px * var(--play-s));
white-space: nowrap;
}
.play-player .dplayer-time {
height: calc(24px * var(--play-s));
color: #8a8a8a !important;
font-size: calc(18px * var(--play-s)) !important;
font-weight: 400;
line-height: calc(24px * var(--play-s)) !important;
white-space: nowrap;
}
}
/* PC play — Figma 1920; scales with --play-s / --detail-s. */
@media (min-width: 768px) {
body.is-play-page {
--play-s: min(1, 100vw / 1920px);
--detail-s: var(--play-s);
background: #0f0f0f;
}
.play-page.page-shell {
width: 100%;
max-width: none;
padding: calc(30px * var(--play-s)) calc(60px * var(--play-s));
gap: calc(30px * var(--play-s));
align-items: stretch;
box-sizing: border-box;
}
.play-breadcrumb {
width: 100%;
max-width: calc(1800px * var(--play-s));
margin: 0 auto;
gap: calc(6px * var(--play-s));
}
.play-breadcrumb-link,
.play-breadcrumb-sep {
color: rgba(255, 255, 255, 0.55);
font-size: calc(18px * var(--play-s));
line-height: calc(24px * var(--play-s));
}
.play-breadcrumb-current {
color: #ec237f;
font-size: calc(18px * var(--play-s));
line-height: calc(24px * var(--play-s));
}
.play-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) calc(1px * var(--play-s)) calc(296px * var(--play-s));
gap: calc(36px * var(--play-s));
justify-content: stretch;
align-items: start;
width: 100%;
max-width: calc(1800px * var(--play-s));
margin: 0 auto;
}
.play-main {
display: flex;
width: 100%;
min-width: 0;
flex-direction: column;
gap: calc(30px * var(--play-s));
}
.content-column-divider {
width: calc(1px * var(--play-s));
min-height: 100%;
align-self: stretch;
background: rgba(255, 255, 255, 0.1);
}
.play-player {
width: 100%;
height: auto;
aspect-ratio: 1431 / 574;
border-radius: calc(24px * var(--play-s));
overflow: hidden;
}
.play-info {
display: grid;
grid-template-columns: 1fr auto;
grid-template-areas:
"text text"
"actions download";
align-items: center;
column-gap: calc(24px * var(--play-s));
row-gap: calc(18px * var(--play-s));
overflow: visible;
}
.play-info-text {
grid-area: text;
display: flex;
flex-direction: column;
gap: calc(18px * var(--play-s));
overflow: visible;
}
.play-info-ep,
.play-info-sub { display: none; }
.play-info-title {
order: 1;
color: #fff;
font-size: calc(24px * var(--play-s));
font-weight: 600;
line-height: calc(32px * var(--play-s));
white-space: normal;
overflow: visible;
text-overflow: unset;
}
.play-info-meta {
order: 2;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: calc(18px * var(--play-s));
color: rgba(255, 255, 255, 0.55);
font-size: calc(16px * var(--play-s));
line-height: calc(22px * var(--play-s));
}
.play-info-desc {
order: 3;
margin: 0;
color: rgba(255, 255, 255, 0.55);
font-size: calc(16px * var(--play-s));
line-height: calc(22px * var(--play-s));
}
.play-info-desc::before {
content: "简介:";
}
.play-info-tags {
order: 4;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: calc(10px * var(--play-s));
}
.play-info-tags::before {
content: "分类标签:";
color: rgba(255, 255, 255, 0.55);
font-size: calc(18px * var(--play-s));
line-height: calc(24px * var(--play-s));
margin-right: calc(8px * var(--play-s));
}
.play-info-tag {
height: auto;
padding: calc(7px * var(--play-s)) calc(16px * var(--play-s));
border-radius: calc(8px * var(--play-s));
background: rgba(255, 255, 255, 0.05);
color: #fff;
font-size: calc(14px * var(--play-s));
line-height: calc(20px * var(--play-s));
}
.play-info-actions {
grid-area: actions;
display: inline-flex;
align-items: center;
gap: calc(16px * var(--play-s));
justify-self: start;
}
body.is-play-page .detail-action {
gap: calc(10px * var(--play-s));
color: #fff;
font-size: calc(14px * var(--play-s));
line-height: calc(21px * var(--play-s));
}
body.is-play-page .detail-action-icon {
width: calc(30px * var(--play-s));
height: calc(30px * var(--play-s));
background: rgba(255, 74, 74, 0.08);
border-radius: 50%;
}
body.is-play-page .detail-action-icon img {
width: calc(16px * var(--play-s));
height: calc(16px * var(--play-s));
filter: brightness(0) invert(1);
}
body.is-play-page .detail-action--active .detail-action-icon {
background: #ec237f;
}
body.is-play-page .detail-action-sep {
width: calc(2px * var(--play-s));
height: calc(19px * var(--play-s));
background: rgba(255, 255, 255, 0.05);
}
.play-download-btn {
grid-area: download;
display: inline-flex;
height: auto;
padding: calc(12px * var(--play-s)) calc(24px * var(--play-s));
align-items: center;
justify-content: center;
gap: calc(12px * var(--play-s));
border-radius: calc(12px * var(--play-s));
background: #ec237f;
color: #fff;
font-size: calc(16px * var(--play-s));
font-weight: 600;
line-height: calc(22px * var(--play-s));
text-decoration: none;
justify-self: end;
}
.play-download-btn::before {
content: "";
width: calc(24px * var(--play-s));
height: calc(24px * var(--play-s));
flex: 0 0 auto;
background: center / contain no-repeat url("/static/images/figma-nav/app.svg");
filter: brightness(0) invert(1);
}
.play-episodes { gap: calc(14px * var(--play-s)); }
.play-episodes-label {
padding-bottom: 0;
border-bottom: 0;
color: #fff;
font-size: calc(24px * var(--play-s));
font-weight: 500;
line-height: calc(32px * var(--play-s));
}
.play-ep-grid {
display: grid;
grid-template-columns: repeat(auto-fill, calc(58px * var(--play-s)));
justify-content: space-between;
align-items: center;
gap: calc(12px * var(--play-s)) calc(7px * var(--play-s));
overflow: hidden;
}
.play-ep {
flex: none;
width: calc(58px * var(--play-s));
min-width: calc(58px * var(--play-s));
height: calc(58px * var(--play-s));
border-radius: calc(10px * var(--play-s));
background: rgba(255, 255, 255, 0.10);
color: #fff;
font-size: calc(18px * var(--play-s));
font-weight: 400;
line-height: calc(24px * var(--play-s));
}
.play-ep-num {
width: calc(24px * var(--play-s));
text-align: center;
color: inherit;
}
.play-ep--active {
background: rgba(255, 74, 74, 0.08);
color: #ec237f;
}
.play-ep--active .play-ep-num {
color: #ec237f;
}
.play-ep-lock {
height: calc(16px * var(--play-s));
top: calc(6px * var(--play-s));
right: calc(6px * var(--play-s));
font-size: calc(10px * var(--play-s));
line-height: calc(16px * var(--play-s));
}
.play-comments { width: 100%; }
.play-sidebar {
display: block;
width: calc(296px * var(--play-s));
min-width: 0;
flex-shrink: 0;
}
.play-sidebar .detail-related {
display: flex;
width: calc(296px * var(--play-s));
flex-direction: column;
gap: calc(12px * var(--play-s));
}
.play-sidebar .detail-related-title {
height: calc(36px * var(--play-s));
color: #fff;
font-size: calc(24px * var(--play-s));
font-weight: 600;
line-height: calc(36px * var(--play-s));
}
.play-sidebar .detail-related .card-grid {
display: flex;
width: 100%;
flex-direction: column;
gap: calc(12px * var(--play-s));
}
.play-sidebar .detail-related .poster-card {
display: flex;
width: calc(296px * var(--play-s));
min-height: 0;
flex-direction: column;
gap: 0;
overflow: hidden;
border-radius: calc(18px * var(--play-s));
background: transparent;
}
.play-sidebar .detail-related .poster-card:nth-child(n + 6) { display: none; }
.play-sidebar .detail-related .poster-cover {
position: relative;
width: 100%;
height: auto;
aspect-ratio: 296 / 415;
padding: 0;
overflow: hidden;
border-radius: 0;
}
.play-sidebar .detail-related .poster-cover-img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.play-sidebar .detail-related .poster-card-body {
min-height: calc(104px * var(--play-s));
padding: calc(12px * var(--play-s)) calc(10px * var(--play-s));
gap: calc(6px * var(--play-s));
background: rgba(255, 255, 255, 0.05);
box-sizing: border-box;
}
.play-sidebar .detail-related .poster-card-title {
font-size: calc(16px * var(--play-s));
font-weight: 600;
line-height: calc(22px * var(--play-s));
}
.play-sidebar .detail-related .poster-card-subtitle {
display: -webkit-box !important;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
color: rgba(255, 255, 255, 0.55);
font-size: calc(14px * var(--play-s));
line-height: calc(20px * var(--play-s));
}
.play-sidebar .detail-related .poster-card-tag {
padding: calc(2px * var(--play-s)) calc(8px * var(--play-s));
border-radius: calc(9px * var(--play-s));
font-size: calc(14px * var(--play-s));
line-height: calc(20px * var(--play-s));
}
}
@media (max-width: 767px) {
body.is-play-page,
.play-page.page-shell { background: #0f0f0f; }
.square-promo--pc-only,
.content-official-info,
.content-column-divider,
.play-sidebar,
.play-download-btn { display: none !important; }
.play-h5-feedback {
display: flex;
width: 24px;
height: 24px;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.play-h5-feedback img {
width: 24px;
height: 24px;
display: block;
}
.play-player .dplayer-played { background: #EC237F !important; }
.play-h5-side-item { color: #fff; }
.play-h5-side {
top: auto;
bottom: 68px;
transform: none;
}
.play-h5-next { background: rgba(0, 0, 0, .6); }
.play-h5-next-countdown { color: #f59e0b; }
.play-h5-bottom { background: #181818; }
.play-speed-sheet-option.is-active,
.play-ep-sheet-tab--active { color: #ec237f; }
}