/* 电脑版前台样式，只作用于 layout/pc.html 的页面 */
body.pc {
    --accent: #FF6A1F;
    --accent-hover: #FF8442;
    --accent-soft: rgba(255, 106, 31, 0.14);
    --gold: #F2C14E;
    --bg: #131414;
    --bar: #131414;
    --surface: #1E1F1F;
    --raised: #262727;
    --field: #2A2B2B;
    --rule: #2A2B2B;
    --line: #3D3E3E;
    --text: #F5F5F5;
    --muted: #A3A3A3;
    --faint: #737373;
    display: flex;
    flex-direction: column;
    min-width: 1100px;
    min-height: 100vh;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
}

body.pc a,
body.pc a:hover,
body.pc a:focus {
    color: inherit;
    text-decoration: none;
}

.pc-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.pc-header {
    background: var(--bar);
    border-bottom: 1px solid var(--rule);
}

.pc-header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 64px;
}

body.pc .pc-logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #FFFFFF;
}

.pc-logo-img {
    display: block;
    max-width: 160px;
    height: 32px;
    object-fit: contain;
    object-position: left center;
}

.pc-nav {
    display: flex;
    flex-shrink: 0;
    gap: 24px;
    font-size: 15px;
}

body.pc .pc-nav a {
    color: var(--muted);
}

body.pc .pc-nav a:hover,
body.pc .pc-nav a.active {
    color: #FFFFFF;
}

body.pc .pc-nav a.active {
    font-weight: 700;
}

.pc-search {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 8px;
    height: 40px;
    margin: 0;
    padding: 0 14px;
    border-radius: 20px;
    background: var(--field);
    color: var(--muted);
}

.pc-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
}

body.pc .pc-vip {
    flex-shrink: 0;
    height: 36px;
    padding: 0 14px;
    border-radius: 18px;
    background: #2A2312;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    line-height: 36px;
}

.pc-lang {
    flex-shrink: 0;
    padding: 4px 2px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 13px;
    color: #D4D4D8;
}

.pc-login {
    flex-shrink: 0;
    height: 36px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 34px;
}

.pc-main {
    flex: 1;
    padding-top: 24px;
    padding-bottom: 36px;
}

.pc-footer {
    border-top: 1px solid var(--rule);
}

.pc-footer-inner {
    display: flex;
    gap: 28px;
    padding-top: 24px;
    padding-bottom: 24px;
    font-size: 13px;
    color: var(--muted);
}

body.pc .pc-footer-inner a:hover {
    color: #FFFFFF;
}

.pc-copyright {
    margin-left: auto;
}

.pc-page-title {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 900;
}

/* 电脑版首页 */
.pc-home {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.pc-home-top {
    display: flex;
    gap: 20px;
}

.pc-hero {
    position: relative;
    display: flex;
    flex: 1;
    min-width: 0;
    min-height: 380px;
    border-radius: 18px;
    overflow: hidden;
}

.pc-hero:hover .pc-btn-accent {
    filter: brightness(1.1);
}

.pc-hero-cover {
    position: absolute;
    top: 32px;
    right: 48px;
    width: 240px;
    height: 320px;
    border-radius: 14px;
    object-fit: cover;
}

.pc-hero-cover-empty {
    background: rgba(255, 255, 255, 0.1);
}

.pc-hero-body {
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    gap: 14px;
    width: 520px;
    max-width: calc(100% - 320px);
    padding: 32px;
    box-sizing: border-box;
}

.pc-hero-badges {
    display: flex;
    gap: 8px;
    font-size: 12px;
}

.pc-badge-accent {
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--accent);
    color: #FFFFFF;
    font-weight: 700;
}

.pc-badge {
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.4);
    color: #E4E4E7;
}

.pc-hero-title {
    margin: 0;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.25;
}

/* 整张大图可点击，追剧按钮在它上面 */
.pc-hero-link::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.pc-hero-intro {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #E4E4E7;
    font-size: 15px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.pc-hero-actions {
    display: flex;
    gap: 12px;
}

.pc-btn-accent,
.pc-btn-dark {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 22px;
    color: #FFFFFF;
    font-size: 15px;
}

.pc-btn-accent {
    background: var(--accent);
    font-weight: 700;
}

.pc-btn-dark {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
}

.pc-btn-dark:hover {
    background: rgba(0, 0, 0, 0.65);
}

.pc-rank {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 6px;
    width: 340px;
    padding: 20px;
    border-radius: 18px;
    background: var(--surface);
    box-sizing: border-box;
}

.pc-rank h2,
.pc-new h2 {
    margin: 0;
    font-weight: 700;
}

.pc-rank h2 {
    margin-bottom: 8px;
    font-size: 18px;
}

.pc-rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

.pc-rank-no {
    width: 22px;
    flex-shrink: 0;
    color: #A1A1AA;
    font-size: 18px;
    font-style: italic;
    font-weight: 900;
}

.pc-rank-no.top {
    color: #FF6A4D;
}

.pc-rank-cover {
    flex-shrink: 0;
    width: 36px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
}

.pc-rank-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pc-rank-title {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pc .pc-rank-item:hover .pc-rank-title,
body.pc .pc-poster:hover .pc-poster-title {
    color: #FF9A5C;
}

.pc-rank-meta,
.pc-poster-tags {
    color: var(--muted);
    font-size: 12px;
}

.pc-new {
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-margin-top: 16px;
}

.pc-new-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.pc-new h2 {
    font-size: 20px;
}

/* 新片推荐：每个分类一块，两排 */
.pc-new-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.pc-new-head h3 {
    margin: 0;
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
}

body.pc a.pc-new-more {
    color: var(--muted);
    font-size: 13px;
}

body.pc a.pc-new-more:hover {
    color: var(--text);
}

.pc-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
}

body.pc .pc-filter a {
    padding: 6px 14px;
    border-radius: 16px;
    background: var(--field);
    color: #D4D4D8;
}

body.pc .pc-filter a.active {
    background: #FFFFFF;
    color: var(--bg);
    font-weight: 700;
}

.pc-posters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px 16px;
}

/* 首页和频道：一排 4 个 */
.pc-posters.pc-posters-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pc-poster {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pc-poster-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
}

.pc-poster-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-poster-eps {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
    font-size: 12px;
}

.pc-poster-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.pc-empty {
    margin: 0;
    padding: 64px 16px;
    border-radius: 14px;
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

/* 电脑版播放页 */
.pc-coins {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 13px;
}

.pc-coins b {
    color: var(--gold);
}

.pc-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
}

.pc-crumb a {
    color: var(--muted);
}

.pc-crumb a:hover,
.pc-crumb a:focus {
    color: var(--text);
}

.pc-play {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: stretch;
}

