/* tv123电视网 · 站点样式 */

:root {
    --bg: #0a0b0f;
    --bg2: #0d1016;
    --panel: #12161f;
    --panel2: #171c27;
    --line: #232a37;
    --line2: #2e3747;
    --ink: #ece9e3;
    --ink2: #a4aebc;
    --ink3: #6e7887;
    --amber: #f0a44a;
    --amber-d: #c9822c;
    --teal: #4bc8b0;
    --red: #e2604f;
    --r: 12px;
    --wrap: 1180px;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
    --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ink);
    text-decoration: none;
}

a:hover {
    color: var(--amber);
}

h1,
h2,
h3,
h4 {
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    margin: 0 0 1em;
    padding-left: 1.2em;
}

li {
    margin: 0.3em 0;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0 5px;
    font-size: 0.9em;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--amber);
    color: #111;
    padding: 8px 14px;
    z-index: 999;
}

.skip:focus {
    left: 12px;
    top: 12px;
}

/* ---------------- 页头 ---------------- */

.site-head {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(10, 11, 15, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.head-in {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 64px;
}

.brand {
    flex: 0 0 auto;
    display: block;
    background: #fff;
    border-radius: 8px;
    padding: 5px 9px;
    line-height: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.brand-logo {
    display: block;
    height: 34px;
    width: auto;
}

.brand-txt {
    display: none;
}

.mainnav {
    margin-left: auto;
}

.nav-in {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-in li {
    margin: 0;
}

.nav-in a {
    display: block;
    padding: 8px 13px;
    border-radius: 8px;
    color: var(--ink2);
    font-size: 14.5px;
    white-space: nowrap;
    transition: color 0.16s, background 0.16s;
}

.nav-in a:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.05);
}

.nav-in a.on {
    color: var(--amber);
    background: rgba(240, 164, 74, 0.09);
}

.burger {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 38px;
    border: 1px solid var(--line2);
    border-radius: 8px;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.burger span {
    display: block;
    width: 17px;
    height: 1.6px;
    background: var(--ink2);
    border-radius: 2px;
}

.ann {
    background: linear-gradient(90deg, rgba(240, 164, 74, 0.12), rgba(240, 164, 74, 0.03) 70%);
    border-top: 1px solid rgba(240, 164, 74, 0.18);
}

.ann-in {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
}

.ann-tag {
    flex: 0 0 auto;
    font-size: 11px;
    line-height: 16px;
    color: var(--amber);
    border: 1px solid rgba(240, 164, 74, 0.45);
    border-radius: 4px;
    padding: 1px 5px;
    margin-top: 1px;
}

.ann p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--ink2);
}

/* ---------------- 按钮 / 标签 ---------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--amber);
    color: #17120a;
    border: 1px solid var(--amber);
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.16s, transform 0.16s, box-shadow 0.16s;
    font-family: inherit;
}

.btn:hover {
    background: #ffb75e;
    color: #17120a;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(240, 164, 74, 0.22);
}

.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line2);
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 15px;
    cursor: pointer;
    transition: border-color 0.16s, color 0.16s, background 0.16s;
    font-family: inherit;
}

.btn-line:hover {
    border-color: var(--amber);
    color: var(--amber);
    background: rgba(240, 164, 74, 0.06);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 13px;
}

.btn-block {
    display: flex;
    width: 100%;
    margin-top: 12px;
    padding: 10px 16px;
    font-size: 14px;
}

.tag {
    display: inline-block;
    font-size: 11.5px;
    color: var(--ink2);
    border: 1px solid var(--line2);
    border-radius: 4px;
    padding: 1px 7px;
}

.chip {
    display: inline-block;
    font-size: 13px;
    color: var(--ink2);
    background: transparent;
    border: 1px solid var(--line2);
    border-radius: 999px;
    padding: 6px 14px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.16s;
}

.chip:hover {
    color: var(--ink);
    border-color: var(--ink3);
}

.chip.on {
    background: var(--amber);
    border-color: var(--amber);
    color: #17120a;
    font-weight: 600;
}

.chip-static {
    cursor: default;
}

.stars {
    display: inline-flex;
    gap: 4px;
}

.stars i {
    display: block;
    width: 9px;
    height: 9px;
    background: var(--line2);
    transform: rotate(45deg);
    border-radius: 1.5px;
}

.stars i.on {
    background: var(--amber);
}

/* ---------------- HERO ---------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 66px 0 58px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(900px 420px at 76% 12%, rgba(240, 164, 74, 0.13), transparent 62%),
        radial-gradient(720px 400px at 8% 96%, rgba(75, 200, 176, 0.09), transparent 62%),
        linear-gradient(180deg, #0b0e14, var(--bg));
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 164, 74, 0.5), transparent);
}

.hero-in {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.kicker {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--amber);
    margin: 0 0 14px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.14;
    margin: 0 0 20px;
    letter-spacing: -0.025em;
}

.h1-k {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--amber);
    margin-bottom: 16px;
    line-height: 1.6;
}

.h1-b {
    display: block;
    color: var(--amber);
}

.hero-sub {
    font-size: 16px;
    line-height: 1.85;
    color: var(--ink2);
    max-width: 34em;
    margin-bottom: 28px;
}

.hero-acts {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.hero-stats li {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.hero-stats b {
    font-size: 26px;
    line-height: 1.1;
    color: var(--ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.hero-stats span {
    font-size: 12px;
    color: var(--ink3);
    letter-spacing: 0.04em;
}

.hero-art {
    position: relative;
    height: 392px;
}

.stack-card {
    position: absolute;
    width: 178px;
    height: 262px;
    border-radius: 10px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.6);
    background: linear-gradient(158deg, hsl(var(--h), 46%, 30%) 0%, hsl(var(--h2), 52%, 9%) 82%);
    overflow: hidden;
}

.stack-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 60% at 84% 2%, rgba(255, 255, 255, 0.16), transparent 58%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
    pointer-events: none;
}

.stack-1 {
    left: 0;
    top: 62px;
    transform: rotate(-9deg);
}

.stack-2 {
    left: 88px;
    top: 26px;
    transform: rotate(-1.5deg);
    z-index: 3;
}

.stack-3 {
    left: 178px;
    top: 70px;
    transform: rotate(8deg);
}

.sc-name {
    position: relative;
    writing-mode: vertical-rl;
    font-family: var(--serif);
    font-size: 25px;
    letter-spacing: 0.16em;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    align-self: flex-end;
}

.sc-meta {
    position: relative;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.66);
    letter-spacing: 0.08em;
}

.stack-note {
    position: absolute;
    right: 6px;
    bottom: 4px;
    font-size: 11.5px;
    color: var(--ink3);
    letter-spacing: 0.16em;
}

/* ---------------- 通用区块 ---------------- */

.sec {
    padding: 58px 0;
}

.sec-alt {
    background: var(--bg2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.sec-kicker {
    font-size: 11.5px;
    letter-spacing: 0.2em;
    color: var(--amber);
    margin: 0 0 7px;
}

.sec-title {
    font-size: clamp(21px, 2.4vw, 28px);
    margin: 0;
}

.sec-more {
    flex: 0 0 auto;
    font-size: 13.5px;
    color: var(--ink2);
    border-bottom: 1px solid var(--line2);
    padding-bottom: 2px;
    white-space: nowrap;
}

.sec-lead {
    color: var(--ink2);
    font-size: 15px;
    max-width: 46em;
    margin: -12px 0 28px;
}

.page-head {
    padding: 44px 0 34px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #0b0e14, var(--bg));
}

.page-head-sm {
    padding: 34px 0 26px;
}

.page-head h1 {
    font-size: clamp(26px, 3.4vw, 38px);
    margin: 0 0 14px;
}

.page-head p {
    color: var(--ink2);
    font-size: 15.5px;
    max-width: 52em;
    margin: 0;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
    align-items: center;
}

.filter-input {
    margin-left: auto;
    background: var(--panel);
    border: 1px solid var(--line2);
    border-radius: 999px;
    color: var(--ink);
    padding: 8px 16px;
    font-size: 13.5px;
    font-family: inherit;
    min-width: 180px;
}

.filter-input:focus {
    outline: none;
    border-color: var(--amber);
}

/* ---------------- 海报 ---------------- */

.poster {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0e1118;
    isolation: isolate;
    transition: transform 0.22s, box-shadow 0.22s;
}

.poster:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.poster-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 62% at 82% 0%, rgba(255, 255, 255, 0.17), transparent 58%),
        linear-gradient(158deg, hsl(var(--h), 46%, 31%) 0%, hsl(var(--h2), 54%, 8%) 84%);
}

.poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 5px);
    pointer-events: none;
}

