
:root{
--bg:#0b0f14;
--panel:#101723;
--panel2:#0f1520;
--line:rgba(255,255,255,.08);

--text:#e8eef7;
--muted:rgba(232,238,247,.65);
--muted2:rgba(232,238,247,.45);
--text-secondary: var(--muted);

--chip:rgba(255,255,255,.06);
--chip2:rgba(255,255,255,.09);

--brand:#20d07a;
--brand2:#1aa564;
--warn:#f7b500;

--radius:16px;

/* layout helpers */
--sbw:230px;
--topH:64px;
--container-pad:24px;

/* user requirement v3 */
--activeMenu: rgb(255, 217, 152);
}

*{box-sizing:border-box}
html,body{height:100%}
html,body{overflow-x:hidden}
body{
margin:0;
background:
radial-gradient(1200px 600px at 60% -10%, rgba(32,208,122,.10), transparent 60%),
radial-gradient(900px 500px at 10% 10%, rgba(255,255,255,.06), transparent 55%),
var(--bg);
color:var(--text);
font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,"PingFang SC","Microsoft YaHei",sans-serif;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
main{min-width:0}

.container{
width:100%;
max-width:none;
margin:0 auto;
padding-left:var(--container-pad);
padding-right:var(--container-pad);
}

.topbar{
position:sticky; top:0; z-index:999;
background:rgba(11,15,20,.78);
backdrop-filter: blur(10px);
border-bottom:1px solid var(--line);
}
.topbar-inner{
height:var(--topH);
display:flex;
align-items:center;
gap:14px;
width:100%;
min-width:0;
flex-wrap:nowrap;
}
.brand{display:none;}

.m-logo{flex:0 0 auto; min-width:0}
.m-logo a{display:flex; align-items:center; gap:10px; font-weight:900;}
.m-logo-icon{
width:30px;height:30px;border-radius:10px;
background:linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
border:1px solid rgba(255,255,255,.12);
position:relative; overflow:hidden;
}
.m-logo-icon:after{
content:""; position:absolute; inset:7px; border-radius:9px;
background:linear-gradient(135deg, var(--brand), rgba(32,208,122,.18));
}
.m-logo-text{font-size:15px; color:rgba(232,238,247,.92); letter-spacing:.2px;}

.head-mid{flex:1; display:flex; align-items:center; justify-content:center; gap:12px; min-width:0}

.search{
flex:1 1 auto;
display:flex;
align-items:center;
gap:10px;
min-width:0;
background:rgba(255,255,255,.06);
border:1px solid var(--line);
border-radius:999px;
padding:8px 12px;
width:auto;
margin-left:auto;
}
.search select{
background:rgba(255,255,255,.06);
border:1px solid rgba(255,255,255,.10);
color:rgba(232,238,247,.85);
border-radius:999px;
padding:6px 10px;
outline:0;
}
.search select option{background:#0b0f14; color:#e8eef7;}
.search input{width:100%;min-width:0;background:transparent;border:0;outline:0;color:var(--text)}
.search .btn{
flex:0 0 auto;
white-space:nowrap;
padding:6px 12px;
border-radius:999px;
background:rgba(32,208,122,.12);
color:rgb(32 208 122);
font-weight:700;
border:0;
cursor:pointer;
}

.top-actions{display:flex; gap:10px; align-items:center; margin-left:auto}
.top-actions a{
display:flex;
align-items:center;
gap:8px;
padding:8px 12px;
border-radius:999px;
background:var(--chip);
border:1px solid var(--line);
color:var(--muted);
}
.top-actions a:hover{color:var(--text); background:var(--chip2)}

.vip-btn{
flex:0 0 auto;
padding:8px 14px;
border-radius:999px;
background:#ffd98c;
color:#3b2b00;
font-weight:800;
border:1px solid rgba(0,0,0,.05);
box-shadow:0 8px 22px rgba(255,217,140,.18);
}
.vip-btn:hover{filter:brightness(1.03)}

.layout{
display:grid;
grid-template-columns: var(--sbw) 1fr;
gap:18px;
padding:14px 0 26px;
align-items:start;
}
.sidebar{
position:sticky;
top:78px;
height:calc(100vh - 96px);
border:1px solid var(--line);
background:rgba(14,18,24,.72);
border-radius:16px;
padding:16px 12px;
overflow:auto;
}
.sidebar::-webkit-scrollbar{width:8px}
.sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.08);border-radius:999px}