.pc-play-heading {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.pc-play [hidden] {
    display: none !important;
}

.pc-play-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.pc-player {
    position: relative;
    /* 竖屏内容为主：高度占满一屏，播放器和上下集按钮都不用滚动，竖屏视频两侧留黑边 */
    height: clamp(420px, calc(100vh - 260px), 860px);
    border-radius: 14px;
    background: #000000;
    overflow: hidden;
}

.pc-player:fullscreen {
    height: 100%;
    border-radius: 0;
}

.pc-player video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pc-player video[hidden] {
    display: none;
}

/* 视频加载时不让用户看黑屏：只显示图标，不挡操作 */
.pc-loading {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    overflow: hidden;
    color: #FFFFFF;
    pointer-events: none;
}

.pc-loading[hidden] {
    display: none;
}

.pc-loading:not([hidden]) ~ .pc-player-center {
    display: none;
}

.pc-loading-bg {
    position: absolute;
    top: -24px;
    right: -24px;
    bottom: -24px;
    left: -24px;
    display: none;
    background-position: center;
    background-size: cover;
    filter: blur(20px) brightness(0.45);
}

.pc-loading-brand {
    position: relative;
    display: none;
    font-size: 24px;
    font-weight: 900;
}

.pc-loading-brand img {
    display: block;
    max-width: 200px;
    height: 44px;
    object-fit: contain;
}

.pc-loading.full .pc-loading-bg,
.pc-loading.full .pc-loading-brand {
    display: block;
}

.pc-loading-spinner {
    position: relative;
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    box-sizing: border-box;
    animation: pc-loading-spin 0.9s linear infinite;
}

.pc-loading-slow {
    position: relative;
    margin: 0;
    color: #D4D4D8;
    font-size: 13px;
}

.pc-loading-slow[hidden] {
    display: none;
}

@keyframes pc-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pc-loading-spinner {
        animation: none;
    }
}

.pc-iframe-box {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.pc-iframe-box iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.pc-player-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    border: 0;
    border-radius: 36px;
    background: rgba(0, 0, 0, 0.55);
    color: #FFFFFF;
    font-size: 26px;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.pc-locked {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #2B2233;
    color: #E4E4E7;
    font-size: 15px;
}

.pc-locked .fa {
    font-size: 40px;
    color: #FFFFFF;
}

.pc-locked p {
    margin: 0;
}

.pc-locked .pc-btn-accent {
    cursor: pointer;
}

.pc-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.55);
    color: #FFFFFF;
}

.pc-controls-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    container-type: inline-size;
}

/* 播放器较窄时收起音量滑杆，静音按钮和上下键仍可用 */
@container (max-width: 340px) {
    .pc-volume {
        display: none;
    }
}

.pc-spacer {
    flex: 1;
}

.pc-time {
    color: #E4E4E7;
    white-space: nowrap;
}

/* 按秒收费的试看提示 */
.pc-preview-badge {
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    font-size: 12px;
    white-space: nowrap;
}

/* 试看结束时半透明，能看到停住的画面 */
.pc-locked.preview-ended {
    background: rgba(20, 16, 24, 0.82);
}

.pc-icon-btn {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 18px;
    background: transparent;
    color: #FFFFFF;
    font-size: 15px;
    cursor: pointer;
}

.pc-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.pc-rate {
    flex-shrink: 0;
    height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    background: transparent;
    color: #FFFFFF;
    font-size: 12px;
    cursor: pointer;
}

.pc-seek,
.pc-volume {
    margin: 0;
    padding: 0;
    height: 16px;
    background: transparent;
    accent-color: var(--accent);
    cursor: pointer;
}

.pc-seek {
    width: 100%;
}

.pc-controls-row .pc-volume {
    flex: 0 1 90px;
    width: 90px;
    min-width: 30px;
    accent-color: #FFFFFF;
}

.pc-episode-nav {
    display: flex;
    gap: 10px;
}

.pc-episode-nav button {
    flex: 1;
    height: 40px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.pc-episode-nav button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pc-nav-prev {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
}

.pc-nav-next {
    border: 0;
    background: #FFFFFF;
    color: var(--bg);
    font-weight: 700;
}

.pc-play-right {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pc-play-card {
    display: flex;
    gap: 20px;
    margin-top: 24px;
    padding: 18px;
    border-radius: 14px;
    background: var(--surface);
}

.pc-play-cover {
    flex-shrink: 0;
    width: 120px;
    height: 160px;
    border-radius: 8px;
    background-position: center;
    background-size: cover;
}

.pc-play-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.pc-play-info h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.3;
}

.pc-play-block {
    margin-top: 28px;
}

.pc-play-block > h2 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
}

.pc-play-meta {
    color: var(--muted);
    font-size: 13px;
}

.pc-play-intro {
    margin: 0;
    color: #C4C4CC;
    font-size: 14px;
    line-height: 1.7;
}

.pc-play-actions {
    display: flex;
    gap: 10px;
}

.pc-action,
.pc-action-accent {
    height: 40px;
    padding: 0 18px;
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 14px;
    cursor: pointer;
}

.pc-action {
    border: 1px solid var(--line);
    background: transparent;
}

.pc-action-accent {
    border: 0;
    background: var(--accent);
    font-weight: 700;
}

.pc-episodes {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-radius: 14px;
    background: var(--surface);
}

.pc-episodes-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.pc-episodes-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
}

.pc-ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.pc-ranges button {
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
}

.pc-ranges button.active {
    color: #FFFFFF;
    font-weight: 700;
}

/* 每段 30 集，每行 5 个，高度放得下，面板不出现滚动条 */
.pc-episode-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.pc-episode {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
}

.pc-episode[hidden] {
    display: none;
}

.pc-episode-coin {
    display: none;
    position: absolute;
    top: 3px;
    right: 3px;
}

.pc-episode.free {
    background: #1F3A2E;
}

.pc-episode.unlocked {
    background: #2A2A31;
}

body.pc .pc-episode.locked {
    background: #1F1F25;
    color: #8B8B94;
}

.pc-episode.locked .pc-episode-coin {
    display: block;
}

.pc-episode.current {
    border: 2px solid var(--accent);
    font-weight: 700;
}

/* 顶部提示只用来告知结果，不能挡住下面的按钮 */
body.pc #toast-container,
body.pc #toast-container > div {
    pointer-events: none;
}

/* 电脑版解锁弹窗 */
.pc-unlock [hidden] {
    display: none !important;
}

.pc-unlock-message {
    margin: 0;
    color: #6EE7A8;
    font-size: 13px;
}

.pc-unlock-message.error {
    color: #FF9A5C;
}

.pc-unlock .modal-dialog {
    width: 480px;
    margin-top: 8vh;
}

.pc-unlock .modal-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border: 0;
    border-radius: 16px;
    background: var(--surface);
    color: var(--text);
}