.poster-year {
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    padding: 1px 5px;
    z-index: 2;
}

.poster-name {
    position: absolute;
    writing-mode: vertical-rl;
    right: 14px;
    top: 14px;
    font-family: var(--serif);
    font-size: 27px;
    letter-spacing: 0.14em;
    color: #fff;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
    z-index: 2;
    max-height: calc(100% - 62px);
    overflow: hidden;
}

.poster-name.n-l {
    font-size: 31px;
}

.poster-name.n-m {
    font-size: 23px;
    letter-spacing: 0.1em;
}

.poster-name.n-s {
    font-size: 17px;
    letter-spacing: 0.04em;
}

.poster-meta {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 11px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 6px;
}

.poster-sm .poster-name {
    font-size: 19px;
}

.poster-lg .poster-name {
    font-size: 42px;
    right: 22px;
    top: 20px;
}

.poster-lg .poster-name.n-l {
    font-size: 46px;
}

.poster-lg .poster-name.n-m {
    font-size: 34px;
}

.poster-lg .poster-name.n-s {
    font-size: 24px;
}

.poster-lg .poster-meta {
    font-size: 12.5px;
    left: 18px;
    bottom: 16px;
}

.poster-lg .poster-year {
    font-size: 12px;
    left: 16px;
    top: 16px;
}