.sb-brand{
display:flex; align-items:center; gap:10px;
padding:10px 10px 14px;
border-bottom:1px solid var(--line);
margin-bottom:12px;
}
.sb-brand .sb-logo{
width:38px;height:38px;border-radius:12px;
background:linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
border:1px solid rgba(255,255,255,.10);
position:relative;
}
.sb-brand .sb-logo:after{
content:""; position:absolute; inset:9px;
border-radius:10px;
background:linear-gradient(135deg, var(--brand), rgba(32,208,122,.18));
}
.sb-brand .sb-name{font-weight:900; letter-spacing:.4px;}

.sb-title{color:var(--muted2); font-size:12px; margin:6px 8px 10px}
.sb{display:flex; flex-direction:column; gap:6px;}
.sb a{
padding:10px 12px;
border-radius:12px;
color:var(--muted);
display:flex; align-items:center; justify-content:space-between;
}
.sb a:hover{background:var(--chip2); color:rgba(232,238,247,.92)}
.sb a.on{
color: var(--activeMenu);
background:rgba(255,217,152,.10);
border:1px solid rgba(255,217,152,.25);
border-left:3px solid rgba(255,217,152,.95);
padding-left:10px;
}

.hero{position:relative;margin:0 0 14px; overflow:hidden; border-radius:3px}
.hero-track{
display:flex;
width:100%;
transition: transform .55s cubic-bezier(.2,.8,.2,1);
will-change: transform;
}
.hero-slide{
position:relative;
display:block;
flex:0 0 100%;
height:374px;
border-radius:8px;
overflow:hidden;
border:1px solid rgba(255,255,255,.08);
background:#0b0f14;
}
.hero-bg{
position:absolute; inset:0;
background-size:cover;
background-position:center;
filter:saturate(1.05);
}
.hero-bg::after{
content:""; position:absolute; inset:0;
background:
linear-gradient(90deg, rgba(11,15,20,.86) 0%, rgba(11,15,20,.50) 40%, rgba(11,15,20,.20) 70%, rgba(11,15,20,.00) 100%),
radial-gradient(800px 400px at 30% 35%, rgba(32,208,122,.12), transparent 60%);
}
.hero-content{
position:absolute; left:24px; top:50%; transform:translateY(-50%);
width:min(560px, 58%);
}
.hero-badge{
display:inline-flex; gap:8px; align-items:center;
padding:6px 10px; border-radius:999px;
background:rgba(32,208,122,.12);
border:1px solid rgba(32,208,122,.22);
color:#b9ffd8; font-size:12px; margin-bottom:12px;
}
.hero-title{font-size:32px; line-height:1.15; margin:0 0 10px; font-weight:900; letter-spacing:.2px}
.hero-meta{display:flex; flex-wrap:wrap; gap:10px; color:var(--muted); margin:10px 0 14px}
.hero-meta span{
padding:5px 10px; border-radius:999px;
background:rgba(255,255,255,.05);
border:1px solid var(--line);
}
.hero-desc{color:rgba(232,238,247,.70); margin:0 0 16px; max-height:44px; overflow:hidden}
.hero-cta{display:flex; gap:10px; align-items:center}

.btn-primary{
padding:10px 16px; border-radius:999px;
background:linear-gradient(135deg, var(--brand), var(--brand2));
color:#07110b; font-weight:900;
box-shadow:0 16px 32px rgba(32,208,122,.18);
display:inline-block;
}
.btn-ghost{
padding:10px 14px; border-radius:999px;
background:rgba(255,255,255,.06);
border:1px solid var(--line);
color:var(--text);
display:inline-block;
}

.hero-arrow{
position:absolute; top:50%; transform:translateY(-50%);
width:46px; height:46px; border-radius:999px;
background:rgba(255,255,255,.10);
border:1px solid rgba(255,255,255,.10);
display:flex; align-items:center; justify-content:center;
cursor:pointer;
user-select:none;
}
.hero-arrow:hover{background:rgba(255,255,255,.16)}
.hero-arrow.prev{left:16px}
.hero-arrow.next{right:16px}

