/* MintLight · 薄荷微光主题
   浅色清爽 / 圆角 / 低饱和绿 */
:root{
  --paper:#f4f8f6; --card:#ffffff; --ink:#2c3a33;
  --accent:#3fbf8f; --accent2:#8fd9bc; --soft:#e3f2eb;
  --gray:#7d8f87; --line:#e6efeb;
  --r:16px;
}
*{margin:0;padding:0;box-sizing:border-box}
body{background:var(--paper);color:var(--ink);font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB",sans-serif;font-size:14px;line-height:1.7}
a{color:inherit;text-decoration:none}
ul{list-style:none}
img{max-width:100%;display:block}
.container{max-width:1160px;margin:0 auto;padding:0 18px}

/* 顶栏 */
.mintbar{background:var(--card);box-shadow:0 2px 14px rgba(63,191,143,.08);position:sticky;top:0;z-index:99}
.mintbar__in{display:flex;align-items:center;height:64px;gap:24px}
.brand{font-size:24px;font-weight:800;color:var(--accent);letter-spacing:1px}
.brand small{font-size:12px;color:var(--gray);font-weight:400;margin-left:8px;letter-spacing:2px}
.menu{display:flex;gap:2px}
.menu a{padding:8px 16px;border-radius:30px;color:var(--gray);font-size:14px;transition:.2s}
.menu a:hover,.menu a.here{background:var(--soft);color:var(--accent);font-weight:600}
.search{margin-left:auto;position:relative}
.search input{width:200px;background:var(--paper);border:1px solid var(--line);border-radius:30px;padding:9px 40px 9px 18px;font-size:13px;outline:none;transition:.2s}
.search input:focus{border-color:var(--accent)}
.search button{position:absolute;right:4px;top:50%;transform:translateY(-50%);background:none;border:0;color:var(--accent);cursor:pointer;width:32px;height:32px;border-radius:50%}
.search button:hover{background:var(--soft)}

/* 顶部推荐横幅 */
.hero{background:linear-gradient(135deg,var(--soft),#d6f0e4 60%,#c3e8d8);border-radius:24px;margin:26px 0;padding:36px 40px;position:relative;overflow:hidden}
.hero h2{font-size:32px;font-weight:800;color:var(--ink);margin-bottom:10px}
.hero p{color:var(--gray);max-width:520px;font-size:15px}
.hero .go{margin-top:22px;display:inline-block;background:var(--accent);color:#fff;padding:10px 30px;border-radius:30px;font-size:14px;box-shadow:0 8px 20px rgba(63,191,143,.35)}
.hero .go:hover{transform:translateY(-2px)}

/* 区块 */
.blk{margin:30px 0}
.blk__hd{display:flex;align-items:center;margin-bottom:18px}
.blk__hd h3{font-size:19px;font-weight:700}
.blk__hd h3 em{font-style:normal;color:var(--accent);margin-right:8px}
.blk__hd .tip{margin-left:auto;font-size:13px;color:var(--gray)}
.blk__hd .tip:hover{color:var(--accent)}

/* 卡片网格 */
.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
@media(max-width:900px){.cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.cards{grid-template-columns:repeat(2,1fr)}}
.post{background:var(--card);border-radius:var(--r);overflow:hidden;box-shadow:0 4px 16px rgba(45,90,70,.06);transition:.25s}
.post:hover{transform:translateY(-5px);box-shadow:0 12px 28px rgba(63,191,143,.18)}
.post__pic{position:relative;overflow:hidden}
.post__pic img{width:100%;aspect-ratio:2/3;object-fit:cover;transition:.4s}
.post:hover .post__pic img{transform:scale(1.06)}
.post__pic .flag{position:absolute;left:8px;top:8px;background:var(--accent);color:#fff;font-size:11px;padding:2px 10px;border-radius:20px}
.post__pic .score{position:absolute;right:8px;bottom:8px;background:rgba(255,255,255,.92);color:var(--accent);font-weight:700;font-size:12px;padding:2px 8px;border-radius:20px}
.post__body{padding:10px 12px 12px}
.post__body h4{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post__body h4 a:hover{color:var(--accent)}
.post__body p{font-size:12px;color:var(--gray);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* 榜单 */
.board{background:var(--card);border-radius:var(--r);box-shadow:0 4px 16px rgba(45,90,70,.06);overflow:hidden}
.board li{display:flex;align-items:center;gap:12px;padding:11px 18px;border-bottom:1px solid var(--line)}
.board li:last-child{border-bottom:none}
.board .num{width:24px;height:24px;border-radius:8px;background:var(--soft);color:var(--accent);font-weight:700;font-size:12px;display:flex;align-items:center;justify-content:center}
.board li:first-child .num,.board li:nth-child(2) .num,.board li:nth-child(3) .num{background:var(--accent);color:#fff}
.board a{flex:1;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.board a:hover{color:var(--accent)}
.board small{color:var(--gray);font-size:12px}

/* 筛选 */
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.tags a{background:var(--card);border:1px solid var(--line);padding:6px 18px;border-radius:30px;font-size:13px;color:var(--gray)}
.tags a:hover,.tags a.cur{background:var(--accent);color:#fff;border-color:var(--accent)}

/* 详情 */
.det{display:flex;gap:28px;background:var(--card);border-radius:var(--r);padding:26px;box-shadow:0 4px 16px rgba(45,90,70,.06);margin-top:24px}
.det__pic{flex:0 0 250px;border-radius:var(--r);overflow:hidden}
.det__pic img{width:100%;aspect-ratio:2/3;object-fit:cover}
.det__main{flex:1}
.det__main h1{font-size:28px;margin-bottom:14px}
.det__rows{display:flex;flex-wrap:wrap;gap:6px 20px;color:var(--gray);font-size:14px;margin-bottom:6px}
.det__rows b{color:var(--ink);font-weight:400}
.det__rows a{color:var(--accent)}
.det__intro{color:var(--gray);font-size:14px;margin-top:10px;line-height:1.9}
.playbtn{display:inline-block;background:var(--accent);color:#fff;padding:11px 34px;border-radius:30px;margin-top:18px;font-weight:600;box-shadow:0 8px 20px rgba(63,191,143,.35)}
.favbtn{display:inline-block;border:1px solid var(--line);padding:10px 26px;border-radius:30px;margin-left:12px;margin-top:18px}
.favbtn:hover{border-color:var(--accent);color:var(--accent)}

/* 播放列表 */
.epl{margin:20px 0;background:var(--card);border-radius:var(--r);padding:18px 20px;box-shadow:0 4px 16px rgba(45,90,70,.06)}
.epl__hd{display:flex;align-items:center;margin-bottom:12px}
.epl__hd h4{font-size:16px}
.epl__hd span{margin-left:auto;color:var(--gray);font-size:12px}
.epl ul{display:flex;flex-wrap:wrap;gap:8px;max-height:320px;overflow-y:auto}
.epl a{display:inline-block;background:var(--paper);border:1px solid var(--line);padding:6px 14px;border-radius:10px;font-size:13px;color:var(--ink)}
.epl a:hover{border-color:var(--accent);color:var(--accent)}
.epl li.cur a{background:var(--accent);color:#fff;border-color:var(--accent)}

/* 播放器 */
.player{background:#0f2018;border-radius:var(--r);overflow:hidden;margin-top:24px}
.player__bar{display:flex;align-items:center;gap:14px;padding:12px 18px;background:#fff}
.player__bar h1{font-size:15px;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player__bar .pg a{color:var(--gray);font-size:13px;border:1px solid var(--line);padding:4px 14px;border-radius:20px}
.player__bar .pg a:hover{color:var(--accent);border-color:var(--accent)}

/* 分页 */
.pager{display:flex;justify-content:center;gap:8px;padding:28px 0}
.pager a,.pager b{background:var(--card);border:1px solid var(--line);min-width:36px;height:36px;line-height:36px;text-align:center;padding:0 12px;border-radius:10px;font-size:13px}
.pager a:hover{border-color:var(--accent);color:var(--accent)}
.pager b{background:var(--accent);color:#fff;border-color:var(--accent)}

/* 页脚 */
.footer{background:#24453a;color:#cfe6dc;margin-top:46px;padding:36px 0 20px}
.footer .cols{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-bottom:22px}
@media(max-width:700px){.footer .cols{grid-template-columns:repeat(2,1fr)}}
.footer h5{font-size:14px;color:#fff;margin-bottom:12px}
.footer a,.footer p{display:block;color:#a9c8bc;font-size:13px;padding:3px 0}
.footer a:hover{color:#fff}
.footer .bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:16px;text-align:center;color:#a9c8bc;font-size:12px}

/* 播放器容器高度修复：MacPlayer 高度为 100%，需父容器有明确高度 */
.mac-player-box{height:520px;position:relative;overflow:hidden;background:#000}
@media(max-width:767px){
  .mac-player-box{height:280px!important}
}

/* ========== 移动端响应式补丁（自动生成） ========== */
html, body { overflow-x: hidden; }
img { max-width: 100%; }

/* 汉堡按钮 */
.nav-toggle {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; border: 1px solid rgba(128,128,128,.35);
  border-radius: 6px; color: inherit; text-decoration: none; cursor: pointer; flex: 0 0 auto;
}
.nav-toggle:hover { opacity: .8; }

@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; }
  .mintbar__in { flex-wrap: wrap; }
  nav.menu { display:none; width:100%; order:9; flex-direction:column; }
  .mintbar__in.open nav.menu { display:flex; }
  .mintbar__in.open nav.menu a { width:100%; text-align:left; }
  .mintbar__in form.search { width:100%; order:99; }
  /* 详情堆叠 */
  .det { flex-direction: column; align-items: center; }
  .det__pic { max-width: 100%; flex: 0 0 auto; }
  /* 播放器栏换行 */
  .player__bar { flex-wrap: wrap; }
  /* 分页换行 */
  .pager { flex-wrap: wrap; }
  /* banner 收敛 */
  .hero { padding: 26px 16px; }
  .hero h1, .hero h2 { font-size: 1.45rem; line-height: 1.35; }
}

@media (max-width: 380px) {
  .cards { gap: 8px; }
  .footer .cols { grid-template-columns: 1fr; gap: 10px; }
  .hero h1, .hero h2 { font-size: 1.25rem; }
}

/* 播放器容器高度强制覆盖 */
.mac-player-box{height:520px!important;position:relative;overflow:hidden;background:#000;z-index:1}
@media(max-width:767px){.mac-player-box{height:280px!important}}
/* 图片尺寸统一兜底：封面/海报 img 强制 2:3 裁剪 */
.post__pic img, .det__pic img{aspect-ratio:2/3!important;object-fit:cover!important;width:100%}

/* ===== 文章模块 ===== */
.art-crumb{font-size:13px;color:var(--gray);padding:20px 0 6px}
.art-crumb a:hover{color:var(--accent)}
.art-list{background:var(--card);border-radius:var(--r);box-shadow:0 4px 16px rgba(45,90,70,.06);padding:10px 24px}
.art-item{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}
.art-item:last-child{border-bottom:none}
.art-item a{font-size:15px}
.art-item a:hover{color:var(--accent)}
.art-date{font-size:12px;color:var(--gray);flex-shrink:0}
.art-detail{background:var(--card);border-radius:var(--r);box-shadow:0 4px 16px rgba(45,90,70,.06);padding:26px 30px;font-size:14px;line-height:2;color:var(--ink);text-indent:2em}
.art-title{font-size:20px}
.art-meta{font-size:12px;color:var(--gray);margin:4px 0 12px;text-indent:0}
.art-hlist{background:var(--card);border-radius:var(--r);box-shadow:0 4px 16px rgba(45,90,70,.06);padding:10px 24px;display:grid;grid-template-columns:repeat(2,1fr);gap:0 30px}
.art-hitem{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--line);font-size:14px}
.art-hitem:last-child{border-bottom:none}
.art-hitem a:hover{color:var(--accent)}
.art-hitem span{font-size:12px;color:var(--gray);flex-shrink:0}
.art-pn{display:flex;flex-wrap:wrap;gap:10px 24px;margin:20px 0 4px}
.art-pn a{display:inline-block;background:var(--paper);border:1px solid var(--line);padding:8px 20px;border-radius:20px;font-size:13px;color:var(--ink)}
.art-pn a:hover{border-color:var(--accent);color:var(--accent)}
