Files
web_huangguo_web/app/static/css/detail.css
T
fish03andClaude Opus 5.5 bef9f8b4ed Initial commit
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 14:43:16 +07:00

2041 lines
44 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
.detail-page {
background: transparent;
gap: 44px;
width: 964px;
max-width: calc(100% - 32px);
}
.detail-h5-bg,
.detail-h5-top,
.detail-h5-bar,
.detail-meta-h5,
.detail-intro-title,
.detail-episodes-status,
.detail-episode-ranges,
.detail-episode--preview,
.detail-related-title-h5,
.detail-related-refresh {
display: none;
}
.detail-breadcrumb {
display: inline-flex;
align-items: center;
gap: 8px;
overflow: hidden;
}
.detail-breadcrumb-link {
color: #A3A3A3;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
text-decoration: none;
}
.detail-breadcrumb-sep {
color: #D4D4D4;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
}
.detail-breadcrumb-current {
color: #ec237f;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
}
.detail-hero {
align-self: stretch;
width: 100%;
padding: 24px 48px 24px 24px;
background: rgba(255, 255, 255, 0.05);
overflow: hidden;
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.10);
justify-content: flex-start;
align-items: center;
gap: 24px;
display: flex;
box-sizing: border-box;
}
.detail-cover {
width: 300px;
height: 400px;
border-radius: 18px;
object-fit: cover;
flex-shrink: 0;
}
.detail-hero-main {
flex: 1 1 0;
min-width: 0;
min-height: 400px;
overflow: hidden;
flex-direction: column;
justify-content: center;
align-items: flex-start;
gap: 30px;
display: flex;
}
.detail-hero-info {
width: 100%;
overflow: hidden;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 30px;
display: flex;
}
.detail-tags {
align-self: stretch;
height: auto;
min-height: 26px;
overflow: visible;
justify-content: flex-start;
align-items: flex-start;
gap: 9px;
display: flex;
flex-wrap: wrap;
}
.detail-tag {
height: 26px;
max-width: 100%;
padding: 0 11px;
background: rgba(255, 255, 255, 0.10);
overflow: hidden;
border-radius: 13px;
justify-content: center;
align-items: center;
display: inline-flex;
color: #8A8A8A;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
box-sizing: border-box;
flex-shrink: 0;
white-space: nowrap;
text-overflow: ellipsis;
text-decoration: none;
}
.detail-tag--primary {
background: #ec237f;
color: #fff;
}
.detail-title {
margin: 0;
color: white;
font-size: 34px;
font-family: PingFang SC;
font-weight: 400;
line-height: 40px;
word-wrap: break-word;
}
.detail-meta {
color: #8A8A8A;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
word-wrap: break-word;
}
.detail-meta-pc {
display: flex;
align-items: center;
gap: 18px;
}
.detail-intro-block {
width: 100%;
}
.detail-intro {
margin: 0;
width: 100%;
color: #8A8A8A;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
word-wrap: break-word;
display: -webkit-box;
-webkit-line-clamp: 6;
-webkit-box-orient: vertical;
overflow: hidden;
}
.detail-intro-prefix-pc {
display: inline;
}
.detail-actions {
width: 100%;
height: 45px;
overflow: hidden;
justify-content: space-between;
align-items: center;
display: flex;
gap: 16px;
flex-wrap: wrap;
}
.detail-play-btn {
height: 45px;
padding: 0 12px;
background: #ec237f;
overflow: hidden;
border-radius: 23px;
justify-content: center;
align-items: center;
display: flex;
border: none;
cursor: pointer;
color: #181818;
font-size: 16px;
font-family: PingFang SC;
font-weight: 400;
line-height: 22px;
text-decoration: none;
box-sizing: border-box;
}
.detail-action-group {
justify-content: flex-start;
align-items: center;
gap: 16px;
display: flex;
}
.detail-action {
justify-content: flex-start;
align-items: center;
gap: 10px;
display: flex;
background: none;
border: none;
cursor: pointer;
color: white;
text-decoration: none;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 21px;
padding: 0;
}
.detail-action--active {
color: white;
}
.detail-action--active .detail-action-icon {
background: #ec237f;
opacity: 1;
}
.detail-action--active .detail-action-icon img {
filter: brightness(0);
}
.detail-action-icon {
width: 30px;
height: 30px;
background: rgba(236, 35, 127, 0.10);
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.detail-action-icon img {
width: 16px;
height: 16px;
object-fit: contain;
filter: none;
}
.detail-action-sep {
width: 2px;
height: 19px;
background: rgba(255, 255, 255, 0.05);
}
.detail-episodes {
align-self: stretch;
width: 100%;
overflow: hidden;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 16px;
display: flex;
}
.detail-episodes-head {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.detail-section-label {
color: #F5F5F5;
font-size: 18px;
font-family: PingFang SC;
font-weight: 600;
line-height: 27px;
}
.detail-episode-list {
width: 100%;
justify-content: flex-start;
align-items: flex-start;
gap: 14px;
display: flex;
flex-wrap: wrap;
}
.detail-episode {
flex: 0 0 calc((100% - 98px) / 8);
width: calc((100% - 98px) / 8);
height: 54px;
position: relative;
background: rgba(255, 255, 255, 0.10);
overflow: hidden;
border-radius: 7px;
justify-content: center;
align-items: center;
display: flex;
border: none;
cursor: pointer;
color: #808080;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
text-decoration: none;
box-sizing: border-box;
}
.detail-episode-coin {
width: 16px;
height: 16px;
right: 6px;
left: auto;
top: 6px;
position: absolute;
display: block;
padding: 0;
background: none;
overflow: visible;
border-radius: 0;
box-sizing: border-box;
pointer-events: none;
}
.detail-episode-coin img {
width: 16px;
height: 16px;
object-fit: contain;
display: block;
}
.detail-comments {
align-self: stretch;
width: 100%;
padding: 24px;
background: rgba(255, 255, 255, 0.05);
overflow: hidden;
border-radius: 21px;
border: 1px solid rgba(255, 255, 255, 0.05);
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 12px;
display: flex;
box-sizing: border-box;
}
.detail-comments-head {
align-self: stretch;
overflow: hidden;
justify-content: space-between;
align-items: center;
display: flex;
margin-bottom: 0;
}
.detail-comments-title {
color: #F5F5F5;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
}
.detail-comments-sort {
height: 32px;
padding: 0 8px;
background: rgba(255, 255, 255, 0.05);
overflow: hidden;
border-radius: 7px;
justify-content: flex-start;
align-items: center;
gap: 12px;
display: flex;
}
.detail-sort-btn {
background: none;
border: none;
cursor: pointer;
padding: 0;
color: #A3A3A3;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
text-decoration: none;
}
.detail-sort-btn--active {
color: #F5F5F5;
}
.detail-comment-composer {
align-self: stretch;
padding: 12px;
background: rgba(255, 255, 255, 0.05);
overflow: hidden;
border-radius: 10px;
justify-content: flex-start;
align-items: flex-start;
gap: 12px;
display: flex;
box-sizing: border-box;
}
.detail-comment-composer-avatar {
width: 36px;
height: 36px;
border-radius: 18px;
object-fit: cover;
flex-shrink: 0;
}
.detail-comment-composer-main {
flex: 1;
min-width: 0;
overflow: hidden;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 12px;
display: flex;
}
.detail-comment-composer-input {
width: 100%;
min-height: 56px;
padding: 10px 12px;
background: #000;
overflow: hidden;
border-radius: 8px;
border: none;
resize: none;
box-sizing: border-box;
box-shadow: none;
outline: none;
outline-color: transparent;
-webkit-appearance: none;
appearance: none;
color: #F5F5F5;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.detail-comment-composer-input:focus,
.detail-comment-composer-input:focus-visible {
border: none;
outline: none;
outline-color: transparent;
box-shadow: none;
}
.detail-comment-composer-input::placeholder {
color: #A3A3A3;
}
.detail-comment-composer-footer {
width: 100%;
height: 28px;
overflow: hidden;
justify-content: space-between;
align-items: center;
display: flex;
}
.detail-comment-composer-status {
height: 20px;
overflow: hidden;
justify-content: flex-start;
align-items: center;
gap: 8px;
display: flex;
}
.detail-comment-composer-logged {
color: #ec237f;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.detail-comment-composer-user {
color: #A3A3A3;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.detail-comment-composer-count {
color: #D4D4D4;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.detail-comment-composer-submit {
width: 84px;
height: 28px;
background: #ec237f;
overflow: hidden;
border-radius: 14px;
justify-content: center;
align-items: center;
display: flex;
border: none;
cursor: pointer;
color: #fff;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
padding: 0;
position: relative;
gap: 6px;
box-sizing: border-box;
}
.detail-comment-composer-submit:disabled,
.detail-comment-composer-submit.is-loading {
opacity: 0.75;
cursor: not-allowed;
}
.detail-comment-composer-submit.is-loading::before {
content: "";
width: 12px;
height: 12px;
border: 2px solid rgba(24, 24, 24, 0.35);
border-top-color: #181818;
border-radius: 50%;
animation: detail-comment-spin 0.7s linear infinite;
flex-shrink: 0;
}
@keyframes detail-comment-spin {
to {
transform: rotate(360deg);
}
}
.detail-comments-login {
align-self: stretch;
height: 44px;
padding: 0 12px;
background: rgba(255, 255, 255, 0.05);
overflow: hidden;
border-radius: 7px;
justify-content: flex-start;
align-items: center;
display: flex;
box-sizing: border-box;
}
.detail-comments-login-link {
color: #ec237f;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
text-decoration: none;
}
.detail-comments-login-hint {
color: #A3A3A3;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.detail-comment-list {
align-self: stretch;
width: 100%;
box-sizing: border-box;
}
.detail-comment {
align-self: stretch;
width: 100%;
padding: 14px 0;
overflow: hidden;
border-bottom: 1px rgba(255, 255, 255, 0.05) solid;
justify-content: flex-start;
align-items: flex-start;
gap: 12px;
display: flex;
box-sizing: border-box;
}
.detail-comment:last-of-type {
border-bottom: none;
}
.detail-comment-avatar {
width: 32px;
height: 32px;
border-radius: 16px;
object-fit: cover;
flex-shrink: 0;
}
.detail-comment-body {
flex: 1;
min-width: 0;
overflow: hidden;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 6px;
display: flex;
}
.detail-comment-name {
color: #A3A3A3;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.detail-comment-text {
color: #F5F5F5;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
word-wrap: break-word;
}
.detail-comment-meta {
height: 16px;
overflow: hidden;
justify-content: flex-start;
align-items: center;
gap: 8px;
display: flex;
}
.detail-comment-time {
color: #A3A3A3;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.detail-comment-like {
display: inline-flex;
align-items: center;
gap: 4px;
background: none;
border: none;
cursor: pointer;
padding: 0;
color: #A3A3A3;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.detail-comment-like img {
width: 14px;
height: 14px;
}
.detail-comment-like--active {
color: #A3A3A3;
}
.detail-comment-like--active img {
filter: none;
}
.detail-comment-reply-label {
color: #A3A3A3;
font-size: 12px;
font-family: "Noto Sans SC", "PingFang SC", sans-serif;
font-weight: 400;
line-height: 18px;
background: none;
border: none;
padding: 0;
cursor: pointer;
}
.detail-comment-reply-label:hover {
color: #ec237f;
}
.detail-comment-reply-to {
color: #A3A3A3;
}
.detail-comment-replies {
width: 100%;
margin-top: 4px;
padding: 10px 12px;
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
display: flex;
flex-direction: column;
gap: 6px;
box-sizing: border-box;
}
.detail-comment-reply-item {
color: #F5F5F5;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 4px 6px;
}
.detail-comment-reply-name {
color: #A3A3A3;
}
.detail-comment-reply-text {
color: #F5F5F5;
word-break: break-word;
}
.detail-comment-reply-item[hidden] {
display: none !important;
}
.detail-comment-replies-toggle {
align-self: flex-start;
text-align: left;
padding: 0;
background: none;
border: none;
color: #ec237f;
font-size: 12px;
font-family: "Noto Sans SC", "PingFang SC", sans-serif;
font-weight: 400;
line-height: 18px;
cursor: pointer;
}
.detail-comment-replies-toggle:hover {
opacity: 0.92;
}
.detail-comment-reply-hint {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 6px;
color: #A3A3A3;
font-size: 12px;
line-height: 18px;
}
.detail-comment-reply-hint button {
background: none;
border: none;
padding: 0;
color: #ec237f;
cursor: pointer;
font-size: 12px;
}
.detail-comment-inline-composer {
width: 100%;
margin-top: 8px;
padding: 10px 12px;
background: rgba(255, 255, 255, 0.05);
border-radius: 6px;
box-sizing: border-box;
display: flex;
flex-direction: column;
gap: 8px;
}
.detail-comment-inline-input {
width: 100%;
min-height: 56px;
padding: 8px 10px;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 6px;
background: #0A0A0A;
color: #F5F5F5;
font-size: 13px;
font-family: "Noto Sans SC", "PingFang SC", sans-serif;
line-height: 20px;
resize: none;
box-sizing: border-box;
}
.detail-comment-inline-input::placeholder {
color: #737373;
}
.detail-comment-inline-input:focus,
.detail-comment-inline-input:focus-visible {
border-color: rgba(236, 35, 127, 0.55);
outline: none;
outline-color: transparent;
box-shadow: none;
}
.detail-comment-inline-footer {
display: flex;
justify-content: flex-end;
}
.detail-comment-inline-send {
height: 32px;
padding: 0 14px;
border: none;
border-radius: 6px;
background: #ec237f;
color: #fff;
font-size: 13px;
font-family: "Noto Sans SC", "PingFang SC", sans-serif;
font-weight: 500;
cursor: pointer;
}
.detail-comment-inline-send:disabled,
.detail-comment-inline-send.is-loading {
opacity: 0.6;
cursor: not-allowed;
}
.detail-comments-more {
align-self: stretch;
height: 43px;
background: rgba(255, 255, 255, 0.05);
overflow: hidden;
border-radius: 7px;
justify-content: center;
align-items: center;
display: flex;
border: none;
cursor: pointer;
color: #A3A3A3;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
margin-top: 0;
}
.detail-comments-more[hidden] {
display: none !important;
}
.detail-related {
align-self: stretch;
width: 100%;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 9px;
display: inline-flex;
}
.detail-related-head {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.detail-related-title {
color: white;
font-size: 28px;
font-family: PingFang SC;
font-weight: 400;
line-height: 34px;
word-wrap: break-word;
}
.detail-related-desc {
color: #A3A3A3;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
word-wrap: break-word;
}
.detail-related .card-grid {
width: 100%;
margin-top: 0;
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
justify-content: stretch;
align-items: stretch;
gap: 14px 16px;
}
.detail-related .poster-card {
text-decoration: none;
color: inherit;
cursor: pointer;
}
@media (max-width: 767px) {
body.site-shell.is-detail-page {
--site-footer-margin-top: 18px;
background: #0A0A0A;
position: relative;
/* 详情页移动端使用自身的沉浸式顶部栏,不继承公共导航的占位。 */
padding-top: 0;
/* 固定操作栏的避让放在公共页脚之后,避免遮住页脚操作区。 */
padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
}
body.is-detail-page .site-header,
body.is-detail-page .footer-box,
body.is-detail-page .floating-action,
body.is-detail-page .download-fab,
.site-header:has(+ .detail-h5-bg) {
display: none !important;
height: 0 !important;
min-height: 0 !important;
overflow: hidden !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
}
.detail-h5-bg {
display: block;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 544px;
overflow: hidden;
z-index: 0;
pointer-events: none;
}
.detail-h5-bg-img {
width: 100%;
height: 100%;
object-fit: cover;
}
.detail-h5-bg-mask {
position: absolute;
inset: 0;
background: linear-gradient(
180deg,
rgba(0, 0, 0, 0.7) 0%,
rgba(0, 0, 0, 0.8) 55%,
#0A0A0A 100%
);
}
.detail-h5-top {
display: flex;
position: sticky;
top: 0;
left: 0;
right: 0;
z-index: 20;
min-height: 48px;
padding: env(safe-area-inset-top, 0px) 16px 0;
align-items: center;
justify-content: space-between;
gap: 12px;
box-sizing: border-box;
pointer-events: none;
}
.detail-h5-back {
pointer-events: auto;
display: flex;
width: 24px;
height: 24px;
margin: 12px 0;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.detail-h5-back img {
width: 24px;
height: 24px;
display: block;
filter: brightness(0) invert(1);
}
.detail-h5-top-actions {
pointer-events: auto;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 12px;
margin: 12px 0;
flex-shrink: 0;
}
.detail-h5-top-btn {
width: 20px;
height: 20px;
padding: 0;
border: none;
background: transparent;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
text-decoration: none;
box-sizing: border-box;
}
.detail-h5-top-btn--like {
width: auto;
min-width: 20px;
height: auto;
gap: 4px;
}
.detail-h5-top-like-count {
color: rgba(255, 255, 255, 0.92);
font-size: 11px;
font-family: "Noto Sans SC", "PingFang SC", sans-serif;
font-weight: 400;
line-height: 12px;
white-space: nowrap;
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.55);
}
.detail-h5-top-btn img {
width: 18px;
height: 18px;
display: block;
object-fit: contain;
filter: brightness(0) invert(1);
opacity: 0.92;
}
.detail-h5-top-btn--active img,
.detail-h5-top-btn img[src*="h5_liked"] {
filter: none;
opacity: 1;
}
.detail-page.page-shell {
position: relative;
z-index: 1;
width: 100%;
max-width: 100%;
padding: 12px 16px 0;
gap: 18px;
background: transparent;
box-sizing: border-box;
}
.detail-meta-pc,
.detail-actions,
.detail-comments,
.detail-related-desc,
.detail-related-title-pc,
.detail-episode-pc,
.detail-episodes-status-icon,
.detail-breadcrumb {
display: none !important;
}
.detail-meta-h5,
.detail-intro-title,
.detail-episodes-status,
.detail-episode-ranges,
.detail-episode--preview,
.detail-related-title-h5,
.detail-related-refresh,
.detail-h5-bar {
display: flex;
}
.detail-hero {
width: 100%;
padding: 0;
background: transparent;
border-radius: 0;
border: none;
display: grid;
grid-template-columns: 76px 1fr;
gap: 18px 12px;
align-items: start;
}
.detail-hero-main {
display: contents;
}
.detail-cover {
width: 76px;
height: 106px;
border-radius: 6px;
grid-column: 1;
grid-row: 1;
background: #D4D4D4;
}
.detail-hero-info {
grid-column: 2;
grid-row: 1;
width: auto;
gap: 12px;
min-width: 0;
}
.detail-title {
order: 1;
width: 100%;
max-width: 220px;
font-size: 16px;
font-weight: 500;
line-height: 22px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.detail-meta {
order: 2;
}
.detail-meta-h5 {
align-items: flex-start;
gap: 6px;
color: white;
font-size: 12px;
line-height: 18px;
}
.detail-meta-dot {
flex-shrink: 0;
}
.detail-tags {
order: 3;
height: auto;
gap: 6px;
flex-wrap: wrap;
}
.detail-tag {
height: auto;
padding: 2px 6px;
background: rgba(255, 255, 255, 0.10);
border-radius: 3px;
color: white;
}
.detail-tag--primary {
background: rgba(255, 255, 255, 0.10);
color: white;
}
.detail-intro-block {
grid-column: 1 / -1;
max-width: none;
display: flex;
flex-direction: column;
gap: 12px;
}
.detail-intro-title {
color: white;
font-size: 16px;
font-weight: 500;
line-height: 22px;
}
.detail-intro {
color: white;
-webkit-line-clamp: 3;
}
.detail-intro-prefix-pc {
display: none;
}
.detail-episodes {
width: 100%;
gap: 12px;
}
.detail-episodes-head {
width: 100%;
}
.detail-section-label {
color: white;
font-size: 14px;
font-weight: 400;
line-height: 20px;
}
.detail-episodes-status {
align-items: center;
gap: 2px;
color: rgba(255, 255, 255, 0.35);
font-size: 12px;
line-height: 18px;
}
.detail-episode-ranges {
width: 100%;
align-items: center;
gap: 24px;
}
.detail-episode-range {
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;
}
.detail-episode-range--active {
color: white;
}
.detail-episode-list {
width: 100%;
display: flex;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: center;
gap: 6px;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.detail-episode-list::-webkit-scrollbar {
display: none;
}
.detail-episode.is-range-hidden {
display: none !important;
}
.detail-episode {
flex: 0 0 58px;
width: 58px;
min-width: 58px;
height: 58px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.10);
color: white;
font-size: 18px;
font-weight: 400;
line-height: 24px;
}
.detail-episode::before {
content: attr(data-ep);
width: 24px;
text-align: center;
}
.detail-episode-coin {
width: 16px;
height: 16px;
left: auto;
right: 6px;
top: 6px;
}
.detail-episode-coin img {
width: 16px;
height: 16px;
}
.detail-related {
width: 100%;
gap: 12px;
}
.detail-related-head {
width: 100%;
}
.detail-related-title {
color: white;
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.detail-related-refresh {
align-items: center;
gap: 2px;
background: none;
border: none;
padding: 0;
cursor: pointer;
color: white;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.detail-related-refresh img {
width: 18px;
height: 18px;
}
.detail-related .card-grid {
margin-top: 0;
width: 100%;
display: flex !important;
flex-direction: row !important;
flex-wrap: nowrap !important;
justify-content: flex-start;
align-items: flex-start;
gap: 9px;
overflow-x: auto;
overflow-y: hidden;
grid-template-columns: none !important;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
.detail-related .card-grid::-webkit-scrollbar {
display: none;
}
.detail-related .poster-card {
width: 98px !important;
max-width: 98px;
flex: 0 0 98px;
gap: 4px;
border-radius: 0;
background: transparent;
}
.detail-related .poster-cover {
width: 98px !important;
height: 131px !important;
padding-bottom: 0 !important;
border-radius: 6px;
overflow: hidden;
position: relative;
flex-shrink: 0;
}
.detail-related .poster-cover-img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.detail-related .episode-badge,
.detail-related .episode-badge-shifted,
.detail-related .community-badge,
.detail-related .free-badge-large,
.detail-related .hot-badge-large,
.detail-related .poster-flag-badge,
.detail-related .poster-corner-badges,
.detail-related .poster-card-subtitle,
.detail-related .poster-card-heat,
.detail-related .flex-spacer {
display: none !important;
}
.detail-related .poster-card-body {
width: 100%;
gap: 4px;
padding: 0;
background: transparent;
}
.detail-related .poster-card-title {
width: 100%;
color: white;
font-size: 12px;
font-family: PingFang SC, sans-serif;
font-weight: 500;
line-height: 18px;
white-space: normal;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.detail-related .poster-card-meta {
width: 100%;
gap: 4px;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: nowrap;
}
.detail-related .poster-card-tag {
color: white;
font-size: 12px;
font-weight: 400;
line-height: 18px;
background: none;
padding: 0;
height: auto;
border-radius: 0;
}
.detail-h5-bar {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 30;
padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.88) 58%, #000 100%);
box-sizing: border-box;
justify-content: flex-start;
align-items: stretch;
gap: 12px;
}
.detail-h5-collect,
.detail-h5-like {
width: 132px;
padding: 11px 24px;
background: rgba(255, 255, 255, 0.10);
border: none;
border-radius: 999px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 12px;
cursor: pointer;
color: white;
font-size: 16px;
font-family: PingFang SC;
font-weight: 400;
line-height: 22px;
flex-shrink: 0;
}
.detail-h5-collect--active,
.detail-h5-like--active {
color: #ec237f;
}
.detail-h5-collect--active img,
.detail-h5-like--active img {
filter: none;
}
.detail-h5-collect img,
.detail-h5-like img {
width: 22px;
height: 22px;
display: block;
object-fit: contain;
filter: none;
}
.detail-h5-collect--active img,
.detail-h5-like--active img {
filter: none;
}
.detail-h5-play {
flex: 1;
padding: 11px 24px;
background: #ec237f;
border-radius: 999px;
display: flex;
align-items: center;
justify-content: center;
color: #181818;
font-size: 16px;
font-family: PingFang SC;
font-weight: 500;
line-height: 22px;
text-decoration: none;
text-align: center;
box-sizing: border-box;
}
}
/* Shared content blocks exported and measured from the Figma frames. */
.content-official-info,
.content-ad-stack,
.content-column-divider,
.detail-sidebar { box-sizing: border-box; }
/* Shared content blocks measured from Figma 1920 detail. */
.content-official-info {
width: 100%;
padding: 24px 30px;
background: rgba(255, 255, 255, 0.05);
border-radius: 18px;
outline: 1px solid rgba(255, 255, 255, 0.10);
outline-offset: -1px;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 18px;
color: #fff;
font-size: 14px;
font-family: PingFang SC, sans-serif;
font-weight: 400;
line-height: 20px;
overflow: hidden;
box-sizing: border-box;
}
.content-official-info p {
margin: 0;
}
.content-official-info a,
.content-official-accent {
color: #EA1E61;
text-decoration: none;
}
.content-ad-stack {
display: flex;
flex-direction: column;
align-self: stretch;
gap: 12px;
width: 100%;
}
/* Figma: 1431×178 banner frame — stretch, 178px, radius 12, image cover-crop */
.content-ad-stack a {
display: block;
position: relative;
align-self: stretch;
width: 100%;
height: 178px;
overflow: hidden;
border-radius: 12px;
}
.content-ad-stack img {
position: absolute;
left: 0;
top: 0;
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
/* PC detail — Figma 1920 design; scales with viewport via --detail-s. */
@media (min-width: 768px) {
body.is-detail-page {
--detail-s: min(1, 100vw / 1920px);
background: #0f0f0f;
}
.detail-page.page-shell {
width: 100%;
max-width: none;
padding: calc(30px * var(--detail-s)) calc(60px * var(--detail-s));
gap: calc(30px * var(--detail-s));
align-items: stretch;
box-sizing: border-box;
}
.detail-breadcrumb {
width: 100%;
max-width: calc(1800px * var(--detail-s));
margin: 0 auto;
gap: calc(6px * var(--detail-s));
}
.detail-breadcrumb-link,
.detail-breadcrumb-sep {
color: rgba(255, 255, 255, 0.55);
font-size: calc(18px * var(--detail-s));
line-height: calc(24px * var(--detail-s));
}
.detail-breadcrumb-current {
color: #ec237f;
font-size: calc(18px * var(--detail-s));
line-height: calc(24px * var(--detail-s));
}
.detail-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) calc(1px * var(--detail-s)) calc(296px * var(--detail-s));
gap: calc(36px * var(--detail-s));
justify-content: stretch;
align-items: start;
width: 100%;
max-width: calc(1800px * var(--detail-s));
margin: 0 auto;
}
.detail-main {
display: flex;
min-width: 0;
flex-direction: column;
gap: calc(30px * var(--detail-s));
}
.content-column-divider {
width: calc(1px * var(--detail-s));
min-height: 100%;
align-self: stretch;
background: rgba(255, 255, 255, 0.1);
}
.detail-sidebar {
width: calc(296px * var(--detail-s));
flex-shrink: 0;
}
.detail-hero {
min-height: 0;
padding: calc(24px * var(--detail-s)) calc(48px * var(--detail-s)) calc(24px * var(--detail-s)) calc(24px * var(--detail-s));
background: rgba(255, 255, 255, 0.05);
border: 0;
outline: 1px solid rgba(255, 255, 255, 0.10);
outline-offset: -1px;
border-radius: calc(16px * var(--detail-s));
gap: calc(24px * var(--detail-s));
}
.detail-cover {
width: calc(300px * var(--detail-s));
height: calc(400px * var(--detail-s));
border-radius: calc(18px * var(--detail-s));
}
.detail-hero-main {
min-height: calc(400px * var(--detail-s));
gap: calc(30px * var(--detail-s));
}
.detail-hero-info { gap: calc(30px * var(--detail-s)); }
.detail-tags {
gap: calc(9px * var(--detail-s));
height: calc(26px * var(--detail-s));
overflow: hidden;
}
.detail-tag {
height: calc(26px * var(--detail-s));
padding: 0 calc(11px * var(--detail-s));
border-radius: calc(6px * var(--detail-s));
background: rgba(255, 255, 255, 0.10);
color: rgba(255, 255, 255, 0.55);
font-size: calc(12px * var(--detail-s));
line-height: calc(18px * var(--detail-s));
}
.detail-tag--primary { background: #ec237f; color: #fff; }
.detail-title {
font-size: calc(24px * var(--detail-s));
font-weight: 600;
line-height: calc(32px * var(--detail-s));
}
.detail-meta {
color: rgba(255, 255, 255, 0.55);
font-size: calc(16px * var(--detail-s));
line-height: calc(22px * var(--detail-s));
}
.detail-meta-pc { gap: calc(18px * var(--detail-s)); }
.detail-intro {
color: rgba(255, 255, 255, 0.55);
font-size: calc(14px * var(--detail-s));
line-height: calc(20px * var(--detail-s));
}
.detail-actions {
height: calc(45px * var(--detail-s));
justify-content: space-between;
}
.detail-play-btn {
height: calc(45px * var(--detail-s));
padding: 0 calc(12px * var(--detail-s));
gap: calc(4px * var(--detail-s));
border-radius: calc(23px * var(--detail-s));
background: #ec237f;
color: #fff;
font-size: calc(16px * var(--detail-s));
line-height: calc(22px * var(--detail-s));
}
.detail-play-btn img {
width: calc(16px * var(--detail-s));
height: calc(17px * var(--detail-s));
filter: brightness(0) invert(1);
}
.detail-action-group { gap: calc(16px * var(--detail-s)); }
.detail-action {
gap: calc(10px * var(--detail-s));
color: #fff;
font-size: calc(14px * var(--detail-s));
line-height: calc(21px * var(--detail-s));
}
.detail-action-icon {
width: calc(30px * var(--detail-s));
height: calc(30px * var(--detail-s));
background: #ec237f;
border-radius: 50%;
}
.detail-action-icon img {
width: calc(16px * var(--detail-s));
height: calc(16px * var(--detail-s));
filter: brightness(0) invert(1);
}
.detail-action--active .detail-action-icon { background: #ec237f; }
.detail-action-sep {
width: calc(2px * var(--detail-s));
height: calc(19px * var(--detail-s));
background: rgba(255, 255, 255, 0.05);
}
.detail-episodes { gap: calc(14px * var(--detail-s)); }
.detail-section-label {
font-size: calc(24px * var(--detail-s));
font-weight: 500;
line-height: calc(32px * var(--detail-s));
}
.detail-episode-pc {
display: none !important;
}
.detail-episode-list {
display: grid;
grid-template-columns: repeat(auto-fill, calc(58px * var(--detail-s)));
justify-content: space-between;
align-items: center;
gap: calc(12px * var(--detail-s)) calc(7px * var(--detail-s));
overflow: hidden;
}
.detail-episode {
flex: none;
width: calc(58px * var(--detail-s));
min-width: calc(58px * var(--detail-s));
height: calc(58px * var(--detail-s));
border-radius: calc(10px * var(--detail-s));
background: rgba(255, 255, 255, 0.10);
color: #fff;
font-size: calc(18px * var(--detail-s));
font-weight: 400;
line-height: calc(24px * var(--detail-s));
}
.detail-episode.is-active,
.detail-episode.detail-episode--active {
background: rgba(255, 74, 74, 0.08);
color: #ec237f;
}
.detail-episode::before {
content: attr(data-ep);
width: calc(24px * var(--detail-s));
text-align: center;
}
.detail-episode-coin {
width: calc(16px * var(--detail-s));
height: calc(16px * var(--detail-s));
top: calc(6px * var(--detail-s));
right: calc(6px * var(--detail-s));
}
.detail-episode-coin img {
width: 100%;
height: 100%;
}
.content-official-info {
padding: calc(24px * var(--detail-s)) calc(30px * var(--detail-s));
border-radius: calc(18px * var(--detail-s));
gap: calc(18px * var(--detail-s));
font-size: calc(14px * var(--detail-s));
line-height: calc(20px * var(--detail-s));
}
.content-ad-stack { gap: calc(12px * var(--detail-s)); }
.content-ad-stack a {
height: calc(166px * var(--detail-s));
border-radius: calc(12px * var(--detail-s));
}
.detail-comments {
padding: calc(24px * var(--detail-s));
background: rgba(255, 255, 255, 0.05);
border-radius: calc(21px * var(--detail-s));
outline: 1px solid rgba(255, 255, 255, 0.10);
outline-offset: -1px;
gap: calc(12px * var(--detail-s));
}
.detail-comments-title {
font-size: calc(14px * var(--detail-s));
line-height: calc(20px * var(--detail-s));
}
.detail-comments-sort {
height: calc(32px * var(--detail-s));
padding: 0 calc(8px * var(--detail-s));
border-radius: calc(7px * var(--detail-s));
gap: calc(12px * var(--detail-s));
}
.detail-sort-btn {
font-size: calc(12px * var(--detail-s));
line-height: calc(18px * var(--detail-s));
}
.detail-comment-composer,
.detail-comment-login {
min-height: calc(44px * var(--detail-s));
padding: 12px calc(12px * var(--detail-s));
border-radius: calc(7px * var(--detail-s));
font-size: calc(12px * var(--detail-s));
line-height: calc(18px * var(--detail-s));
}
.detail-related {
display: flex;
width: calc(296px * var(--detail-s));
flex-direction: column;
gap: calc(12px * var(--detail-s));
}
.detail-related-title {
height: calc(36px * var(--detail-s));
color: #fff;
font-size: calc(24px * var(--detail-s));
font-weight: 600;
line-height: calc(36px * var(--detail-s));
}
.detail-related .card-grid {
display: flex;
width: 100%;
flex-direction: column;
gap: calc(12px * var(--detail-s));
}
.detail-related .poster-card {
display: flex;
width: calc(296px * var(--detail-s));
min-height: 0;
flex-direction: column;
gap: 0;
overflow: hidden;
border-radius: calc(18px * var(--detail-s));
background: transparent;
}
.detail-related .poster-card:nth-child(n + 6) { display: none; }
.detail-related .poster-cover {
position: relative;
width: 100%;
height: auto;
aspect-ratio: 296 / 415;
padding: 0;
overflow: hidden;
border-radius: 0;
}
.detail-related .poster-cover-img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.detail-related .poster-card-body {
min-height: calc(104px * var(--detail-s));
padding: calc(12px * var(--detail-s)) calc(10px * var(--detail-s));
gap: calc(6px * var(--detail-s));
background: rgba(255, 255, 255, 0.05);
box-sizing: border-box;
}
.detail-related .poster-card-title {
font-size: calc(16px * var(--detail-s));
font-weight: 600;
line-height: calc(22px * var(--detail-s));
}
.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(--detail-s));
line-height: calc(20px * var(--detail-s));
}
.detail-related .poster-card-tag {
padding: calc(2px * var(--detail-s)) calc(8px * var(--detail-s));
border-radius: calc(9px * var(--detail-s));
font-size: calc(14px * var(--detail-s));
line-height: calc(20px * var(--detail-s));
}
.detail-related .episode-badge {
right: calc(8px * var(--detail-s));
bottom: calc(12px * var(--detail-s));
padding: calc(3px * var(--detail-s)) calc(8px * var(--detail-s));
border-radius: calc(6px * var(--detail-s));
}
.detail-related .episode-badge .text-white-xs {
font-size: calc(16px * var(--detail-s));
line-height: calc(22px * var(--detail-s));
}
}
@media (max-width: 767px) {
body.is-detail-page { background: #0f0f0f; }
.detail-h5-bg-mask {
background: linear-gradient(180deg, rgba(8, 8, 8, .64) 0%, rgba(8, 8, 8, .9) 56%, #0f0f0f 100%);
}
.detail-h5-top-actions,
.square-promo--pc-only,
.content-official-info,
.content-ad-stack,
.content-column-divider { display: none !important; }
.detail-layout,
.detail-main,
.detail-sidebar { display: contents; }
.detail-episodes,
.detail-related {
padding-top: 18px;
border-top: 1px solid rgba(255, 255, 255, .1);
}
.detail-related .card-grid { gap: 5px; }
.detail-related .poster-card {
width: 111px !important;
max-width: 111px;
flex: 0 0 111px;
gap: 2px;
}
.detail-related .poster-cover {
width: 111px !important;
height: 148px !important;
}
.detail-related .poster-card-body { gap: 2px; }
.detail-related .episode-badge {
display: flex !important;
right: 4px;
bottom: 4px;
padding: 2px 4px;
border-radius: 3px;
background: rgba(0, 0, 0, .6);
}
.detail-related .episode-badge .text-white-xs {
font-size: 10px;
line-height: 14px;
}
.detail-h5-collect--active,
.detail-h5-like--active { color: #ec237f; }
.detail-h5-play { background: #ec237f; color: #fff; }
}