/**
 * 首页布局（对齐浅染站结构）：顶部大图 + 热门卡片网格
 * 仅作用于首页，不影响全局主题色/毛玻璃
 */

/* 去掉首页主栏整块白底，露出壁纸/网格底纹 */
.joe_index {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.joe_index__title.joe-home-list-title,
.joe_index__list {
  background: transparent;
}

/* ---------- 顶部大图 HeaderImg ---------- */
.joe_index .custom-headerimg {
  margin-bottom: 15px;
}

.joe_index .custom-headerimg .HeaderImg {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: var(--radius-wrap, 8px);
  background: #1c1f21;
}

.joe_index .custom-headerimg .HeaderImg > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.joe_index .custom-headerimg .HeaderImg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.joe_index .custom-headerimg .HeaderImg .infomation {
  position: relative;
  z-index: 2;
  line-height: 1.6;
  padding: 0 16px;
  text-align: center;
}

.joe_index .custom-headerimg .HeaderImg .infomation .title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2em;
  text-shadow: 0 3px 8px rgba(28, 31, 33, 0.55);
}

.joe_index .custom-headerimg .HeaderImg .infomation .desctitle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f3f3f3;
  font-size: 14px;
  margin-top: 6px;
  text-shadow: 0 2px 6px rgba(28, 31, 33, 0.5);
}

.joe_index .custom-headerimg .HeaderImg .HeaderImg_bottom {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 3;
  line-height: 0;
}

.joe_index .custom-headerimg .HeaderImg .HeaderImg_bottom .waves-svg {
  width: 100%;
  height: 42px;
  display: block;
}

.joe_index .custom-headerimg .HeaderImg .HeaderImg_bottom .waves-svg .parallax > use {
  animation: joe-home-wave 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.joe_index .custom-headerimg .HeaderImg .HeaderImg_bottom .waves-svg .parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
  fill: rgba(255, 255, 255, 0.45);
}

.joe_index .custom-headerimg .HeaderImg .HeaderImg_bottom .waves-svg .parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
  fill: rgba(255, 255, 255, 0.7);
}

.joe_index .custom-headerimg .HeaderImg .HeaderImg_bottom .waves-svg .parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
  fill: rgba(255, 255, 255, 0.85);
}

.joe_index .custom-headerimg .HeaderImg .HeaderImg_bottom .waves-svg .parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
  fill: var(--background, #fff);
}

@keyframes joe-home-wave {
  0% { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}

@media (min-width: 768px) {
  .joe_index .custom-headerimg .HeaderImg {
    height: 300px;
  }

  .joe_index .custom-headerimg .HeaderImg .infomation .title {
    font-size: 32px;
  }

  .joe_index .custom-headerimg .HeaderImg .infomation .desctitle {
    font-size: 15px;
  }
}

html[data-night="night"] .joe_index .custom-headerimg .HeaderImg .HeaderImg_bottom .waves-svg .parallax > use:nth-child(4) {
  fill: var(--background, #232323);
}

/* ---------- 热门文章：卡片网格 ---------- */
.joe_index__hot.mb25 {
  margin-bottom: 15px;
}

.joe_index__hot-list.joe-home-hot-cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.joe_index__hot-list.joe-home-hot-cards > .item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--background);
  border-radius: var(--radius-wrap, 8px);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px -4px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition:
    transform 0.22s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.22s cubic-bezier(0.2, 0, 0, 1),
    border-color 0.22s cubic-bezier(0.2, 0, 0, 1);
}

.joe_index__hot-list.joe-home-hot-cards > .item:hover {
  transform: translate3d(0, -2px, 0) !important;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 12px 24px -8px rgba(15, 23, 42, 0.14);
  border-color: rgba(15, 23, 42, 0.12);
}

.joe_index__hot-list.joe-home-hot-cards .link .inner .image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1), opacity 0.22s ease;
}

.joe_index__hot-list.joe-home-hot-cards .item:hover .image {
  opacity: 1;
  transform: scale(1.04);
}

.joe_index__hot-list.joe-home-hot-cards .link {
  display: block;
}

