.lf-slide-bullet {
  margin: 0px 4px;
  width: 20px;
  background-color: #838383;
  height: 2px;
  display: inline-block;
}

.swiper-pagination {
  width: auto !important;
  margin-left: 10px;
}

.all-swiper-slide-block-big {
  position: fixed;
  bottom: 0;
  padding: 10px;
  z-index: 99999;
  backdrop-filter: saturate(100%) blur(5px);
  background-color: hsl(0deg 0% 100% / 50%) !important;
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.all-swiper-slide-block-big h2 {
  text-align: right;
  width: 75%;
  font-size: 20px;
  max-height: 25px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.all-swiper-slide-block-big p {
  font-size: 12px;
  max-height: 50px;
  overflow: hidden;
}

/*第一个幻灯片*/
.home-slide-first {
  display: flex;
}

.first-swiper-big {
  width: 40%;
  height: 325px;
}

.first-swiper-small {
  width: 60%;
  height: 325px;
}

.first-swiper-slide-block-small {
  flex-direction: column;
  position: fixed;
  top: 30%;
  padding: 5px;
  z-index: 99999;
  backdrop-filter: saturate(100%) blur(5px);
  background-color: hsl(0deg 0% 100% / 50%) !important;
  height: 60px;
  width: 90%;
  display: flex;
  justify-content: flex-start;
}

.right-entry-slide {
  width: 38%;
}

.left-entry-slide {
  width: 60%;
}

.left-entry-slide {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.slide-block-icon,
.slide-user-entry {
  display: flex;
}

.slide-swiper-wrapper img {
  width: 40px;
  border-radius: 100%;
  margin-right: 10px;
}

.slide-swiper-wrapper span {
  font-size: 14px;
}

.right-entry-slide .slide-classify-entry {
  font-size: 14px;
  margin-top: 5px;
}

.right-entry-slide .slide-classify-entry::before {
  content: "";
  padding: 0px 1px;
  margin-right: 5px;
  background-color: aqua;
}

.right-entry-slide .slide-tag-entry {
  font-size: 12px;
  margin-top: 10px;
}

.slide-block-icon span {
  font-size: 10px;
  display: flex;
  margin-top: 5px;
  align-items: center;
  margin-right: 5px;
}

.slide-block-icon span i {
  margin-right: 2px;
}

.slide-tag-entry span {
  padding: 2px 5px;
  border-radius: var(--radius);
  background-color: #ff8383;
}

.first-swiper-slide-block-small h2::before {
  content: "";
  padding: 0px 1px;
  margin-right: 5px;
  background-color: aqua;
}

.first-swiper-slide-block-small h2 {
  font-size: 14px;
  width: 80%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  max-height: 20px;
}

.first-swiper-slide-block-small p {
  font-size: 12px;
  width: 100%;
  height: 30px;
  margin-top: 5px;
  text-overflow: ellipsis;
  overflow: hidden;
}

/*第二个幻灯片*/
.home-slide-second {
  height: 425px;
}

.second-slide-button-wrapper {
  display: flex;
  position: absolute;
  bottom: 20px;
  right: 0;
  z-index: 10;
  justify-content: flex-end;
  margin-right: 50px;
}

.lf-button-next,
.lf-button-prev {
  border-radius: var(--radius);
  display: flex;
  text-align: center;
  height: 35px;
  width: 35px;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0px 10px;
}

.lf-button-next>i,
.lf-button-prev>i {
  width: 100%;
  font-size: 25px;
  color: white;
}

.second-swiper-slide-blcok {
  position: absolute;
  width: 100%;
  background-color: rgb(78 94 126);
  bottom: 0px;
  height: 1270px;
  -webkit-mask-image: linear-gradient(0, white 11%, transparent 20%);
}

.second-swiper-slide-blcok>h2 {
  position: absolute;
  bottom: 100px;
  left: 20px;
}

/*第三种*/
.ceshi1 {
  display: flex;
  flex-direction: row;
}

.third-slide-top-content-block>div {
  display: flex;
  justify-content: space-around;
}

.third-slide-top {
  height: 460px;
  text-align: center;
  margin-bottom: 50px;
}

.third-slide-top img {
  width: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  min-width: 320px;
}

.third-slide-bottom>div>div {
  width: auto !important;
}

.third-slide-bottom img {
  width: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.third-slide-top-picture-block {
  flex: 0 0 60%;
  position: relative;
  text-align: -webkit-center;
}

.third-slide-top-block {
  flex: 0 0 40%;
}

.third-slide-top-picture-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  z-index: 0;
}

.third-slide-block-content-big {
  float: left;
  width: 60%;
  height: 40%;
  position: relative;
  margin: 10px 20px;
  border-radius: var(--radius);
}

.third-slide-block-content-big img {
  width: 10px;
  border-radius: 100%;
  min-width: 50px;
  position: absolute;
  left: -20px;
  top: -20px;
}

.third-slide-user-main-wrapper {
  margin: 0px 10%;
  height: 80%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-evenly;
}

.third-slide-user-main-block>.third-slide-classify-entry {
  font-size: 20px;
}

.third-slide-user-main-block {
  margin-bottom: 10px;
}

.third-slide-user-main-block::before {
  content: "";
  padding: 40px 2px;
  position: absolute;
  right: 10px;
  top: 0px;
  background-color: #4caf50;
}

.third-slide-block-icon {
  margin-top: 10px;
}

.third-slide-block-icon>span {
  margin: 0px 5px;
  font-size: 14px;
}

.third-slide-tag-entry {
  display: flex;
  flex-direction: row;
  white-space: nowrap;
  width: 80%;
  overflow-y: hidden;
  align-items: center;
}

.third-slide-tag-entry>span {
  font-size: 14px;
  padding: 2px 12px;
  margin: 0px 5px;
  background-color: #4caf50;
  border-radius: var(--radius);
}

.third-slide-block-content-small {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.third-slide-block-content-small h2 {
  color: #444141;
  padding: 20px;
  background: #ffffff82;
  border-radius: var(--radius);
  backdrop-filter: blur(5px);
  font-size: 15px;
  max-height: 20px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.third-slide-top-block>* {
  text-align: left;
}

.third-slide-top-block>h1 {
  margin-left: 45px;
  max-height: 84px;
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
}

.third-slide-top-block>p {
  margin-left: 80px;
  margin-top: 20px;
}

/*第四种幻灯片样式*/
.four-slide-left {
  width: 20%;
}

.four-slide-right {
  width: 70%;
}

.four-swiper-slide-block-small {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.four-slide-blcok-content {
  display: flex;
}

.four-swiper-slide-content-small {
  width: 80%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: saturate(200%) blur(30px);
  background-color: hsl(0deg 0% 100% / 50%);
  overflow: hidden;
}

/*第五种幻灯片样式*/
.five-slide-block-wrapper {
  display: flex;
  height: 360px;
}

.five-slide-left {
  width: 39%;
}

.five-slide-centre {
  width: 39%;
}

.five-slide-centre .swiper-slide {
  overflow: hidden;
}

.five-slide-right {
  width: 20%;
}

.five-slide-content-block {
  padding: 10px;
  position: absolute;
  background: rgb(0 0 0 / 60%);
  width: 100%;
  display: flex;
  transition: all 1s;
  height: 100%;
  backdrop-filter: saturate(100%) blur(1px);
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: space-between;
}

.lf_slide_up {
  top: 0% !important;
}

.lf_slide_down {
  top: 83% !important;
}

.five-slide-text-wrapper p {
  color: white;
  height: 40px;
  font-size: 14px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.five-slide-wrapper-first {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.five-slide-wrapper-first-left {
  display: flex;
  align-items: flex-end;
}

.five-slide-wrapper-first img {
  max-width: 32px;
  max-height: 32px;
  object-fit: cover;
}

.five-slide-wrapper-first span {
  color: white;
  margin-left: 5px;
}

.five-slide-wrapper-first div {
  color: white;
}

.five-slide-wrapper-first-right::after {
  content: "";
  background-color: #4caf50;
  padding: 5px 2px;
  margin-left: 3px;
}

.five-slide-wrapper-second {
  display: flex;
  margin-top: 5px;
}

.five-slide-wrapper-second span {
  font-size: 12px;
  color: white;
  margin: 0px 2px;
  display: flex;
  align-items: center;
}

.five-slide-wrapper-third {
  display: flex;
  margin-top: 10px;
  color: white;
}

.five-slide-wrapper-third span {
  margin: 0px 2px;
  color: white;
  font-size: 10px;
  padding: 5px;
  border-radius: var(--radius);
  background-color: #315dcf;
}

/*第六种幻灯片样式*/

.six-slide-block-wrapper {
  display: flex;
  height: 364px;
}

.six-slide-right-block-wrapper {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.six-slide-left {
  width: 44%;
  margin-right: 10px;
}

.six-slide-top-right {
  height: 48%;
  width: 100%;
  margin-bottom: 10px;
  display: flex;
}

.six-slide-top-right .swiper-wrapper .swiper-slide:nth-child(1) {
  width: 66%;
  height: 100%;
  margin-right: 10px;
  overflow: hidden;
}

.six-slide-top-right .swiper-wrapper .swiper-slide:nth-child(2) {
  width: 33%;
  height: 100%;
  overflow: hidden;
}

.six-slide-bottom-right {
  width: 100%;
  height: 50%;
}

/*第七种幻灯片*/
.sliders-7 {
  overflow: hidden;
}

.seven-slide {
  overflow: visible !important;
}

.seven-slide-all-wd {
  min-width: 420px;
  width: calc((var(--wrapper-width) + 60px) / 3);
}

.seven-slide .swiper-wrapper .swiper-slide {
  display: flex;
}

.seven-slide .swiper-wrapper .swiper-slide img {
  border: solid 0.5px white;
  border-radius: 0 !important;
}

.seven-slide-all-content {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.seven-slide-all-content>h2 {
  width: 80%;
  text-align: center;
}

.seven-slide-all-block-big,
.seven-slide-all-block-small {
  position: relative;
}

.seven-slide-all-block-big {
  width: 280px;
  height: 280px;
}

.seven-slide-all-block-small {
  width: 140px;
  height: 140px;
}

/*
  =============================================================================
    首页焦点图模块 · 幻灯片样式（反转交互版：默认图像，hover 显示信息）
    ✨ 配色优化要点：
      - 统一用站点变量：主色=粉（--theme-color / --pink-500）、辅助=天空蓝（--theme-color-accent / --sky-500）
      - 叠加层文字与描边使用“冷白”与浅蓝光，保持可读性与糖感
      - 阴影、渐变、边框均用 color-mix 与变量生成，避免纯 #fff 生硬发光
  =============================================================================
*/

/* ========== [A] 基础容器与设计变量 ========== */

.focus-slide.slide-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius, 8px);
}

/* 局部覆盖用到的配色变量（可按需调整） */
.focus-slide {
  --overlay-text: #f8fbff;
  /* 冷白文字，比纯白柔和 */
  --overlay-text-dim: color-mix(in srgb, var(--overlay-text) 78%, transparent);
  --overlay-stroke: color-mix(in srgb, var(--theme-color-accent, #3FA2FF) 52%, transparent);
  --overlay-shadow: color-mix(in srgb, #000 18%, var(--theme-color-accent, #3FA2FF) 8%);
  --overlay-shadow-strong: color-mix(in srgb, #000 26%, var(--theme-color, #F64E90) 10%);

  /* 信息层背景柔光渐变（顶部轻、底部略深，增强可读性） */
  --overlay-grad-top: color-mix(in srgb, #000 20%, var(--sky-700, #0C76CC) 12%);
  --overlay-grad-bottom: color-mix(in srgb, #000 38%, var(--theme-color, #F64E90) 18%);

  /* 标签/徽章底色（偏粉） */
  --tag-bg: var(--pink-400, #FF6A9F);
  --tag-bg-hover: var(--pink-500, #F64E90);

  /* 分隔线与边框（冷灰） */
  --divider: var(--gray-200, #E4E8EE);

  /* 缩略图“进度环”主色（粉）与轨道色（冷白） */
  --ring-main: var(--theme-back, var(--pink-500, #F64E90));
  --ring-track: color-mix(in srgb, var(--overlay-text) 28%, transparent);
}

/* ========== [B] 背景层（整幅大图） ========== */

.focus-slide .slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  border-radius: var(--radius, 8px);
}

.focus-slide .slide-bg a {
  position: absolute;
  inset: 0;
  display: block;
  /* 链接覆盖整个容器，便于点击跳转 */
}

.focus-slide .slide-bg .thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* 默认清晰；hover 时模糊以凸显信息层 */
  filter: none;
  transition: filter .25s ease;
}

/* hover 背景模糊，仅桌面端更明显 */
.focus-slide:hover .slide-bg .thumbnail {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 10%, rgba(0, 0, 0, 0) 80%);

}

/* 顶部叠加一层冷色渐变，避免纯白文字“漂” */
.focus-slide .slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      color-mix(in srgb, var(--overlay-grad-top) 0%, transparent) 0%,
      color-mix(in srgb, var(--overlay-grad-top) 70%, transparent) 35%,
      color-mix(in srgb, var(--overlay-grad-bottom) 90%, transparent) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 2;
}

.focus-slide:hover .slide-bg::after {
  opacity: 1;
}

/* ========== [C] 顶部内容层（信息 + 缩略图） ========== */

.focus-slide .slide-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  padding: 28px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3;

  /* 文字改为冷白，配合浅蓝/粉阴影提升可读性 */
  color: var(--overlay-text);
  opacity: 1;
  transition: opacity .25s ease, visibility .25s ease;
}

/* ========== [D] 信息区（标题/描述/Meta/Tag/统计） ========== */

.focus-slide .slide-infor {
  font-size: 14px;
  line-height: 1.6;
  text-shadow:
    0 1px 2px var(--overlay-shadow),
    0 3px 10px var(--overlay-shadow-strong);
  height: -webkit-fill-available;
  transition: opacity .25s ease, visibility .25s ease;
  /* 反转：默认隐藏并不可点 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.focus-slide .slide-infor.swiper {
  position: relative;
  overflow: hidden;
  max-width: 32em;
  z-index: 3;
  /* 给信息区一个极浅的“磨砂”底，进一步提升可读性 */
  backdrop-filter: saturate(1.05) blur(2px);
}

.focus-slide .slide-infor header .title {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--overlay-text);
  text-shadow:
    0 1px 2px var(--overlay-shadow),
    0 6px 18px var(--overlay-shadow-strong),
    0 18px 36px color-mix(in srgb, #000 22%, var(--theme-color, #F64E90) 12%);
}

.focus-slide .slide-infor header .subtitle {
  font-size: var(--font-size-md, 16px);
  color: var(--overlay-text-dim);
  text-shadow:
    0 1px 2px var(--overlay-shadow),
    0 3px 8px var(--overlay-shadow-strong);
  margin: 4px 0 0 0;
}

.focus-slide .slide-infor .desc {
  font-size: var(--font-size-sm, 16px);
  color: var(--overlay-text);
  line-height: 1.8;
  text-shadow:
    0 1px 2px var(--overlay-shadow),
    0 3px 8px var(--overlay-shadow-strong);
  margin-top: 6px;
  max-width: 70%;
  display: flex;
  flex-direction: column;
}

/* 外层矩形包裹区 */
.focus-slide .slide-meta-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  margin-top: 10px;
  width: fit-content;
  background-color:
    color-mix(in srgb, #ffffff75 65%, transparent);
  border-radius: var(--radius);
}


.focus-slide .slide-infor section.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 12px;
  margin-top: 5px;
  color: var(--overlay-text);
}

.focus-slide .slide-infor section.meta .user a {
  color: var(--overlay-text);
  border-bottom: 1px dotted color-mix(in srgb, var(--overlay-text) 40%, transparent);
  text-underline-offset: 2px;
}

.focus-slide .slide-infor section.meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
}

.focus-slide .slide-infor .categorys.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.focus-slide .slide-infor .category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: calc(var(--font-size-sm) - 4px);
  font-weight: 600;
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius);
  background-color: color-mix(in srgb, var(--sky-500) 92%, #000 8%);
  /* 柔和蓝底 */
  box-shadow: 0 2px 8px var(--overlay-shadow);
  transition: background-color .2s ease, transform .2s ease;
}

.focus-slide .slide-infor .category:hover {
  background-color: var(--sky-600);
  transform: translateY(-1px);
}


.focus-slide .slide-infor .tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius);
  background-color: color-mix(in srgb, var(--tag-bg) 92%, #000 8%);
  color: #fff;
  box-shadow: 0 2px 8px var(--overlay-shadow);
  transition: background-color .2s ease, transform .2s ease;
}

.focus-slide .slide-infor .tag:hover {
  background-color: color-mix(in srgb, var(--tag-bg-hover) 96%, #000 4%);
  transform: translateY(-1px);
}

.focus-slide .slide-infor .category a,
.focus-slide .slide-infor .tag a {
  display: flex;
  color: #fff;
  text-decoration: none;
}


.align-right .swiper-wrapper {
  justify-content: flex-end !important;
}

.align-right .swiper-slide:last-child {
  margin-right: 10 !important;
}

/* ========== [E] 缩略图区（右下角） ========== */

.focus-slide .slide-img.swiper {
  flex: 1;
  min-height: 0;
  overflow: visible;
  position: absolute;
  max-width: 75%;
  width: min-content;
  right: 20px;
  bottom: 10px;
  /* 任何状态都需要可点，因此单独强制可交互 */
  pointer-events: auto;
  z-index: 4;
}

.focus-slide .slide-img .swiper-wrapper {
  align-items: stretch;
  padding: 10px;
  width: max-content;
}

.focus-slide .slide-img .swiper-slide {
  height: -webkit-fill-available;
  cursor: pointer;
  position: relative;
}

.focus-slide .slide-img .thumbnail {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px var(--overlay-shadow);
  transition: transform .15s cubic-bezier(.22, .61, .36, 1), box-shadow .2s ease, filter .2s ease;
  filter: saturate(0.98) contrast(1.02);
}

.focus-slide .slide-img .swiper-slide:hover .thumbnail {
  transform: scale(1.02);
  box-shadow: 0 10px 28px var(--overlay-shadow-strong);
  filter: saturate(1.02) contrast(1.03);
}

@media (hover: hover) and (pointer: fine) {
  .focus-slide .slide-img .swiper-slide {
    width: 125px !important;
    /* 固定宽度 */
    height: 70px !important;
    /* 固定高度 */
    flex: 0 0 auto;
    /* 防止被拉伸/压缩 */
  }

  .focus-slide .slide-img .thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保持裁切充满 */
    border-radius: var(--radius);
  }
}

/* ========== [F] 桌面端交互（反转逻辑核心） ========== */

@media (hover: hover) and (pointer: fine) {

  /* hover 时：显示信息层并可交互；容器不再穿透 */
  .focus-slide:hover .slide-content {
    pointer-events: auto;
  }

  .focus-slide:hover .slide-infor {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* 可访问性：键盘/聚焦时与 hover 一致 */
  .focus-slide:focus-within .slide-content {
    pointer-events: auto;
  }

  .focus-slide:focus-within .slide-infor {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* ========== [F+] 触屏设备（去模糊 / 布局微调） ========== */

@media (hover: none),
(pointer: coarse) {
  .focus-slide .slide-bg .thumbnail {
    filter: none !important;
    /* 触屏设备保持清晰 */
  }
}

/* 手机端（<=767px） */
@media screen and (max-width: 767px) {
  .focus-slide .slide-content {
    pointer-events: none;
    /* 允许点击穿透到背景链接 */
  }

  /* 缩略图区仍要允许点击切换 */
  .focus-slide .slide-content .slide-img {
    pointer-events: auto;
  }

  /* 手机端保持简洁：信息层隐藏 */
  .focus-slide .slide-infor {
    display: none;
  }

  /* 可选：手机端保持轻微虚化也关闭 */
  .focus-slide .slide-bg .thumbnail {
    filter: none !important;
  }
}

/* ========== [F2] 移动端：缩略图折叠/激活上推展开（纯 CSS，无变量版） ========== */
@media screen and (max-width: 767px) {
  .focus-slide .slide-img.swiper {
    width: calc(100% - 20px);
    right: 20px;
    left: 0px;
    bottom: -30px;
    overflow: visible;
    max-width: none;
  }

  .focus-slide .slide-img .swiper-slide {
    position: relative;
    overflow: hidden;
    height: 56px;
    /* 折叠高度 */
    border-radius: var(--radius);
  }

  .focus-slide .slide-img .swiper-slide .thumbnail {
    display: block;
    width: 100%;
    height: 168px;
    /* 56*3 */
    object-fit: cover;
    border-radius: var(--radius);
    transform: translateY(50%);
    /* 折叠态显示一半 */
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.25s ease;
    will-change: transform;
  }

  .focus-slide .slide-img .thumbnail {
    border-radius: var(--radius);
    box-shadow: 0 6px 20px var(--overlay-shadow);
  }

  .focus-slide .slide-img .swiper-slide.swiper-slide-thumb-active .thumbnail {
    transform: translateY(0);
    /* 激活时上推展开 */
  }

  .focus-slide .slide-img .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: 0 8px 24px var(--overlay-shadow);
    pointer-events: none;
  }
}

/* ========== [G] 极简圆环进度（现代浏览器，conic-gradient） ========== */

@property --p {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

/* 背景轨道（淡色环，冷白） */
.focus-slide .slide-img .swiper-slide::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--radius) + 6px);
  padding: 3px;
  background: conic-gradient(var(--ring-track) 1turn, transparent 0) border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}

/* 进度弧（主色粉） */
.focus-slide .slide-img .swiper-slide::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--radius) + 6px);
  padding: 3px;
  background: conic-gradient(var(--ring-main) calc(var(--p, 0)*1turn), transparent 0) border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}

/* 激活与动画 */
.focus-slide .slide-img .swiper-slide.is-playing::before,
.focus-slide .slide-img .swiper-slide.is-playing::after {
  opacity: 1;
}

.focus-slide .slide-img .swiper-slide.is-playing::after {
  animation: thumbRingProgress var(--thumb-delay, 6s) linear forwards;
}

/* 悬停/暂停：同步暂停动画 */
.focus-slide .slide-img .swiper-slide.is-paused::after {
  animation-play-state: paused !important;
}

/* ========== [H] Keyframes ========== */

@keyframes thumbRingProgress {
  from {
    --p: 0;
  }

  to {
    --p: 1;
  }
}

/* ========= [I] 桌面端专属：悬停提示文字 ========== */
@media (hover: hover) and (pointer: fine) {
  .focus-slide::after {
    content: "悬停查看详情";
    /* 或 “Hover to view details” */
    position: absolute;
    bottom: 18px;
    left: 22px;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--overlay-text);
    background:
      linear-gradient(to bottom,
        color-mix(in srgb, #000 26%, var(--theme-color-accent, #3FA2FF) 14%),
        color-mix(in srgb, #000 38%, var(--theme-color, #F64E90) 16%));
    border: 1px solid var(--overlay-stroke);
    border-radius: var(--radius);
    z-index: 4;
    opacity: 1;
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
    box-shadow: 0 6px 20px var(--overlay-shadow-strong);
    backdrop-filter: blur(4px) saturate(1.05);
  }

  .focus-slide:hover::after,
  .focus-slide:focus-within::after {
    opacity: 0;
    transform: translateY(8px);
  }
}