/* 服务端渲染版的少量补充：链接版海报 / chip / tab 与 button 同样式、剧详情页、年龄门遮罩、hidden 兜底。 */
[hidden] { display: none !important; }
html, body { height: 100%; }
a { color: inherit; text-decoration: none; }
a.poster, a.chart-poster, a.search-launch, a.toolbar-action, a.hero-watch, a.primary { display: flex; }
a.poster { display: block; }
.chips a { background: #1b1c20; color: #b4b5bd; padding: 6px 12px; white-space: nowrap; font-size: 13px; border-radius: 25px; flex-shrink: 0; height: 31px; display: inline-flex; align-items: center; }
.chips a.active { background: var(--red); color: #fff; font-weight: 600; }
.catalog-sort-tabs a, .hot-sort-tabs a { display: inline-flex; align-items: center; justify-content: center; }
.hot-video-card > a { display: block; width: 100%; text-align: left; }
.age-gate-mode #screen { display: none; }
.device .age-gate { position: absolute; inset: 0; z-index: 60; overflow-y: auto; }
/* 剧详情页 */
.drama-page { padding-bottom: 32px; }
.drama-heading h1 { font-size: 16px; }
.drama-hero { position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 14px; padding: 4px 16px 0; }
.drama-cover { width: 118px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: #1b1c20; }
.drama-head h1 { font-size: 22px; line-height: 1.2; margin: 2px 0 8px; letter-spacing: -.3px; }
.drama-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.drama-meta svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 2px; }
.drama-meta .hero-rating { color: #ffcf7a; font-weight: 600; }
.drama-vip { color: #3a2817; background: #ebc38a; border-radius: 6px; padding: 1px 6px; font-size: 10px; font-weight: 700; }
.drama-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.drama-tag { background: #1b1c20; color: #b4b5bd; border-radius: 20px; padding: 3px 9px; font-size: 11px; }
.drama-tagline { color: #c9cad1; font-size: 13px; margin: 10px 0 0; }
.drama-actions { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; padding: 16px; align-items: center; }
.drama-actions .hero-watch { height: 44px; border-radius: 12px; justify-content: center; gap: 8px; font-weight: 700; }
.drama-act { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 46px; font-size: 10px; color: #b4b5bd; }
.drama-act svg { width: 22px; height: 22px; }
.drama-act.active { color: var(--red); }
.drama-act.active svg { fill: #e5091433; }
.drama-section { padding: 6px 16px 0; }
.drama-section h2 { font-size: 15px; margin: 10px 0 10px; display: flex; align-items: baseline; gap: 8px; }
.drama-section h2 small { color: var(--muted); font-weight: 400; font-size: 12px; }
.drama-desc { color: #c9cad1; font-size: 13px; line-height: 1.55; margin: 0; }
.drama-episodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.drama-episodes .ep-cell { position: relative; display: grid; place-items: center; height: 44px; border-radius: 10px; background: #1b1c20; font-weight: 600; font-size: 14px; }
.drama-episodes .ep-cell.locked { color: #9a9ba3; }
.drama-episodes .ep-tag { position: absolute; top: 3px; right: 4px; font-size: 7px; line-height: 1; font-weight: 600; }
.drama-episodes .ep-tag.free { color: #7fd6a4; } .drama-episodes .ep-tag.price { color: #e7c897; } .drama-episodes .ep-tag.vip { color: #ffcf7a; } .drama-episodes .ep-tag.owned { color: #ff8b95; }
.drama-episodes .ep-lock { position: absolute; left: 4px; top: 3px; } .drama-episodes .ep-lock svg { width: 9px; height: 9px; stroke-width: 2; }
.drama-comments-note { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.drama-related { padding: 0; }

/* ---- 收件箱 / 客服 / 反馈 / 分享（SSR 版：tab 与问答 CTA 改为 <a>） ---- */
.inbox-tabs a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; text-decoration: none; color: inherit; }
.inbox-badge[hidden] { display: none; }
.inbox-card { text-decoration: none; color: inherit; }
.inbox-card .notice-unread-dot[hidden] { display: none; }
.inbox-card time { font: inherit; }
.ticket-view .comment-form[hidden] { display: none; }
.support-faq-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* 抓取可见、视觉隐藏 */
.support-answer-bubble > .support-cta { display: flex; align-items: center; gap: 5px; color: #ff6a76; font-size: 10px; margin-top: 11px; text-decoration: none; }
.support-answer-bubble > .support-cta svg { width: 12px; height: 12px; }
.support-page .recovery-header a.icon-btn, .feedback-page .feedback-header a.icon-btn, .inbox-heading a.icon-btn { display: inline-flex; align-items: center; justify-content: center; }
.share-page { padding-bottom: 32px; }
.share-eyebrow { display: block; font-size: 10px; letter-spacing: 2px; color: #ff6a76; margin-bottom: 6px; }
.share-actions { align-items: center; }
.share-details { font-size: 12px; color: #c9cbd3; text-decoration: underline; margin-left: 10px; }
.share-note { margin: 18px 16px 0; font-size: 11px; color: #86878e; text-align: center; }
.share-note a { color: #f6f6f7; }
.subtabs a { position: relative; padding: 9px 0 12px; color: #82838b; }
.subtabs a.active { color: #fff; font-weight: 650; }
.subtabs a.active:after { content: ''; position: absolute; bottom: 0; height: 2px; background: var(--red); left: 0; right: 0; }
/* 内容页（搜索 / 榜单 / 播放 / 片库）的链接版样式：与原型 button 同样式。 */
.search-chart-tabs a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.history-chips a { background: #1d1e23; border-radius: 5px; color: #c2c2c9; padding: 6px 10px; font-size: 12px; display: inline-block; }
a.result-row { color: inherit; }
a.chart-view-all { display: flex; }
a.episode-button { color: inherit; }
.comment small button { color: #a7a9b3; font-size: 10px; }
.library-page { min-height: 100%; }
.library-heading h1 { font-size: 16px; }
.watch-shell .player-top strong { font-size: 16px; }
/* 账号组页面：React 版用 button 做站内导航的地方，SSR 版改成真 <a>，这里让 a 吃到同样的样式。 */
.coin-segment a{flex:1;min-width:0;min-height:26px;border-radius:999px;font-size:12px;padding:7px 8px;line-height:1;white-space:nowrap;font-weight:500;color:#ac9b89;display:inline-flex;align-items:center;justify-content:center}
.profile-services>a{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;text-align:center;color:#d7d8df;padding:0 4px}
.profile-services>a>.profile-service-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.profile-services>a>span{font-size:9px;font-weight:400;color:#a5a6b1;line-height:1.5;max-width:100%;white-space:nowrap}
.profile-library-empty>a{display:flex;align-items:center;justify-content:center;gap:4px;font-size:11px;color:#ef7c86;margin:17px auto 0}
.profile-library-empty>a>svg{width:11px;height:11px;stroke-width:1.4}
a.settings-menu-row,a.profile-vip-card,a.profile-safe-promo,a.recovery-option,a.recovery-primary,a.recovery-secondary,a.recovery-text-link,a.settings-auth-entry,a.profile-signin-entry,a.reward-vip-upgrade,a.rewards-back,a.coin-support,a.coin-back,a.profile-drama{color:inherit}
a.profile-vip-card.profile-vip-luxe{color:inherit}
.profile-header a.icon-btn,.settings-page-header a.icon-btn,.account-card-header a.icon-btn,.recovery-header a.icon-btn,.coin-topbar a.icon-btn{display:inline-flex;align-items:center;justify-content:center}
.reward-day [data-prize]{display:contents}
.rewards-page [data-rewards-error]{margin:20px 14px}