.joe_index__hot-list.joe-home-hot-cards .link .inner {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.joe_index__hot-list.joe-home-hot-cards .link .inner .type {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 2px 8px;
  font-size: 12px;
  color: #fff;
  border-radius: 2px;
  background-image: linear-gradient(270deg, #986fee, #8695e6, #68b7dd, #18d7d3);
  user-select: none;
}

.joe_index__hot-list.joe-home-hot-cards .item-body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.joe_index__hot-list.joe-home-hot-cards .item-heading {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.joe_index__hot-list.joe-home-hot-cards .item-heading a {
  color: var(--main);
  font-weight: 700;
  transition: color 0.2s;
}

.joe_index__hot-list.joe-home-hot-cards .item-heading a:hover {
  color: var(--theme);
}

.joe_index__hot-list.joe-home-hot-cards .item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
  max-height: 46px;
  overflow: hidden;
}

.joe_index__hot-list.joe-home-hot-cards .item-tags a {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--minor);
  background: var(--classD);
  text-decoration: none;
  white-space: nowrap;
}

.joe_index__hot-list.joe-home-hot-cards .item-tags a.but-cat {
  color: #fff;
  background: var(--theme);
}

.joe_index__hot-list.joe-home-hot-cards .item-tags a:hover {
  color: #fff;
  background: var(--theme);
}

.joe_index__hot-list.joe-home-hot-cards .item-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--minor);
  font-size: 12px;
}

.joe_index__hot-list.joe-home-hot-cards .item-meta .views {
  white-space: nowrap;
}

@media (max-width: 992px) {
  .joe_index__hot-list.joe-home-hot-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .joe_index__hot-list.joe-home-hot-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .joe_index__hot-list.joe-home-hot-cards .link .inner .image {
    height: 20vw;
  }

  .joe_index__hot-list.joe-home-hot-cards .item-body {
    padding: 6px;
  }

  .joe_index__hot-list.joe-home-hot-cards .item-heading {
    font-size: 12px;
    height: 2.5em;
  }

  .joe_index__hot-list.joe-home-hot-cards .item-tags,
  .joe_index__hot-list.joe-home-hot-cards .item-meta {
    display: none;
  }

  .joe_index .custom-headerimg .HeaderImg {
    height: 180px;
    border-radius: 6px;
  }

  .joe_index .custom-headerimg .HeaderImg .infomation .title {
    font-size: 22px;
    letter-spacing: 0.12em;
  }
}

/* ---------- 文章列表：浅染卡片布局 ---------- */
.joe_index__title.joe-home-list-title {
  padding: 4px 2px 12px;
  margin-bottom: 4px;
  border-bottom: none;
}

.joe_index__title.joe-home-list-title .joe_index__title-title .item.active {
  color: var(--theme);
  font-weight: 700;
}

.joe_index__title.joe-home-list-title .joe_index__title-title .item.active::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1em;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--theme);
  vertical-align: -0.12em;
}

.joe_index__title.joe-home-list-title .joe_index__title-title .line {
  display: none;
}

