/* 樱花动漫 desktop layer (template mgsakura = copy of mgwap). Loaded after sakura.css. */
@media (min-width:1024px){
:root{--pc-w:1200px;--pc-pad:max(24px,calc((100vw - var(--pc-w))/2))}
body{font-size:15px}

/* header: one row — logo · category chips · search/history */
.index-head{padding:0 var(--pc-pad)!important;height:72px;flex-wrap:nowrap!important;gap:24px}
.index-head .logo{width:150px!important;height:46px;margin:0!important}
.index-head .logo img.logo-mobile{width:150px!important}
.index-head .index-nav{order:2!important;flex:1 1 auto!important;width:auto!important;padding:0!important;-webkit-mask-image:none;mask-image:none;overflow:visible;flex-wrap:nowrap}
.index-head .search{order:3;flex:0 0 300px!important;margin:0!important}
.index-head + div[style*="height"]{height:88px!important}
.index-nav a{padding:8px 16px;font-size:15px!important}
.index-nav a:hover{box-shadow:inset 0 0 0 1px var(--sk-accent);color:var(--sk-accent)!important}

/* inner-page header */
.pageHead{padding:0 var(--pc-pad)!important;height:60px}

/* centre all page content (fixed bars excluded) */
body>*:not(.index-head):not(.pageHead):not(.tabbat):not(.mg-scroll-anchor):not(.skp):not(script):not(style):not(link){
  max-width:var(--pc-w);margin-left:auto!important;margin-right:auto!important}
.ka-ads{display:grid!important;grid-template-columns:1fr 1fr;gap:12px;padding:0!important;margin:16px auto!important}
.index-notice{margin:12px auto!important}

/* sections + 6-column poster grid */
.index-boxhead{padding:0!important;margin:32px 0 14px!important}
.index-boxhead div{font-size:22px!important}
.videoul{padding:0!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:22px 16px!important}
.videoul-a{display:block}
.videoul-a:hover .videoul-img{transform:scale(1.05)}
.videoul-a:hover .videoul-title{color:var(--sk-accent)!important}
.videoul-title{font-size:15px!important}

/* detail */
.vod-info{min-height:340px!important;border-radius:16px;margin-top:16px!important}
.vod-info-pic,.vod-info-pic img{width:200px!important;height:280px!important;object-fit:cover}
.vod-info-right{font-size:15px}
.vod-info-text{font-size:15px;padding:16px 0!important}
.play-zu-ul li,.play-ji-ul li{cursor:pointer}
.play-ji-ul[style*="block"]{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;white-space:normal!important}
.play-ji-ul[style*="none"]{display:none!important}
.play-ji-ul li{width:auto!important;margin:0!important}
.starul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}

/* play: player in normal flow, big 16:9 */
.play-nav{max-width:var(--pc-w);margin:0 auto}
media-player,.MacPlayer,#playleft,.player-box{max-width:var(--pc-w)!important;margin-left:auto!important;margin-right:auto!important}

/* desktop has no bottom tab bar */
.tabbat{display:none!important}
body{padding-bottom:0!important}

/* bookmark popup → centred dialog */
.skp{align-items:center!important}
.skp-box{border-radius:20px!important;max-width:520px!important;padding-bottom:22px!important}
.skp-box--nav{max-width:640px!important;height:70vh!important}
.skn-list{display:grid;grid-template-columns:1fr 1fr;align-content:start;column-gap:8px}
.skn-row+.skn-row{border-top:0}
.skn-row{border:1px solid var(--sk-line)!important;margin:4px 0}
.skn-row:hover{background:var(--sk-soft)}

/* fixes after first pass */
.pageHead{width:100%!important;box-sizing:border-box!important;left:0;right:0}
.vod-info{height:auto!important;min-height:0!important;margin-top:76px!important}
.vod-info-box{min-height:330px;padding:24px!important;box-sizing:border-box}
.vod-info-pic{left:24px!important;top:24px!important}
.vod-info-right{padding-left:232px!important;width:auto!important;box-sizing:border-box}
.vod-info-right h3{font-size:28px!important;font-weight:900;padding-left:0!important}
.vod-info-right p,.vod-info-right h3,.vod-info-right .play-btn{margin-left:0!important}
.vod-info-right>*{position:relative;left:0!important}
/* play page: player back in normal flow, 16:9 */
.vod-box{position:relative!important;top:auto!important;left:auto!important;width:var(--pc-w)!important;height:auto!important;margin:76px auto 0!important;border-radius:14px 14px 0 0;overflow:hidden}
.vod-box media-player,.vod-box .player{height:auto!important;aspect-ratio:16/9;width:100%!important}
.play-nav{position:relative!important;top:auto!important;left:auto!important;width:var(--pc-w)!important;margin:0 auto!important;border-radius:0 0 14px 14px;overflow:hidden}
div[style*="height: 325px"]{display:none!important}

