
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;background:var(--bg,#0b1020);color:var(--text,#eaf2ff);font-size:16px}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.site-wrap{min-height:100vh}.site-main{max-width:1540px;margin:0 auto;padding:24px 22px 30px}.site-header{position:sticky;top:0;z-index:60;background:rgba(9,12,22,.88);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08)}.header-classic-inner,.header-search-first,.header-centered,.header-side-layout,.header-double-top{max-width:1540px;margin:0 auto;min-height:70px;padding:0 22px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:baseline;gap:8px;white-space:nowrap}.brand strong{font-size:25px;background:linear-gradient(120deg,var(--accent,#36d7ff),var(--accent2,#ff3bc8));-webkit-background-clip:text;color:transparent}.brand small{color:var(--muted,#9fb0c8);font-weight:800}.main-nav{display:flex;align-items:center;gap:6px;overflow-x:auto}.main-nav a,.side-chip-nav a{padding:10px 14px;border-radius:999px;color:#c8d5e8;font-weight:800}.main-nav a.active,.main-nav a:hover,.side-chip-nav a.active,.side-chip-nav a:hover{background:rgba(255,255,255,.10);color:#fff}.top-search{margin-left:auto;display:flex;height:42px;min-width:240px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);border-radius:999px;overflow:hidden}.top-search.large{height:52px;min-width:420px}.top-search input{flex:1;border:0;background:transparent;color:#fff;padding:0 16px;outline:0}.top-search button{border:0;background:linear-gradient(120deg,var(--accent,#36d7ff),var(--accent2,#ff3bc8));color:#fff;font-weight:900;padding:0 18px}.mobile-menu-btn{display:none;border:0;background:rgba(255,255,255,.10);color:#fff;border-radius:12px;width:42px;height:42px}.side-chip-nav{max-width:1540px;margin:0 auto;padding:0 22px 12px;display:flex;gap:8px;overflow-x:auto}.double-row{max-width:1540px;margin:0 auto;padding:0 22px 12px}.breadcrumb{max-width:1540px;margin:0 auto 18px;padding:12px 0;color:#aebbd0;border-bottom:1px solid rgba(255,255,255,.08);display:flex;gap:8px;align-items:center}.soft-line{opacity:.95}.category-bar{display:flex;gap:12px;overflow-x:auto;margin:0 0 22px}.category-bar a{min-width:120px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);border-radius:18px;padding:14px}.category-bar span{display:block;font-weight:900}.category-bar em{display:block;color:var(--muted,#9fb0c8);font-size:12px;font-style:normal;margin-top:4px}.cat-cards a{min-width:160px}.hero-portal,.hero-cinema,.hero-rank,.hero-wall,.hero-search{position:relative;border-radius:30px;overflow:hidden;margin:0 0 28px;border:1px solid rgba(255,255,255,.10);background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.03));box-shadow:0 24px 80px rgba(0,0,0,.28)}.hero-portal{display:grid;grid-template-columns:minmax(280px,1.1fr) 260px minmax(360px,.9fr);gap:24px;align-items:center;padding:34px}.hero-copy span,.hero-label{display:inline-flex;border-radius:999px;padding:7px 13px;background:linear-gradient(120deg,var(--accent,#36d7ff),var(--accent2,#ff3bc8));font-weight:900;color:#fff}.hero-copy h1,.hero-info h1,.hero-search h1{font-size:44px;line-height:1.12;margin:16px 0 12px}.hero-copy p,.hero-info p,.hero-search p{color:#b7c5dc;line-height:1.7}.hero-copy a,.hero-info a,.btn-primary,.btn-soft{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;min-height:42px;padding:0 20px;font-weight:900}.hero-copy a,.hero-info a,.btn-primary{background:linear-gradient(120deg,var(--accent,#36d7ff),var(--accent2,#ff3bc8));color:#fff}.btn-soft{background:rgba(255,255,255,.10)}.hero-poster img{height:360px;width:250px;object-fit:cover;border-radius:24px;box-shadow:0 18px 50px rgba(0,0,0,.4)}.hero-mini .tpl-items{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-cinema{min-height:480px}.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(1.1)}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.35),rgba(0,0,0,.82))}.hero-info{position:relative;z-index:2;max-width:560px;padding:70px 48px}.hero-switch{position:absolute;z-index:3;left:48px;right:48px;bottom:28px;display:flex;gap:10px;overflow-x:auto}.hero-switch button{border:1px solid rgba(255,255,255,.16);background:rgba(0,0,0,.45);color:#fff;border-radius:14px;padding:10px 14px;white-space:nowrap}.hero-switch button.active{background:linear-gradient(120deg,var(--accent),var(--accent2))}.hero-search{padding:60px 30px;text-align:center}.hero-search form,.search-card form{max-width:760px;margin:20px auto 0;display:flex;border-radius:999px;overflow:hidden;background:#fff}.hero-search input,.search-card input{flex:1;border:0;padding:0 22px;min-height:56px;font-size:16px;outline:0}.hero-search button,.search-card button{border:0;background:linear-gradient(120deg,var(--accent),var(--accent2));color:#fff;font-weight:900;padding:0 28px}.hero-rank{display:grid;grid-template-columns:320px 1fr;gap:24px;padding:30px}.hero-wall{padding:24px}.wall-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:16px}.tpl-section{margin:0 0 28px;padding:22px;border-radius:24px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-head h2{margin:0;font-size:24px}.section-head a,.section-head span{color:var(--muted,#9fb0c8)}.tpl-items{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.tpl-card{min-width:0}.card-poster .picbox{position:relative;display:block;border-radius:18px;overflow:hidden;background:#182033;aspect-ratio:2/3}.card-poster img{width:100%;height:100%;object-fit:cover;transition:.25s}.card-poster:hover img{transform:scale(1.05)}.card-poster em{position:absolute;right:8px;top:8px;background:rgba(0,0,0,.7);border-radius:999px;padding:4px 8px;font-size:12px;font-style:normal}.card-poster b{position:absolute;left:8px;bottom:8px;background:var(--accent2);border-radius:8px;padding:3px 7px;font-size:12px}.card-poster strong{display:block;margin-top:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-poster small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-wide{display:grid;grid-template-columns:120px 1fr;gap:14px;padding:12px;border-radius:18px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);position:relative}.card-wide img{width:120px;height:150px;object-fit:cover;border-radius:14px}.card-wide strong{display:block;font-size:18px;margin-bottom:8px}.card-wide em{display:block;color:var(--muted);font-style:normal;margin-bottom:8px}.card-wide p{margin:0;color:#b8c6db;line-height:1.55}.list-items{grid-template-columns:1fr}.rank-items{grid-template-columns:repeat(2,minmax(0,1fr))}.card-rank{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:13px 14px;border-radius:16px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08)}.card-rank b{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:linear-gradient(120deg,var(--accent),var(--accent2))}.card-rank em{color:var(--muted);font-style:normal}.masonry-items{columns:6 170px;display:block}.card-masonry{display:inline-block;width:100%;break-inside:avoid;margin:0 0 16px;border-radius:20px;overflow:hidden;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}.card-masonry img{width:100%;height:auto}.card-masonry strong,.card-masonry em{display:block;padding:10px 12px}.card-flip{position:relative;display:block;min-height:260px;perspective:800px}.flip-front,.flip-back{position:absolute;inset:0;border-radius:18px;overflow:hidden;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);backface-visibility:hidden;transition:.35s;padding:12px}.flip-front img{height:210px;width:100%;object-fit:cover;border-radius:14px}.flip-back{transform:rotateY(180deg);display:flex;flex-direction:column;justify-content:center}.card-flip:hover .flip-front{transform:rotateY(180deg)}.card-flip:hover .flip-back{transform:rotateY(360deg)}.content-layout,.list-feed-layout,.home-feed-layout,.home-split,.detail-layout,.play-layout,.play-theater,.list-rank-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px}.home-split{grid-template-columns:minmax(0,1fr) 360px}.rank-panel,.content-side,.detail-side,.player-side,.home-split aside,.play-theater aside,.list-rank-layout aside{position:sticky;top:96px;align-self:start}.rank-panel{border-radius:22px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);padding:18px}.rank-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.rank-head h3{margin:0}.rank-list{display:grid;gap:8px}.rank-item{display:grid;grid-template-columns:30px 1fr auto;gap:9px;align-items:center;padding:8px;border-radius:12px}.rank-item:hover{background:rgba(255,255,255,.08)}.rank-num{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:rgba(255,255,255,.10)}.rank-item em{color:var(--muted);font-style:normal;font-size:12px}.filter-strip{display:flex;gap:9px;overflow-x:auto;margin:0 0 20px}.filter-strip a{padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}.filter-strip a.active{background:linear-gradient(120deg,var(--accent),var(--accent2));color:#fff}.pagination{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:22px 0}.pagination a,.pagination span{padding:9px 13px;border-radius:12px;background:rgba(255,255,255,.07)}.pagination a.active{background:linear-gradient(120deg,var(--accent),var(--accent2))}.detail-hero{display:grid;grid-template-columns:260px 1fr 160px;gap:24px;padding:24px;border-radius:26px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08)}.detail-poster{position:relative}.detail-poster img{width:260px;height:360px;object-fit:cover;border-radius:20px}.detail-poster span{position:absolute;right:10px;top:10px;background:rgba(0,0,0,.65);padding:5px 9px;border-radius:999px}.detail-info h1{font-size:42px;margin:12px 0}.detail-tags{display:flex;gap:8px;overflow-x:auto;margin-bottom:14px}.detail-tags span,.detail-meta span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.08);color:#cfe0f6}.detail-intro,.article-text{line-height:1.8;color:#c5d1e5}.detail-meta p{color:#c5d1e5}.detail-actions{display:flex;gap:12px;flex-wrap:wrap}.score-box{display:grid;place-items:center;border-radius:20px;background:rgba(0,0,0,.25)}.score-box strong{font-size:34px;color:var(--accent2)}.detail-backdrop{position:relative;min-height:420px;border-radius:30px;overflow:hidden;display:flex;align-items:end;padding:44px;margin-bottom:28px;background:#111}.detail-backdrop>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(2px) saturate(1.1)}.detail-backdrop:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.88),rgba(0,0,0,.25))}.detail-backdrop>div{position:relative;z-index:2;max-width:760px}.detail-backdrop h1{font-size:48px}.detail-data-page,.detail-text-page{border-radius:26px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);padding:24px;margin-bottom:28px}.data-main{display:grid;grid-template-columns:240px 1fr;gap:24px}.data-main img{width:240px;height:330px;object-fit:cover;border-radius:18px}.data-main dl{display:grid;grid-template-columns:90px 1fr;gap:10px}.data-main dt{color:var(--muted)}.data-score{float:right;text-align:center}.data-score b{font-size:42px;color:var(--accent2)}.episode-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}.episode-grid a{display:grid;place-items:center;min-height:42px;border-radius:12px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);font-weight:800}.episode-grid a.active,.episode-grid a:hover{background:linear-gradient(120deg,var(--accent),var(--accent2));color:#fff}.player-box{position:relative;background:#000;border-radius:24px;overflow:hidden;min-height:520px;border:1px solid rgba(255,255,255,.08)}.video-player{width:100%;height:520px;background:#000}.player-empty{height:520px;display:grid;place-items:center}.big-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:72px;height:72px;border-radius:50%;border:0;background:rgba(255,255,255,.9);font-size:28px}.player-info-card h1,.player-title h1{margin:0 0 10px}.play-vod-card{display:grid;grid-template-columns:86px 1fr;gap:12px;padding:14px;border-radius:18px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);margin-bottom:16px}.play-vod-card img{width:86px;height:118px;object-fit:cover;border-radius:12px}.share-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0}.share-btn{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);border:0;color:#fff}.search-card{border-radius:28px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);padding:34px;text-align:center;margin-bottom:24px}.search-card h1{font-size:40px;margin:12px 0}.site-footer{margin-top:30px;border-top:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.22)}.footer-inner{max-width:1540px;margin:0 auto;padding:30px 22px;color:#aebbd0}.footer-links{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0}.mobile-bottom{display:none}.mobile-drawer,.drawer-mask{display:none}.back-top{position:fixed;right:18px;bottom:18px;width:42px;height:42px;border-radius:50%;border:0;background:linear-gradient(120deg,var(--accent),var(--accent2));color:#fff;display:none}.back-top.show{display:block}.template-2,.template-3,.template-15,.template-26,.template-42{--bg:#07080d;--text:#f4f7ff}.template-14,.template-25,.template-49{--bg:#f4f7fb;--text:#1b2738;--muted:#5f6f83}.template-14 .tpl-section,.template-25 .tpl-section,.template-49 .tpl-section,.template-14 .site-header,.template-25 .site-header,.template-49 .site-header{background:rgba(255,255,255,.9);color:#1b2738}.template-14 .top-search input,.template-25 .top-search input,.template-49 .top-search input{color:#1b2738}.template-15,.template-42{--accent:#d8a13a;--accent2:#e83232}.template-26{--accent:#00d4ff;--accent2:#8e55ff}.template-44,.template-50{--accent:#ffffff;--accent2:#9ca3af}.template-39{font-size:19px}.template-31 .tpl-items{grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.template-32 .tpl-items{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.template-30 .card-wide,.template-50 .card-wide{grid-template-columns:1fr}.template-19 .card-poster .picbox{aspect-ratio:16/9}.template-19 .card-poster img{object-fit:cover}.template-47 .tpl-items{grid-template-columns:repeat(5,minmax(0,1fr))}.template-18 .site-main,.template-37 .site-main{max-width:760px}.template-18 .site-wrap,.template-37 .site-wrap{background:linear-gradient(90deg,rgba(255,255,255,.03),transparent,rgba(255,255,255,.03))}.template-7 .tpl-items,.template-13 .tpl-items{gap:14px}.template-40 h1,.template-40 h2{letter-spacing:.02em}.template-40 .tpl-section{border-left:4px solid var(--accent)}
@media(max-width:1100px){.tpl-items{grid-template-columns:repeat(4,minmax(0,1fr))}.content-layout,.list-feed-layout,.home-feed-layout,.home-split,.detail-layout,.play-layout,.play-theater,.list-rank-layout{grid-template-columns:1fr}.rank-panel,.content-side,.detail-side,.player-side,.home-split aside,.play-theater aside,.list-rank-layout aside{position:static}.hero-portal{grid-template-columns:1fr 220px}.hero-mini{grid-column:1/-1}.detail-hero{grid-template-columns:220px 1fr}.score-box{display:none}.episode-grid{grid-template-columns:repeat(5,1fr)}}
@media(max-width:760px){body{font-size:14px}.site-main{padding:14px 12px 70px}.header-classic-inner,.header-search-first,.header-centered,.header-side-layout,.header-double-top{min-height:58px;padding:8px 12px;gap:10px;flex-wrap:wrap}.brand strong{font-size:18px}.brand small{font-size:11px}.main-nav{order:3;width:100%;gap:4px}.main-nav a{padding:8px 10px;font-size:13px}.top-search{display:none}.mobile-menu-btn{display:block;margin-left:auto}.side-chip-nav,.double-row{padding:0 12px 8px}.hero-portal{display:block;padding:18px;border-radius:18px}.hero-copy h1,.hero-info h1,.hero-search h1{font-size:25px}.hero-poster img{display:none}.hero-mini .tpl-items{grid-template-columns:repeat(2,1fr)}.hero-cinema{min-height:330px;border-radius:18px}.hero-info{padding:38px 20px 94px}.hero-switch{left:16px;right:16px;bottom:16px}.hero-search{padding:28px 14px;border-radius:18px}.hero-search form,.search-card form{display:flex}.hero-search input,.search-card input{min-height:48px}.hero-rank{display:block;padding:18px}.tpl-section{padding:14px;border-radius:18px;margin-bottom:18px}.section-head h2{font-size:20px}.tpl-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rank-items,.list-items{grid-template-columns:1fr}.masonry-items{columns:2 140px}.card-wide{grid-template-columns:86px 1fr;padding:9px}.card-wide img{width:86px;height:112px}.card-wide strong{font-size:15px}.card-wide p{font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.category-bar a{min-width:98px;padding:11px}.detail-hero{display:block;padding:14px}.detail-poster img{width:100%;height:auto;max-height:420px}.detail-info h1,.detail-backdrop h1{font-size:26px}.detail-backdrop{min-height:300px;padding:20px}.data-main{display:block}.data-main img{width:100%;height:auto;max-height:420px;margin-bottom:14px}.episode-grid{display:flex;overflow-x:auto;gap:8px}.episode-grid a{flex:0 0 74px;min-height:38px;font-size:12px}.player-box,.video-player,.player-empty{min-height:230px;height:230px}.search-card{padding:20px 14px}.search-card h1{font-size:26px}.mobile-drawer{display:block;position:fixed;top:0;right:-290px;width:290px;bottom:0;z-index:90;background:#101625;padding:18px;transition:.25s;box-shadow:-20px 0 60px rgba(0,0,0,.35)}.mobile-drawer.show{right:0}.drawer-mask{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:80}.drawer-mask.show{display:block}.drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.drawer-head button{background:transparent;color:#fff;border:0;font-size:26px}.mobile-drawer a{display:block;padding:12px;border-bottom:1px solid rgba(255,255,255,.08)}.drawer-search{display:flex;margin-top:16px;background:#fff;border-radius:12px;overflow:hidden}.drawer-search input{flex:1;border:0;padding:0 10px}.drawer-search button{border:0;background:var(--accent);color:#fff;padding:0 12px}.mobile-bottom{position:fixed;left:0;right:0;bottom:0;height:56px;background:rgba(9,12,22,.94);backdrop-filter:blur(12px);border-top:1px solid rgba(255,255,255,.08);display:grid;grid-template-columns:repeat(4,1fr);z-index:70}.mobile-bottom a{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#c8d5e8;font-size:12px}.mobile-bottom span{font-size:16px;color:var(--accent)}.footer-inner{padding-bottom:80px}.template-9 .tpl-items,.template-18 .tpl-items,.template-37 .tpl-items{grid-template-columns:repeat(2,1fr)}.template-39 .tpl-items{grid-template-columns:1fr}.template-39 .card-poster strong{font-size:18px}.template-30 .tpl-items,.template-50 .tpl-items{grid-template-columns:1fr}.template-2 .tpl-section .tpl-items,.template-3 .tpl-section .tpl-items,.template-38 .tpl-section .tpl-items{display:flex;overflow-x:auto}.template-2 .tpl-card,.template-3 .tpl-card,.template-38 .tpl-card{flex:0 0 130px}.template-47 .card-flip{min-height:220px}.back-top{bottom:68px}}

/* Template 08: 大图专题风格 */

/* ===== home layout hotfix start ===== */
/* 修复首页大面积空白、右侧推荐卡片过窄、文字竖排挤压、PC/移动端错位 */

body {
    overflow-x: hidden;
}

.site-main,
.header-classic-inner,
.header-search-first,
.header-centered,
.header-side-layout,
.header-double-top,
.side-chip-nav,
.double-row,
.footer-inner,
.breadcrumb {
    max-width: 1280px !important;
}

.site-main {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* 首页首屏：从三列改成更稳定的两列 + 下方推荐 */
.hero-portal {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) !important;
    align-items: center !important;
    gap: 28px !important;
    min-height: auto !important;
    padding: 34px !important;
    overflow: hidden !important;
}

/* 左侧文字不再被整体高度挤到中下方 */
.hero-portal .hero-copy {
    align-self: center !important;
    min-width: 0 !important;
}

.hero-portal .hero-copy h1 {
    font-size: clamp(28px, 3.2vw, 46px) !important;
    line-height: 1.12 !important;
    margin: 14px 0 12px !important;
}

.hero-portal .hero-copy p {
    max-width: 620px !important;
    line-height: 1.75 !important;
}

/* 中间主海报保持正常比例 */
.hero-portal .hero-poster {
    justify-self: center !important;
}

.hero-portal .hero-poster img {
    width: 230px !important;
    height: 330px !important;
    object-fit: cover !important;
    border-radius: 22px !important;
}

/* 右侧4个推荐不要再挤在窄栏里，改到下方横向展示 */
.hero-portal .hero-mini {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 6px !important;
}

.hero-portal .hero-mini .tpl-items {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
}

/* 兼容 wide/info/data/calendar 等卡片，避免文字竖排 */
.hero-portal .hero-mini .card-wide,
.hero-portal .hero-mini .card-info,
.hero-portal .hero-mini .card-data,
.hero-portal .hero-mini .card-calendar,
.hero-portal .hero-mini .card-timeline,
.hero-portal .hero-mini .card-channel,
.hero-portal .hero-mini .card-article {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 10px !important;
    min-height: 118px !important;
    padding: 10px !important;
    overflow: hidden !important;
}

.hero-portal .hero-mini .card-wide img,
.hero-portal .hero-mini .card-info img,
.hero-portal .hero-mini .card-data img,
.hero-portal .hero-mini .card-calendar img,
.hero-portal .hero-mini .card-timeline img,
.hero-portal .hero-mini .card-channel img,
.hero-portal .hero-mini .card-article img {
    width: 82px !important;
    height: 108px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

.hero-portal .hero-mini .card-body,
.hero-portal .hero-mini span.card-body {
    min-width: 0 !important;
    overflow: hidden !important;
}

.hero-portal .hero-mini .card-wide strong,
.hero-portal .hero-mini .card-info strong,
.hero-portal .hero-mini .card-data strong,
.hero-portal .hero-mini .card-calendar strong,
.hero-portal .hero-mini .card-timeline strong,
.hero-portal .hero-mini .card-channel strong,
.hero-portal .hero-mini .card-article strong {
    font-size: 14px !important;
    line-height: 1.35 !important;
    margin: 0 0 5px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
}

.hero-portal .hero-mini .card-wide em,
.hero-portal .hero-mini .card-info em,
.hero-portal .hero-mini .card-data em,
.hero-portal .hero-mini .card-calendar em,
.hero-portal .hero-mini .card-timeline em,
.hero-portal .hero-mini .card-channel em,
.hero-portal .hero-mini .card-article em {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    margin: 0 0 5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.hero-portal .hero-mini .card-wide p,
.hero-portal .hero-mini .card-info p,
.hero-portal .hero-mini .card-data p,
.hero-portal .hero-mini .card-calendar p,
.hero-portal .hero-mini .card-timeline p,
.hero-portal .hero-mini .card-channel p,
.hero-portal .hero-mini .card-article p {
    font-size: 12px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* 普通内容卡片防止被撑破 */
.tpl-card,
.card-wide,
.card-poster,
.rank-item,
.tpl-section {
    min-width: 0 !important;
}

.card-wide p,
.card-wide strong,
.card-wide em {
    overflow-wrap: anywhere;
}

/* 榜单、列表区域宽度稳定 */
.content-layout,
.list-feed-layout,
.home-feed-layout,
.home-split,
.detail-layout,
.play-layout,
.play-theater,
.list-rank-layout {
    gap: 22px !important;
}

/* PC 中等屏适配 */
@media (max-width: 1100px) {
    .hero-portal {
        grid-template-columns: minmax(0, 1fr) 210px !important;
        padding: 24px !important;
    }

    .hero-portal .hero-poster img {
        width: 200px !important;
        height: 286px !important;
    }

    .hero-portal .hero-mini .tpl-items {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* 手机端适配 */
@media (max-width: 760px) {
    .site-main {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .hero-portal {
        display: block !important;
        padding: 18px !important;
        border-radius: 20px !important;
    }

    .hero-portal .hero-copy h1 {
        font-size: 26px !important;
    }

    .hero-portal .hero-poster {
        display: none !important;
    }

    .hero-portal .hero-mini {
        margin-top: 16px !important;
    }

    .hero-portal .hero-mini .tpl-items {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .hero-portal .hero-mini .card-wide,
    .hero-portal .hero-mini .card-info,
    .hero-portal .hero-mini .card-data,
    .hero-portal .hero-mini .card-calendar,
    .hero-portal .hero-mini .card-timeline,
    .hero-portal .hero-mini .card-channel,
    .hero-portal .hero-mini .card-article {
        grid-template-columns: 76px minmax(0, 1fr) !important;
        min-height: 100px !important;
    }

    .hero-portal .hero-mini .card-wide img,
    .hero-portal .hero-mini .card-info img,
    .hero-portal .hero-mini .card-data img,
    .hero-portal .hero-mini .card-calendar img,
    .hero-portal .hero-mini .card-timeline img,
    .hero-portal .hero-mini .card-channel img,
    .hero-portal .hero-mini .card-article img {
        width: 76px !important;
        height: 96px !important;
    }
}
/* ===== home layout hotfix end ===== */

/* GLOBAL_ADS_DISABLED_V1 */
.global-float-ad,
#global-dynamic-float-ads,
.dynamic-float-ad,
.pfa-side-ad,
.pfa279-side,
.pfa279-ob-side,
.pfa280-side,
.gpa-side,
.pfa279-player-overlay,
.pfa279-overlay,
.pfa279-ob-overlay,
.pfa280-overlay,
.gpa-overlay {
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}
