/* ==========================================================================
   PoseAe 视频创意库 — 首页复刻样式
   颜色 / 间距 / 圆角均按原站（Zibll 主题）实测值还原
   ========================================================================== */

/* 1. 变量 ------------------------------------------------------------------ */
body {
  --mian-max-width: 1300px;
  --posts-card-scale: 70%;
  --theme-color: #16b597;
  --focus-color: var(--theme-color);
  --focus-shadow-color: rgba(22, 181, 151, .4);
  --focus-color-opacity1: rgba(22, 181, 151, .1);
  --key-color: #333;
  --main-color: #4e5358;
  --main-shadow: rgba(116, 116, 116, .08);
  --muted-color: #777;
  --muted-2-color: #999;
  --muted-3-color: #b1b1b1;
  --body-bg-color: #f5f6f7;
  --main-bg-color: #fff;
  --muted-bg-color: #eee;
  --main-border-color: rgba(50, 50, 50, .06);
  --muted-border-color: rgba(0, 0, 0, .03);
  --main-radius: 8px;
  --blur-bg: rgba(255, 255, 255, .8);
  --float-btn-bg: rgba(200, 200, 200, .4);
  --header-bg: var(--blur-bg);
  --header-color: var(--main-color);
  --footer-bg: var(--main-bg-color);
  --footer-color: var(--muted-2-color);
}

body.dark-theme {
  --theme-color: #ffffff;
  --focus-shadow-color: rgba(255, 255, 255, .4);
  --focus-color-opacity1: rgba(255, 255, 255, .1);
  --key-color: #f8fafc;
  --main-color: #e5eef7;
  --main-shadow: rgba(24, 24, 24, .1);
  --muted-color: #b4b6bb;
  --muted-2-color: #888a8f;
  --muted-3-color: #636469;
  --body-bg-color: #292a2d;
  --main-bg-color: #323335;
  --muted-bg-color: #2d2e31;
  --main-border-color: rgba(114, 114, 114, .1);
  --muted-border-color: rgba(184, 184, 184, .02);
  --blur-bg: rgba(50, 51, 53, .8);
  --float-btn-bg: rgba(70, 70, 70, .4);
}

/* 2. 基础 ------------------------------------------------------------------ */
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  background-color: var(--body-bg-color);
  color: var(--main-color);
  transition: background-color .3s, color .3s;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: var(--focus-color);
}

img {
  border: 0;
  vertical-align: middle;
  max-width: 100%;
}

ul {
  list-style: none;
}

p {
  margin: 0 0 10px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input {
  font: inherit;
  color: inherit;
}

svg.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -.15em;
  overflow: hidden;
}

/* 3. 工具类 ---------------------------------------------------------------- */
.container {
  position: relative;
  width: 100%;
  max-width: var(--mian-max-width);
  margin: 0 auto;
  padding: 0 15px;
}