.joe_index__list .joe_list {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---------- 双层舞台：交叉淡入淡出 + 高度缓动 ---------- */
.joe_index__list.joe-home-stage {
  position: relative;
}

.joe_index__list.joe-home-stage.is-busy {
  pointer-events: none;
}

.joe_index__list.joe-home-stage.is-pending .joe-home-layer.is-active[data-layer="content"] {
  opacity: 0.42;
  filter: saturate(0.85);
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.joe_index__list.joe-home-stage .joe-home-stage__viewport {
  position: relative;
  width: 100%;
  overflow: visible;
}

.joe_index__list.joe-home-stage .joe-home-layer {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 1;
  transform: none;
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.joe_index__list.joe-home-stage .joe-home-layer.is-off {
  display: none !important;
}

/* 测量 / 预备：在流中但不可见，用于算高度 */
.joe_index__list.joe-home-stage .joe-home-layer.is-prep {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex !important;
  opacity: 0;
  z-index: 0;
}

/* 离场层（含幽灵克隆） */
.joe_index__list.joe-home-stage .joe-home-layer.is-leave,
.joe_index__list.joe-home-stage .joe-home-ghost.is-leave {
  position: absolute !important;
  left: 0;
  right: 0;
  top: 0;
  display: flex !important;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* 稳定态：可见 */
.joe_index__list.joe-home-stage .joe-home-layer.is-active {
  position: relative;
  z-index: 2;
  opacity: 1;
}

/* 进场起点：先透明，再加 is-show 淡入 */
.joe_index__list.joe-home-stage .joe-home-layer.is-active.is-from {
  opacity: 0;
}

.joe_index__list.joe-home-stage .joe-home-layer.is-active.is-from.is-show {
  opacity: 1;
}

.joe_index__list.joe-home-stage .joe-home-ghost {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  margin: 0;
  pointer-events: none;
}

.joe_index__list .joe-home-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--minor, #94a3b8);
  background: var(--background, #fff);
  border-radius: 12px;
  border: 1px dashed rgba(15, 23, 42, 0.08);
  list-style: none;
}

.joe_index__list .joe_list__item.joe-home-card {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 16px;
  margin: 0;
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  background: var(--background);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px -4px rgba(15, 23, 42, 0.08);
  transition:
    box-shadow 0.22s cubic-bezier(0.2, 0, 0, 1),
    border-color 0.22s cubic-bezier(0.2, 0, 0, 1);
}

.joe_index__list .joe_list__item.joe-home-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--theme);
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(0.2, 0, 0, 1);
  z-index: 2;
  pointer-events: none;
}

.joe_index__list .joe_list__item.joe-home-card:last-child {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.joe_index__list .joe_list__item.joe-home-card:hover {
  transform: translate3d(0, -2px, 0);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 12px 24px -8px rgba(15, 23, 42, 0.14);
}

.joe_index__list .joe_list__item.joe-home-card:hover::before {
  opacity: 1;
}

html[data-night="night"] .joe_index__list .joe_list__item.joe-home-card {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 4px 14px -6px rgba(0, 0, 0, 0.4);
}

html[data-night="night"] .joe_index__list .joe_list__item.joe-home-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.25),
    0 14px 28px -10px rgba(0, 0, 0, 0.55);
}

.joe_index__list .joe_list__item.joe-home-card .line,
.joe_index__list .joe_list__item.joe-home-card .thumbnail time,
.joe_index__list .joe_list__item.joe-home-card .thumbnail svg {
  display: none !important;
}

.joe_index__list .joe_list__item.joe-home-card .thumbnail {
  position: relative;
  flex: 0 0 220px;
  width: 220px;
  height: 140px;
  aspect-ratio: 11 / 7;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--classD);
  contain: layout paint;
}

.joe_index__list .joe_list__item.joe-home-card .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1);
}

.joe_index__list .joe_list__item.joe-home-card:hover .thumbnail img {
  transform: scale(1.04);
  opacity: 1;
}

/* 列表动画（WOW + animate.css）播放期间，避免 transition/hover 抢 transform */
.joe_index__list .joe_list__item.joe-home-card.wow {
  will-change: transform;
}

.joe_index__list .joe_list__item.joe-home-card.wow.animated {
  transition:
    border-color 0.22s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.22s cubic-bezier(0.2, 0, 0, 1);
}

.joe_index__list .joe_list__item.joe-home-card .information {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  padding: 2px 0;
}

.joe_index__list .joe_list__item.joe-home-card .information .title {
  display: block;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--main);
  max-height: none;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.joe_index__list .joe_list__item.joe-home-card:hover .information .title,
.joe_index__list .joe_list__item.joe-home-card .information .title:hover {
  color: var(--theme) !important;
}

.joe_index__list .joe_list__item.joe-home-card .information .title .badge {
  display: inline-block;
  margin-right: 6px;
  padding: 0 8px;
  height: 20px;
  line-height: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  border-radius: 4px;
  background-image: linear-gradient(90deg, #3ca5f6, #a86af9);
  vertical-align: 2px;
}

.joe_index__list .joe_list__item.joe-home-card .information .abstract {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--minor);
}

.joe_index__list .joe_list__item.joe-home-card .meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 10px;
  width: 100%;
}

.joe_index__list .joe_list__item.joe-home-card .item-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
}

