/* 天美TV 全站视觉样式 */
:root {
    --ink: #090d17;
    --panel: #101827;
    --panel-soft: #172235;
    --paper: #f5f7fb;
    --white: #ffffff;
    --muted: #6c7483;
    --line: rgba(16, 24, 39, .12);
    --amber: #ffb224;
    --orange: #ff7043;
    --cyan: #40d8d0;
    --radius: 22px;
    --shadow: 0 20px 60px rgba(10, 16, 28, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; font-size: 16px; line-height: 1.7; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(9, 13, 23, .96); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(18px); }
.header-inner { width: min(1200px, calc(100% - 40px)); height: 70px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 172px; height: 46px; }
.main-nav { width: min(1200px, calc(100% - 40px)); margin: auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.nav-link { min-width: max-content; padding: 10px 13px 12px; color: #aeb8c8; border-bottom: 3px solid transparent; display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; transition: .2s ease; }
.nav-link:hover, .nav-link.active { color: #fff; border-color: var(--amber); background: rgba(255, 255, 255, .04); }
.nav-icon { color: var(--amber); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: #fff; }
.hero { margin-top: 32px; min-height: 570px; padding: 58px; border-radius: 30px; overflow: hidden; display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; background: radial-gradient(circle at 18% 5%, #28385d 0, transparent 36%), linear-gradient(135deg, #080c15, #111d31); color: #fff; box-shadow: var(--shadow); }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker, .eyebrow { color: var(--amber); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.hero h1 { margin: 12px 0 4px; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .95; letter-spacing: -.06em; }
.hero h1 a { color: #fff; }
.hero h2 { margin: 24px 0 12px; font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1.25; }
.hero p { color: #bdc7d8; max-width: 600px; }
.hero-actions { display: flex; gap: 12px; margin: 26px 0; flex-wrap: wrap; }
.button { min-height: 48px; padding: 11px 20px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; cursor: pointer; font-weight: 800; }
.button.primary { background: linear-gradient(135deg, var(--amber), var(--orange)); color: #1b1100; box-shadow: 0 12px 30px rgba(255, 153, 42, .24); }
.button.ghost { border-color: rgba(128, 138, 154, .35); background: rgba(255,255,255,.06); }
.hero-facts { display: flex; gap: 18px; color: #9eabba; font-size: .82rem; }
.hero-visual { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; transform: rotate(1.5deg); box-shadow: 0 32px 80px rgba(0,0,0,.45); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(3,6,12,.9)); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-play, .play-mark { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; color: #111; background: var(--amber); box-shadow: 0 0 0 10px rgba(255,178,36,.18); }
.hero-caption { position: absolute; z-index: 2; left: 24px; bottom: 20px; font-weight: 800; }
.section { margin-top: 92px; }
.section-heading { margin-bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading > div { display: flex; gap: 14px; align-items: baseline; }
.section-heading h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.1; }
.section-heading p { margin: 0; max-width: 520px; color: var(--muted); }
.section-heading a, .text-link { color: #c75b1e; font-weight: 800; }
.section-index { color: var(--orange); font-weight: 900; letter-spacing: .08em; }
.spotlight-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 22px; }
.video-card { min-width: 0; overflow: hidden; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 35px rgba(11,19,33,.08); }
.video-card .cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe4ec; }
.video-card .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4,8,15,.7)); }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.video-card:hover img { transform: scale(1.045); }
.video-card .play-mark { width: 48px; height: 48px; opacity: .94; }
.duration { position: absolute; z-index: 3; right: 12px; bottom: 10px; padding: 3px 8px; border-radius: 7px; background: rgba(3,7,13,.84); color: #fff; font-size: .74rem; }
.card-body { padding: 18px; }
.card-body h3 { min-height: 2.7em; margin: 6px 0 8px; line-height: 1.35; font-size: 1.08rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body p { min-height: 3.4em; margin: 0; color: var(--muted); font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta-row { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: #8a92a0; font-size: .72rem; }
.update-strip { padding: 38px; border-radius: 26px; background: var(--ink); color: #fff; }
.section-heading.light p, .section-heading.light a { color: #9eabba; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline-item { padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; display: grid; grid-template-columns: auto 10px 1fr; gap: 12px; }
.timeline-item time { color: var(--amber); font-weight: 900; }
.timeline-item > span { width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 6px rgba(64,216,208,.12); }
.timeline-item strong, .timeline-item small { display: block; }
.timeline-item small { margin-top: 5px; color: #97a3b4; line-height: 1.5; }
.popular-feature { min-height: 440px; display: grid; grid-template-columns: 1.35fr .65fr; background: #dbe7eb; border-radius: 28px; overflow: hidden; }
.feature-poster { position: relative; min-height: 380px; }
.feature-poster img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.feature-copy h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.12; margin: 12px 0 18px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.category-tile { min-height: 190px; padding: 24px; border-radius: 20px; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-content: start; background: #fff; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.category-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.category-icon { grid-row: span 2; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--ink); color: var(--amber); font-size: 1.35rem; }
.category-tile strong { font-size: 1.2rem; }
.category-tile small { grid-column: 1 / -1; color: var(--muted); }
.category-tile em { grid-column: 1 / -1; color: var(--orange); font-size: .75rem; font-style: normal; font-weight: 800; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.short-drama, .anime-stack { padding: 32px; border-radius: 26px; }
.short-drama { background: #ffe6e1; }
.anime-stack { background: #e3e3ff; }
.compact-heading { margin-bottom: 18px; }
.video-card.compact { display: grid; grid-template-columns: 180px 1fr; margin-top: 14px; box-shadow: none; }
.video-card.compact .cover { aspect-ratio: 16 / 10; }
.video-card.compact .play-mark { width: 38px; height: 38px; }
.classic-reel { padding: 42px; background: #101827; border-radius: 28px; color: #fff; }
.reel-grid, .mosaic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.classic-reel .video-card { background: #172235; }
.classic-reel .card-body p, .classic-reel .meta-row { color: #9faabc; }
.premiere-grid { border-top: 1px solid var(--line); }
.premiere-grid article { padding: 20px 8px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 100px 1fr 180px; align-items: center; gap: 20px; }
.premiere-grid time { color: var(--orange); font-size: 1.3rem; font-weight: 900; }
.premiere-grid strong { font-size: 1.18rem; }
.premiere-grid span { color: var(--muted); text-align: right; }
.ranking-panel { padding: 42px; border-radius: 28px; background: linear-gradient(135deg, #28100d, #101827); color: #fff; }
.ranking-list { list-style: none; margin: 0; padding: 0; }
.ranking-list li { min-height: 72px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 62px 1fr 120px 130px 70px; gap: 16px; align-items: center; }
.rank-number { color: var(--amber); font-size: 1.5rem; font-weight: 900; }
.ranking-list li > span, .ranking-list time { color: #98a3b4; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.topic-card { position: relative; min-height: 420px; padding: 28px; border-radius: 24px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: end; }
.topic-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(4,8,15,.92)); }
.topic-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.topic-card span, .topic-card h3, .topic-card p { position: relative; z-index: 2; }
.topic-card span { color: var(--amber); font-size: .75rem; font-weight: 900; }
.topic-card h3 { margin: 8px 0; font-size: 1.45rem; line-height: 1.3; }
.topic-card p { margin: 0; color: #c8d0dc; font-size: .86rem; }
.editor-picks { padding: 36px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px; background: #fff1cf; border-radius: 28px; }
.editor-note h2 { font-size: 2.3rem; line-height: 1.18; }
.editor-cards { display: grid; gap: 14px; }
.mosaic-grid .video-card:nth-child(1) { grid-column: span 2; }
.mosaic-grid .video-card:nth-child(1) .cover { aspect-ratio: 16 / 6.6; }
.tag-cloud { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: center; padding: 38px; border-block: 1px solid var(--line); }
.tag-cloud h2 { margin: 4px 0; font-size: 2.1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tags a { padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.about-panel { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 48px; border-radius: 28px; background: #dfeff0; }
.about-number { font-size: 6rem; line-height: 1; font-weight: 900; color: rgba(10,80,85,.16); }
.about-panel h2 { margin: 7px 0 10px; font-size: 2.2rem; }
.subscribe-panel { margin-bottom: 80px; padding: 40px; display: grid; grid-template-columns: 150px 1fr auto; gap: 34px; align-items: center; background: #0c1321; color: #fff; border-radius: 28px; }
.qr-brand { width: 130px; aspect-ratio: 1; padding: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; background: #fff; border-radius: 18px; }
.qr-brand span { grid-column: 1 / -1; display: grid; place-items: center; background: var(--ink); color: var(--amber); font-size: 1.25rem; font-weight: 900; }
.qr-brand i { background: var(--ink); border-radius: 3px; }
.qr-brand i:nth-of-type(2n) { background: var(--amber); }
.subscribe-copy h2 { margin: 6px 0; font-size: 2rem; }
.subscribe-copy p { margin: 0; color: #aab5c5; }
.site-footer { padding: 54px 20px 0; background: #080c15; color: #c3ccda; }
.footer-inner { width: min(1200px, 100%); margin: auto; display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 50px; }
.footer-brand p, .footer-contact p { color: #8d98aa; }
.footer-links h2, .footer-contact h2 { color: #fff; font-size: 1rem; }
.footer-links a { display: block; padding: 5px 0; }
.copyright { width: min(1200px, 100%); margin: 35px auto 0; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); color: #6f7a8c; font-size: .82rem; }
.back-top { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--amber); color: #111; font-size: 1.2rem; font-weight: 900; cursor: pointer; opacity: 0; pointer-events: none; transition: .2s ease; box-shadow: var(--shadow); }
.back-top.visible { opacity: 1; pointer-events: auto; }
.inner-main { padding-top: 28px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .86rem; overflow: hidden; white-space: nowrap; }
.breadcrumb strong { overflow: hidden; text-overflow: ellipsis; }
.channel-hero { margin-top: 24px; padding: 42px; min-height: 400px; border-radius: 28px; display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 36px; background: linear-gradient(135deg, #121d30, #263b5e); color: #fff; }
.channel-hero h1 { margin: 10px 0; font-size: 3.5rem; }
.channel-hero > div > p { color: #b9c4d5; }
.channel-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: var(--amber); background: rgba(255,255,255,.08); font-size: 1.6rem; }
.channel-feature { position: relative; min-height: 320px; border-radius: 22px; overflow: hidden; display: flex; align-items: end; }
.channel-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(4,8,15,.94)); }
.channel-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.channel-feature > div { position: relative; z-index: 2; padding: 24px; }
.channel-feature strong, .channel-feature small { display: block; }
.channel-feature strong { font-size: 1.45rem; }
.channel-feature p { margin: 5px 0 0; color: #c4cddd; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.catalog-grid .video-card:nth-child(1), .catalog-grid .video-card:nth-child(2) { grid-column: span 1; }
.channel-bottom { margin-bottom: 80px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.channel-editorial, .hot-list { padding: 34px; border-radius: 24px; background: #fff; }
.channel-editorial .button { margin-top: 14px; color: var(--ink); }
.hot-list h2 { margin-top: 0; }
.hot-list > a { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 36px 1fr; gap: 12px; }
.hot-list > a > span { color: var(--orange); font-size: 1.25rem; font-weight: 900; }
.hot-list strong, .hot-list small { display: block; }
.hot-list small { color: var(--muted); }
.watch-heading { max-width: 900px; margin: 38px 0 24px; }
.watch-heading h1 { margin: 6px 0 12px; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -.03em; }
.watch-heading > p { color: var(--muted); font-size: 1.05rem; }
.watch-meta { display: flex; gap: 18px; flex-wrap: wrap; color: #747d8c; font-size: .82rem; }
.player-shell { overflow: hidden; border-radius: 24px; background: #05070c; box-shadow: 0 25px 70px rgba(5,9,18,.3); }
.screen { position: relative; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.big-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 92px; height: 92px; border: 0; border-radius: 50%; background: var(--amber); color: #111; font-size: 1.8rem; cursor: pointer; box-shadow: 0 0 0 14px rgba(255,178,36,.2); }
.big-play.playing { background: var(--cyan); }
.screen-title { position: absolute; left: 28px; bottom: 24px; color: #fff; }
.screen-title span, .screen-title strong { display: block; }
.screen-title span { color: var(--amber); font-size: .76rem; }
.screen-title strong { font-size: 1.4rem; }
.controls { min-height: 62px; padding: 10px 20px; display: grid; grid-template-columns: 38px 50px 1fr 54px 38px 38px; gap: 10px; align-items: center; color: #aeb8c8; font-size: .78rem; }
.controls button { border: 0; color: #fff; background: transparent; cursor: pointer; }
.progress { height: 5px; border-radius: 9px; overflow: hidden; background: #343b47; }
.progress i { display: block; width: 12%; height: 100%; background: var(--amber); }
.watch-note { margin-top: 20px; padding: 20px 24px; display: grid; grid-template-columns: 120px 1fr; border-radius: 16px; background: #fff3d9; }
.watch-note p { margin: 0; }
.article-copy { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.article-copy h2 { margin: 6px 0 12px; font-size: 1.8rem; }
.article-copy p { color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery-grid figure { margin: 0; overflow: hidden; background: #fff; border-radius: 20px; }
.gallery-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-grid figcaption { padding: 12px 16px; color: var(--muted); font-size: .84rem; }
.highlight-band { margin-top: 72px; padding: 34px; border-radius: 24px; background: #101827; color: #fff; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.highlight-band span { color: var(--amber); font-weight: 900; }
.highlight-band h2 { margin: 8px 0; font-size: 1.25rem; }
.highlight-band p { margin: 0; color: #9faabc; }
.end-note { margin-top: 28px; padding: 28px; border-left: 5px solid var(--orange); background: #fff; }
.end-note span { color: var(--orange); font-weight: 900; }
.end-note p { margin: 4px 0; }
.prev-next { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.prev-next a { padding: 22px; border-radius: 18px; background: #dfe8ef; }
.prev-next small, .prev-next strong { display: block; }
.prev-next small { color: var(--muted); }
.related-section { margin-bottom: 80px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