/* ---------------- 首页海报格 ---------------- */

.poster-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.pcell {
    min-width: 0;
}

.pcell-txt {
    margin-top: 10px;
}

.pcell-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pcell-txt p {
    margin: 2px 0 0;
    font-size: 11.5px;
    color: var(--ink3);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------------- 原创剧场 ---------------- */

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

.orig-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 208px;
    padding: 24px 22px;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(155deg, hsl(var(--h), 44%, 26%) 0%, hsl(var(--h2), 50%, 8%) 86%);
    transition: transform 0.2s, box-shadow 0.2s;
}

.orig-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
    pointer-events: none;
}

.orig-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.orig-kind {
    font-size: 11.5px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.72);
    position: relative;
}

.orig-name {
    font-family: var(--serif);
    font-size: 27px;
    letter-spacing: 0.1em;
    color: #fff;
    position: relative;
}

.orig-tag {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
    position: relative;
    flex: 1;
}

.orig-more {
    font-size: 12.5px;
    color: var(--amber);
    position: relative;
    margin-top: 6px;
}

.orig-head {
    border-radius: var(--r);
    padding: 34px 32px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(150deg, hsl(var(--h), 44%, 24%) 0%, hsl(var(--h2), 50%, 7%) 88%);
    position: relative;
    overflow: hidden;
}

.orig-head::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 5px);
    pointer-events: none;
}

.oh-kind {
    position: relative;
    font-size: 11.5px;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 8px;
}

.oh-name {
    position: relative;
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: 0.1em;
    margin: 0 0 6px;
    color: #fff;
}

.oh-tag {
    position: relative;
    font-size: 15px;
    color: var(--amber);
    margin: 0 0 12px;
}

.oh-log {
    position: relative;
    font-size: 14.5px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.78);
    max-width: 52em;
    margin: 0 0 20px;
}

.oh-acts {
    position: relative;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ep-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.ep-strip li {
    margin: 0;
}

.ep-strip a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 14px 14px 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color 0.16s, background 0.16s;
}

.ep-strip a:hover {
    border-color: var(--amber);
    background: var(--panel2);
}

.es-n {
    font-size: 11px;
    color: var(--amber);
    letter-spacing: 0.08em;
}

.ep-strip b {
    font-size: 14.5px;
}

.es-l {
    font-size: 12px;
    color: var(--ink3);
    line-height: 1.6;
}

/* ---------------- 工具卡 ---------------- */

.tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: border-color 0.16s, transform 0.16s, background 0.16s;
}

.tool-card:hover {
    border-color: var(--amber);
    transform: translateY(-3px);
    background: var(--panel2);
}

.tool-ico {
    color: var(--amber);
    line-height: 0;
    margin-bottom: 4px;
}

.tool-card b {
    font-size: 15px;
}

.tool-card > span:last-child {
    font-size: 12.5px;
    color: var(--ink3);
    line-height: 1.65;
}

.tool-go {
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--amber);
}

.tool-grid-lg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tool-grid-lg .tool-card {
    padding: 26px 24px;
}

.tool-grid-lg .tool-card b {
    font-size: 18px;
}

/* ---------------- 文章卡 ---------------- */

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

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

.post-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: border-color 0.16s, transform 0.16s, background 0.16s;
    min-width: 0;
}

.post-card:hover {
    border-color: var(--line2);
    background: var(--panel2);
    transform: translateY(-3px);
}

.post-feat {
    background: linear-gradient(150deg, #1c2130, var(--panel) 62%);
    border-color: var(--line2);
    box-shadow: inset 0 1px 0 rgba(240, 164, 74, 0.35);
}

.pc-cat {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--amber);
}

.pc-title {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.005em;
}

.post-feat .pc-title {
    font-size: 21px;
    line-height: 1.42;
}

.pc-desc {
    font-size: 13px;
    line-height: 1.75;
    color: var(--ink2);
    flex: 1;
}