.joe_index__list .joe_list__item.joe-home-card .item-tags .but {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.joe_index__list .joe_list__item.joe-home-card .item-tags .but-cat {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
}

.joe_index__list .joe_list__item.joe-home-card .item-tags .but-tag {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.12);
}

.joe_index__list .joe_list__item.joe-home-card .item-tags .but:hover {
  color: #fff;
  background: var(--theme);
}

.joe_index__list .joe_list__item.joe-home-card .item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  font-size: 12px;
  color: var(--minor);
}

.joe_index__list .joe_list__item.joe-home-card .meta-author {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.joe_index__list .joe_list__item.joe-home-card .avatar-mini {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  overflow: hidden;
}

.joe_index__list .joe_list__item.joe-home-card .avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.joe_index__list .joe_list__item.joe-home-card .author-name {
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.joe_index__list .joe_list__item.joe-home-card .date-short::before {
  content: "·";
  margin-right: 6px;
  opacity: 0.5;
}

.joe_index__list .joe_list__item.joe-home-card .meta-right {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.joe_index__list .joe_list__item.joe-home-card .meta-right .fa {
  margin-right: 4px;
  opacity: 0.75;
}

@media (max-width: 768px) {
  .joe_index__list .joe_list {
    gap: 10px;
  }

  .joe_index__list .joe_list__item.joe-home-card {
    gap: 12px;
    padding: 12px;
  }

  .joe_index__list .joe_list__item.joe-home-card .thumbnail {
    flex-basis: 112px;
    width: 112px;
    height: 86px;
    border-radius: 10px;
  }

  .joe_index__list .joe_list__item.joe-home-card .information .title {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .joe_index__list .joe_list__item.joe-home-card .information .abstract {
    -webkit-line-clamp: 1;
    margin-bottom: 6px;
    font-size: 12px;
  }

  .joe_index__list .joe_list__item.joe-home-card .author-name {
    display: none;
  }

  .joe_index__list .joe_list__item.joe-home-card .meta-right {
    gap: 8px;
  }
}

/* ---------- 首页数字分页（居中） ---------- */
.joe_index .joe-home-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  padding: 12px 0 4px;
  background: transparent;
  box-shadow: none;
}

.joe_index .joe-home-pagination li {
  margin: 0;
  list-style: none;
}

.joe_index .joe-home-pagination li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--background);
  color: var(--main);
  box-shadow: var(--box-shadow);
  transition: background 0.2s, color 0.2s;
}

.joe_index .joe-home-pagination li.active a {
  background: var(--theme);
  color: #fff;
  font-weight: 600;
}

.joe_index .joe-home-pagination li a:hover {
  background: var(--theme);
  color: #fff;
}

.joe_index .joe-home-pagination li.ellipsis a {
  background: transparent;
  box-shadow: none;
  cursor: default;
  color: var(--minor);
  min-width: auto;
  padding: 0 4px;
}

.joe_index .joe-home-pagination li.ellipsis a:hover {
  background: transparent;
  color: var(--minor);
}

.joe_index .joe-home-pagination li.next a .fa {
  margin-left: 4px;
}

.joe_index .joe-home-pagination li.prev a .fa {
  margin-right: 4px;
}

.joe_index .joe-home-pagination .ml6 {
  margin-left: 6px;
}

.joe_index .joe-home-pagination .mr6 {
  margin-right: 6px;
}

/* ---------- 首页列表骨架屏（匹配卡片布局） ---------- */
@keyframes joe-home-skel-shine {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.joe_index__list .joe_list__loading.joe-home-skel {
  /* 由 .joe-home-layer 接管布局；此处只保留骨架视觉 */
  will-change: opacity;
}

.joe_index__list .joe_list__loading.joe-home-skel[hidden],
.joe_index__list .joe_list__loading.joe-home-skel.is-hidden {
  /* 兼容旧类名；实际显隐用 is-off */
}

.joe_index__list .joe-home-skel__item {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 16px;
  margin: 0;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  background: var(--background, #fff);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px -4px rgba(15, 23, 42, 0.08);
}

.joe_index__list .joe-home-skel__shine {
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.16) 0%,
    rgba(148, 163, 184, 0.28) 40%,
    rgba(148, 163, 184, 0.16) 80%
  );
  background-size: 200% 100%;
  animation: joe-home-skel-shine 1.35s ease-in-out infinite;
}

.joe_index__list .joe-home-skel__thumb {
  flex: 0 0 220px;
  width: 220px;
  height: 140px;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.16) 0%,
    rgba(148, 163, 184, 0.28) 40%,
    rgba(148, 163, 184, 0.16) 80%
  );
  background-size: 200% 100%;
  animation: joe-home-skel-shine 1.35s ease-in-out infinite;
}

