/* 电脑版前台样式，只作用于 layout/pc.html 的页面 */
body.pc {
    --accent: #D93A1F;
    --gold: #F2C14E;
    --bg: #0E0E11;
    --bar: #121216;
    --surface: #17171C;
    --field: #1E1E24;
    --rule: #24242B;
    --line: #3F3F46;
    --text: #F5F5F7;
    --muted: #A1A1AA;
    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 span {
    color: var(--accent);
}

.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: #FF8A70;
}

.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-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;
}

.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-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-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: #FF8A70;
}

.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-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: #2A1A16;
    color: #FFD3C7;
    font-size: 14px;
}

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

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

.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-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 #7F2D1C;
    background: transparent;
    color: #FF8A70;
}

.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: #FFB8A8;
    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: #FFB8A8;
}

.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: #FFB8A8;
}

.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: #FFB8A8;
}

.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: #FFB8A8;
}

.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));
    }
}