.pc-meta {
    font-size: 11.5px;
    color: var(--ink3);
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

/* ---------------- 明星 ---------------- */

.star-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.star-chip {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 16px 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color 0.16s, background 0.16s;
}

.star-chip:hover {
    border-color: var(--amber);
    background: var(--panel2);
}

.star-chip b {
    font-size: 15.5px;
}

.star-chip span {
    font-size: 11.5px;
    color: var(--ink3);
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.people-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 2px 12px;
    align-items: center;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: border-color 0.16s, background 0.16s;
}

.people-card:hover {
    border-color: var(--amber);
    background: var(--panel2);
}

.pc-avatar {
    grid-row: span 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #2a3244, #171c27);
    border: 1px solid var(--line2);
    font-family: var(--serif);
    font-size: 20px;
    color: var(--amber);
}

.pc-name {
    font-size: 16px;
    font-weight: 600;
    align-self: end;
}

.pc-tags {
    font-size: 11.5px;
    color: var(--ink3);
}

.pc-works {
    grid-column: 2;
    font-size: 11.5px;
    color: var(--amber);
}

/* ---------------- 索引列表 ---------------- */

.index-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 40px;
}

.index-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.index-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
}

.index-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
}

.index-list span {
    color: var(--ink3);
    font-size: 12px;
    white-space: nowrap;
}

/* ---------------- 剧集库列表 ---------------- */

.drama-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.drama-card {
    min-width: 0;
}

.dc-body {
    margin-top: 10px;
}

.dc-body h2 {
    font-size: 16px;
    margin: 0 0 3px;
}

.dc-meta {
    font-size: 11.5px;
    color: var(--ink3);
    margin: 0 0 6px;
}

.dc-tag {
    font-size: 12.5px;
    color: var(--ink2);
    line-height: 1.6;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dc-plat {
    font-size: 11px;
    color: var(--ink3);
    margin: 0;
}

.empty {
    padding: 40px 0;
    color: var(--ink3);
    text-align: center;
}

/* ---------------- 面包屑 ---------------- */

.crumbs {
    border-bottom: 1px solid var(--line);
    background: #0a0c11;
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 11px 0;
    font-size: 12.5px;
    color: var(--ink3);
}

.crumbs li {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.crumbs li + li::before {
    content: "/";
    color: var(--line2);
}

.crumbs a {
    color: var(--ink2);
}

.crumbs a:hover {
    color: var(--amber);
}

/* ---------------- 详情页 ---------------- */

.d-head {
    padding: 36px 0 34px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(760px 320px at 88% 0%, rgba(240, 164, 74, 0.09), transparent 66%),
        linear-gradient(180deg, #0b0e14, var(--bg));
}

.d-head-in {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.d-poster {
    min-width: 0;
}

.d-kicker {
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--amber);
    margin: 0 0 8px;
}

.d-intro h1 {
    font-size: clamp(28px, 4vw, 42px);
    margin: 0 0 10px;
}

.d-tag {
    font-size: 17px;
    color: var(--ink2);
    margin: 0 0 20px;
}

.d-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.d-facts li {
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
}

.d-facts b {
    font-size: 22px;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.d-facts span {
    font-size: 11.5px;
    color: var(--ink3);
    white-space: nowrap;
}

.d-plat {
    font-size: 13px;
    color: var(--ink2);
    margin: 0 0 14px;
}

.d-rating {
    display: flex;
    align-items: center;
    gap: 9px;
}

.d-rating-label {
    font-size: 11.5px;
    color: var(--ink3);
    letter-spacing: 0.08em;
}

.d-rating-num {
    font-size: 12px;
    color: var(--amber);
    font-variant-numeric: tabular-nums;
}

.detail {
    padding: 44px 0 76px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 322px;
    gap: 44px;
    align-items: start;
}

.detail-main {
    min-width: 0;
}

.detail-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 84px;
    min-width: 0;
}

.prose {
    font-size: 16.5px;
    line-height: 1.92;
    color: #d8d5ce;
}

.prose h2 {
    font-size: 21px;
    margin: 38px 0 14px;
    padding-left: 13px;
    border-left: 3px solid var(--amber);
    color: var(--ink);
    scroll-margin-top: 90px;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    font-size: 17px;
    margin: 26px 0 8px;
}

.prose p {
    margin: 0 0 17px;
}

.prose ul,
.prose ol {
    padding-left: 1.25em;
    margin: 0 0 18px;
}

.prose li {
    margin: 0.4em 0;
}

.prose li::marker {
    color: var(--amber);
}

.prose blockquote {
    margin: 22px 0;
    padding: 14px 20px;
    border-left: 2px solid var(--amber-d);
    background: rgba(240, 164, 74, 0.05);
    border-radius: 0 8px 8px 0;
    color: var(--ink2);
    font-size: 15.5px;
}

.prose blockquote p:last-child {
    margin-bottom: 0;
}

.prose strong {
    color: var(--ink);
}

.prose a {
    color: var(--amber);
    border-bottom: 1px solid rgba(240, 164, 74, 0.4);
}

/* 剧情脉络 */
.arc {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 18px 0 8px;
}

.arc-item {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px 18px;
}

.arc-item h3 {
    margin: 0 0 6px;
    font-size: 14.5px;
    color: var(--amber);
    letter-spacing: 0.02em;
}

.arc-item p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--ink2);
}

/* 人物关系 */
.rel-list {
    list-style: none;
    margin: 16px 0 8px;
    padding: 0;
}

.rel-list li {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px dashed var(--line);
}

.rel-pair {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
}

.rel-pair i {
    color: var(--amber);
    font-style: normal;
    margin: 0 7px;
}

.rel-txt {
    font-size: 13.5px;
    color: var(--ink2);
    line-height: 1.7;
}

.rel-list-o li {
    grid-template-columns: 170px minmax(0, 1fr);
}

/* 圆点列表 */
.dot-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 8px;
}