.container-fluid {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.container-header,
.container-footer {
  max-width: calc(var(--mian-max-width) + 180px);
  padding-right: 0;
  padding-left: 0;
}

.relative {
  position: relative;
}

.flex {
  display: flex;
}

.flex.ac {
  align-items: center;
}

.flex.jsb {
  justify-content: space-between;
}

.flex.jsa {
  justify-content: space-around;
}

.flex1 {
  flex: 1;
  min-width: 0;
}

.inline-block {
  display: inline-block;
}

.text-center {
  text-align: center;
}

.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.font-bold {
  font-weight: 700;
}

.em09 {
  font-size: .9em;
}

.em12 {
  font-size: 1.2em;
}

.em16 {
  font-size: 1.6em;
}

.px12 {
  font-size: 12px;
}

.mb6 {
  margin-bottom: 6px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

.mt6 {
  margin-top: 6px;
}

.mr3 {
  margin-right: 3px;
}

.mr6 {
  margin-right: 6px;
}

.mr10 {
  margin-right: 10px;
}

.ml6 {
  margin-left: 6px;
}

.ml10 {
  margin-left: 10px;
}

.opacity5 {
  opacity: .5;
}

.opacity8 {
  opacity: .8;
}

.main-color {
  color: var(--main-color);
}

.muted-color {
  color: var(--muted-color);
}

.muted-2-color {
  color: var(--muted-2-color);
}

.muted-3-color {
  color: var(--muted-3-color);
}

.main-bg {
  background: var(--main-bg-color);
}

.radius4 {
  border-radius: 4px;
}

.radius8 {
  border-radius: var(--main-radius);
}

.fit-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .2s;
}

.gutters-5 {
  margin: -5px;
}

.gutters-5>* {
  padding: 5px;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.abs-center {
  position: absolute;
  top: 50%;
  left: 0;
  right: .7em;
  width: 100%;
  transform: translateY(-50%);
  z-index: 1;
}

.abs-center.right-top {
  transform: unset;
  top: 0;
}

.abs-right {
  position: absolute;
  top: 50%;
  right: .7em;
  transform: translateY(-50%);
  z-index: 1;
}

.separator {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.separator::before,
.separator::after {
  content: '';
  background: var(--main-border-color);
  max-width: 20%;
  height: 1px;
  margin: 0 1em;
  flex: 1;
}

.list-inline {
  padding-left: 0;
  margin: 0;
}

.list-inline>li {
  display: inline-block;
  vertical-align: middle;
}

/* 4. 按钮 / 徽章 ----------------------------------------------------------- */
.but,
.badg {
  display: inline-block;
  border-radius: 4px;
  transition: .15s;
  border: 1px solid var(--this-border);
  vertical-align: middle;
  padding: .3em .6em;
  text-align: center;
  font-weight: 400;
  background: var(--this-bg);
  color: var(--this-color);
  line-height: 1.44;
  --this-bg: rgba(136, 136, 136, .1);
  --this-border: transparent;
  --this-color: #888;
}

.but.radius,
.badg.radius {
  border-radius: 50px;
  padding: .3em 1em;
}

.badg.cir {
  border-radius: 100%;
}

.badg.cir.radius4 {
  border-radius: 4px;
}

.badg.transparent {
  --this-bg: transparent;
}

.c-blue {
  --this-color: #2997f7;
  --this-bg: rgba(41, 151, 247, .1);
  color: var(--this-color);
}

.c-blue-2 {
  --this-color: #5c7cff;
  --this-bg: rgba(77, 130, 249, .1);
  color: var(--this-color);
}

.c-yellow {
  --this-color: #ff6f06;
  --this-bg: rgba(255, 111, 6, .1);
  color: var(--this-color);
}

.c-green {
  --this-color: #18a52a;
  --this-bg: rgba(18, 185, 40, .1);
  color: var(--this-color);
}

.c-purple {
  --this-color: #8a5cf5;
  --this-bg: rgba(138, 92, 245, .1);
  color: var(--this-color);
}

.c-gray {
  --this-color: #888;
  --this-bg: rgba(136, 136, 136, .1);
  color: var(--this-color);
}

.jb-red,
.jb-blue,
.jb-green,
.jb-yellow,
.jb-purple,
.jb-vip1 {
  border: none;
  color: var(--this-color);
  background: var(--this-bg);
  --this-color: #fff;
}

.jb-red {
  --this-bg: linear-gradient(135deg, #fd7a64 10%, #fb2d2d 100%);
}

.jb-blue {
  --this-bg: linear-gradient(135deg, #63b0ff 10%, #2b7fff 100%);
}

.jb-green {
  --this-bg: linear-gradient(135deg, #6bd97f 10%, #17b55c 100%);
}

.jb-yellow {
  --this-bg: linear-gradient(135deg, #f59f54 10%, #ff6922 100%);
}

.jb-purple {
  --this-bg: linear-gradient(135deg, #b28cff 10%, #7d5bfb 100%);
}

.jb-vip1 {
  --this-bg: linear-gradient(25deg, #eabe7b 10%, #f5e3c7 70%, #edc788 100%);
  --this-color: #866127;
}

badge {
  font-size: .8em;
  line-height: 1.2;
  padding: .1em .4em;
  min-width: .8em;
  min-height: .8em;
  display: inline-block;
  vertical-align: .1em;
  border-radius: 50px;
  background: var(--this-bg);
  color: var(--this-color);
  text-align: center;
  z-index: 1;
  --this-color: #fff;
  --this-bg: #fe3459;
}

.payvip-icon {
  background: linear-gradient(300deg, #4c4d51, #2a2a31 15%, #85858a 40%, #393a3c 60%, #393838 80%, #5e5f62 100%);
  font-weight: 400;
  position: relative;
  border: none;
  overflow: hidden;
  --this-color: #ece0e0;
  color: #ece0e0;
}

.img-icon {
  width: 1.2em;
  height: 1.2em;
  vertical-align: -.2em;
}

.toggle-radius {
  background: var(--this-bg);
  width: 29px;
  height: 29px;
  display: inline-block;
  text-align: center;
  border-radius: 100%;
  position: relative;
  vertical-align: text-top;
  --this-bg: var(--main-border-color);
}

.toggle-radius .icon {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: auto;
  transform: translateY(-50%);
}

/* 5. 头部导航 -------------------------------------------------------------- */
.header {
  padding: 8px 20px;
  background: var(--header-bg);
  margin-bottom: 20px;
  transition: background .5s;
}

.nav-fixed .header {
  position: fixed;
  z-index: 999;
  width: 100%;
  top: 0;
  backdrop-filter: saturate(5) blur(20px);
  -webkit-backdrop-filter: saturate(5) blur(20px);
}

.body-scroll .header {
  box-shadow: 0 4px 10px var(--main-shadow);
}

/* 首屏未滚动时，导航悬浮在轮播之上 */
body.nav-fixed:not(.body-scroll) .header.show-slide {
  --header-bg: linear-gradient(0deg, rgba(0, 0, 0, 0) 5%, rgba(0, 0, 0, .1) 80%);
  --header-color: #fff;
  backdrop-filter: unset;
  -webkit-backdrop-filter: unset;
}

.navbar {
  margin: 0;
  border-radius: 0;
  font-size: 15px;
  color: var(--header-color);
}

.container-header {
  display: flex;
  align-items: center;
  min-height: 50px;
}

.navbar-brand {
  padding: 7px 10px;
  margin-left: -5px;
}

.navbar-brand img {
  height: 36px;
  padding: 0 30px;
  display: block;
}

.navbar-toggle {
  display: none;
}

.navbar-collapse {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding-right: 15px;
}

/* 原站右侧控件为 float:right，DOM 顺序与视觉顺序相反 */
.navbar-collapse>.navbar-form:nth-of-type(1) {
  order: 3;
}

.navbar-collapse>.navbar-form:nth-of-type(2) {
  order: 2;
}

.navbar-collapse>.navbar-form:nth-of-type(3) {
  order: 1;
}

.navbar-nav {
  display: flex;
  align-items: center;
  margin: 0 auto 0 20px;
  padding: 0;
}

.navbar-nav>li {
  position: relative;
}

.navbar-nav>li>a {
  display: block;
  padding: 15px 10px;
  line-height: 20px;
  border-radius: 4px;
  white-space: nowrap;
  color: var(--header-color);
}

.navbar-nav>li>a:hover,
.navbar-nav>li:hover>a {
  color: var(--focus-color);
}

.navbar-nav>li.current-menu-item>a {
  color: var(--focus-color);
}

.navbar-nav>li::before {
  content: ' ';
  position: absolute;
  width: 100%;
  top: -10px;
  left: 0;
  background: var(--focus-color);
  height: 5px;
  border-radius: 0 0 15px 15px;
  opacity: 0;
  transition: .3s;
}

.navbar-nav>li.current-menu-item::before,
.navbar-nav>li:hover::before {
  opacity: 1;
}

.navbar-nav .fa-angle-down {
  font-size: .8em;
  margin-left: 3px;
  display: inline-block;
  transition: .3s;
  opacity: .6;
}

.navbar-nav>li:hover .fa-angle-down {
  transform: rotate(-180deg);
}

.navbar-top badge {
  transform: translate(-5px, -10px) scale(.85);
  margin-right: -10px;
}

/* 下拉子菜单 */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 130px;
  margin: 0;
  padding: 6px 0;
  background: var(--main-bg-color);
  border-radius: var(--main-radius);
  box-shadow: 0 0 10px 8px var(--main-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .4s;
  z-index: 992;
}

.navbar-nav>li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li>a {
  display: block;
  padding: 8px 16px;
  color: var(--main-color);
  transition: .3s;
  white-space: nowrap;
}

.sub-menu li>a:hover {
  color: var(--focus-color);
  background: var(--focus-color-opacity1);
}

.navbar-collapse>.navbar-form {
  margin: 8px 0;
  padding: 0 5px 0 15px;
}

.navbar-top .navbar-but .but {
  font-size: .8em;
  padding: .3em 1em;
  margin: .4em;
}

.navbar-but {
  position: relative;
}

.hover-show {
  position: relative;
}

.hover-show .hover-show-con {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .4s;
}

.hover-show:hover .hover-show-con {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-vip-card {
  position: absolute;
  top: 100%;
  right: 0;
  width: 260px;
  z-index: 992;
  padding-top: 6px;
}

.vip-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--main-radius);
  background: linear-gradient(25deg, #eabe7b 10%, #f5e3c7 70%, #edc788 100%);
  color: #866127;
  box-shadow: 0 0 10px 8px var(--main-shadow);
}

.vip-card .vip-img {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 90px;
  opacity: .25;
}

.vip-card .vip-img img {
  width: 1em;
  height: 1em;
}

.vip-card .vip-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
  position: relative;
}

.vip-card ul {
  margin: 0 0 10px;
  padding: 0;
  position: relative;
  font-size: 12px;
  line-height: 1.9;
}

.vip-card .but {
  display: block;
  position: relative;
}

.navbar-right .list-inline>li>.btn {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--header-color);
}

.splitters>li+li {
  position: relative;
}

.splitters>li+li::before {
  content: '';
  width: 1px;
  height: 1.1em;
  position: absolute;
  background: var(--main-color);
  left: -1px;
  top: 50%;
  opacity: .2;
  transform: translateY(-50%);
}

.navbar-right .list-inline>li {
  position: relative;
  padding: 0 5px;
}

.sub-user-menu {
  left: auto;
  right: 0;
  width: 260px;
  padding: 10px;
}

.navbar-right .list-inline>li:hover>.sub-user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-user-box {
  text-align: center;
}

.sub-user-box .payvip-icon {
  display: block;
  padding: 8px 0;
  margin-bottom: 10px;
  font-size: 12.6px;
}

.header-user-href a {
  display: block;
  font-size: 12px;
  color: inherit;
}

.header-user-href .badg {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 29px;
}

.social_loginbar {
  margin-top: 10px;
}

.social-login-item {
  font-size: 16px;
  line-height: 29px;
  color: #04be02;
  --this-bg: var(--main-border-color);
}

.toggle-theme {
  overflow: hidden;
  font-size: 15px;
  line-height: 29px;
  color: var(--header-color);
}

.toggle-theme .ic-sun {
  display: none;
}

.dark-theme .toggle-theme .ic-sun {
  display: inline-block;
}

.dark-theme .toggle-theme .ic-moon {
  display: none;
}

/* 6. 首屏轮播 -------------------------------------------------------------- */
.header-slider-container {
  position: relative;
  margin-bottom: 20px;
}

.slide-header {
  position: relative;
  overflow: hidden;
  height: 550px;
}

.slide-header .swiper-wrapper,
.slide-header .swiper-slide {
  height: 100%;
  width: 100%;
}

.slide-header .swiper-slide {
  position: relative;
}

.slide-header video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-header .slide-mask {
  position: absolute;
  inset: 0;
}

.header-slider-search {
  max-width: 840px;
  margin: auto;
  padding: 0 20px;
  font-size: 17px;
  top: calc(50% - 10px);
  z-index: 2;
}

.header-slider-search-more {
  color: #fff;
}

.header-slider-search-more.before {
  margin-bottom: 1.8em;
}

.header-slider-search .search-input {
  max-width: 800px;
  margin: 0 auto;
}

.search-form {
  margin: 0;
}

.header-slider-search .line-form {
  display: flex;
  align-items: center;
  background: var(--blur-bg);
  border-radius: 100px;
  padding: .5em 1.2em;
  backdrop-filter: saturate(5) blur(20px);
  -webkit-backdrop-filter: saturate(5) blur(20px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.option-dropdown {
  position: relative;
  flex: none;
  padding: 5px 10px 5px 2px;
}

.splitters-this-r::before {
  content: '';
  width: 1px;
  height: 1.1em;
  position: absolute;
  right: 0;
  top: 50%;
  background: var(--main-color);
  opacity: .2;
  transform: translateY(-50%);
}

/* 保持 inline：垂直内边距不参与行高计算，与原站一致 */
.search-drop .dropdown>a {
  padding: 10px 0;
  color: #555;
  white-space: nowrap;
}

.dark-theme .search-drop .dropdown>a {
  color: var(--main-color);
}

.search-drop .dropdown>a .icon {
  font-size: .7em;
  margin-left: 6px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  padding: 6px 0;
  min-width: 120px;
  border-radius: var(--main-radius);
  background: var(--main-bg-color);
  color: var(--main-color);
  box-shadow: 0 0 10px 8px var(--main-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .3s;
  z-index: 992;
  list-style: none;
}

.dropdown.open>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cat-drop li>a {
  display: block;
  padding: 6px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.cat-drop li>a:hover {
  color: var(--focus-color);
  background: var(--focus-color-opacity1);
}

.search-input-text {
  position: relative;
  padding: 5px 10px;
  flex: 1;
  min-width: 0;
}

.line-form-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  padding: 0 2em 0 0;
  color: var(--main-color);
}

.scale-placeholder {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-3-color);
  pointer-events: none;
  transition: .2s;
}

.search-input-text.filled .scale-placeholder,
.line-form-input:focus~.scale-placeholder {
  opacity: 0;
}

.search-input-text button {
  color: var(--muted-color);
  font-size: 1.1em;
  line-height: 1;
}

.search-input-text button:hover {
  color: var(--focus-color);
}

.search-keywords {
  padding: 10px;
  font-size: .85em;
}

.header-slider-search .search-keywords {
  text-align: center;
}

.header-slider-search .search-keywords>p {
  display: none;
}

.search_keywords {
  font-size: 1em;
  padding: 3px 5px;
  margin: 0 6px 6px 0;
  --this-bg: rgba(255, 255, 255, .8);
  --this-color: #888;
}

.dark-theme .search_keywords {
  --this-bg: rgba(50, 51, 53, .8);
}

.search_keywords:hover {
  --this-color: var(--focus-color);
}

/* 首屏下方五个入口 */
.header-slider-card {
  margin-top: -40px;
  z-index: 1;
  display: flow-root;
}

.header-slider-card .zib-widget {
  margin-bottom: 0;
}

.filter-blur .header-slider-card .zib-widget {
  background: var(--blur-bg);
  backdrop-filter: saturate(5) blur(20px);
  -webkit-backdrop-filter: saturate(5) blur(20px);
}

.icon-cover-card {
  height: 80px;
}

.icon-cover-icon {
  font-size: 25px;
  width: 45px;
  height: 45px;
  flex: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-cover-icon img {
  width: 25px;
  height: 25px;
}

.icon-cover-desc .em12 {
  color: var(--main-color);
}

.icon-cover-card:hover .em12 {
  color: var(--focus-color);
}

/* 7. 通用卡片容器 ---------------------------------------------------------- */
.zib-widget {
  clear: both;
  background: var(--main-bg-color);
  padding: 15px;
  box-shadow: 0 0 10px var(--main-shadow);
  border-radius: var(--main-radius);
  margin-bottom: 20px;
}

.widget_media_image {
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

/* 宽度撑满、高度沿用 img 的 height 属性（与原站一致） */
.widget_media_image img {
  width: 100%;
  display: block;
}

.box-body {
  padding: 15px;
}

.box-body.notop {
  padding-top: 0;
}

.widget-graphic-cover .graphic {
  position: relative;
  height: 0;
  padding-bottom: 60%;
  overflow: hidden;
  border-radius: var(--main-radius);
  margin-bottom: 10px;
}

.widget-graphic-cover .graphic>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .3s;
}

.widget-graphic-cover .graphic:hover>img {
  transform: scale(1.05);
}

.col-sm-3 {
  width: 25%;
  padding: 5px;
}

/* 8. 栏目标题 -------------------------------------------------------------- */
.title-theme {
  position: relative;
  padding-left: 1.2em;
  font-size: 15px;
  line-height: 1.42857143;
  color: var(--main-color);
}

.title-theme::before {
  position: absolute;
  content: '';
  width: 4px;
  background: var(--theme-color);
  top: 10%;
  left: 2px;
  bottom: 10%;
  border-radius: 5px;
  box-shadow: 1px 1px 3px -1px var(--theme-color);
}

.title-theme small {
  font-size: 80%;
  opacity: .7;
  margin-left: 10px;
  font-weight: 400;
}

.title-theme .pull-right {
  float: right;
  font-size: .9em;
  margin-top: 3px;
  color: var(--muted-2-color);
}

/* 9. 文章卡片 -------------------------------------------------------------- */
.widget-main-post {
  margin-bottom: 20px;
}

.widget-main-post.style-card .widget-ajaxpager {
  margin: -8px;
  margin-bottom: 15px;
  font-size: 0;
}

.posts-item {
  background: var(--main-bg-color);
  overflow: hidden;
  transition: .3s;
  box-shadow: 0 0 10px var(--main-shadow);
  border-radius: var(--main-radius);
}

.posts-item.card {
  width: calc(25% - 16px);
  display: inline-block;
  margin: 8px;
  padding: 10px;
  vertical-align: top;
  font-size: 14px;
}

.posts-item.card .item-thumbnail {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: var(--posts-card-scale);
  overflow: hidden;
  border-radius: var(--main-radius);
  background: #c4cffa26;
}

.item-thumbnail .img-thumb,
.item-thumbnail>a {
  position: absolute;
  inset: 0;
  display: block;
}

.item-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .2s ease-out;
}

.posts-item:hover .item-thumbnail img {
  transform: scale(1.02);
}

.item-thumbnail video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s;
  z-index: 2;
}

.item-thumbnail.playing video {
  opacity: 1;
}

.item-thumbnail .play-icon {
  position: absolute;
  top: 0;
  right: 9.8px;
  margin-top: 6px;
  font-size: 1.2em;
  line-height: 1;
  color: #fff;
  opacity: .8;
  z-index: 3;
}

.posts-item.card .item-body {
  width: 100%;
  margin: 10px 0 0;
  padding: 0;
}

.posts-item.card .item-heading {
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.4em;
  min-height: 2.8em;
  max-height: 2.8em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-weight: 500;
}

.posts-item .item-heading>a {
  color: inherit;
  font-weight: 700;
}

.posts-item .item-heading>a:hover {
  color: var(--focus-color);
}

.posts-item.card .item-tags {
  min-height: 23px;
  margin-bottom: 6px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.posts-item.card .item-tags::-webkit-scrollbar {
  display: none;
}

.posts-item .item-tags a {
  font-size: 11px;
  padding: 2px 5px;
  margin-right: 5px;
}

.posts-item .item-tags a .icon {
  font-size: 1em;
  margin-right: 2px;
}

.posts-item .item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-2-color);
  line-height: 20px;
}

.posts-item.card .item-meta item {
  display: inline-block;
  font-size: 12px;
  margin-right: 8px;
}

.item-meta .meta-right {
  white-space: nowrap;
}

.item-meta .meta-right item:last-child {
  margin-right: 0;
}

.item-meta .icon {
  width: 12px;
  height: 12px;
  margin-right: 2px;
}

.icon-circle {
  margin-left: -3px;
}

.icon-circle::before {
  content: '';
  width: .5em;
  height: .5em;
  border: .1em solid var(--focus-color);
  border-radius: 1em;
  margin: 0 .5em;
  vertical-align: .1em;
  display: inline-block;
}

/* 骨架屏（与原站 AJAX 加载前状态一致） */
.placeholder {
  background: linear-gradient(90deg, var(--muted-border-color) 25%, rgba(136, 136, 136, .08) 37%, var(--muted-border-color) 63%);
  background-size: 400% 100%;
  animation: placeholder-loading 1.4s ease infinite;
  border-radius: 4px;
  display: block;
}

@keyframes placeholder-loading {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}

.posts-item.card .item-thumbnail.placeholder {
  position: absolute;
  inset: 0;
  padding: 0;
  height: auto;
}

.placeholder.t1 {
  height: 1em;
  margin-bottom: 10px;
}

.placeholder.k2 {
  height: 2em;
}

.placeholder.s1 {
  height: 1em;
  width: 40%;
  display: inline-block;
}

/* 10. 页脚 ----------------------------------------------------------------- */
.footer {
  color: var(--footer-color);
  background: var(--footer-bg);
  padding: 30px;
  font-size: 13px;
}

.container-footer>.list-inline::after {
  content: '';
  display: block;
  clear: both;
}

.footer .list-inline>li {
  margin: 5px 15px;
  padding: 0 5px;
}

.footer .list-inline>li:last-child {
  display: block;
  float: right;
}

.footer-logo img {
  height: 40px;
}

.footer .title-h-left {
  position: relative;
  padding-bottom: 8px;
  font-size: 13px;
}

.footer .title-h-left::before {
  position: absolute;
  content: '';
  width: 40px;
  height: 3px;
  background: var(--theme-color);
  left: 0;
  bottom: 3px;
  border-radius: 5px;
  box-shadow: 1px 1px 3px -1px var(--theme-color);
  transition: .4s;
  transform-origin: left;
}

.footer .title-h-left:hover::before {
  width: 60px;
}

.footer-muted {
  color: var(--footer-color);
}

.fcode-links {
  margin-bottom: 10px;
}

.fcode-links>a+a::before {
  content: '';
  width: 4px;
  height: 4px;
  margin: 0 .5em;
  border-radius: 50%;
  display: inline-block;
  background: var(--main-color);
  opacity: .3;
  vertical-align: .2em;
}

.beian {
  margin-top: 4px;
}

.beian img {
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
}

.beian a+a {
  margin-left: 8px;
}

.footer-miniimg {
  width: 90px;
  margin: 0 10px;
  text-align: center;
  vertical-align: text-top;
  display: inline-block;
}

.footer-miniimg p {
  margin-bottom: 6px;
}

.footer-miniimg img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--muted-bg-color);
}

/* 11. 右侧悬浮按钮 --------------------------------------------------------- */
.float-right {
  position: fixed;
  right: 20px;
  z-index: 99;
}

.float-right.position-center {
  top: 50%;
  transform: translateY(-50%);
}

.float-right .float-btn {
  width: 40px;
  line-height: 40px;
  height: 40px;
  display: block;
  font-size: 1.4em;
  text-align: center;
  position: relative;
  margin-top: 6px;
  border-radius: 8px;
  background: var(--this-bg);
  color: var(--this-color) !important;
  --this-color: var(--muted-2-color);
  --this-bg: var(--float-btn-bg);
  backdrop-filter: saturate(2) blur(10px);
  -webkit-backdrop-filter: saturate(2) blur(10px);
  cursor: pointer;
}

.float-right .float-btn:hover {
  --this-color: #fff;
  --this-bg: var(--focus-color);
}

.float-btn.ontop {
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.body-scroll .float-btn.ontop {
  opacity: 1;
  visibility: visible;
}

.float-btn .hover-show-con {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 8px;
  width: 140px;
  line-height: 1.4;
  font-size: 12px;
  text-align: center;
}

.float-btn:hover .hover-show-con {
  transform: translateY(-50%) translateX(0);
}

.float-btn .hover-show-con img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

.qq-btn {
  color: #12b7f5;
}

.service-wechat {
  color: #04be02;
}

/* 12. 搜索浮层 ------------------------------------------------------------- */
.main-search {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 80px 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition: .3s;
  overflow-y: auto;
}

.main-search.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.main-search .close {
  float: right;
  font-size: 20px;
  color: var(--muted-2-color);
}

.main-search .ic-close {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.main-search .line-form {
  display: flex;
  align-items: center;
  background: var(--body-bg-color);
  border-radius: 100px;
  padding: .5em 1.2em;
  font-size: 17px;
}

.main-search .search-keywords {
  font-size: 14px;
}

.main-search .search_keywords {
  --this-bg: rgba(136, 136, 136, .1);
}

/* 13. 移动端 --------------------------------------------------------------- */
.mobile-header,
.mobile-navbar,
.fixed-body {
  display: none;
}

@media (max-width: 1200px) {
  .container {
    width: 95%;
  }
}

@media (max-width: 992px) {
  .posts-item.card {
    width: calc(50% - 16px);
  }

  .navbar-collapse {
    display: none;
  }

  .navbar-toggle {
    display: block;
    padding: 12px;
    font-size: 20px;
    color: var(--header-color);
  }

  .container-header {
    justify-content: space-between;
  }

  .slide-header {
    height: 280px;
  }

  .header-slider-search {
    font-size: 15px;
  }

  .header-slider-card {
    display: none;
  }

  .col-sm-3 {
    width: 50%;
  }

  .container-footer>.list-inline {
    flex-direction: column;
  }

  .hidden-xs {
    display: none;
  }
}

@media (max-width: 640px) {
  .posts-item.card {
    width: calc(100% - 16px);
  }

  .footer {
    padding: 20px 10px;
  }
}