/* ===== desktop-only components ===== */
.pc-hd .index-head{position:fixed}
.pc-hd + .vod-info,.pc-hd ~ .vod-info{margin-top:24px!important}
.vod-box{margin-top:16px!important}
/* hero carousel */
.pch{display:grid;grid-template-columns:1fr 300px;gap:14px;margin:18px auto 8px!important;height:380px}
.pch-stage{position:relative;border-radius:18px;overflow:hidden;background:#140d12}
.pch-slide{position:absolute;inset:0;display:flex;align-items:center;gap:32px;padding:0 48px;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility .6s;color:#fff!important}
.pch-slide.on{opacity:1;visibility:visible}
.pch-bg{position:absolute;inset:-30px;background:var(--bg) center/cover;filter:blur(28px) saturate(1.3) brightness(.55);transform:scale(1.1)}
.pch-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,8,14,.25),rgba(20,8,14,.75))}
.pch-poster{position:relative;z-index:1;width:210px;height:296px;object-fit:cover;border-radius:14px;box-shadow:0 22px 40px -14px rgba(0,0,0,.8),0 0 0 3px rgba(255,255,255,.12)}
.pch-info{position:relative;z-index:1;display:flex;flex-direction:column;gap:10px;max-width:560px}
.pch-tag{align-self:flex-start;font-size:13px;font-weight:700;padding:4px 12px;border-radius:999px;background:linear-gradient(135deg,var(--sk-accent-2),var(--sk-accent))}
.pch-title{font-size:38px;font-weight:900;line-height:1.15;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.pch-meta{font-size:14px;opacity:.8}
.pch-desc{font-size:14.5px;line-height:1.75;opacity:.88;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pch-btn{align-self:flex-start;margin-top:6px;font-weight:800;font-size:16px;padding:11px 26px;border-radius:999px;background:#fff;color:var(--sk-accent);box-shadow:0 10px 24px -10px rgba(0,0,0,.6)}
.pch-slide:hover .pch-btn{background:var(--sk-accent);color:#fff}
.pch-thumbs{display:flex;flex-direction:column;gap:6px;overflow:hidden}
.pch-thumb{display:flex;align-items:center;gap:10px;flex:1;min-height:0;border:0;border-radius:12px;padding:6px;background:var(--sk-surface);box-shadow:inset 0 0 0 1px var(--sk-line);cursor:pointer;text-align:left;transition:background .2s,box-shadow .2s}
.pch-thumb img{width:42px;height:52px;object-fit:cover;border-radius:8px;flex:none}
.pch-thumb span{min-width:0;display:flex;flex-direction:column}
.pch-thumb b{font-size:14px;color:var(--sk-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pch-thumb i{font-style:normal;font-size:12px;color:var(--sk-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pch-thumb.on{background:var(--sk-soft);box-shadow:inset 0 0 0 1.5px var(--sk-accent)}
.pch-thumb.on b{color:var(--sk-accent)}
/* main + sidebar */
.pc-main{display:grid!important;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start}
.pc-col{min-width:0}
.pc-col .videoul{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.pc-side{position:sticky;top:90px;display:flex;flex-direction:column;gap:16px;margin-top:32px}
.pcr{background:var(--sk-surface);border-radius:16px;padding:16px;box-shadow:inset 0 0 0 1px var(--sk-line)}
.pcr-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.pcr-h span{font-size:17px;font-weight:900;display:flex;align-items:center;gap:8px}
.pcr-h span::before{content:"";width:4px;height:15px;border-radius:2px;background:linear-gradient(var(--sk-accent-2),var(--sk-accent))}
.pcr-h a{font-size:12.5px;color:var(--sk-muted)!important}
.pcr-list{list-style:none;margin:0;padding:0}
.pcr-i a{display:flex;align-items:center;gap:10px;padding:7px 4px;border-radius:10px;color:var(--sk-ink)!important}
.pcr-i a:hover{background:var(--sk-soft)}
.pcr-i em{flex:none;width:22px;height:22px;border-radius:7px;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:900;color:var(--sk-muted);background:var(--sk-bg)}
.pcr-i.top em{color:#fff;background:linear-gradient(135deg,var(--sk-accent-2),var(--sk-accent))}
.pcr-i img{width:44px;height:58px;object-fit:cover;border-radius:8px;flex:none}
.pcr-i span{min-width:0;display:flex;flex-direction:column}
.pcr-i b{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcr-i i{font-style:normal;font-size:12px;color:var(--sk-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcr-new em{background:none!important}
/* weekly schedule */
.pcw-tabs{display:flex;gap:6px}
.pcw-tabs button{border:0;border-radius:999px;padding:6px 14px;font-size:13.5px;font-weight:700;background:var(--sk-surface);color:var(--sk-muted);box-shadow:inset 0 0 0 1px var(--sk-line);cursor:pointer}
.pcw-tabs button.on{background:var(--sk-accent);color:#fff;box-shadow:none}
/* footer */
.pcf{margin-top:56px!important;max-width:none!important;background:var(--sk-surface);border-top:1px solid var(--sk-line)}
.pcf-in{max-width:var(--pc-w);margin:0 auto;padding:36px 0 24px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}
.pcf-brand p{font-size:13.5px;line-height:1.8;color:var(--sk-muted);margin:12px 0 16px}
.pcf-act{display:flex;gap:10px}
.pcf-act button{border:0;border-radius:999px;padding:9px 18px;font-weight:800;font-size:13.5px;cursor:pointer}
.pcf-bm{background:linear-gradient(135deg,var(--sk-accent-2),var(--sk-accent));color:#fff}
.pcf-nav{background:var(--sk-soft);color:var(--sk-accent)}
.pcf-col h4{font-size:15px;font-weight:900;margin:4px 0 12px}
.pcf-col a{display:block;font-size:14px;color:var(--sk-muted)!important;padding:4px 0}
.pcf-col a:hover{color:var(--sk-accent)!important}
.pcf-copy{text-align:center;font-size:12.5px;color:var(--sk-muted);padding:16px;border-top:1px solid var(--sk-line)}
.pc-col .videoul{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:20px 12px!important}
.play-ji-ul[style*="block"]{max-height:332px;overflow-y:auto!important;padding-right:6px;scrollbar-width:thin;scrollbar-color:var(--sk-accent-2) transparent}
.play-info.pc-col{padding-top:6px}
.pc-main .play-info{background:transparent}

/* header fix: border-box width, chips packed left, fixed-width search on the right */
.index-head{box-sizing:border-box!important;width:100%!important;left:0;right:0;justify-content:flex-start!important;align-items:center!important;padding-top:0!important}
.index-head .search,.index-head .index-nav,.index-head .logo{align-self:center!important;margin-top:0!important;margin-bottom:0!important}
.index-head .index-nav{justify-content:flex-start!important;gap:8px!important}
.index-head .search{flex:0 0 320px!important;width:320px!important;margin-left:auto!important;box-sizing:border-box;gap:8px}
.index-head .search-input{height:40px!important}
.index-head .search-history{margin-left:6px}

}
/* phones on the main domain: keep the mobile layout, hide desktop-only blocks */
@media (max-width:1023px){.pch,.pc-side,.pcw,.pcf{display:none!important}.pc-hd .index-head{position:fixed}}
@media (min-width:1024px){.index-head .search{height:40px!important;padding:0!important;align-items:center!important}.index-head .search form,.index-head .search-input{margin:0!important;height:40px!important}}
@media (min-width:1024px){
/* filter page: card with labelled chip rows */
.classification-type{background:var(--sk-surface);border-radius:16px;padding:10px 20px!important;margin:20px auto 8px!important;box-shadow:inset 0 0 0 1px var(--sk-line);list-style:none}
.classification-type li{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 0!important;border-bottom:1px dashed var(--sk-line);margin:0!important;overflow:visible!important;white-space:normal!important}
.classification-type li:last-of-type{border-bottom:0}
.classification-type li::before{flex:0 0 52px;font-size:13px;font-weight:800;color:var(--sk-muted)}
.classification-type li:nth-of-type(1)::before{content:"分类"}
.classification-type li:nth-of-type(2)::before{content:"地区"}
.classification-type li:nth-of-type(3)::before{content:"年份"}
.classification-type li:nth-of-type(4)::before{content:"排序"}
.classification-type li a{margin:0!important;padding:5px 14px!important;border-radius:999px;font-size:14px!important;color:var(--sk-ink)!important;line-height:1.3}
.classification-type li a:hover{background:var(--sk-soft);color:var(--sk-accent)!important}
.classification-type li a.clactive{background:linear-gradient(135deg,var(--sk-accent-2),var(--sk-accent));color:#fff!important;font-weight:800}
}
@media (min-width:1024px){
/* 猜你喜欢: poster grid */
.play-info h4{font-size:20px!important;font-weight:900;display:flex;align-items:center;gap:8px;margin:28px 0 14px!important}
.play-info h4::before{content:"";width:4px;height:16px;border-radius:2px;background:linear-gradient(var(--sk-accent-2),var(--sk-accent))}
.vod-love{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px 14px;padding:0!important}
.vod-love li{width:auto!important;height:auto!important;margin:0!important;padding:0!important;float:none!important;border:0!important}
.vod-love li a{display:flex!important;flex-direction:column;gap:7px;color:var(--sk-ink)!important}
.vod-love .pic{width:100%!important;height:auto!important;aspect-ratio:3/4;position:relative;border-radius:12px;overflow:hidden;box-shadow:0 6px 16px -10px rgba(60,20,40,.45);flex:none}
.vod-love .pic img{width:100%!important;height:100%!important;object-fit:cover;transition:transform .3s}
.vod-love li a:hover .pic img{transform:scale(1.05)}
.vod-love .state{position:absolute;left:0;right:0;bottom:0;padding:16px 8px 6px!important;font-size:11px!important;color:#fff!important;text-align:left!important;background:linear-gradient(transparent,rgba(20,8,14,.8))!important}
.vod-love .info{padding:0!important;width:auto!important;margin:0!important}
.vod-love .name{font-size:14.5px!important;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vod-love li a:hover .name{color:var(--sk-accent)!important}
.vod-love .actor{font-size:12px!important;color:var(--sk-muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:2px 0 0!important}
.vod-love .hits{display:none}
}