.dot-list li {
    position: relative;
    padding-left: 18px;
    margin: 0 0 9px;
    font-size: 15px;
    color: var(--ink2);
}

.dot-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
}

/* 适合谁看 */
.audience {
    display: grid;
    gap: 8px;
    margin: 14px 0 18px;
}

.audience p {
    margin: 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14.5px;
    line-height: 1.7;
}

.aud-yes {
    background: rgba(75, 200, 176, 0.07);
    border: 1px solid rgba(75, 200, 176, 0.24);
    color: #b7ded5;
}

.aud-no {
    background: rgba(226, 96, 79, 0.06);
    border: 1px solid rgba(226, 96, 79, 0.22);
    color: #e0bdb6;
}

.note-line {
    font-size: 12px;
    color: var(--ink3);
    line-height: 1.7;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    margin-top: 26px;
}

/* 侧栏 */
.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 18px 20px;
}

.panel-t {
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--ink3);
    margin: 0 0 12px;
    text-transform: uppercase;
}

.panel-p {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--ink2);
    margin: 0;
}

.kv {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kv > div {
    display: flex;
    gap: 10px;
    font-size: 13px;
    line-height: 1.6;
}

.kv dt {
    flex: 0 0 56px;
    color: var(--ink3);
}

.kv dd {
    margin: 0;
    color: var(--ink);
    min-width: 0;
}

.kv-tight > div {
    font-size: 12.5px;
    gap: 8px;
}

.kv-tight dt {
    flex: 0 0 42px;
}

.cast-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cast-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 7px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13.5px;
}

.cast-list li:last-child {
    border-bottom: 0;
}

.cast-name {
    color: var(--ink);
}

.cast-role {
    color: var(--ink3);
    font-size: 12.5px;
    text-align: right;
}

.side-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-links li {
    margin: 0;
    border-bottom: 1px dashed var(--line);
}

.side-links li:last-child {
    border-bottom: 0;
}

.side-links a,
.side-links li > span {
    display: block;
    padding: 9px 0;
}

.side-links b {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.55;
}

.side-links span {
    display: block;
    font-size: 11.5px;
    color: var(--ink3);
    line-height: 1.6;
}

.side-links li.on a {
    color: var(--amber);
}

.muted {
    color: var(--ink3);
    font-size: 13px;
}

.side-ep a {
    padding: 7px 0;
}

.side-link {
    display: block;
    padding: 16px 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--r);
}

.side-link b {
    display: block;
    font-size: 14px;
}

.side-link span {
    font-size: 12px;
    color: var(--ink3);
    line-height: 1.6;
}

/* ---------------- 原创剧头 ---------------- */

.o-head {
    padding: 44px 0 38px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(150deg, hsl(var(--h), 42%, 20%) 0%, hsl(var(--h2), 46%, 7%) 78%);
    position: relative;
    overflow: hidden;
}

.o-head::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 5px);
    pointer-events: none;
}

.o-head .wrap {
    position: relative;
    z-index: 1;
}

.o-kicker {
    font-size: 11.5px;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.68);
    margin: 0 0 10px;
}

.o-head h1 {
    font-family: var(--serif);
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: 0.08em;
    margin: 0 0 8px;
    color: #fff;
}

.o-tag {
    font-size: 17px;
    color: var(--amber);
    margin: 0 0 14px;
}

.o-log {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    max-width: 52em;
    margin: 0 0 20px;
}

.o-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.o-facts li {
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
}