.hero-dots{
position:absolute; left:0; right:0; bottom:14px;
display:flex; justify-content:center; gap:8px;
}
.hero-dots button{
width:9px; height:9px; border-radius:999px; border:0;
background:rgba(255,255,255,.25);
cursor:pointer;
}
.hero-dots button.on{width:26px; background:rgba(32,208,122,.85)}

.tabbar{
display:flex;align-items:center;gap:10px;
border:1px solid var(--line);
background:rgba(16,23,35,.55);
border-radius:16px;
padding:10px 12px;
margin:12px 0 18px;
overflow:hidden;
}
.tabbar .tabs{display:flex;gap:10px;overflow:auto;scrollbar-width:none;min-width:0;flex:1}
.tabbar .tabs::-webkit-scrollbar{display:none}
.tabbar .tabs a{
flex:0 0 auto;
white-space:nowrap;
padding:8px 14px;
border-radius:16px;
background:rgba(255,255,255,.06);
border:1px solid rgba(255,255,255,.08);
color:var(--muted);

}
.tabbar .tabs a:hover{background:rgba(255,255,255,.08); color:var(--text)}
.tabbar .tabs a.on{
color:var(--activeMenu);
background:rgba(255,217,152,.10);
border-color:rgba(255,217,140,.45);
}
.tabbar .navbtn{
width:34px;height:34px;border-radius:10px;
display:flex;align-items:center;justify-content:center;
background:rgba(255,255,255,.06);
border:1px solid rgba(255,255,255,.08);
cursor:pointer;user-select:none;color:var(--text)
}
.tabbar .navbtn:hover{background:rgba(255,255,255,.10)}

.chips{
display:flex; flex-wrap:wrap; gap:10px;
padding:12px; margin-top:14px;
border:1px solid var(--line);
border-radius: 18px;
background:rgba(16,23,35,.35);
}
.chip{
padding:8px 12px;
border-radius:999px;
background:rgba(255,255,255,.05);
border:1px solid var(--line);
color:var(--muted);
display:inline-block;
}
.chip:hover{background:rgba(255,255,255,.08); color:var(--text)}
.chip.on{background:rgba(32,208,122,.12); border-color:rgba(32,208,122,.22); color:var(--text)}

.filters{
border:1px solid var(--line);
background:rgba(16,23,35,.35);
border-radius:18px;
padding:12px;
}
.filters-row{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:10px}
.filters-row:last-child{margin-bottom:0}
.filters-row .k{color:var(--muted2); width:52px; flex:0 0 auto; padding-top:6px}
.filters-row a{
padding:7px 12px; border-radius:999px;
background:rgba(255,255,255,.05);
border:1px solid var(--line);
color:var(--muted);
}
.filters-row a.on{background:rgba(32,208,122,.12); border-color:rgba(32,208,122,.22); color:var(--text)}
.filters-row a:hover{background:rgba(255,255,255,.08); color:var(--text)}

.hd{
display:flex; align-items:center; justify-content:space-between;
margin:18px 0 10px;
}
.hd h2{margin:0; font-size:18px; letter-spacing:.2px}
.hd .more{
color:var(--muted);
padding:6px 10px;
border-radius:999px;
border:1px solid var(--line);
background:rgba(255,255,255,.04)
}
.hd .more:hover{color:var(--text); background:rgba(255,255,255,.07)}