.pc-unlock-member {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pc-unlock-member[hidden],
.pc-unlock-login[hidden] {
    display: none;
}

.pc-unlock-login {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 8px 0 4px;
}

.pc-unlock-login p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.pc-unlock-login-actions {
    display: flex;
    gap: 12px;
}

.pc-unlock-login-actions a {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-decoration: none;
}

.pc-unlock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pc-unlock-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.pc-unlock-balance {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.pc-unlock-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 64px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #1F1F25;
    color: #FFFFFF;
    text-align: left;
    box-sizing: border-box;
    cursor: pointer;
}

.pc-unlock-option.primary {
    border: 0;
    background: var(--accent);
}

body.pc .pc-unlock-option.vip {
    border: 0;
    background: var(--gold);
    color: #2A1E00;
}

.pc-option-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc-option-text strong {
    font-size: 16px;
}

.pc-option-text small {
    font-size: 12px;
    opacity: 0.8;
}

.pc-unlock-option b {
    font-size: 18px;
    font-weight: 900;
}

.pc-batch-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-batch-price em {
    padding: 2px 6px;
    border-radius: 4px;
    background: #3A2A10;
    color: var(--gold);
    font-size: 11px;
    font-style: normal;
}

.pc-vip-go {
    padding: 8px 14px;
    border-radius: 17px;
    background: #2A1E00;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
}

.pc-mock p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 13px;
}

.pc-mock-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pc-mock-grid button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 4px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #1A1A1F;
    color: #FFFFFF;
    cursor: pointer;
}

.pc-mock-grid b {
    font-size: 16px;
}

.pc-mock-grid em {
    min-height: 15px;
    color: var(--gold);
    font-size: 11px;
    font-style: normal;
}

.pc-mock-grid span {
    color: #D4D4D8;
    font-size: 13px;
}

.pc-auto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    margin: 0;
    color: #D4D4D8;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.pc-auto input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--accent);
}
/* 电脑版列表页 */
.pc-list-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pc-list-page .pc-page-title {
    margin: 0;
}

.pc-filter-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--surface);
}

.pc-filter-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.pc-filter-label {
    flex-shrink: 0;
    width: 36px;
    color: var(--muted);
    font-size: 13px;
}

.pc-result-count {
    margin: -8px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.pc-hot-words {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pc-hot-words h2,
.pc-section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.pc-pager {
    display: flex;
    justify-content: center;
}

.pc-pager .pagination {
    margin: 8px 0 0;
}

body.pc .pc-pager .pagination > li > a,
body.pc .pc-pager .pagination > li > span {
    border-color: var(--rule);
    background: var(--surface);
    color: #D4D4D8;
}

body.pc .pc-pager .pagination > .active > span {
    border-color: var(--accent);
    background: var(--accent);
    color: #FFFFFF;
}

body.pc .pc-pager .pagination > .disabled > span {
    color: #71717A;
}

/* 搜索框热搜下拉 */
.pc-search {
    position: relative;
}

.pc-search-hot {
    display: none;
    position: absolute;
    top: 46px;
    right: 0;
    left: 0;
    z-index: 20;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--rule);
    border-radius: 12px;
    background: var(--surface);
    font-size: 13px;
}

.pc-search:focus-within .pc-search-hot {
    display: flex;
}

.pc-search-hot p {
    width: 100%;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

body.pc .pc-search-hot a {
    padding: 4px 12px;
    border-radius: 14px;
    background: var(--field);
    color: #D4D4D8;
}

body.pc .pc-search-hot a:hover {
    color: #FFFFFF;
}
/* 电脑版账号页面 */
.pc-account {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.pc-account-menu {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 4px;
    width: 200px;
    padding: 12px;
    border-radius: 14px;
    background: var(--surface);
    box-sizing: border-box;
}

body.pc .pc-account-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #D4D4D8;
    font-size: 14px;
}

body.pc .pc-account-menu a:hover {
    background: var(--field);
}

body.pc .pc-account-menu a.active {
    background: var(--field);
    color: #FFFFFF;
    font-weight: 700;
}

.pc-account-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.pc-account-main .pc-page-title {
    margin: 0;
}

.pc-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pc-profile h1 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 900;
}

.pc-profile p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.pc-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 32px;
    background: #2F2F4F;
    color: #C7C7E0;
    font-size: 28px;
}

body.pc .pc-bind-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    background: #2B1D14;
    color: #FFD9BF;
    font-size: 14px;
}

.pc-bind-tip span {
    flex: 1;
}

.pc-bind-tip b {
    color: #FF9A5C;
}

.pc-account-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.pc .pc-account-cards a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border-radius: 14px;
    font-size: 13px;
}

body.pc .pc-card-vip {
    background: #2A2312;
    color: #F5E3B5;
}

body.pc .pc-card-coin {
    background: var(--surface);
    color: #D4D4D8;
}

.pc-account-cards b {
    font-size: 22px;
    font-weight: 900;
}

.pc-card-vip b {
    color: var(--gold);
}

.pc-account-cards small {
    color: var(--muted);
    font-size: 12px;
}

/* 消耗明细：累计消耗和每条的金币种类 */
.pc-consume-total {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.pc-consume-split {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.pc-table {
    width: 100%;
    border-radius: 14px;
    background: var(--surface);
    font-size: 14px;
    overflow: hidden;
}

.pc-table th,
.pc-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--rule);
    text-align: left;
}

.pc-table th {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.pc-table tr:last-child td {
    border-bottom: 0;
}

.pc-plus {
    color: var(--gold);
}

.pc-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-radius: 14px;
    background: var(--surface);
}

.pc-panel h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.pc-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.pc-panel-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pc-panel-row > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    color: #D4D4D8;
    font-size: 13px;
    font-weight: 400;
}

.pc-form input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: 0;
    background: #141418;
    color: var(--text);
    font-size: 14px;
    box-sizing: border-box;
}

.pc-form input:focus {
    border-color: #71717A;
}

.pc-form-submit,
.pc-form-danger {
    align-self: flex-start;
    height: 40px;
    padding: 0 24px;
    border: 0;
    border-radius: 20px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.pc-form-danger {
    border: 1px solid #7F3A12;
    background: transparent;
    color: #FF9A5C;
}

.pc-code-row {
    display: flex;
    gap: 8px;
}

.pc-code-row button {
    flex-shrink: 0;
}

.pc-code-row button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pc-auth {
    display: flex;
    justify-content: center;
    padding-top: 32px;
}

.pc-auth .pc-panel {
    width: 420px;
}

.pc-auth .pc-page-title {
    margin: 0;
}

.pc-auth .pc-form-submit {
    align-self: stretch;
}

.pc-auth-links {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
}

body.pc .pc-auth-links a:hover {
    color: #FFFFFF;
}

/* 电脑版会员与充值 */
.pc-store {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pc-store .pc-page-title {
    margin: 0;
}

.pc-store-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid var(--line);
}

.pc-store-tab {
    margin-bottom: -1px;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--muted);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.pc-store-tab:hover {
    color: #FFFFFF;
}

.pc-store-tab.active {
    border-bottom-color: var(--gold);
    color: #FFFFFF;
    font-weight: 700;
}

.pc-store-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pc-store-section[hidden] {
    display: none;
}

.pc-store-balance {
    margin: 0;
    color: #D4D4D8;
    font-size: 14px;
}

.pc-store-section h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.pc-store-vip-title {
    color: var(--gold);
}

.pc-plans,
.pc-packs {
    display: grid;
    gap: 12px;
}

.pc-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc-packs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pc-plan,
.pc-pack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: #FFFFFF;
    cursor: pointer;
}