.o-facts b {
    font-size: 20px;
    color: #fff;
    line-height: 1.2;
}

.o-facts span {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 10px;
}

.role-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 15px 16px;
    min-width: 0;
}

.role-top {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.role-top b {
    font-size: 15.5px;
    color: var(--ink);
}

.role-top span {
    font-size: 11.5px;
    color: var(--amber);
}

.role-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--ink2);
}

.ep-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.ep-list li {
    margin: 0;
}

.ep-list a {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    margin-bottom: 8px;
    transition: border-color 0.16s, background 0.16s;
}

.ep-list a:hover {
    border-color: var(--amber);
    background: var(--panel2);
}

.ep-num {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--amber);
    font-variant-numeric: tabular-nums;
}

.ep-body {
    min-width: 0;
}

.ep-body b {
    display: block;
    font-size: 15.5px;
    margin-bottom: 2px;
}

.ep-log {
    font-size: 12.5px;
    color: var(--ink3);
    line-height: 1.6;
}

.ep-rt {
    font-size: 11.5px;
    color: var(--ink3);
    white-space: nowrap;
}

/* ---------------- 分集页 ---------------- */

.ep-head {
    padding: 40px 0 32px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(240, 164, 74, 0.1), transparent 66%),
        linear-gradient(180deg, #0b0e14, var(--bg));
}

.ep-kicker {
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--amber);
    margin: 0 0 10px;
}

.ep-head h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 12px;
}

.ep-sub {
    font-size: 17px;
    color: var(--ink2);
    margin: 0 0 10px;
    max-width: 44em;
}

.ep-meta {
    font-size: 12.5px;
    color: var(--ink3);
    margin: 0;
}

.ep-prose p {
    font-size: 17px;
    line-height: 2;
    margin-bottom: 20px;
}

.hook {
    margin: 30px 0 26px;
    padding: 18px 20px;
    border: 1px solid rgba(240, 164, 74, 0.28);
    background: rgba(240, 164, 74, 0.06);
    border-radius: 10px;
}

.hook-t {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--amber);
    margin-bottom: 6px;
}

.hook p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.8;
    color: #e6d9c6;
}

.ep-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 36px;
}

.ep-nav-a {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    min-width: 0;
}

.ep-nav-a span {
    display: block;
    font-size: 11px;
    color: var(--ink3);
    letter-spacing: 0.08em;
    margin-bottom: 3px;
}

.ep-nav-a b {
    display: block;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-nav-a:hover {
    border-color: var(--amber);
}

.ep-nav-r {
    text-align: right;
}

.is-off {
    opacity: 0.45;
}

/* ---------------- 明星页 ---------------- */

.s-head {
    padding: 40px 0 34px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #0b0e14, var(--bg));
}

.s-head-in {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
}

.s-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 38px;
    color: var(--amber);
    background: linear-gradient(150deg, #2a3244, #141821);
    border: 1px solid var(--line2);
}

.s-kicker {
    font-size: 11.5px;
    letter-spacing: 0.16em;
    color: var(--ink3);
    margin: 0 0 6px;
}

.s-head h1 {
    font-size: clamp(26px, 3.6vw, 38px);
    margin: 0 0 6px;
}

.s-meta {
    font-size: 13px;
    color: var(--ink3);
    margin: 0 0 10px;
}

.s-tags {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    flex-wrap: wrap;
}

.s-tags li {
    margin: 0;
    font-size: 11.5px;
    color: var(--amber);
    border: 1px solid rgba(240, 164, 74, 0.36);
    border-radius: 999px;
    padding: 1px 9px;
}

.s-known {
    font-size: 15px;
    color: var(--ink2);
    margin: 0;
    max-width: 46em;
}

.work-list {
    display: grid;
    gap: 8px;
    margin: 16px 0 10px;
}

.work-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1.4fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: baseline;
    padding: 12px 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: border-color 0.16s, background 0.16s;
}

.work-item:hover {
    border-color: var(--amber);
    background: var(--panel2);
}

.wi-y {
    font-size: 12px;
    color: var(--amber);
    font-variant-numeric: tabular-nums;
}

.work-item b {
    font-size: 15px;
}

.wi-r {
    font-size: 12.5px;
    color: var(--ink2);
}

.wi-g {
    font-size: 11px;
    color: var(--ink3);
}

/* ---------------- 文章页 ---------------- */

.post-head {
    padding: 42px 0 34px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #0b0e14, var(--bg));
}

.ph-cat {
    font-size: 11.5px;
    letter-spacing: 0.16em;
    color: var(--amber);
    margin: 0 0 10px;
}

.post-head h1 {
    font-size: clamp(25px, 3.6vw, 36px);
    margin: 0 0 14px;
    max-width: 22em;
}