.joe_index__list .joe-home-skel__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.joe_index__list .joe-home-skel__title,
.joe_index__list .joe-home-skel__line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.16) 0%,
    rgba(148, 163, 184, 0.28) 40%,
    rgba(148, 163, 184, 0.16) 80%
  );
  background-size: 200% 100%;
  animation: joe-home-skel-shine 1.35s ease-in-out infinite;
}

.joe_index__list .joe-home-skel__title {
  width: 68%;
  height: 18px;
}

.joe_index__list .joe-home-skel__line {
  width: 92%;
}

.joe_index__list .joe-home-skel__line.short {
  width: 58%;
}

.joe_index__list .joe-home-skel__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.joe_index__list .joe-home-skel__pill {
  display: inline-block;
  width: 64px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.14) 0%,
    rgba(148, 163, 184, 0.26) 40%,
    rgba(148, 163, 184, 0.14) 80%
  );
  background-size: 200% 100%;
  animation: joe-home-skel-shine 1.35s ease-in-out infinite;
}

.joe_index__list .joe-home-skel__pill.thin {
  width: 44px;
  margin-left: auto;
}

html[data-night="night"] .joe_index__list .joe-home-skel__item {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 4px 14px -6px rgba(0, 0, 0, 0.4);
}

html[data-night="night"] .joe_index__list .joe-home-skel__thumb,
html[data-night="night"] .joe_index__list .joe-home-skel__title,
html[data-night="night"] .joe_index__list .joe-home-skel__line,
html[data-night="night"] .joe_index__list .joe-home-skel__pill {
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.1) 0%,
    rgba(148, 163, 184, 0.22) 40%,
    rgba(148, 163, 184, 0.1) 80%
  );
  background-size: 200% 100%;
}

/* 列表卡片入场（已由舞台层统一过渡，卡片不再单独跳动） */
.joe_index__list .joe_list__item.joe-home-card.is-enter {
  animation: none;
}

.joe_index .joe-home-pagination {
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.joe_index .joe-home-pagination.is-busy {
  opacity: 0.42;
  pointer-events: none;
}

.joe_index .joe-home-pagination li a {
  transition:
    background 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.joe_index .joe-home-pagination li.active a {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .joe_index__list .joe-home-skel__item {
    flex-direction: column;
    gap: 12px;
  }

  .joe_index__list .joe-home-skel__thumb {
    flex: none;
    width: 100%;
    height: 160px;
  }
}

@media (max-width: 576px) {
  .joe_index .joe-home-pagination .hide-sm {
    display: none;
  }
}

/* 无障碍：减少动态时仅保留边框/阴影反馈 */
@media (prefers-reduced-motion: reduce) {
  .joe_index__list .joe_list__item.joe-home-card,
  .joe_index__list .joe_list__item.joe-home-card .thumbnail img,
  .joe_index__hot-list.joe-home-hot-cards > .item,
  .joe_index__hot-list.joe-home-hot-cards .link .inner .image {
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      color 0.2s ease !important;
  }

  .joe_index__list .joe_list__item.joe-home-card:hover,
  .joe_index__hot-list.joe-home-hot-cards > .item:hover {
    transform: none !important;
  }

  .joe_index__list .joe_list__item.joe-home-card:hover .thumbnail img,
  .joe_index__hot-list.joe-home-hot-cards .item:hover .image {
    transform: none !important;
  }

  .joe_index__list .joe-home-skel__thumb,
  .joe_index__list .joe-home-skel__title,
  .joe_index__list .joe-home-skel__line,
  .joe_index__list .joe-home-skel__pill,
  .joe_index__list.joe-home-stage .joe-home-layer {
    animation: none !important;
    transition: none !important;
  }
}