.pc-plan:hover,
.pc-pack:hover {
    border-color: var(--gold);
}

.pc-plan strong {
    font-size: 15px;
}

.pc-plan b {
    color: var(--gold);
    font-size: 28px;
    font-weight: 900;
}

.pc-plan small {
    color: var(--muted);
    font-size: 12px;
}

.pc-pack strong {
    font-size: 22px;
    font-weight: 900;
}

.pc-pack em {
    min-height: 16px;
    color: var(--gold);
    font-size: 12px;
    font-style: normal;
}

.pc-pack span {
    color: #D4D4D8;
    font-size: 14px;
}

.pc-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #D4D4D8;
    font-size: 13px;
}

.pc-benefits .fa {
    margin-right: 6px;
    color: var(--gold);
}

.pc-store-note {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}
/* 电脑版福利页 */
.pc-welfare {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pc-welfare .pc-page-title {
    margin: 0;
}

.pc-expiring {
    margin: 0;
    color: var(--gold);
    font-size: 13px;
}

.pc-expiring .fa {
    margin-right: 6px;
}

.pc-signin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pc-signin-btn {
    height: 36px;
    padding: 0 20px;
    border: 0;
    border-radius: 18px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.pc-signin-btn:disabled {
    background: #2A2A31;
    color: var(--muted);
    cursor: default;
}

.pc-signin-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.pc-signin-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 0;
    border: 1px solid var(--rule);
    border-radius: 10px;
    background: #141418;
    box-sizing: border-box;
}

.pc-signin-day b {
    color: var(--gold);
    font-size: 18px;
}

.pc-signin-day span {
    color: var(--muted);
    font-size: 12px;
}

.pc-signin-day.done {
    background: var(--rule);
}

.pc-signin-day.done b {
    color: #8B8B94;
}

.pc-signin-day.today {
    border: 2px solid var(--accent);
}

.pc-task {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--rule);
}

.pc-task-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pc-task-text strong {
    font-size: 14px;
    font-weight: 500;
}

.pc-task-text small {
    color: var(--gold);
    font-size: 12px;
}

body.pc .pc-task-go {
    height: 32px;
    padding: 0 14px;
    border: 1px solid var(--accent);
    border-radius: 16px;
    box-sizing: border-box;
    color: #FFB487;
    font-size: 13px;
    line-height: 30px;
}

.pc-task-done {
    color: var(--muted);
    font-size: 13px;
}

/* 电脑版邀请页 */
.pc-invite-share {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.pc-invite-share[hidden] {
    display: none;
}

.pc-invite-qr {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pc-share-qr {
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    background: #FFFFFF;
    image-rendering: pixelated;
}

.pc-share-scan {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.pc-share-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
}

.pc-share-box .pc-share-qr {
    align-self: center;
}

.pc-share-box .pc-share-scan {
    text-align: center;
}

.pc-share-layer.layui-layer {
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
}

.pc-share-layer .layui-layer-title {
    border-bottom: 1px solid var(--line);
    border-radius: 14px 14px 0 0;
    background: transparent;
    color: #FFFFFF;
}

.pc-share-layer .layui-layer-setwin a {
    filter: invert(1);
}

.pc-share-layer .layui-layer-content {
    background: transparent;
    color: var(--text);
}

.pc-invite-share label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
}

.pc-invite-share input {
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--rule);
    border-radius: 8px;
    background: #141418;
    color: var(--text);
    font-size: 14px;
}

.pc-invite-share button {
    flex-shrink: 0;
}

body.pc .pc-invite-bind {
    align-self: flex-start;
}

.pc-invite-time {
    color: var(--muted) !important;
}

.pc-invite-granted {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
}

/* 电脑版播放页评论 */
.pc-play-left {
    position: sticky;
    top: 16px;
}

#pc-like.active {
    border-color: var(--accent);
    color: #FFB487;
}

.pc-comments {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    background: var(--surface);
}

.pc-comments [hidden] {
    display: none !important;
}

.pc-comments-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pc-comments-head h2 {
    flex: 1;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.pc-comments-head h2 span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
}

.pc-comment-tabs {
    display: flex;
    gap: 2px;
    padding: 2px;
    border-radius: 15px;
    background: var(--field);
}

.pc-comment-tabs button {
    height: 26px;
    padding: 0 12px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
}

.pc-comment-tabs button.active {
    background: var(--line);
    color: #FFFFFF;
}

.pc-comment-form {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.pc-comment-form textarea {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid var(--rule);
    border-radius: 8px;
    background: var(--field);
    color: var(--text);
    font-size: 14px;
    resize: vertical;
}

.pc-comment-form button {
    flex-shrink: 0;
}

.pc-comment {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 0;
    border-top: 1px solid var(--rule);
}

.pc-comment-reply {
    padding: 10px 0 0;
    border-top: 0;
}

.pc-comment-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
}

.pc-comment-meta b {
    color: #D4D4D8;
    font-size: 13px;
    font-weight: 500;
}

.pc-comment-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.pc-comment-actions,
.pc-comment-report-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.pc-comment-actions button,
.pc-comment-expand {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
}

.pc-comment-actions button:hover,
.pc-comment-expand:hover {
    color: #FFFFFF;
}

.pc-comment-like.active {
    color: #FFB487;
}

.pc-comment-replies {
    padding-left: 16px;
    border-left: 2px solid var(--rule);
}

.pc-comment-replies:empty {
    display: none;
}

.pc-comment-expand {
    align-self: flex-start;
    color: #FFB487;
}

.pc-comment-report-form button {
    height: 26px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: transparent;
    color: #D4D4D8;
    font-size: 12px;
    cursor: pointer;
}

.pc-comment-empty {
    margin: 0;
    padding: 20px 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.pc-comment-more {
    align-self: center;
}

/* 电脑版首页 Banner */
.pc-banner {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 380px;
    border-radius: 18px;
    background: var(--surface);
    overflow: hidden;
}

.pc-banner-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.pc-banner-slide.active {
    visibility: visible;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .pc-banner-slide {
        transition: none;
    }
}

.pc-banner-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-banner-arrow {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: 0;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.55);
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
}