.ph-lead {
    font-size: 16px;
    line-height: 1.85;
    color: var(--ink2);
    max-width: 40em;
    margin: 0 0 14px;
}

.ph-meta {
    font-size: 12px;
    color: var(--ink3);
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.tag-row li {
    margin: 0;
    font-size: 11.5px;
    color: var(--ink2);
    border: 1px solid var(--line2);
    border-radius: 999px;
    padding: 2px 10px;
}

/* ---------------- 节目单 ---------------- */

.sch-panel {
    padding: 22px 22px 24px;
}

.sch-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.sch-head h2 {
    font-size: 19px;
    margin: 0 0 4px;
}

.sch-head p {
    margin: 0;
    font-size: 13px;
    color: var(--ink3);
}

.sch-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.sch-tbl {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

.sch-tbl th,
.sch-tbl td {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0;
    text-align: center;
    font-size: 12.5px;
}

.sch-tbl thead th {
    background: var(--panel2);
    color: var(--ink3);
    font-weight: 500;
    padding: 9px 6px;
    letter-spacing: 0.04em;
}

.sch-tbl tbody th {
    background: var(--panel2);
    color: var(--ink3);
    font-weight: 500;
    padding: 0 10px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.sch-tbl tr:last-child th,
.sch-tbl tr:last-child td {
    border-bottom: 0;
}

.sch-tbl th:last-child,
.sch-tbl td:last-child {
    border-right: 0;
}

.sch-cell {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: 12.5px;
    padding: 11px 6px;
    text-align: center;
    outline: none;
}

.sch-cell:focus {
    background: rgba(240, 164, 74, 0.08);
    box-shadow: inset 0 0 0 1px var(--amber);
}

.sch-cell::placeholder {
    color: #3f4653;
}

.sch-tip {
    font-size: 12px;
    color: var(--ink3);
    margin: 12px 0 0;
}

.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.two-col h2,
.panel > h2 {
    font-size: 16px;
    margin: 0 0 8px;
}

.two-col p,
.panel > p {
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--ink2);
    margin: 0;
}

/* ---------------- 工具页 ---------------- */

.tool-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 26px;
    align-items: start;
}

.tool-panel {
    padding: 26px 26px 30px;
}

.tp-title {
    font-size: 22px;
    margin: 0 0 8px;
}

.tp-note {
    font-size: 13.5px;
    color: var(--ink3);
    margin: 0 0 22px;
    line-height: 1.7;
}

.fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field span {
    font-size: 12.5px;
    color: var(--ink2);
}

.field input,
.field select {
    background: var(--bg2);
    border: 1px solid var(--line2);
    border-radius: 8px;
    color: var(--ink);
    padding: 10px 12px;
    font-size: 14.5px;
    font-family: inherit;
    width: 100%;
    min-width: 0;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--amber);
}

.tool-out {
    margin-top: 22px;
    padding: 0;
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--ink2);
}

.tool-out.has {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg2);
}

.tool-out .res-big {
    display: block;
    font-size: 34px;
    line-height: 1.2;
    color: var(--amber);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
}

.tool-out .res-line {
    display: block;
    font-size: 14px;
    color: var(--ink2);
    margin-bottom: 2px;
}

.tool-out .res-note {
    display: block;
    font-size: 12px;
    color: var(--ink3);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
}

.tool-out ul {
    margin: 8px 0 0;
    padding-left: 1.1em;
}

.tool-out b {
    color: var(--ink);
}

.tool-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bar {
    height: 6px;
    border-radius: 999px;
    background: var(--line);
    overflow: hidden;
    margin: 10px 0 6px;
}

.bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--amber-d), var(--amber));
    border-radius: 999px;
}

.pick {
    display: block;
    padding: 13px 0;
    border-bottom: 1px dashed var(--line);
}

.pick:last-child {
    border-bottom: 0;
}

.pick b {
    display: block;
    font-size: 15.5px;
    color: var(--ink);
    margin-bottom: 2px;
}

.pick span {
    display: block;
    font-size: 12.5px;
    color: var(--ink3);
    line-height: 1.65;
}

/* 工具页 FAQ */
.faq {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    padding-top: 32px;
}

.faq-t {
    font-size: 19px;
    margin: 0 0 18px;
    padding-left: 13px;
    border-left: 3px solid var(--amber);
}

.faq-list {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 26px;
}

.faq-item {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px 18px;
    min-width: 0;
}

.faq-item dt {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1.6;
}

.faq-item dd {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--ink2);
}

/* ---------------- 错误页 ---------------- */

.err {
    padding: 88px 0 110px;
    text-align: center;
}

