/* theme-content.css — 内容页重做：排版 + 卡片（只改样式） */
body.next-ui.community{
  background:transparent!important;
  color:#f2f4f9!important;
  font-family:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei UI",system-ui,sans-serif!important;
  -webkit-font-smoothing:antialiased;
}

/* 标题区 */
body.next-ui.community .rev-heading{
  position:relative;padding:34px 4px 26px!important;margin:0 0 6px!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
body.next-ui.community .rev-heading > span{
  display:block;margin-bottom:14px!important;
  font:600 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace!important;
  letter-spacing:.24em!important;color:rgba(255,255,255,.40)!important;text-transform:uppercase;
}
body.next-ui.community .rev-heading h1{
  margin:0 0 12px!important;
  font-size:38px!important;line-height:1.2!important;font-weight:600!important;
  letter-spacing:.02em!important;color:#fff!important;
}
body.next-ui.community .rev-heading p{
  margin:0!important;font-size:13.5px!important;line-height:1.7!important;
  letter-spacing:.03em!important;color:rgba(255,255,255,.52)!important;
}
body.next-ui.community .rev-heading i{display:none!important}

/* 风格筛选 */
body.next-ui.community .style-tabs{
  display:flex!important;flex-wrap:wrap;gap:8px!important;
  margin:22px 0 20px!important;padding:0!important;background:none!important;border:0!important;
}
body.next-ui.community .style-tabs button{
  height:34px!important;padding:0 16px!important;
  border-radius:11px!important;border:1px solid rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.045)!important;color:rgba(255,255,255,.62)!important;
  font-size:12.5px!important;font-weight:500!important;letter-spacing:.02em;cursor:pointer;
  transition:.16s ease;
}
body.next-ui.community .style-tabs button:hover{background:rgba(255,255,255,.10)!important;color:#fff!important}
body.next-ui.community .style-tabs button.active{
  background:#fff!important;color:#0a0a10!important;border-color:transparent!important;font-weight:600!important;
}

/* 作品卡片栅格 */
body.next-ui.community .feed{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(196px,1fr))!important;
  gap:22px 20px!important;padding:0 0 8px!important;
}
body.next-ui.community .feed .post{
  display:flex!important;flex-direction:column;gap:12px;
  padding:0!important;background:none!important;border:0!important;border-radius:0!important;
  transition:transform .2s ease;
}
body.next-ui.community .feed .post:hover{transform:translateY(-3px)}
body.next-ui.community .post-cover-wrap{
  position:relative;width:100%!important;aspect-ratio:1/1;
  border-radius:18px!important;overflow:hidden;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 16px 40px rgba(0,0,0,.42)!important;
  background:rgba(255,255,255,.05);
}
body.next-ui.community .post-cover{
  width:100%!important;height:100%!important;object-fit:cover!important;
  transition:transform .45s ease!important;
}
body.next-ui.community .feed .post:hover .post-cover{transform:scale(1.045)}
body.next-ui.community .post-cover-wrap .play{
  position:absolute!important;left:50%!important;top:50%!important;
  transform:translate(-50%,-50%) scale(.9)!important;
  width:52px!important;height:52px!important;border-radius:50%!important;
  background:rgba(255,255,255,.92)!important;color:#0a0a10!important;border:0!important;
  display:grid;place-items:center;opacity:0;transition:.2s ease;
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}
body.next-ui.community .feed .post:hover .play{opacity:1!important;transform:translate(-50%,-50%) scale(1)!important}
body.next-ui.community .post-info{display:flex;flex-direction:column;gap:5px;min-width:0}
body.next-ui.community .post-info strong{
  font-size:14px!important;font-weight:600!important;letter-spacing:.01em;
  color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
body.next-ui.community .post-info small{
  font-size:11px!important;color:rgba(255,255,255,.42)!important;letter-spacing:.02em;
}
body.next-ui.community .post-style{
  align-self:flex-start;margin-top:2px!important;
  padding:2px 9px!important;border-radius:7px!important;
  background:rgba(255,255,255,.07)!important;color:rgba(255,255,255,.60)!important;
  font-size:10.5px!important;font-style:normal!important;letter-spacing:.04em;
}
body.next-ui.community .post-actions{display:flex;align-items:center;gap:6px;margin-top:2px}
body.next-ui.community .post-actions button{
  display:inline-flex;align-items:center;gap:5px;
  height:28px;padding:0 10px!important;border-radius:9px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  background:rgba(255,255,255,.04)!important;color:rgba(255,255,255,.60)!important;
  font-size:11px!important;cursor:pointer;transition:.16s ease;
}
body.next-ui.community .post-actions button:hover{background:rgba(255,255,255,.10)!important;color:#fff!important}

/* 榜单卡片 */
body.next-ui.community .rank-list{
  list-style:none;margin:14px 0 0!important;padding:14px!important;
  border-radius:20px!important;
  background:linear-gradient(160deg,rgba(255,255,255,.085),rgba(255,255,255,.035))!important;
  border:1px solid rgba(255,255,255,.12)!important;
  -webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);
  box-shadow:0 24px 60px rgba(0,0,0,.35);
}
body.next-ui.community .rank-list li{
  display:flex;align-items:center;gap:12px;padding:12px 6px!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
}
body.next-ui.community .rank-list li:last-child{border-bottom:0!important}
body.next-ui.community .rank-list .idx{
  width:24px;height:24px;flex:none;border-radius:8px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.07);color:rgba(255,255,255,.55);
  font:600 11px/1 ui-monospace,Menlo,monospace;
}
body.next-ui.community .rank-list li:nth-child(1) .idx{background:#fff;color:#0a0a10}
body.next-ui.community .rank-info{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
body.next-ui.community .rank-info strong{font-size:13px!important;font-weight:600;color:#fff!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.next-ui.community .rank-info small{font-size:10.5px!important;color:rgba(255,255,255,.40)!important}
body.next-ui.community .rank-likes{font-size:11px!important;color:rgba(255,255,255,.55)!important;flex:none}
body.next-ui.community .rank-tabs{display:flex;gap:6px!important;margin:0 0 4px!important}
body.next-ui.community .rank-tabs button{
  height:30px!important;padding:0 13px!important;border-radius:9px!important;
  border:1px solid rgba(255,255,255,.10)!important;background:rgba(255,255,255,.04)!important;
  color:rgba(255,255,255,.60)!important;font-size:11.5px!important;cursor:pointer;
}
body.next-ui.community .rank-tabs button.active{background:#fff!important;color:#0a0a10!important;border-color:transparent!important;font-weight:600!important}

/* 移动端 */
@media (max-width:760px){
  body.next-ui.community .rev-heading{padding:22px 16px 18px!important}
  body.next-ui.community .rev-heading h1{font-size:26px!important}
  body.next-ui.community .rev-heading p{font-size:12px!important}
  body.next-ui.community .style-tabs{padding:0 16px!important;margin:14px 0 14px!important;gap:6px!important}
  body.next-ui.community .style-tabs button{height:30px!important;padding:0 12px!important;font-size:11.5px!important}
  body.next-ui.community .feed{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px 12px!important;padding:0 16px!important;
  }
  body.next-ui.community .post-cover-wrap{border-radius:14px!important}
  body.next-ui.community .post-info strong{font-size:12.5px!important}
  body.next-ui.community .rank-list{margin:12px 16px!important}
}