.pc-banner-arrow.prev {
    left: 16px;
}

.pc-banner-arrow.next {
    right: 16px;
}

.pc-banner-dots {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pc-banner-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.pc-banner-dots button.active {
    background: #FFFFFF;
}

/* 协议页、协议提示、Cookie 提示 */
.pc-legal {
    max-width: 860px;
    margin: 0 auto;
}

.pc-legal .pc-page-title {
    margin: 0;
}

.pc-legal h2 {
    margin: 12px 0 0;
}

.pc-legal p {
    color: #D4D4D8;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.pc-legal .pc-legal-updated {
    color: var(--muted);
    font-size: 12px;
}

.pc-auth-agree {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

body.pc .pc-auth-agree a,
body.pc .pc-store-note a,
body.pc .pc-cookie a {
    color: #FFB487;
}

.pc-cookie {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 520px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: #D4D4D8;
    font-size: 13px;
}

.pc-cookie[hidden] {
    display: none;
}

.pc-cookie button {
    flex-shrink: 0;
    height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: 16px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.pc-lang option {
    color: #111;
}

.pc-ranking {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-ranking-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pc-ranking-no {
    flex-shrink: 0;
    width: 40px;
    color: var(--muted);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.pc-ranking-item.top .pc-ranking-no {
    color: var(--gold);
    font-size: 28px;
    font-weight: 900;
}

.pc-ranking-link {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px 10px 10px;
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
}

.pc-ranking-link:hover,
.pc-ranking-link:focus {
    background: var(--field);
    color: var(--text);
    text-decoration: none;
}

.pc-ranking-cover {
    flex-shrink: 0;
    width: 60px;
    height: 80px;
    border-radius: 6px;
    background-position: center;
    background-size: cover;
}

.pc-ranking-item.top .pc-ranking-cover {
    width: 78px;
    height: 104px;
}

.pc-ranking-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-ranking-title {
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-ranking-info small {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-ranking-views {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 13px;
}

/* 窗口太窄时选集放到播放器下面 */
@media (max-width: 1100px) {
    .pc-play {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-episode-grid {
        grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
    }
}

/* 剧场：中间是竖屏视频，旁边是短剧信息，一屏内不用滚动 */
.pc-theater {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
}

.pc-theater-player {
    position: relative;
    flex-shrink: 0;
    height: clamp(460px, calc(100vh - 130px), 900px);
    aspect-ratio: 9 / 16;
    border-radius: 14px;
    background: #000000;
    overflow: hidden;
}

.pc-theater-player.slide-up {
    animation: pc-theater-up 0.22s ease-out;
}

.pc-theater-player.slide-down {
    animation: pc-theater-down 0.22s ease-out;
}

@keyframes pc-theater-up {
    from {
        opacity: 0.4;
        transform: translateY(48px);
    }
}

@keyframes pc-theater-down {
    from {
        opacity: 0.4;
        transform: translateY(-48px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pc-theater-player.slide-up,
    .pc-theater-player.slide-down {
        animation: none;
    }
}

/* 两个视频叠放：一个播放，另一个隐藏着提前加载下一条 */
.pc-theater-player video {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pc-theater-player video.is-spare {
    visibility: hidden;
}

.pc-theater-cover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center;
    background-size: cover;
    pointer-events: none;
}

.pc-theater-cover[hidden] {
    display: none;
}

.pc-theater-sound {
    position: absolute;
    top: 14px;
    left: 14px;
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
    font-size: 13px;
    cursor: pointer;
}

.pc-theater-sound[hidden],
.pc-theater-state[hidden],
.pc-theater-side[hidden],
.pc-theater-nav[hidden] {
    display: none;
}

.pc-theater-state {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 24px;
    color: var(--muted);
    text-align: center;
}

.pc-theater-state p {
    margin: 0;
}

/* 付费集的解锁提示，盖在封面或暂停的画面上 */
.pc-theater-paywall {
    z-index: 3;
    background: rgba(0, 0, 0, 0.55);
    color: #E4E4E7;
}

body.pc a.pc-theater-unlock,
body.pc a.pc-theater-unlock:hover {
    padding: 8px 28px;
    border-color: #D93A1F;
    background: #D93A1F;
    color: #FFFFFF;
}

.pc-theater-charge {
    align-self: flex-start;
    margin: 0;
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(217, 58, 31, 0.15);
    color: #D93A1F;
    font-size: 13px;
}

.pc-theater-charge[hidden] {
    display: none;
}

.pc-theater-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    width: 320px;
    padding-bottom: 8px;
}

.pc-theater-side h1 {
    margin: 0;
    color: var(--text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.pc-theater-meta {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

body.pc a.pc-theater-full,
body.pc a.pc-theater-full:hover,
body.pc a.pc-theater-full:focus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border-radius: 10px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
}

.pc-theater-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pc-theater-tip {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.pc-theater-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.pc-theater-arrow {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 24px;
    background: var(--field);
    color: var(--text);
    font-size: 16px;
    cursor: pointer;
}

.pc-theater-arrow:hover:not(:disabled) {
    background: var(--line);
}

.pc-theater-arrow:disabled {
    opacity: 0.4;
    cursor: default;
}


/* ==========================================================================
   2026-11 电脑版改版：深灰底、橙色主色、统一页头页脚、海报一排 6 个
   放在文件最后，覆盖前面的旧样式
   ========================================================================== */

.pc-container {
    max-width: 1288px;
}

/* 页头 */
.pc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(19, 20, 20, 0.96);
    border-bottom: 1px solid var(--rule);
    backdrop-filter: blur(8px);
}

.pc-header-inner {
    gap: 36px;
}

.pc-nav {
    gap: 30px;
}

body.pc .pc-nav a {
    position: relative;
    color: #D4D4D4;
    font-size: 16px;
    line-height: 64px;
}

body.pc .pc-nav a:hover {
    color: #FFFFFF;
}

body.pc .pc-nav a.active {
    color: #FFFFFF;
    font-weight: 700;
}

body.pc .pc-nav a.active::after {
    content: '';
    position: absolute;
    right: 50%;
    bottom: 12px;
    width: 16px;
    height: 3px;
    margin-right: -8px;
    border-radius: 2px;
    background: var(--accent);
}

.pc-search {
    flex: 0 1 280px;
    height: 36px;
    margin-left: auto;
    padding: 0 4px 0 16px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: var(--field);
}

.pc-search:focus-within {
    border-color: var(--accent);
}

.pc-search input::placeholder {
    color: var(--faint);
}

.pc-search-btn {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.pc-search-btn:hover {
    color: var(--accent);
}

.pc-header-right {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 18px;
}

body.pc .pc-vip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border-radius: 16px;
    background: linear-gradient(90deg, #F7D48B, #E9B45C);
    color: #3A2608;
    line-height: 32px;
}

body.pc .pc-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: auto;
    padding: 0;
    border: 0;
    color: #E5E5E5;
    font-size: 15px;
    line-height: 1.4;
}

body.pc .pc-login:hover {
    color: var(--accent);
}

body.pc .pc-register-link {
    color: var(--accent);
}

body.pc .pc-user-link {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-main {
    padding-top: 28px;
    padding-bottom: 56px;
}

/* 页脚：居中 */
.pc-footer {
    background: #0F1010;
}

.pc-footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 36px;
    padding-bottom: 36px;
    text-align: center;
}

body.pc .pc-footer-logo {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 900;
}

.pc-footer-logo img {
    display: block;
    height: 28px;
    max-width: 160px;
    object-fit: contain;
}

.pc-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
}

body.pc .pc-footer-links a:hover {
    color: var(--accent);
}

.pc-copyright {
    margin: 0;
    color: var(--faint);
    font-size: 12px;
}

/* 通用按钮 */
body.pc .pc-btn-primary,
body.pc .pc-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 26px;
    border-radius: 22px;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

body.pc .pc-btn-primary {
    border: 0;
    background: var(--accent);
    color: #FFFFFF;
}

body.pc .pc-btn-primary:hover {
    background: var(--accent-hover);
    color: #FFFFFF;
}

body.pc .pc-btn-ghost {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
}

body.pc .pc-btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

body.pc .pc-btn-sm {
    height: 34px;
    padding: 0 16px;
    border-radius: 17px;
    font-size: 13px;
}

.pc-btn-accent,
.pc-action-accent,
.pc-unlock-option.primary {
    background: var(--accent);
}

.pc-chip {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--raised);
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
}

.pc-heat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent);
    font-size: 13px;
}

/* 海报卡片 */
.pc-posters {
    gap: 28px 20px;
}

.pc-posters.pc-posters-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.pc-poster {
    gap: 8px;
    min-width: 0;
}

.pc-poster-cover {
    aspect-ratio: 188 / 256;
    border-radius: 8px;
}

.pc-poster-cover img {
    transition: transform 0.3s;
}

.pc-poster:hover .pc-poster-cover img {
    transform: scale(1.05);
}

.pc-poster-eps {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 18px 8px 6px;
    border-radius: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    font-size: 12px;
    text-align: right;
}

.pc-poster-title {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pc .pc-poster:hover .pc-poster-title {
    color: var(--accent);
}

.pc-poster-chips {
    display: flex;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
}

.pc-poster-chips span {
    flex-shrink: 0;
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--raised);
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
}

/* 首页：首屏标语 + 扇形海报 */
.pc-home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    min-height: 400px;
    margin-bottom: 8px;
    padding: 0 48px;
    border-radius: 16px;
    background:
        radial-gradient(ellipse at 75% 50%, rgba(255, 106, 31, 0.22), transparent 60%),
        linear-gradient(120deg, #1C1D1D, #151616);
    overflow: hidden;
}

.pc-home-hero-text h1 {
    margin: 0 0 16px;
    font-size: 46px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 1px;
}

.pc-home-hero-text p {
    margin: 0 0 32px;
    color: var(--muted);
    font-size: 18px;
}

.pc-home-hero-actions {
    display: flex;
    gap: 16px;
}

.pc-home-hero-actions .pc-btn-primary,
.pc-home-hero-actions .pc-btn-ghost {
    height: 50px;
    padding: 0 32px;
    border-radius: 25px;
    font-size: 16px;
}

.pc-fan {
    position: relative;
    height: 340px;
}

body.pc .pc-fan-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 245px;
    margin: -122px 0 0 -90px;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.3s;
}

.pc-fan-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-fan-0 {
    z-index: 5;
    transform: scale(1.12);
}

.pc-fan-1 {
    z-index: 4;
    transform: translateX(-120px) rotate(-8deg);
}

.pc-fan-2 {
    z-index: 4;
    transform: translateX(120px) rotate(8deg);
}

.pc-fan-3 {
    z-index: 3;
    transform: translateX(-225px) translateY(18px) rotate(-15deg) scale(0.9);
}

.pc-fan-4 {
    z-index: 3;
    transform: translateX(225px) translateY(18px) rotate(15deg) scale(0.9);
}

.pc-fan-0:hover {
    transform: scale(1.16);
}

/* 首页、详情页的分区 */
.pc-rail,
.pc-block {
    margin-top: 40px;
}

.pc-rail-head,
.pc-block-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.pc-rail-head h2,
.pc-block-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.pc-block-sub {
    color: var(--muted);
    font-size: 13px;
}

body.pc .pc-rail-more {
    margin-left: auto;
    color: var(--muted);
    font-size: 14px;
}

body.pc .pc-rail-more:hover {
    color: var(--accent);
}

.pc-home .pc-banner {
    min-height: 0;
    aspect-ratio: 1240 / 360;
    border-radius: 12px;
}

.pc-new {
    margin: 0;
}

/* 分类页 */
.pc-crumb {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

body.pc .pc-crumb a:hover {
    color: var(--accent);
}

.pc-cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

body.pc .pc-cat-tabs a {
    padding: 0 18px;
    border-radius: 18px;
    background: var(--surface);
    color: #D4D4D4;
    font-size: 15px;
    line-height: 36px;
}

body.pc .pc-cat-tabs a:hover {
    color: var(--accent);
}

body.pc .pc-cat-tabs a.active {
    background: var(--accent);
    color: #FFFFFF;
    font-weight: 700;
}

.pc-filter-panel {
    margin-bottom: 28px;
    border-radius: 12px;
    background: var(--surface);
}

body.pc .pc-filter a:hover {
    color: var(--accent);
}

body.pc .pc-filter a.active {
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
}

.pc-pager {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

body.pc .pc-pager .pagination > li > a,
body.pc .pc-pager .pagination > li > span {
    margin: 0 4px;
    border: 0;
    border-radius: 6px;
    background: var(--surface);
    color: #D4D4D4;
}

body.pc .pc-pager .pagination > li > a:hover {
    background: var(--raised);
    color: var(--accent);
}

body.pc .pc-pager .pagination > .active > span,
body.pc .pc-pager .pagination > .active > span:hover {
    background: var(--accent);
    color: #FFFFFF;
}

/* 榜单页 */
.pc-rank-banner {
    padding: 36px 40px;
    border-radius: 16px;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(255, 106, 31, 0.35), transparent 55%),
        linear-gradient(120deg, #2A1A10, #171818 70%);
}

.pc-rank-banner h1 {
    margin: 0 0 8px;
    font-size: 34px;
    font-weight: 900;
}

.pc-rank-banner p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.pc-rank-tabs {
    display: flex;
    gap: 12px;
    margin: 24px 0 8px;
}

body.pc .pc-rank-tabs a {
    padding: 0 22px;
    border-radius: 18px;
    background: var(--surface);
    color: #D4D4D4;
    font-size: 15px;
    line-height: 36px;
}

body.pc .pc-rank-tabs a.active {
    background: var(--accent);
    color: #FFFFFF;
    font-weight: 700;
}

.pc-ranking {
    gap: 0;
}

.pc-ranking-item {
    align-items: flex-start;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--rule);
}

.pc-ranking-no {
    width: 48px;
    padding-top: 6px;
    color: var(--faint);
    font-size: 30px;
    font-style: italic;
    font-weight: 900;
}

.pc-ranking-item.top .pc-ranking-no {
    background: linear-gradient(180deg, #FFB25C, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 36px;
}

body.pc .pc-ranking-cover,
body.pc .pc-ranking-item.top .pc-ranking-cover {
    position: relative;
    width: 150px;
    height: 204px;
    border-radius: 8px;
    overflow: hidden;
}

.pc-ranking-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-ranking-info {
    gap: 10px;
    padding-top: 4px;
}

body.pc .pc-ranking-title {
    font-size: 20px;
    font-weight: 700;
}

body.pc .pc-ranking-title:hover {
    color: var(--accent);
}

.pc-ranking-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pc-ranking-intro {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pc-ranking-eps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pc-ranking-eps[data-expanded="0"] .extra {
    display: none;
}

body.pc .pc-ep-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    box-sizing: border-box;
    background: var(--surface);
    color: #D4D4D4;
    font-size: 13px;
    cursor: pointer;
}

body.pc .pc-ep-chip:hover {
    background: var(--raised);
    color: var(--accent);
}

body.pc .pc-ep-toggle {
    color: var(--accent);
}

.pc-ep-chip .fa-lock {
    position: absolute;
    top: 3px;
    right: 4px;
    color: var(--faint);
    font-size: 10px;
}

/* 详情页 */
.pc-detail {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    padding: 32px;
    border-radius: 16px;
    background:
        radial-gradient(ellipse at 90% 0%, rgba(255, 106, 31, 0.14), transparent 50%),
        var(--surface);
}

.pc-detail-cover {
    position: relative;
    aspect-ratio: 188 / 256;
    border-radius: 10px;
    overflow: hidden;
}

.pc-detail-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-detail-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.pc-detail-title {
    margin: 0;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.3;
}

.pc-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    color: var(--muted);
    font-size: 13px;
}

.pc-detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pc-detail-actors {
    margin: 0;
    color: #D4D4D4;
    font-size: 14px;
}

.pc-detail-actors span {
    margin-right: 10px;
    color: var(--muted);
}

.pc-intro-box {
    position: relative;
}

.pc-intro-text {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #C9C9C9;
    font-size: 14px;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.pc-intro-box.open .pc-intro-text {
    display: block;
}

.pc-intro-toggle {
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent);
    font-size: 13px;
    cursor: pointer;
}

.pc-intro-toggle[hidden] {
    display: none;
}

.pc-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: auto;
    padding-top: 8px;
}

.pc-range-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--rule);
}

.pc-range-tabs button {
    margin-bottom: -1px;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    cursor: pointer;
}

.pc-range-tabs button.active {
    border-bottom-color: var(--accent);
    color: #FFFFFF;
    font-weight: 700;
}

.pc-ep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 10px;
}

.pc-ep-grid[hidden] {
    display: none;
}

body.pc .pc-ep-grid .pc-ep-chip {
    height: 40px;
}

.pc-block .pc-comments {
    padding: 20px 24px;
    border-radius: 12px;
    background: var(--surface);
}

/* 播放页：左边大播放区，右边 360px 侧栏（视频 / 评论） */
.pc-play {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 0;
    border-radius: 14px;
    background: var(--surface);
    overflow: hidden;
}

.pc-play-left {
    gap: 0;
    background: #000000;
}

.pc-player {
    height: clamp(480px, calc(100vh - 210px), 860px);
    border-radius: 0;
}

.pc-episode-nav {
    padding: 10px 16px;
    background: #0B0B0B;
}

.pc-play-side {
    display: flex;
    flex-direction: column;
    /* 侧栏不撑高这一行，高度跟左边播放区一样，内容多了在侧栏里滚动 */
    contain: size;
    min-height: 0;
}

.pc-side-tabs {
    display: flex;
    flex-shrink: 0;
    gap: 28px;
    padding: 0 20px;
    border-bottom: 1px solid var(--rule);
}

.pc-side-tabs button {
    margin-bottom: -1px;
    padding: 16px 0 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--muted);
    font-size: 16px;
    cursor: pointer;
}

.pc-side-tabs button.active {
    border-bottom-color: var(--accent);
    color: #FFFFFF;
    font-weight: 700;
}

.pc-side-panel {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px 24px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}

.pc-side-panel[hidden] {
    display: none;
}

.pc-play-side .pc-play-card {
    gap: 14px;
    margin: 0;
    padding: 0;
    background: transparent;
}

.pc-play-side .pc-play-cover {
    width: 84px;
    height: 112px;
}

.pc-play-side .pc-play-info {
    justify-content: flex-start;
    gap: 8px;
}

.pc-play-side .pc-play-heading {
    font-size: 17px;
}

.pc-play-side .pc-play-meta {
    font-size: 12px;
}

.pc-play-side .pc-play-actions .pc-action,
.pc-play-side .pc-play-actions .pc-action-accent {
    height: 34px;
    padding: 0 14px;
    border-radius: 17px;
    font-size: 13px;
}

.pc-play-side .pc-play-intro {
    color: #BDBDBD;
    font-size: 13px;
}

.pc-play-side .pc-episodes {
    flex: none;
    padding: 0;
    background: transparent;
}

.pc-play-side .pc-episode-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pc-ranges button.active {
    color: var(--accent);
}

.pc-episode.free,
.pc-episode.unlocked {
    background: var(--raised);
}

body.pc .pc-episode.locked {
    background: var(--raised);
    color: var(--muted);
}

body.pc .pc-episode:hover {
    color: var(--accent);
}

.pc-episode-coin {
    top: 3px;
    right: 4px;
    color: var(--faint);
    font-size: 10px;
}

.pc-episode.current {
    border: 0;
    background: var(--accent-soft);
    color: var(--accent);
}

.pc-side-recommend h2 {
    margin: 4px 0 12px;
    font-size: 16px;
    font-weight: 700;
}

body.pc .pc-side-drama {
    display: flex;
    gap: 12px;
    padding: 8px 0;
}

.pc-side-drama-cover {
    flex-shrink: 0;
    width: 64px;
    height: 86px;
    border-radius: 6px;
    background-position: center;
    background-size: cover;
}

.pc-side-drama-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pc-side-drama-text strong {
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.pc .pc-side-drama:hover strong {
    color: var(--accent);
}

.pc-side-drama-text small {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-play-side .pc-comments {
    padding: 0;
    background: transparent;
}

.pc-play-side .pc-comments-head {
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .pc-play {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-play-side {
        contain: none;
    }

    .pc-posters.pc-posters-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* 登录 / 注册框：左边表单，右边 App 二维码或品牌介绍 */
.pc-auth-modal .modal-dialog {
    width: 800px;
    max-width: calc(100vw - 32px);
    margin: 12vh auto 0;
}

.pc-auth-modal .modal-content {
    position: relative;
    border: 0;
    border-radius: 16px;
    background: transparent;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.pc-auth-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
    cursor: pointer;
}

.pc-auth-close:hover {
    color: #FFFFFF;
}

.pc-auth-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    min-height: 460px;
    border-radius: 16px;
    background: #262727;
    color: var(--text);
    overflow: hidden;
}

.pc-auth-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px 44px 32px;
}

.pc-auth-tabs {
    display: flex;
    gap: 32px;
    margin-bottom: 8px;
}

.pc-auth-tabs button {
    position: relative;
    padding: 0 0 10px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 20px;
    cursor: pointer;
}

.pc-auth-tabs button.active {
    color: #FFFFFF;
    font-weight: 700;
}

.pc-auth-tabs button.active::after {
    content: '';
    position: absolute;
    right: 50%;
    bottom: 0;
    width: 20px;
    height: 3px;
    margin-right: -10px;
    border-radius: 2px;
    background: var(--accent);
}

.pc-auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pc-auth-form[hidden] {
    display: none;
}

.pc-auth-field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #323333;
    color: var(--faint);
    font-weight: 400;
}

.pc-auth-field:focus-within {
    border-color: var(--accent);
}

.pc-auth-field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
}

.pc-auth-field input::placeholder {
    color: var(--faint);
}

.pc-auth-row {
    display: flex;
    justify-content: flex-end;
    font-size: 13px;
}

body.pc .pc-auth-row a {
    color: var(--muted);
}

body.pc .pc-auth-row a:hover {
    color: var(--accent);
}

.pc-auth-hint {
    margin: 0;
    color: var(--faint);
    font-size: 12px;
}

.pc-auth-submit {
    height: 46px;
    margin-top: 4px;
    border: 0;
    border-radius: 23px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.pc-auth-submit:hover {
    background: var(--accent-hover);
}

.pc-auth-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.pc-auth-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: auto 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    cursor: pointer;
}

.pc-auth-check input {
    flex-shrink: 0;
    margin: 2px 0 0;
    accent-color: var(--accent);
}

body.pc .pc-auth-check a {
    color: var(--accent);
}

.pc-auth-check.shake {
    animation: pc-shake 0.4s;
}

@keyframes pc-shake {
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
    .pc-auth-check.shake {
        animation: none;
    }
}

.pc-auth-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 106, 31, 0.28), transparent 65%),
        #1D1E1E;
    text-align: center;
}