.err-code {
    font-family: var(--serif);
    font-size: clamp(64px, 12vw, 110px);
    line-height: 1;
    color: rgba(240, 164, 74, 0.28);
    margin: 0 0 10px;
    letter-spacing: 0.04em;
}

.err h1 {
    font-size: clamp(22px, 3vw, 30px);
    margin: 0 0 14px;
}

.err p {
    color: var(--ink2);
    max-width: 40em;
    margin: 0 auto 24px;
}

.err-acts {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------------- 页脚 ---------------- */

.ad-body {
    overflow: hidden;
    background: var(--bg2);
}

.site-foot {
    border-top: 1px solid var(--line);
    background: #080a0e;
    padding: 44px 0 0;
    margin-top: 0;
}

.foot-in {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 34px;
}

.foot-brand p {
    font-size: 13px;
    color: var(--ink3);
    line-height: 1.8;
    max-width: 30em;
    margin: 10px 0 0;
}

.foot-logo {
    font-family: var(--serif);
    font-size: 19px;
    letter-spacing: 0.06em;
    color: var(--ink);
}

.foot-col h4 {
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--ink3);
    margin: 0 0 10px;
    font-weight: 500;
}

.foot-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.foot-col li {
    margin: 0;
}

.foot-col a {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    color: var(--ink2);
}

.foot-col a:hover {
    color: var(--amber);
}

.foot-bottom {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    padding: 16px 0 22px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--ink3);
}

.foot-bottom a {
    color: var(--ink3);
}

.foot-bottom a:hover {
    color: var(--amber);
}

.sep {
    color: var(--line2);
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 1080px) {
    .poster-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .star-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-art {
        height: 352px;
        transform: scale(0.9);
        transform-origin: right center;
    }
}

@media (max-width: 900px) {
    .wrap {
        padding: 0 18px;
    }

    .burger {
        display: flex;
    }

    .mainnav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        background: #0e1118;
        border-bottom: 1px solid var(--line);
        padding: 8px 18px 16px;
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.5);
        margin-left: 0;
    }

    .mainnav.open {
        display: block;
    }

    .nav-in {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-in a {
        padding: 12px 8px;
        font-size: 15px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }

    .nav-in li:last-child a {
        border-bottom: 0;
    }

    .hero {
        padding: 40px 0 36px;
    }

    .hero-in {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .hero-art {
        display: none;
    }

    .hero-stats {
        gap: 22px;
    }

    .sec {
        padding: 40px 0;
    }

    .ann p {
        font-size: 11.5px;
        line-height: 1.55;
    }

    .ann-in {
        padding: 8px 0;
    }

    .sec-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .orig-grid,
    .post-grid,
    .post-grid-all,
    .two-col,
    .tool-grid-lg,
    .index-cols {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-feat {
        grid-column: auto;
    }

    .d-head-in {
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 20px;
    }

    .detail-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .detail-side {
        position: static;
    }

    .tool-wrap {
        grid-template-columns: minmax(0, 1fr);
    }

    .foot-in {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .filter-input {
        margin-left: 0;
        width: 100%;
    }

    .ep-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .s-head-in {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 18px;
    }

    .s-avatar {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}

@media (max-width: 620px) {
    body {
        font-size: 15.5px;
    }

    .poster-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .drama-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

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

    .star-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tool-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .role-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .d-head-in {
        grid-template-columns: minmax(0, 1fr);
    }

    .d-poster {
        width: 132px;
    }

    .d-facts {
        gap: 18px;
    }

    .d-facts b {
        font-size: 19px;
    }

    .rel-list li,
    .rel-list-o li {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .prose {
        font-size: 15.5px;
        line-height: 1.9;
    }

    .prose h2 {
        font-size: 19px;
    }

    .ep-prose p {
        font-size: 16px;
        line-height: 1.95;
    }

    .ep-list a {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
    }

    .ep-rt {
        grid-column: 2;
        font-size: 11px;
    }

    .ep-nav {
        grid-template-columns: minmax(0, 1fr);
    }

    .ep-nav-r {
        text-align: left;
    }

    .work-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 4px 10px;
    }

    .wi-r,
    .wi-g {
        grid-column: 2;
    }

    .ep-strip {
        grid-template-columns: minmax(0, 1fr);
    }

    .foot-in {
        grid-template-columns: minmax(0, 1fr);
    }

    .oh-acts,
    .hero-acts {
        flex-direction: column;
        align-items: stretch;
    }

    .oh-acts .btn,
    .oh-acts .btn-line,
    .hero-acts .btn,
    .hero-acts .btn-line {
        width: 100%;
    }

    .orig-head {
        padding: 24px 20px;
    }

    .sch-head {
        flex-direction: column;
    }
}
