:root{
  --ink:#0B0B0B;
  --gold:#D4AF37;
  --bg:#E8E8E8;
  --paper:#FAF9F6;
  --line:#C9C2AE;
  --muted:#5C584E;
  --radius:8px;
  --shadow-1:0 1px 2px rgba(11,11,11,.06),0 2px 6px rgba(11,11,11,.05);
  --shadow-2:0 6px 18px rgba(11,11,11,.10),0 2px 6px rgba(11,11,11,.06);
}
*{box-sizing:border-box;}
html{font-size:16px;-webkit-text-size-adjust:100%;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:15px;
  line-height:1.75;
}
img{width:100%;height:100%;object-fit:cover;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,p,ul{margin:0;}
ul{padding:0;list-style:none;}
.wrap{max-width:1240px;margin:0 auto;padding:0 20px;}
@media(min-width:720px){.wrap{padding:0 32px;}}
@media(min-width:1100px){.wrap{padding:0 40px;}}

/* 顶部品牌区 */
.site-head{background:var(--ink);color:#F4F1E8;border-bottom:2px solid var(--gold);}
.head-in{display:flex;align-items:center;gap:16px;min-height:60px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px;}
.brand{font-size:19px;font-weight:700;letter-spacing:.5px;color:#F4F1E8;white-space:nowrap;}
.brand b{color:var(--gold);}
.head-tag{font-size:12.5px;color:#B9B3A3;letter-spacing:.5px;display:none;}
@media(min-width:900px){.head-tag{display:inline;}}
.main-nav{margin-left:auto;}
.main-nav ul{display:flex;gap:22px;flex-wrap:wrap;}
.main-nav a{font-size:14px;color:#E4DFD2;padding:6px 0;border-bottom:2px solid transparent;transition:border-color .2s,color .2s;}
.main-nav a:hover,.main-nav a:focus-visible{color:var(--gold);border-bottom-color:var(--gold);outline:none;}
.search-form{display:flex;align-items:center;gap:8px;}
.search-form input{
  height:42px;border:1px solid var(--line);background:#F8F6F0;color:var(--ink);
  border-radius:var(--radius);padding:0 14px;font-size:14px;width:170px;font-family:inherit;
}
.search-form input:focus{outline:2px solid var(--gold);outline-offset:1px;}
.search-form button{
  height:42px;padding:0 20px;border:1px solid var(--gold);background:var(--gold);color:var(--ink);
  border-radius:var(--radius);font-size:14px;font-weight:600;cursor:pointer;font-family:inherit;
}
.search-form button:hover{background:#E4C24A;}
.menu-btn{display:none;height:42px;padding:0 16px;border:1px solid var(--gold);background:transparent;color:var(--gold);border-radius:var(--radius);font-size:14px;cursor:pointer;font-family:inherit;}
@media(max-width:860px){
  .main-nav{order:3;margin-left:0;width:100%;display:none;}
  .main-nav.open{display:block;}
  .main-nav ul{flex-direction:column;gap:0;padding:8px 0;}
  .main-nav a{display:block;padding:10px 0;border-bottom:1px solid rgba(212,175,55,.25);}
  .menu-btn{display:inline-block;margin-left:auto;}
  .search-form{order:4;width:100%;}
  .search-form input{flex:1;width:auto;}
}

/* 面包屑 */
.breadcrumb{font-size:13px;color:var(--muted);padding:16px 0 0;}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0;list-style:none;}
.breadcrumb li::after{content:"›";margin-left:6px;color:var(--line);}
.breadcrumb li:last-child::after{content:"";}
.breadcrumb a:hover{color:var(--gold);}

/* Hero */
.hero{padding:28px 0 0;}
.hero-box{
  display:grid;grid-template-columns:1fr;gap:24px;
  background:linear-gradient(135deg,#141414 0%,#0B0B0B 55%,#1E1A10 100%);
  border:1px solid var(--gold);border-radius:var(--radius);
  box-shadow:var(--shadow-2);padding:22px;color:#F4F1E8;
}
@media(min-width:820px){
  .hero-box{grid-template-columns:2fr 3fr;gap:36px;padding:34px;}
}
.hero-poster{aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;border:1px solid rgba(212,175,55,.5);}
.hero-copy h1{
  font-size:32px;line-height:1.25;letter-spacing:.5px;color:#F8F4E6;
  margin-bottom:16px;font-weight:700;
}
@media(min-width:820px){.hero-copy h1{font-size:44px;}}
.hero-kw{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;}
.chip{
  display:inline-block;font-size:13px;line-height:1.4;padding:5px 12px;border-radius:999px;
  border:1px solid var(--gold);color:var(--gold);background:rgba(212,175,55,.08);
}
.hero-hook{font-size:15px;line-height:1.8;color:#D7D2C4;margin-bottom:16px;}
.hero-meta{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:13px;color:#B9B3A3;margin-bottom:22px;}
.hero-meta b{color:var(--gold);font-weight:600;}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;padding:10px 24px;font-size:14px;line-height:1.4;
  border-radius:var(--radius);border:1px solid var(--gold);cursor:pointer;font-family:inherit;
  transition:background .2s,color .2s,transform .15s;
}
.btn-primary{background:var(--gold);color:var(--ink);font-weight:600;}
.btn-primary:hover{background:#E7C64E;}
.btn-ghost{background:transparent;color:var(--gold);}
.btn-ghost:hover{background:rgba(212,175,55,.14);}
.btn:focus-visible{outline:2px solid #F8F4E6;outline-offset:2px;}

/* 通用 section */
section{padding:52px 0 0;}
@media(min-width:1100px){section{padding:68px 0 0;}}
.sec-head{margin-bottom:18px;}
.sec-head h2{font-size:22px;line-height:1.3;font-weight:700;color:var(--ink);}
@media(min-width:820px){.sec-head h2{font-size:27px;}}
.sec-head h2::before{content:"";display:inline-block;width:6px;height:20px;background:var(--gold);margin-right:10px;vertical-align:-3px;border-radius:2px;}
.sec-desc{font-size:14px;color:var(--muted);line-height:1.7;margin-top:8px;max-width:820px;}

/* 分类导航 */
.cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}
@media(min-width:720px){.cat-grid{grid-template-columns:repeat(3,1fr);gap:18px;}}
@media(min-width:1024px){.cat-grid{grid-template-columns:repeat(6,1fr);}}
.cat-card{
  display:block;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:18px;box-shadow:var(--shadow-1);transition:border-color .2s,box-shadow .2s,transform .15s;
}
.cat-card:hover,.cat-card:focus-visible{border-color:var(--gold);box-shadow:var(--shadow-2);transform:translateY(-2px);outline:none;}
.cat-card h3{font-size:16px;line-height:1.4;font-weight:700;margin-bottom:6px;}
.cat-card p{font-size:13.5px;line-height:1.6;color:var(--muted);}

/* 剧集卡片 */
.card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}
@media(min-width:720px){.card-grid{grid-template-columns:repeat(3,1fr);gap:18px;}}
@media(min-width:1024px){.card-grid{grid-template-columns:repeat(4,1fr);gap:20px;}}
.show-card{
  display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-1);
  transition:border-color .2s,box-shadow .2s,transform .15s;
}
.show-card:hover,.show-card:focus-visible{border-color:var(--gold);box-shadow:var(--shadow-2);transform:translateY(-2px);outline:none;}
.thumb{aspect-ratio:3/4;overflow:hidden;background:#D6D1C4;}
.show-card .body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1;}
.show-card h3{font-size:16.5px;line-height:1.4;font-weight:700;}
.show-card .tags{display:flex;flex-wrap:wrap;gap:6px;}
.tag{font-size:12.5px;line-height:1.4;padding:3px 9px;border-radius:999px;border:1px solid var(--line);color:var(--muted);}
.tag.gold{border-color:var(--gold);color:#8A6D12;background:rgba(212,175,55,.12);}
.show-card p{font-size:13.5px;line-height:1.65;color:var(--muted);}
.meta-line{font-size:13px;color:var(--muted);display:flex;flex-wrap:wrap;gap:12px;margin-top:auto;padding-top:6px;}
.meta-line b{color:#8A6D12;font-weight:600;}
.card-link{font-size:13px;color:#8A6D12;font-weight:600;border-bottom:1px solid transparent;}
.show-card:hover .card-link{border-bottom-color:var(--gold);}

/* 剧情简介 */
.story-box{
  background:var(--paper);border:1px solid var(--line);border-left:5px solid var(--gold);
  border-radius:var(--radius);padding:22px;box-shadow:var(--shadow-1);
}
.story-box p{font-size:16px;line-height:1.8;color:#2A2822;margin-bottom:12px;}
.story-box p:last-child{margin-bottom:0;}

/* 看点 */
.highlights{display:grid;grid-template-columns:1fr;gap:14px;}
@media(min-width:720px){.highlights{grid-template-columns:repeat(2,1fr);gap:18px;}}
.hl-item{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:18px;box-shadow:var(--shadow-1);
}
.hl-item h3{font-size:16.5px;line-height:1.4;margin-bottom:8px;}
.hl-item h3 span{color:var(--gold);font-weight:700;margin-right:8px;}
.hl-item p{font-size:14px;line-height:1.7;color:var(--muted);}

/* 人物 */
.chars{display:grid;grid-template-columns:1fr;gap:14px;}
@media(min-width:720px){.chars{grid-template-columns:repeat(2,1fr);gap:18px;}}
@media(min-width:1024px){.chars{grid-template-columns:repeat(4,1fr);gap:20px;}}
.char-card{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:16px;box-shadow:var(--shadow-1);text-align:left;
}
.avatar{width:72px;height:72px;border-radius:50%;overflow:hidden;border:2px solid var(--gold);margin-bottom:12px;}
.char-card h3{font-size:16.5px;line-height:1.4;margin-bottom:6px;}
.char-card .role{font-size:13px;color:#8A6D12;margin-bottom:8px;}
.char-card p{font-size:13.5px;line-height:1.65;color:var(--muted);}

/* 追剧队列 */
.queue-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;}
.queue-count{font-size:14px;color:var(--muted);}
.queue-count b{color:#8A6D12;font-size:17px;}
.ep-list{display:flex;flex-direction:column;gap:12px;}
.ep-item{
  display:grid;grid-template-columns:1fr;gap:12px;align-items:center;
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:16px;box-shadow:var(--shadow-1);
}
@media(min-width:820px){.ep-item{grid-template-columns:56px 1fr auto;gap:18px;}}
.ep-no{
  width:56px;height:56px;display:flex;align-items:center;justify-content:center;
  border-radius:var(--radius);border:1px solid var(--gold);color:#8A6D12;font-weight:700;font-size:15px;
  background:rgba(212,175,55,.10);
}
.ep-item h3{font-size:16.5px;line-height:1.4;margin-bottom:4px;}
.ep-item p{font-size:13.5px;line-height:1.65;color:var(--muted);}
.ep-meta{font-size:12.5px;color:var(--muted);margin-top:6px;}
.queue-btn{
  min-height:42px;padding:10px 20px;font-size:14px;border-radius:var(--radius);
  border:1px solid var(--gold);background:transparent;color:#8A6D12;cursor:pointer;font-family:inherit;
  font-weight:600;transition:background .2s,color .2s;
}
.queue-btn:hover{background:rgba(212,175,55,.14);}
.queue-btn.on{background:var(--gold);color:var(--ink);}
.queue-btn:focus-visible{outline:2px solid var(--ink);outline-offset:2px;}
.ep-hidden{display:none;}
.more-wrap{margin-top:16px;}

/* 相关推荐 */
.rec-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}
@media(min-width:720px){.rec-grid{grid-template-columns:repeat(3,1fr);gap:18px;}}
@media(min-width:1024px){.rec-grid{grid-template-columns:repeat(3,1fr);gap:20px;}}
.rec-card{
  display:flex;gap:14px;background:var(--paper);border:1px solid var(--line);
  border-radius:var(--radius);padding:14px;box-shadow:var(--shadow-1);
  transition:border-color .2s,box-shadow .2s;
}
.rec-card:hover,.rec-card:focus-visible{border-color:var(--gold);box-shadow:var(--shadow-2);outline:none;}
.rec-thumb{width:84px;flex:0 0 84px;aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;background:#D6D1C4;}
.rec-card h3{font-size:16px;line-height:1.4;margin-bottom:6px;}
.rec-card p{font-size:13.5px;line-height:1.6;color:var(--muted);margin-bottom:6px;}
.rec-card .kw{font-size:12.5px;color:#8A6D12;}

/* 快捷筛选 */
.filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px;}
.filter-chip{
  min-height:42px;padding:8px 18px;font-size:13.5px;border-radius:999px;
  border:1px solid var(--line);background:var(--paper);color:var(--muted);cursor:pointer;font-family:inherit;
  transition:border-color .2s,color .2s,background .2s;
}
.filter-chip:hover{border-color:var(--gold);color:#8A6D12;}
.filter-chip.active{background:var(--gold);border-color:var(--gold);color:var(--ink);font-weight:600;}
.filter-chip:focus-visible{outline:2px solid var(--ink);outline-offset:2px;}
.filter-note{font-size:13.5px;color:var(--muted);margin-bottom:16px;}

/* FAQ */
.faq-list{display:flex;flex-direction:column;gap:12px;}
details.faq{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:16px 18px;box-shadow:var(--shadow-1);
}
details.faq summary{
  cursor:pointer;font-size:16px;font-weight:700;line-height:1.5;list-style:none;color:var(--ink);
}
details.faq summary::-webkit-details-marker{display:none;}
details.faq summary::after{content:"+";float:right;color:var(--gold);font-weight:700;}
details.faq[open] summary::after{content:"–";}
details.faq p{font-size:14.5px;line-height:1.75;color:var(--muted);margin-top:10px;}

/* 友情链接 */
.friend-list{display:flex;flex-wrap:wrap;gap:10px 20px;}
.friend-list a{font-size:13.5px;color:var(--muted);border-bottom:1px dashed var(--line);padding-bottom:2px;}
.friend-list a:hover{color:#8A6D12;border-bottom-color:var(--gold);}

/* 页脚 */
.site-foot{margin-top:60px;background:var(--ink);color:#C9C3B3;border-top:2px solid var(--gold);padding:52px 0 28px;}
.foot-grid{display:grid;grid-template-columns:1fr;gap:28px;}
@media(min-width:720px){.foot-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.foot-grid{grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;}}
.site-foot h3{font-size:15.5px;color:#F4F1E8;margin-bottom:12px;line-height:1.4;}
.site-foot p{font-size:13px;line-height:1.7;color:#A8A292;}
.site-foot ul{display:flex;flex-direction:column;gap:8px;}
.site-foot ul a{font-size:13px;color:#A8A292;}
.site-foot ul a:hover{color:var(--gold);}
.foot-bottom{border-top:1px solid rgba(212,175,55,.25);margin-top:32px;padding-top:20px;font-size:12.5px;line-height:1.7;color:#8E887A;display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;}
.foot-bottom a{color:#B9B3A3;}
.foot-bottom a:hover{color:var(--gold);}
.to-top{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 20px;
  border:1px solid var(--gold);border-radius:var(--radius);color:var(--gold);background:transparent;
  font-size:13.5px;cursor:pointer;font-family:inherit;
}
.to-top:hover{background:rgba(212,175,55,.14);}
@media (prefers-reduced-motion: reduce){
  *{transition:none !important;animation:none !important;}
  html{scroll-behavior:auto;}
}