.pc-auth-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pc-auth-qr {
    width: 168px;
    height: 168px;
    padding: 8px;
    border-radius: 10px;
    background: #FFFFFF;
}

.pc-auth-app strong {
    margin-top: 6px;
    font-size: 16px;
}

.pc-auth-app p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

body.pc .pc-auth-app a {
    color: var(--accent);
    font-size: 13px;
}

.pc-auth-brand-logo {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 900;
}

.pc-auth-brand-logo img {
    max-width: 180px;
    height: 40px;
    object-fit: contain;
}

.pc-auth-brand-slogan {
    margin: 12px 0 24px;
    color: #D4D4D4;
    font-size: 15px;
}

.pc-auth-brand ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 13px;
    text-align: left;
}

.pc-auth-brand li .fa {
    width: 22px;
    color: var(--accent);
}

/* 直接打开 /account/login、/account/register 时 */
.pc-auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0 24px;
}

.pc-auth-page .pc-auth-box {
    width: 800px;
    max-width: 100%;
}

.pc-auth-guest-tip {
    width: 800px;
    max-width: 100%;
    margin: 0 0 14px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: #FFD9BF;
    font-size: 13px;
}

/* App 下载页 */
.pc-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    min-height: 460px;
    padding: 48px;
    border-radius: 16px;
    background:
        radial-gradient(ellipse at 80% 30%, rgba(255, 106, 31, 0.25), transparent 55%),
        var(--surface);
}