.grid{
display:grid;
grid-template-columns: repeat(5, 1fr);
gap:14px;
}
.card{
border-radius:8px;
overflow:hidden;
background:rgba(16,23,35,.42);
border:1px solid var(--line);
transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{
transform: translateY(-4px);
box-shadow:0 18px 40px rgba(0,0,0,.35);
}
.thumb{
position:relative;
aspect-ratio: 15/23;
background:#0c1118;
}
.thumb img{width:100%;height:100%;object-fit:cover}
.badge{
position:absolute; left:10px; top:10px;
font-size:12px; padding:4px 8px; border-radius:999px;
background:rgba(0,0,0,.45); border:1px solid rgba(255,255,255,.12);
}
.score{
position:absolute; right:10px; top:10px;
font-size:12px; padding:4px 8px; border-radius:999px;
background:rgba(247,181,0,.18); border:1px solid rgba(247,181,0,.32);
color:#ffd46b; font-weight:700;
}
.card-bd{padding:10px 12px}
.card-title{
font-size:14px; margin:0 0 6px;
white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.card-sub{color:var(--muted); font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}

.row{
display:flex; gap:14px;
overflow:auto; padding-bottom:6px;
scrollbar-width:none;
}
.row::-webkit-scrollbar{display:none}
.card.wide{min-width: 240px}
.card.wide .thumb{aspect-ratio: 16/10}
@media (min-width: 861px){
.row{display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow:visible; padding-bottom:0}
.card.wide{min-width:0}
}

.player-wrap{
display:grid;
grid-template-columns: 1fr 380px;
gap:14px;
}
.player-box{
border-radius:22px;
overflow:hidden;
border:1px solid var(--line);
background:#000;
}
.player-box iframe,.player-box video{width:100%;height:560px;display:block}


@media (min-width: 1025px){
.player-wrap .player-box{
position:sticky;
top:86px;
height:calc(100vh - 120px);
}
.player-wrap .player-box iframe,
.player-wrap .player-box video{
height:100%;
}
}

.right-panel{
border-radius:22px;
border:1px solid var(--line);
background:rgba(16,23,35,.45);
padding:14px;
position:sticky;
top:82px;
height:fit-content;
}
.v-title{font-size:18px; font-weight:900; margin:0 0 8px}
.v-tags{display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 10px}
.v-tags a{padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid var(--line);color:var(--muted)}
.v-actions{display:flex; gap:10px; margin:10px 0 12px}
.v-actions a{
flex:1;
text-align:center;
padding:9px 10px;
border-radius:999px;
background:rgba(255,255,255,.06);
border:1px solid var(--line);
color:var(--text);
font-weight:700;
}
.v-actions a.vip{background:rgba(247,181,0,.16); border-color:rgba(247,181,0,.32); color:#ffe7a8}

.panel-sec{margin-top:12px; border-top:1px solid rgba(255,255,255,.06); padding-top:12px}
.panel-sec h3{margin:0 0 10px; font-size:14px; color:rgba(232,238,247,.85)}
.suggest{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.suggest .mini{border-radius:14px; overflow:hidden; border:1px solid var(--line); background:rgba(0,0,0,.22)}
.suggest .mini .t{padding:8px 10px}
.suggest .mini .t b{display:block; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.suggest .mini .t span{color:var(--muted); font-size:12px}

.pager{display:flex; gap:10px; justify-content:center; align-items:center; flex-wrap:wrap}
.pager a,.pager span{
padding:8px 12px;
border-radius:999px;
border:1px solid var(--line);
background:rgba(255,255,255,.05);
color:var(--muted);
}
.pager a:hover{background:rgba(255,255,255,.08); color:var(--text)}
.pager span.cur{background:rgba(32,208,122,.12); border-color:rgba(32,208,122,.22); color:var(--text)}


.pager .page-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:36px;
height:36px;
padding:0 12px;
margin:0 4px;
border-radius:999px;
border:1px solid rgba(255,255,255,.12);
color:var(--text-secondary);
background:transparent;
transition:all .2s ease;
}
.pager .page-btn:hover{border-color: rgba(32,208,122,.35); color: var(--text)}
.pager .page-btn.active,
.pager .page-btn.on,
.pager .page-btn.cur{
background: rgba(32,208,122,.12);
border-color: rgba(32,208,122,.22);
color: var(--text);
font-weight:600;
}
.pager .page-btn.disabled{opacity:.45; pointer-events:none}

.panel-sec.eps{margin-top:14px}
.eps-head{display:flex; align-items:center; justify-content:space-between; gap:10px}
.eps-meta{font-size:12px; color:var(--muted)}
.eps-tabs{
display:flex; gap:8px;
margin:10px 0;
overflow:auto;
padding-bottom:2px;
scrollbar-width:none;
}
.eps-tabs::-webkit-scrollbar{display:none}
.eps-tab{
flex:0 0 auto;
padding:7px 12px;
border-radius:999px;
border:1px solid rgba(255,255,255,.10);
color:rgba(232,238,247,.78);
background:rgba(255,255,255,.02);
font-size:12px;
line-height:1;
}
.eps-tab:hover{border-color:rgba(32,208,122,.35); color:var(--text)}
.eps-tab.on{
background:rgba(32,208,122,.12);
border-color:rgba(32,208,122,.22);
color:var(--text);
font-weight:600;
}
.eps-panel{display:none}
.eps-panel.on{display:block}
.eps-grid{display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:8px}
@media (min-width: 1100px){
.eps-grid{grid-template-columns: repeat(5, minmax(0,1fr))}
}
.eps-panel .eps-grid{max-height:220px; overflow:hidden}
.eps-panel.expand .eps-grid{max-height:none}
.eps-item{
display:flex; align-items:center; justify-content:center;
height:34px;
padding:0 10px;
border-radius:10px;
border:1px solid rgba(255,255,255,.10);
background:rgba(255,255,255,.02);
color:rgba(232,238,247,.78);
font-size:12px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
.eps-item:hover{border-color:rgba(32,208,122,.35); color:var(--text)}
.eps-item.on{
background:rgba(32,208,122,.12);
border-color:rgba(32,208,122,.22);
color:var(--text);
font-weight:600;
}
.eps-more{
display:inline-flex;
margin-top:10px;
padding:7px 12px;
border-radius:999px;
border:1px dashed rgba(255,255,255,.14);
color:rgba(232,238,247,.70);
font-size:12px;
}
.eps-more:hover{border-color:rgba(32,208,122,.30); color:var(--text)}
.eps-empty{
grid-column:1 / -1;
padding:10px 12px;
border-radius:12px;
border:1px solid rgba(255,255,255,.08);
color:rgba(232,238,247,.62);
background:rgba(255,255,255,.02);
font-size:12px;
}

.detail-main{min-width:0}
.detail-hero{
border:1px solid var(--line);
background:rgba(16,23,35,.42);
border-radius:22px;
overflow:hidden;
}
.detail-head{
display:grid;
grid-template-columns:240px 1fr;
gap:16px;
padding:16px;
}
.detail-poster{
border-radius:18px;
overflow:hidden;
border:1px solid rgba(255,255,255,.10);
background:#0c1118;
position:relative;
}
.detail-poster img{width:100%;height:auto;display:block}
.detail-title{font-size:22px;font-weight:900;margin:0 0 6px;line-height:1.2}
.detail-sub{
display:flex;flex-wrap:wrap;gap:10px;
color:var(--muted);font-size:12px;margin:8px 0 12px;
}
.detail-sub span{
padding:5px 10px;border-radius:999px;
background:rgba(255,255,255,.05);border:1px solid var(--line);
}
.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 12px}
.detail-actions a{
display:inline-flex;align-items:center;justify-content:center;
gap:8px;height:38px;padding:0 14px;border-radius:999px;
border:1px solid var(--line);background:rgba(255,255,255,.06);
color:var(--text);font-weight:800;
}
.detail-actions a:hover{background:rgba(255,255,255,.09)}
.detail-actions a.primary{
background:linear-gradient(135deg, var(--brand), var(--brand2));
color:#07110b;border:0;box-shadow:0 16px 32px rgba(32,208,122,.18);
}
.detail-actions a.warn{
background:rgba(247,181,0,.16);
border-color:rgba(247,181,0,.32);
color:#ffe7a8;
}
.detail-desc{
color:rgba(232,238,247,.72);
font-size:13px;line-height:1.7;margin:0;
max-height:110px;overflow:hidden;
}
.detail-desc.expand{max-height:none}
.detail-more{
display:inline-flex;margin-top:10px;padding:7px 12px;
border-radius:999px;border:1px dashed rgba(255,255,255,.14);
color:rgba(232,238,247,.70);font-size:12px;cursor:pointer;user-select:none;
}
.detail-more:hover{border-color:rgba(32,208,122,.30); color:var(--text)}


.main-inner{
display:grid;
grid-template-columns: 1fr 56px;
gap:12px;
align-items:start;
}
.main-content{min-width:0}
.side-float{
position:sticky;
top:92px;
display:flex;
flex-direction:column;
gap:10px;
align-self:start;
}
.sf-item{
width:44px;height:44px;
border-radius:14px;
display:flex;align-items:center;justify-content:center;
background:rgba(16,23,35,.55);
border:1px solid rgba(255,255,255,.08);
color:rgba(232,238,247,.82);
font-weight:800;
}
.sf-item:hover{background:rgba(255,255,255,.08);color:rgba(255,255,255,.95)}
.sf-item.active{
color:var(--activeMenu);
background:rgba(255,217,152,.10);
border-color:rgba(255,217,140,.45);
}

.footer{
background:#0f1115;
border-top:1px solid rgba(255,255,255,.06);
color:rgba(232,238,247,.7);
font-size:13px;
margin-top:26px;
}
.footer-inner{
max-width:2100px;
margin:0 auto;
padding:36px 16px 18px;
}
.footer-cols{
display:grid;
grid-template-columns: 2fr 1fr 1fr 1.2fr;
gap:24px;
}
.f-brand{font-size:15px;font-weight:700;color:#fff}
.f-desc{margin-top:10px;line-height:1.6;font-size:12px}
.f-ttl{font-weight:600;margin-bottom:10px;color:#fff}
.footer a{display:block;color:rgba(232,238,247,.65);margin:6px 0}
.footer a:hover{color:#fff}
.footer-bottom{
margin-top:26px;
padding-top:14px;
border-top:1px solid rgba(255,255,255,.06);
display:flex;
justify-content:space-between;
flex-wrap:wrap;
gap:10px;
font-size:12px;
}
.dotsep{margin:0 6px; opacity:.4}

/* ============ Responsive ============ */
@media (min-width: 1700px){
.layout{gap:22px}
.hero-slide{height:440px}
.grid{grid-template-columns: repeat(7, 1fr)}
}
@media (min-width: 2100px){
.layout{grid-template-columns: 260px 1fr}
.grid{grid-template-columns: repeat(8, 1fr)}
.player-wrap{grid-template-columns: 1fr 420px}
}
@media (min-width: 2400px){
.grid{grid-template-columns: repeat(9, 1fr)}
}

/* 平板/小屏 PC */
@media (max-width: 1100px){
.grid{grid-template-columns: repeat(4, 1fr)}
.player-wrap{grid-template-columns:1fr}
.right-panel{position:static}
.player-box iframe,.player-box video{height:420px}
}

/* 移动端（最终覆盖，放在末尾） */
@media (max-width: 860px){
:root{ --container-pad:14px; }

.layout{grid-template-columns:1fr; gap:14px; padding:10px 0 18px}
.sidebar{display:none}

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

/* topbar: 一行 logo + 搜索，隐藏 PC actions */
.topbar-inner{height:56px; padding:8px 0; gap:10px}
.top-actions{display:none !important}
.vip-btn{display:none !important}
.m-logo-text{display:none} /* 给搜索更多空间 */
.search{padding:7px 10px}
.search select{display:none !important}
.search input{font-size:13px}
.search .btn{padding:6px 10px}

/* hero */
.hero{border-radius:16px}
.hero-slide{height:330px}
.hero-content{width:90%}
.hero-title{font-size:22px}
.hero-meta{gap:8px 10px}

/* tabbar */
.tabbar .navbtn{display:none}

/* detail */
.detail-head{grid-template-columns:1fr; gap:12px}
.detail-poster{max-width:240px}

/* play */
.player-wrap{grid-template-columns:1fr}
.player-wrap .player-box{position:static; height:auto}
.player-box iframe,.player-box video{height:420px}
.side-float{display:none}
.eps-grid{grid-template-columns: repeat(3, minmax(0,1fr))}

/* footer */
.footer-cols{grid-template-columns:1fr 1fr; gap:16px}

.main-inner{
grid-template-columns: 1fr !important;
gap: 0;
}
}
@media (max-width: 768px){
.footer-cols{grid-template-columns:1fr 1fr}
}


:root{
--container-pad: 24px;
}

@media (max-width: 860px){
:root{
--container-pad: 12px;
}

.container{
padding-left: var(--container-pad) !important;
padding-right: var(--container-pad) !important;
}

main{
padding-left: 0 !important;
padding-right: 0 !important;
}
}

@media (max-width: 860px){
footer,
.footer{
padding-left: var(--container-pad);
padding-right: var(--container-pad);
}

footer .container{
padding-left: 0 !important;
padding-right: 0 !important;
}
}

@media (min-width: 1025px){
.player-wrap{
grid-template-columns: 1fr clamp(300px, 22vw, 340px) !important;
gap: 14px;
}
}

@media (min-width: 1025px){

.main-inner{
grid-template-columns: 1fr !important;
gap: 0;
}

.main-content{
width: 100%;
min-width: 0;
}

.side-float{
display: none !important;
}

}

@media (max-width: 860px){

.ibanner,
.hero{
aspect-ratio: 16 / 9;
height: auto;
overflow: hidden;
}

.ibanner .swiper,
.ibanner .swiper-container,
.ibanner .swiper-wrapper,
.ibanner .swiper-slide,
.hero .swiper,
.hero .swiper-container,
.hero .swiper-wrapper,
.hero .swiper-slide{
height: 100%;
}

.ibanner img,
.hero img{
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.hero-bg{
height: 100%;
background-size: cover;
background-position: center;
}
}

.panel-sec-cmt .stui-pannel,
.panel-sec-cmt .stui-pannel-box,
.panel-sec-cmt .stui-pannel_bd{
background: transparent !important;
border: 0 !important;
padding: 0 !important;
margin: 0 !important;
}

.panel-sec-cmt .comment-list{
border:1px solid rgba(255,255,255,.08);
background:rgba(255,255,255,.03);
border-radius:16px;
padding:10px;
}

@media (min-width: 1025px){
.panel-sec-cmt .comment-list{
max-height: 320px;
overflow: auto;
}
.panel-sec-cmt .comment-list::-webkit-scrollbar{width:8px}
.panel-sec-cmt .comment-list::-webkit-scrollbar-thumb{
background: rgba(255,255,255,.10);
border-radius: 999px;
}
}

.panel-sec-cmt .comment-ul{
list-style:none;
padding:0;
margin:0;
display:flex;
flex-direction:column;
gap:10px;
}

.panel-sec-cmt .comment-item{
display:flex;
gap:10px;
padding:10px;
border-radius:14px;
border:1px solid rgba(255,255,255,.06);
background:rgba(0,0,0,.18);
}

.panel-sec-cmt .avatar{
width:34px;
height:34px;
border-radius:999px;
border:1px solid rgba(255,255,255,.10);
background:rgba(255,255,255,.06);
flex:0 0 auto;
}

.panel-sec-cmt .comment-body{min-width:0; flex:1}
.panel-sec-cmt .comment-head{
display:flex;
align-items:center;
gap:8px;
flex-wrap:wrap;
font-size:12px;
color:rgba(232,238,247,.78);
}
.panel-sec-cmt .name{font-weight:800; color:rgba(232,238,247,.92)}
.panel-sec-cmt .time{color:rgba(232,238,247,.55)}
.panel-sec-cmt .comment-stars{
margin-left:auto;
color: rgba(247,181,0,.9);
letter-spacing:.5px;
}

.panel-sec-cmt .comment-text{
margin-top:6px;
color:rgba(232,238,247,.78);
font-size:13px;
line-height:1.65;
}

.panel-sec-cmt .comment-meta{
margin-top:8px;
display:flex;
flex-wrap:wrap;
gap:10px;
font-size:12px;
color: rgba(232,238,247,.55);
}
.panel-sec-cmt .comment-meta .cmeta{
display:inline-flex;
align-items:center;
gap:6px;
color: rgba(232,238,247,.60);
}
.panel-sec-cmt .comment-meta .cmeta:hover{color: rgba(232,238,247,.92)}
.panel-sec-cmt .comment-meta .cnum{
font-weight:800;
color: rgba(232,238,247,.78);
}

@media (max-width: 860px){
.panel-sec-cmt .comment-list{
border-radius:14px;
padding:10px;
}
}

.m-logo{
display: flex;
align-items: center;
}

.m-logo .logo{
display: inline-flex;
align-items: center;
gap: 10px;
height: 44px;
text-decoration: none;
}

.m-logo .logo-badge{
width: 32px;
height: 32px;
border-radius: 9px;
background: linear-gradient(
135deg,
rgba(255,217,140,.95),
rgba(255,197,92,.95)
);
display: inline-flex;
align-items: center;
justify-content: center;
color: #2a1d00;
font-size: 18px;
font-weight: 900;
line-height: 1;
box-shadow:
0 6px 20px rgba(255,217,140,.35),
inset 0 0 0 1px rgba(255,255,255,.25);
animation: logoBreathGold 4s ease-in-out infinite;
}

.m-logo .logo span:last-child{
font-size: 18px;
font-weight: 700;
color: #fff5d6;
letter-spacing: .5px;
white-space: nowrap;
}

@keyframes logoBreathGold{
0%{ box-shadow: 0 6px 18px rgba(255,217,140,.22); }
50%{ box-shadow: 0 10px 30px rgba(255,217,140,.45); }
100%{ box-shadow: 0 6px 18px rgba(255,217,140,.22); }
}

.auth-form{
display: grid;
gap: 18px;
}

/* 单个字段 */
.auth-field{
display: flex;
flex-direction: column;
gap: 8px;
}

/* 字段标题 */
.auth-field span{
font-size: 13px;
font-weight: 600;
color: rgba(255,255,255,.78);
letter-spacing: .2px;
}

/* 输入框 */
.auth-field input{
height: 44px;
padding: 0 14px;
border-radius: 14px;
border: 1px solid rgba(255,255,255,.14);
background: linear-gradient(
180deg,
rgba(255,255,255,.06),
rgba(255,255,255,.03)
);
color: #fff;
font-size: 14px;
outline: none;
transition:
border-color .2s ease,
box-shadow .2s ease,
background .2s ease;
}

/* 占位文字 */
.auth-field input::placeholder{
color: rgba(255,255,255,.38);
}

/* 聚焦态（重点） */
.auth-field input:focus{
border-color: rgba(32,208,122,.65);
background: rgba(32,208,122,.06);
box-shadow: 0 0 0 2px rgba(32,208,122,.22);
}

/* 提交按钮 */
.auth-form .btn{
margin-top: 10px;
height: 46px;
border-radius: 14px;
border: 1px solid rgba(255,255,255,.18);
background: linear-gradient(
180deg,
rgba(255,255,255,.10),
rgba(255,255,255,.05)
);
color: rgba(255,255,255,.92);
font-size: 15px;
font-weight: 800;
letter-spacing: .4px;
cursor: pointer;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.12),
0 10px 26px rgba(0,0,0,.45);
transition:
background .2s ease,
box-shadow .2s ease,
transform .15s ease;
}
box-shadow: 0 10px 26px rgba(32,208,122,.35);
transition:
transform .2s ease,
box-shadow .2s ease,
opacity .2s ease;
}

.auth-form .btn:hover{
background: linear-gradient(
180deg,
rgba(255,255,255,.14),
rgba(255,255,255,.08)
);
}

.auth-form .btn:active{
transform: translateY(1px);
box-shadow:
inset 0 2px 4px rgba(0,0,0,.35),
0 6px 14px rgba(0,0,0,.35);
}

@media (max-width: 768px){
.auth-form{ gap: 14px; }
.auth-field input{ height: 42px; border-radius: 12px; }
.auth-form .btn{ height: 44px; border-radius: 14px; }
}

.thumb .play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%) scale(.8);
    border-radius: 50%;
    background: rgba(32, 208, 122, .25);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: all .3s ease;
    pointer-events: none;
}

/* 三角形播放符号 */
.thumb .play-icon::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 18px;
    width: 0;
    height: 0;
    border-left: 18px solid #20d07a;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}
.thumb:hover img {
    transform: scale(1.06);
}

.thumb:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.25);
    opacity: 0;
    transition: opacity .3s ease;
}

.thumb:hover::after {
    opacity: 1;
}
@keyframes playPulse {
    0% { box-shadow: 0 0 0 0 rgba(32,208,122,.45); }
    70% { box-shadow: 0 0 0 16px rgba(32,208,122,0); }
    100% { box-shadow: 0 0 0 0 rgba(32,208,122,0); }
}

.thumb:hover .play-icon {
    animation: playPulse 1.6s infinite;
}
