.pixel-theme { 
  --px: 6px; 
  --blue: #00b6ff; 
  --blue-dark: #0a6fb0; 
  --bg: #ffffff; 
  --red: #ff3b30; 
  --red-dark: #c21f1f; 
  --shadow: 0 10px 24px rgba(0, 0, 0, .18); 
}
/* ====== BACK TO TOP ====== */
.pixel-theme .scroll-top {
  position: fixed;
  right: 18px; 
  bottom: 26px;
  z-index: 999;
  margin: 0;
  display: grid; 
  place-items: center;
  width: 80px; height: 80px;  /* Adjust size to fit text */
  user-select: none;
  cursor: pointer;
  background: var(--red);
  color: #fff;
  border: var(--px) solid var(--red-dark);
  border-radius: 12px;
  box-shadow: 0 8px 0 var(--red-dark), 0 16px 30px rgba(0,0,0,.2);
}

.pixel-theme .scroll-top dd {
  margin: 0; 
  font-weight: 700; 
  font-size: 10px;  /* Adjust this to make text smaller */
  text-align: center;
}

.pixel-theme .scroll-top dd:first-child {
  font-size: 14px; /* Adjust the icon size */
  line-height: 1;
}

/* ========== 详细页按钮像素风格样式 ========== */
/* 去掉蓝色边框并调整按钮排列 */
/* 按钮样式 */
.pixel-theme .btn {
  background-color: var(--red); /* 红色背景 */
  color: #fff;
  font-weight: 700;
  letter-spacing: .05em;
  border-radius: 999px; /* 圆角 */
  box-shadow: 0 6px 0 var(--red-dark), 0 10px 18px rgba(0, 0, 0, .15);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
  font-size: 18px; /* 增加字体大小 */
  height: 50px; /* 增加按钮的高度 */
  padding: 0 30px; /* 增加左右内边距 */
  display: inline-flex; /* 确保按钮显示为行内块级元素 */
  align-items: center; /* 垂直居中文本 */
  justify-content: center; /* 水平居中文本 */
  text-align: center; /* 确保文字居中 */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* 平滑过渡效果 */
}

/* 按钮容器：按钮左右排列 */
.pixel-theme .detail-actions {
  display: flex; 
  gap: 12px; /* 按钮之间的间距 */
  justify-content: flex-start; /* 保证按钮在容器中水平排列 */
}

/* 鼠标悬停时的效果 */
.pixel-theme .btn:hover { 
  transform: translateY(-2px); /* 鼠标悬停时按钮上移 */
}

/* 鼠标点击时的效果 */
.pixel-theme .btn:active { 
  transform: translateY(2px); /* 鼠标点击时下移 */
  box-shadow: 0 2px 0 var(--red-dark); /* 点击后的阴影效果 */
}

/* ========== 详细页按钮像素风格样式 ========== */

/* ========== 详细页小图选中像素风格样式 ========== */
/* 小图缩略图区域样式 */
#thumbs .swiper-slide{
  margin-right:8px;
  height:auto;
  border-radius:10px;
  opacity:.7;
  transition: all 0.3s ease; /* 添加过渡效果 */
}

/* 鼠标悬停样式 */
#thumbs .swiper-slide:hover{
  opacity:.9;
}

/* 小图选中时的样式：左上角和右下角添加红色像素风格 */
#thumbs .swiper-slide.active-nav{
  box-shadow: 
    2px 2px 0 0 #ff0000, /* 左上角红色边框 */
    -2px -2px 0 0 #ff0000, /* 右下角红色边框 */
    0 2px 8px rgba(0,123,255,.12) !important;  /* 微弱的额外阴影 */
  transform: scale(1.05); /* 略微放大效果 */
  border-radius:10px !important;  /* 保持圆角 */
}

/* 小图的图像样式 */
#thumbs .swiper-slide img{
  display:block;
  width:100%;
  height:70px;
  object-fit:cover;
  border-radius:8px;
}

/* 确保非选中状态下的样式不受干扰 */
#thumbs .swiper-slide:not(.active-nav){
  box-shadow: none;
  border: 1px solid #e9eef5; /* 默认边框 */
}

}/* ==========详细页小图选中像素风格样 ========== */
/* ==========详细页标签样式 ========== */
/* 标签容器样式 */
.tags-container {
  font-family: 'Arial', sans-serif;
  color: #000;
  background-color: #fff;
  padding: 5px;
  border-radius: 5px;
  display: inline-block; /* 确保标签容器的显示效果 */
}

/* '标签：' 的span样式，增加立体感 */
.tags-container span {
  font-size: 20px;
  color: #000;
  background-color: #f0f0f0; /* 浅灰色背景 */
  padding: 4px 8px; /* 调整内边距，使其更紧凑 */
  border-radius: 20px; /* 圆角效果 */
  border: 1px solid #ccc; /* 浅灰色边框 */
  margin-right: 8px; /* 缩小标签之间的间距 */
  font-family: 'Arial', sans-serif;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2); /* 添加立体感的阴影 */
}

/* '标签：'悬停效果 */
.tags-container span:hover {
  background-color: #e0e0e0; /* 悬停时颜色变深 */
  border-color: #888; /* 边框颜色加深 */
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3); /* 悬停时阴影效果加深 */
}

/* 后面标签的样式，保持链接的跳转功能，去掉其他样式 */
.tags-container .tag {
  display: inline-block;
  color: #000; /* 黑色文字 */
  font-size: 14px;
  padding: 0; /* 不需要内边距 */
  margin: 3px; /* 标签间距 */
  font-family: 'Arial', sans-serif;
  text-decoration: none; /* 去掉链接样式 */
}

/* 修改后面标签字体大小 */
.tags-container .tag {
  display: inline-block;
  color: #000; /* 黑色文字 */
  font-size: 18px !important; /* 强制应用字体大小 */
  padding: 0; /* 不需要内边距 */
  margin: 3px; /* 标签间距 */
  font-family: 'Arial', sans-serif;
  text-decoration: underline; /* 去掉链接样式 */
}

/* 修改标签文字的字体大小 */
.tags-container .tag a {
  color: #000; /* 文字颜色 */
  font-size: 20px !important; /* 强制应用字体大小 */
  text-decoration: underline; /* 去掉链接下划线 */
}
/* ==========详细页标签样式 ========== */