.pc-download-text {
    max-width: 520px;
}

.pc-download-logo {
    margin-bottom: 20px;
    color: #FFFFFF;
    font-size: 26px;
    font-weight: 900;
}

.pc-download-logo img {
    height: 40px;
    max-width: 180px;
    object-fit: contain;
}

.pc-download h1 {
    margin: 0 0 14px;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.3;
}

.pc-download-text > p {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.pc-download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

body.pc .pc-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 26px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
}

.pc-download-btn .fa {
    font-size: 22px;
}

body.pc .pc-download-btn:hover,
body.pc .pc-download-btn.recommended {
    border-color: var(--accent);
    background: var(--accent);
    color: #FFFFFF;
}

.pc-download-for-you {
    margin: 12px 0 0;
    color: var(--accent);
    font-size: 13px;
}

.pc-download-for-you[hidden] {
    display: none;
}

.pc-download-qr {
    flex-shrink: 0;
    text-align: center;
}

.pc-download-qr img {
    width: 200px;
    height: 200px;
    padding: 10px;
    border-radius: 12px;
    background: #FFFFFF;
}

.pc-download-qr p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
}

/* 下载页在手机上也能打开：去掉最小宽度，竖着排 */
body.pc.pc-fluid {
    min-width: 0;
}

@media (max-width: 900px) {
    .pc-fluid .pc-nav,
    .pc-fluid .pc-search,
    .pc-fluid .pc-header-right {
        display: none;
    }

    .pc-fluid .pc-container {
        padding: 0 16px;
    }

    .pc-fluid .pc-download {
        flex-direction: column;
        gap: 32px;
        min-height: 0;
        padding: 32px 20px;
        text-align: center;
    }

    .pc-fluid .pc-download h1 {
        font-size: 28px;
    }

    .pc-fluid .pc-download-buttons {
        flex-direction: column;
    }

    .pc-fluid .pc-download-btn {
        justify-content: center;
    }

    .pc-fluid .pc-download-qr {
        display: none;
    }

    .pc-fluid .pc-footer-links {
        gap: 8px 16px;
    }
}

.pc-episode-nav .pc-nav-next {
    border-color: var(--accent);
    background: var(--accent);
    color: #FFFFFF;
}

.pc-episode-nav .pc-nav-prev {
    background: transparent;
}
