/* ==========================================================================
   MeituCMS - 性感美女/Cosplay 视觉盛宴级高端 UI 核心样式库 (custom_beauty.css)
   设计美学：微醺夜空蓝紫调 (Midnight Navy) + 高斯模糊玻璃拟态 (Glassmorphism) + 3:4 黄金大图卡片
   ========================================================================== */

:root {
  --beauty-bg: #10131b;
  --beauty-card-bg: #171b26;
  --beauty-card-hover: #202636;
  --beauty-main-magenta: #ff2a6d;
  --beauty-main-purple: #9b51e0;
  --beauty-gradient: linear-gradient(135deg, #ff2a6d 0%, #9b51e0 100%);
  --beauty-gold: #ffb800;
  --beauty-text-primary: #e6e9f0;
  --beauty-text-secondary: rgba(255, 255, 255, 0.65);
  --beauty-border-glow: rgba(255, 42, 109, 0.25);
  --beauty-radius: 12px;
}

/* 1. 全局夜空渐变背景 */
body {
  background-color: var(--beauty-bg) !important;
  background-image: 
    radial-gradient(at 0% 0%, rgba(255, 42, 109, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(155, 81, 224, 0.08) 0px, transparent 50%) !important;
  background-attachment: fixed !important;
  color: var(--beauty-text-primary) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* 2. 高斯模糊悬浮玻璃拟态导航栏 */
.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(16, 19, 27, 0.85) !important;
  backdrop-filter: blur(16px) -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.logo {
  font-size: 22px !important;
  font-weight: 800 !important;
  background: var(--beauty-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  letter-spacing: 0.5px !important;
}

.nav-link {
  color: var(--beauty-text-primary) !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  transition: all 0.3s ease !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--beauty-main-magenta) !important;
}

/* 3. 巨幅 3:1 沉浸式海报 Banner (Carousel) */
.beauty-banner {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.beauty-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.beauty-banner:hover img {
  transform: scale(1.03);
}

.beauty-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(16, 19, 27, 0.95) 0%, rgba(16, 19, 27, 0.4) 60%, transparent 100%);
}

.beauty-banner-title {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* 4. 多维属性胶囊筛选 Bar */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding: 14px 20px;
  background: rgba(23, 27, 38, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.filter-pill {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--beauty-text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.filter-pill:hover, .filter-pill.active {
  color: #ffffff;
  background: var(--beauty-gradient);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(255, 42, 109, 0.35);
  transform: translateY(-2px);
}

/* 5. 黄金 3:4 响应式瀑布流网格 */
.beauty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .beauty-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (min-width: 1200px) {
  .beauty-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

@media (min-width: 1440px) {
  .beauty-grid { grid-template-columns: repeat(5, 1fr); gap: 24px; }
}

/* 6. 单个 3:4 黄金图集卡片 (beauty-card) */
.beauty-card {
  position: relative;
  background: var(--beauty-card-bg);
  border-radius: var(--beauty-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.beauty-card:hover {
  transform: translateY(-6px) scale(1.015);
  background: var(--beauty-card-hover);
  border-color: var(--beauty-border-glow);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 42, 109, 0.2);
}

.beauty-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #12151e;
}

.beauty-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.beauty-card:hover .beauty-cover-wrap img {
  transform: scale(1.08);
}

/* 卡片浮动徽章 */
.badge-count {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: var(--beauty-gold);
  font-size: 12px;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid rgba(255, 184, 0, 0.3);
  z-index: 2;
}

.badge-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  background: rgba(16, 19, 27, 0.7);
  backdrop-filter: blur(8px);
  color: var(--beauty-text-primary);
  font-size: 11px;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

/* 卡片信息体 */
.beauty-card-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.beauty-card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--beauty-text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none !important;
}

.beauty-card-title:hover {
  color: var(--beauty-main-magenta);
}

.beauty-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.beauty-tag-item {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 42, 109, 0.12);
  color: #ff6b9d;
  border: 1px solid rgba(255, 42, 109, 0.2);
  text-decoration: none !important;
}

.beauty-tag-item:hover {
  background: var(--beauty-main-magenta);
  color: #ffffff;
}

/* 7. 沉浸式看图页 (show.htm) 专属面板 */
.show-header-panel {
  padding: 24px 30px;
  background: var(--beauty-card-bg);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.show-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.show-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--beauty-text-secondary);
}

.photo-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.photo-item {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #12151e;
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.photo-item:hover img {
  transform: scale(1.015);
}

/* 8. 置顶按钮与分页 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--beauty-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 6px 20px rgba(255, 42, 109, 0.4);
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
}


/* ==========================================================================
   看图页 (show.htm) 超清大图 100% 水平垂直居中排版优化
   ========================================================================== */
.photo-gallery-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.photo-gallery-container p,
.photo-gallery-container .f_center,
.photo-gallery-container div {
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto 20px auto !important;
  text-align: center !important;
  text-indent: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.photo-gallery-container img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  float: none !important;
}

.photo-gallery-container img:hover {
  transform: scale(1.01) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 42, 109, 0.25) !important;
}


/* 看图页精致紧凑多彩高亮 Tag 胶囊样式 */
.show-tag-pill {
  display: inline-block !important;
  padding: 2px 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  vertical-align: middle !important;
}

.show-tag-pill:hover {
  transform: translateY(-2px) scale(1.06) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
}


/* ==========================================================================
   看图页 (show.htm) 顶部标题面板、中间大图、底部导航 100% 完美对齐样式
   ========================================================================== */
.show-header-panel {
  width: 100% !important;
  max-width: 960px !important;
  margin: 0 auto 30px auto !important;
  padding: 24px 30px !important;
  background: var(--beauty-card-bg) !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
  box-sizing: border-box !important;
}

.photo-gallery-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 960px !important;
  margin: 0 auto !important;
}

.photo-gallery-container p,
.photo-gallery-container .f_center,
.photo-gallery-container div {
  width: 100% !important;
  max-width: 960px !important;
  margin: 0 auto 20px auto !important;
  text-align: center !important;
  text-indent: 0 !important;
  padding: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

.photo-gallery-container img {
  display: block !important;
  width: 100% !important;
  max-width: 960px !important;
  height: auto !important;
  margin: 0 auto !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  float: none !important;
  box-sizing: border-box !important;
}

.show-footer-nav {
  width: 100% !important;
  max-width: 960px !important;
  margin: 30px auto !important;
  box-sizing: border-box !important;
}


/* 全量标签大厅五彩斑斓自动配色与舒展间距 */
.tags-grid-wrapper {
  padding: 30px 24px !important;
  line-height: 2.4 !important;
}

.tags-grid-wrapper a.show-tag-pill {
  display: inline-block !important;
  margin: 6px 8px !important;
  padding: 8px 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  vertical-align: middle !important;
}

.tags-grid-wrapper a.show-tag-pill:nth-child(6n+1) {
  color: #ff5599 !important;
  border: 1px solid rgba(255, 85, 153, 0.35) !important;
  background: rgba(255, 85, 153, 0.08) !important;
}
.tags-grid-wrapper a.show-tag-pill:nth-child(6n+2) {
  color: #ffcc00 !important;
  border: 1px solid rgba(255, 204, 0, 0.35) !important;
  background: rgba(255, 204, 0, 0.08) !important;
}
.tags-grid-wrapper a.show-tag-pill:nth-child(6n+3) {
  color: #00e6a8 !important;
  border: 1px solid rgba(0, 230, 168, 0.35) !important;
  background: rgba(0, 230, 168, 0.08) !important;
}
.tags-grid-wrapper a.show-tag-pill:nth-child(6n+4) {
  color: #00ccff !important;
  border: 1px solid rgba(0, 204, 255, 0.35) !important;
  background: rgba(0, 204, 255, 0.08) !important;
}
.tags-grid-wrapper a.show-tag-pill:nth-child(6n+5) {
  color: #c77dff !important;
  border: 1px solid rgba(199, 125, 255, 0.35) !important;
  background: rgba(199, 125, 255, 0.08) !important;
}
.tags-grid-wrapper a.show-tag-pill:nth-child(6n+0) {
  color: #ff7733 !important;
  border: 1px solid rgba(255, 119, 51, 0.35) !important;
  background: rgba(255, 119, 51, 0.08) !important;
}

.tags-grid-wrapper a.show-tag-pill:hover {
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45) !important;
}


/* 全量标签大厅五彩斑斓自动配色与舒展间距 */
.tags-grid-wrapper {
  padding: 30px 24px !important;
  line-height: 2.4 !important;
}

.tags-grid-wrapper a.show-tag-pill {
  display: inline-block !important;
  margin: 6px 8px !important;
  padding: 8px 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  vertical-align: middle !important;
}

.tags-grid-wrapper a.show-tag-pill:nth-child(6n+1) {
  color: #ff5599 !important;
  border: 1px solid rgba(255, 85, 153, 0.35) !important;
  background: rgba(255, 85, 153, 0.08) !important;
}
.tags-grid-wrapper a.show-tag-pill:nth-child(6n+2) {
  color: #ffcc00 !important;
  border: 1px solid rgba(255, 204, 0, 0.35) !important;
  background: rgba(255, 204, 0, 0.08) !important;
}
.tags-grid-wrapper a.show-tag-pill:nth-child(6n+3) {
  color: #00e6a8 !important;
  border: 1px solid rgba(0, 230, 168, 0.35) !important;
}
.tags-grid-wrapper a.show-tag-pill:nth-child(6n+4) {
  color: #00ccff !important;
  border: 1px solid rgba(0, 204, 255, 0.35) !important;
  background: rgba(0, 204, 255, 0.08) !important;
}
.tags-grid-wrapper a.show-tag-pill:nth-child(6n+5) {
  color: #c77dff !important;
  border: 1px solid rgba(199, 125, 255, 0.35) !important;
  background: rgba(199, 125, 255, 0.08) !important;
}
.tags-grid-wrapper a.show-tag-pill:nth-child(6n+0) {
  color: #ff7733 !important;
  border: 1px solid rgba(255, 119, 51, 0.35) !important;
  background: rgba(255, 119, 51, 0.08) !important;
}

.tags-grid-wrapper a.show-tag-pill:hover {
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45) !important;
}


/* 全量标签大厅五彩斑斓 :nth-of-type 自动配色 */
.tags-grid-wrapper {
  padding: 30px 24px !important;
  line-height: 2.5 !important;
}

.tags-grid-wrapper a.show-tag-pill {
  display: inline-block !important;
  margin: 6px 8px !important;
  padding: 8px 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  vertical-align: middle !important;
}

.tags-grid-wrapper a.show-tag-pill:hover {
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45) !important;
}


/* ==========================================================================
   截图2：高级五彩浮空标签大厅专属气泡样式 (完美间距与呼吸感)
   ========================================================================== */
.tags-grid-wrapper {
  padding: 44px 36px !important;
  line-height: 3.0 !important;
}

.tags-grid-wrapper a.show-tag-pill {
  display: inline-block !important;
  margin: 10px 14px !important;
  padding: 10px 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 24px !important;
  text-decoration: none !important;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  vertical-align: middle !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}


/* 收紧适中的标签大厅背景框样式 */
.tags-grid-wrapper-container {
  max-width: 960px !important;
  margin: 0 auto !important;
}

.tags-grid-wrapper {
  padding: 24px 20px !important;
  line-height: 2.4 !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
}

.tags-grid-wrapper a.show-tag-pill {
  display: inline-block !important;
  margin: 5px 6px !important;
  padding: 6px 16px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border-radius: 18px !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  vertical-align: middle !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25) !important;
}


/* 首页巨幅推荐海报 Banner 样式 */
.hero-banner-card {
  position: relative;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5) !important;
  transition: transform 0.3s ease !important;
  min-height: 320px !important;
  display: flex !important;
  align-items: flex-end !important;
}

.hero-banner-card:hover {
  transform: translateY(-4px) !important;
}

.hero-title a:hover {
  color: #ff2a6d !important;
}

/* 悬浮置顶按钮 */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2a6d, #9b51e0);
  color: #fff;
  border: none;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 42, 109, 0.4);
  transition: all 0.3s ease;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(255, 42, 109, 0.6);
}


/* 首页巨幅推荐海报 Banner 样式 */
.hero-banner-card {
  position: relative;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5) !important;
  transition: transform 0.3s ease !important;
  min-height: 300px !important;
  display: flex !important;
  align-items: flex-end !important;
}

.hero-banner-card:hover {
  transform: translateY(-4px) !important;
}

.hero-title a:hover {
  color: #ff2a6d !important;
}

/* 悬浮置顶按钮 */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2a6d, #9b51e0);
  color: #fff;
  border: none;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 42, 109, 0.4);
  transition: all 0.3s ease;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(255, 42, 109, 0.6);
}


/* 首页巨幅推荐海报 100% 稳定背景图 */
.hero-banner-card {
  position: relative;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5) !important;
  min-height: 320px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: flex-end !important;
}

.hero-bg-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: brightness(0.65) !important;
  transition: transform 0.5s ease !important;
}

.hero-banner-card:hover .hero-bg-img {
  transform: scale(1.04) !important;
}

.hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(16,19,27,0.95) 0%, rgba(16,19,27,0.25) 65%, transparent 100%) !important;
}


/* 首页 660x380 黄金比例 Carousel 轮播海报样式 */
.hero-carousel-container {
  width: 100% !important;
  max-width: 960px !important;
  margin: 0 auto 1.5rem auto !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
}

.hero-banner-card {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 660 / 380 !important;
  min-height: 320px !important;
  max-height: 480px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: flex-end !important;
}

.hero-bg-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: brightness(0.7) !important;
  transition: transform 0.6s ease !important;
}

.hero-carousel-container:hover .hero-bg-img {
  transform: scale(1.03) !important;
}

.hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(16,19,27,0.95) 0%, rgba(16,19,27,0.3) 65%, transparent 100%) !important;
}

.carousel-control-prev, .carousel-control-next {
  width: 5% !important;
  opacity: 0.7 !important;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  opacity: 1 !important;
}




/* 纯净亮丽无遮挡 660x380 幻灯海报 */
.hero-banner-card {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 660 / 380 !important;
  min-height: 320px !important;
  max-height: 480px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: flex-end !important;
  cursor: pointer !important;
}

.hero-bg-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: none !important;
  transition: transform 0.5s ease !important;
}

.hero-banner-card:hover .hero-bg-img {
  transform: scale(1.03) !important;
}

.hero-title-panel {
  position: relative !important;
  z-index: 2 !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%) !important;
  padding-top: 28px !important;
  padding-bottom: 16px !important;
}

.hero-title-panel h3 {
  font-size: 1.35rem !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
  letter-spacing: 0.5px !important;
}


/* 幻灯海报标题位置向上提升一行 */
.hero-title-panel {
  position: relative !important;
  z-index: 2 !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%) !important;
  padding-top: 36px !important;
  padding-bottom: 44px !important;
}

.hero-title-panel h3 {
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.95) !important;
  letter-spacing: 0.6px !important;
}


/* 幻灯海报 100% 宽度齐平左侧边缘 (与热门标签 Bar & 瀑布流网格 100% 垂直线对齐) */
.hero-carousel-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 1.5rem 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
}

.hero-banner-card {
  position: relative !important;
  width: 100% !important;
  height: 380px !important;
  min-height: 320px !important;
  max-height: 480px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: flex-end !important;
  cursor: pointer !important;
}


/* 顶部左侧幻灯 + 右侧最新更新双栏栅格 */
.hero-carousel-container {
  width: 100% !important;
  margin: 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
}

.hero-banner-card {
  position: relative !important;
  width: 100% !important;
  height: 380px !important;
  min-height: 320px !important;
  max-height: 480px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: flex-end !important;
  cursor: pointer !important;
}

/* 右侧最新更新文字列表面板样式 */
.latest-updates-panel {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35) !important;
}

.latest-item-row {
  transition: all 0.25s ease !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05) !important;
}

.latest-item-row:last-child {
  border-bottom: none !important;
}

.latest-item-row:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  transform: translateX(4px) !important;
}

.latest-item-row a:hover {
  color: #ff2a6d !important;
}


/* 最新发图列表 Flex 严格平齐与超长省略号规范 */
.latest-item-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 6px 8px !important;
  transition: all 0.25s ease !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05) !important;
}

.latest-item-row:last-child {
  border-bottom: none !important;
}

.latest-item-row:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  transform: translateX(3px) !important;
}

.latest-item-cat {
  flex-shrink: 0 !important;
  font-size: 0.72rem !important;
  padding: 3px 8px !important;
}

.latest-item-title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.latest-item-title:hover {
  color: #ff2a6d !important;
}

.latest-item-date {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
  margin-left: 8px !important;
}


/* ==========================================================================
   动态分类多彩 Badge 样式规则 (Cosplay正片 / Coser私房 / Coser视频)
   ========================================================================== */

/* 1. Cosplay正片 (粉红霓虹) */
.cat-badge-Cosplay正片,
.badge-cat-Cosplay正片 {
  background: rgba(255, 42, 109, 0.18) !important;
  color: #ff2a6d !important;
  border: 1px solid rgba(255, 42, 109, 0.4) !important;
}

/* 2. Coser私房 (冰蓝星光) */
.cat-badge-Coser私房,
.badge-cat-Coser私房 {
  background: rgba(0, 204, 255, 0.18) !important;
  color: #00ccff !important;
  border: 1px solid rgba(0, 204, 255, 0.4) !important;
}

/* 3. Coser视频 (香槟金闪耀) */
.cat-badge-Coser视频,
.badge-cat-Coser视频 {
  background: rgba(255, 204, 0, 0.18) !important;
  color: #ffcc00 !important;
  border: 1px solid rgba(255, 204, 0, 0.4) !important;
}

/* 4. 默认/新分类兜底 (薄荷绿灵动) */
.latest-item-cat {
  background: rgba(0, 230, 168, 0.18);
  color: #00e6a8;
  border: 1px solid rgba(0, 230, 168, 0.4);
}


/* ̬ Badge  (GBK ֽ 100% ǿ) */
.cat-badge-CosplayƬ,
.badge-cat-CosplayƬ,
.cat-Cosplay {
  background: rgba(255, 42, 109, 0.22) !important;
  color: #ff2a6d !important;
  border: 1px solid rgba(255, 42, 109, 0.5) !important;
}

.cat-badge-Coser˽,
.badge-cat-Coser˽,
.cat-Coser {
  background: rgba(0, 204, 255, 0.22) !important;
  color: #00ccff !important;
  border: 1px solid rgba(0, 204, 255, 0.5) !important;
}

.cat-badge-CoserƵ,
.badge-cat-CoserƵ,
.cat-Video {
  background: rgba(255, 204, 0, 0.22) !important;
  color: #ffcc00 !important;
  border: 1px solid rgba(255, 204, 0, 0.5) !important;
}

.latest-item-cat {
  background: rgba(0, 230, 168, 0.2);
  color: #00e6a8;
  border: 1px solid rgba(0, 230, 168, 0.5);
}


/* ҳ¸塿ڲķ Badge  */
.latest-updates-panel .cat-badge-CosplayƬ,
.latest-updates-panel .cat-Cosplay {
  background: rgba(255, 42, 109, 0.22) !important;
  color: #ff2a6d !important;
  border: 1px solid rgba(255, 42, 109, 0.5) !important;
}

.latest-updates-panel .cat-badge-Coser˽,
.latest-updates-panel .cat-Coser {
  background: rgba(0, 204, 255, 0.22) !important;
  color: #00ccff !important;
  border: 1px solid rgba(0, 204, 255, 0.5) !important;
}

.latest-updates-panel .cat-badge-CoserƵ,
.latest-updates-panel .cat-Video {
  background: rgba(255, 204, 0, 0.22) !important;
  color: #ffcc00 !important;
  border: 1px solid rgba(255, 204, 0, 0.5) !important;
}

.latest-updates-panel .latest-item-cat {
  background: rgba(0, 230, 168, 0.2);
  color: #00e6a8;
  border: 1px solid rgba(0, 230, 168, 0.5);
}


/* 瀑布流图集卡片标题下方的真实 Tag 标签胶囊 */
.beauty-card-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 6px !important;
  margin-top: 8px !important;
}

.beauty-card-tag-link {
  display: inline-block !important;
  font-size: 0.73rem !important;
  color: #c77dff !important;
  background: rgba(199, 125, 255, 0.12) !important;
  border: 1px solid rgba(199, 125, 255, 0.3) !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.beauty-card-tag-link:hover {
  color: #ffffff !important;
  background: #ff2a6d !important;
  border-color: #ff2a6d !important;
  transform: translateY(-1px) !important;
}


/* 瀑布流图集卡片标题下方的真实 Tag 标签胶囊 */
.beauty-card-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 6px !important;
  margin-top: 8px !important;
  min-height: 24px !important;
}

.beauty-card-tag-link {
  display: inline-block !important;
  font-size: 0.73rem !important;
  color: #c77dff !important;
  background: rgba(199, 125, 255, 0.12) !important;
  border: 1px solid rgba(199, 125, 255, 0.3) !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.beauty-card-tag-link:hover {
  color: #ffffff !important;
  background: #ff2a6d !important;
  border-color: #ff2a6d !important;
  transform: translateY(-1px) !important;
}


/* ==========================================================================
   扑克牌级 100% 物理绝对等高图集卡片规范
   ========================================================================== */
.beauty-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

.beauty-cover-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.beauty-card-info {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 84px !important;
  min-height: 84px !important;
  max-height: 84px !important;
  padding: 12px 14px !important;
  background: var(--beauty-card-bg) !important;
  flex-grow: 1 !important;
  box-sizing: border-box !important;
}

.beauty-card-title {
  display: block !important;
  height: 22px !important;
  line-height: 22px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #f0f2f5 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin: 0 !important;
}

.beauty-card-tags {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  overflow: hidden !important;
  margin-top: 6px !important;
}

.beauty-card-tag-link {
  display: inline-block !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  font-size: 0.72rem !important;
  line-height: 1.4 !important;
  color: #c77dff !important;
  background: rgba(199, 125, 255, 0.12) !important;
  border: 1px solid rgba(199, 125, 255, 0.3) !important;
  padding: 1px 7px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
}


/* ==========================================================================
   移动端响应式导航 & 全站面包屑导航系统 (PC 端 100% 保持不变)
   ========================================================================== */

/* 全站面包屑导航条 */
.beauty-breadcrumb-bar {
  background: rgba(23, 27, 38, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 10px 18px !important;
  margin-bottom: 20px !important;
  backdrop-filter: blur(10px) !important;
}

.beauty-breadcrumb {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.88rem !important;
}

.beauty-breadcrumb .breadcrumb-item a {
  color: #a0aec0 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.beauty-breadcrumb .breadcrumb-item a:hover {
  color: #ff2a6d !important;
}

.beauty-breadcrumb .breadcrumb-item.active {
  color: #f0f2f5 !important;
  font-weight: 600 !important;
}

.beauty-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #4a5568 !important;
  content: ">" !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
}

.btn-back-link {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.82rem !important;
  color: #00ccff !important;
  background: rgba(0, 204, 255, 0.1) !important;
  border: 1px solid rgba(0, 204, 255, 0.3) !important;
  padding: 3px 12px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-back-link:hover {
  color: #ffffff !important;
  background: #00ccff !important;
  box-shadow: 0 0 10px rgba(0, 204, 255, 0.5) !important;
}

/* 移动端 (<= 991.98px) 导航适配 */
@media (max-width: 991.98px) {
  .header {
    padding: 6px 0 !important;
  }
  
  .mobile-search-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #00ccff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    margin-right: 8px !important;
  }

  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2) !important;
    padding: 4px 8px !important;
  }

  .navbar-collapse {
    background: rgba(15, 18, 25, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    margin-top: 12px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(15px) !important;
  }

  .navbar-menu {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .navbar-menu .nav-item .nav-link {
    display: block !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
  }

  .navbar-menu .nav-item .nav-link.active {
    background: linear-gradient(135deg, #ff2a6d, #9a00e6) !important;
    color: #ffffff !important;
  }

  .mobile-search-modal .modal-content {
    background: #121620 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
  }
}


/* ==========================================================================
   移动端响应式导航 & 全站面包屑导航系统 (PC 端 100% 保持不变)
   ========================================================================== */

/* 全站面包屑导航条 */
.beauty-breadcrumb-bar {
  background: rgba(23, 27, 38, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 10px 18px !important;
  margin-bottom: 20px !important;
  backdrop-filter: blur(10px) !important;
}

.beauty-breadcrumb {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.88rem !important;
}

.beauty-breadcrumb .breadcrumb-item a {
  color: #a0aec0 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.beauty-breadcrumb .breadcrumb-item a:hover {
  color: #ff2a6d !important;
}

.beauty-breadcrumb .breadcrumb-item.active {
  color: #f0f2f5 !important;
  font-weight: 600 !important;
}

.beauty-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #4a5568 !important;
  content: ">" !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
}

.btn-back-link {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.82rem !important;
  color: #00ccff !important;
  background: rgba(0, 204, 255, 0.1) !important;
  border: 1px solid rgba(0, 204, 255, 0.3) !important;
  padding: 3px 12px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-back-link:hover {
  color: #ffffff !important;
  background: #00ccff !important;
  box-shadow: 0 0 10px rgba(0, 204, 255, 0.5) !important;
}

/* 移动端 (<= 991.98px) 导航适配 */
@media (max-width: 991.98px) {
  .header {
    padding: 6px 0 !important;
  }
  
  .mobile-search-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #00ccff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    margin-right: 8px !important;
  }

  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2) !important;
    padding: 4px 8px !important;
  }

  .navbar-collapse {
    background: rgba(15, 18, 25, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    margin-top: 12px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(15px) !important;
  }

  .navbar-menu {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .navbar-menu .nav-item .nav-link {
    display: block !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
  }

  .navbar-menu .nav-item .nav-link.active {
    background: linear-gradient(135deg, #ff2a6d, #9a00e6) !important;
    color: #ffffff !important;
  }

  .mobile-search-modal .modal-content {
    background: #121620 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
  }
}


/* ==========================================================================
   移动端响应式导航 & 全站面包屑导航系统 (PC 端 100% 保持不变)
   ========================================================================== */

/* 全站面包屑导航条 */
.beauty-breadcrumb-bar {
  background: rgba(23, 27, 38, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 10px 18px !important;
  margin-bottom: 20px !important;
  backdrop-filter: blur(10px) !important;
}

.beauty-breadcrumb {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.88rem !important;
}

.beauty-breadcrumb .breadcrumb-item a {
  color: #a0aec0 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.beauty-breadcrumb .breadcrumb-item a:hover {
  color: #ff2a6d !important;
}

.beauty-breadcrumb .breadcrumb-item.active {
  color: #f0f2f5 !important;
  font-weight: 600 !important;
}

.beauty-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #4a5568 !important;
  content: ">" !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
}

.btn-back-link {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.82rem !important;
  color: #00ccff !important;
  background: rgba(0, 204, 255, 0.1) !important;
  border: 1px solid rgba(0, 204, 255, 0.3) !important;
  padding: 3px 12px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-back-link:hover {
  color: #ffffff !important;
  background: #00ccff !important;
  box-shadow: 0 0 10px rgba(0, 204, 255, 0.5) !important;
}

/* 移动端 (<= 991.98px) 导航适配 */
@media (max-width: 991.98px) {
  .header {
    padding: 6px 0 !important;
  }
  
  .mobile-search-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #00ccff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    margin-right: 8px !important;
  }

  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2) !important;
    padding: 4px 8px !important;
  }

  .navbar-collapse {
    background: rgba(15, 18, 25, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    margin-top: 12px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(15px) !important;
  }

  .navbar-menu {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .navbar-menu .nav-item .nav-link {
    display: block !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
  }

  .navbar-menu .nav-item .nav-link.active {
    background: linear-gradient(135deg, #ff2a6d, #9a00e6) !important;
    color: #ffffff !important;
  }

  .mobile-search-modal .modal-content {
    background: #121620 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
  }
}


/* ==========================================================================
   移动端响应式导航 & 全站面包屑导航系统 (PC 端 100% 保持不变)
   ========================================================================== */

/* 全站面包屑导航条 */
.beauty-breadcrumb-bar {
  background: rgba(23, 27, 38, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 10px 18px !important;
  margin-bottom: 20px !important;
  backdrop-filter: blur(10px) !important;
}

.beauty-breadcrumb {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.88rem !important;
}

.beauty-breadcrumb .breadcrumb-item a {
  color: #a0aec0 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.beauty-breadcrumb .breadcrumb-item a:hover {
  color: #ff2a6d !important;
}

.beauty-breadcrumb .breadcrumb-item.active {
  color: #f0f2f5 !important;
  font-weight: 600 !important;
}

.beauty-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #4a5568 !important;
  content: ">" !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
}

.btn-back-link {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.82rem !important;
  color: #00ccff !important;
  background: rgba(0, 204, 255, 0.1) !important;
  border: 1px solid rgba(0, 204, 255, 0.3) !important;
  padding: 3px 12px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-back-link:hover {
  color: #ffffff !important;
  background: #00ccff !important;
  box-shadow: 0 0 10px rgba(0, 204, 255, 0.5) !important;
}

/* 移动端 (<= 991.98px) 导航适配 */
@media (max-width: 991.98px) {
  .header {
    padding: 6px 0 !important;
  }
  
  .mobile-search-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #00ccff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    margin-right: 8px !important;
  }

  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2) !important;
    padding: 4px 8px !important;
  }

  .navbar-collapse {
    background: rgba(15, 18, 25, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    margin-top: 12px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(15px) !important;
  }

  .navbar-menu {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .navbar-menu .nav-item .nav-link {
    display: block !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
  }

  .navbar-menu .nav-item .nav-link.active {
    background: linear-gradient(135deg, #ff2a6d, #9a00e6) !important;
    color: #ffffff !important;
  }

  .mobile-search-modal .modal-content {
    background: #121620 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
  }
}


/* 看图页全量图集图片 100% 强制水平居中 */
.beauty-show-gallery,
.entry-content,
.show-header-panel,
.show-img-wrap {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

.beauty-show-gallery img,
.entry-content img,
.show-img-wrap img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  height: auto !important;
}


/* 看图页全量图集图片 100% 强制水平居中 */
.beauty-show-gallery,
.entry-content,
.show-header-panel,
.show-img-wrap {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

.beauty-show-gallery img,
.entry-content img,
.show-img-wrap img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  height: auto !important;
}


/* ==========================================================================
   看图页 Header 标签区独占一行 & 物理彻底解封遮挡
   ========================================================================== */
.show-header-panel {
  overflow: visible !important;
  padding-bottom: 16px !important;
}

.show-tags-box,
.show-header-panel .beauty-card-tags {
  height: auto !important;
  min-height: 38px !important;
  max-height: none !important;
  overflow: visible !important;
  margin-top: 16px !important;
  margin-bottom: 8px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
}

.show-tags-box a,
.show-header-panel .beauty-card-tag-link,
.show-header-panel a {
  display: inline-block !important;
  padding: 5px 16px !important;
  line-height: 1.4 !important;
  border-radius: 20px !important;
  height: auto !important;
  font-size: 0.86rem !important;
  margin: 2px 4px !important;
}


/* ==========================================================================
   移动端 (<= 768px) 面包屑导航 & 右侧返回按钮防挤压折行
   ========================================================================== */
@media (max-width: 768px) {
  .beauty-breadcrumb-bar {
    padding: 8px 12px !important;
    margin-bottom: 14px !important;
    gap: 8px !important;
  }

  .beauty-breadcrumb-bar nav {
    flex: 1 !important;
    min-width: 0 !important; /* 允许 flex 容器缩窄截断 */
    overflow: hidden !important;
  }

  .beauty-breadcrumb {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: 0.82rem !important;
  }

  .beauty-breadcrumb .breadcrumb-item {
    display: inline-block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .beauty-breadcrumb .breadcrumb-item.active {
    max-width: 140px !important;
    display: inline-block !important;
    vertical-align: bottom !important;
  }

  .btn-back-link {
    white-space: nowrap !important; /* 绝对禁止按钮内文字折行 */
    flex-shrink: 0 !important;      /* 强制按钮不被压缩 */
    padding: 4px 12px !important;
    font-size: 0.78rem !important;
    border-radius: 16px !important;
  }
}


/* ==========================================================================
   移动端 (<= 768px) 响应式面包屑极速终极解封
   ========================================================================== */
.beauty-breadcrumb-bar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  overflow: hidden !important;
}

.beauty-breadcrumb-bar nav {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.beauty-breadcrumb {
  display: flex !important;
  flex-wrap: nowrap !important; /* 强制覆盖 Bootstrap 默认的 flex-wrap: wrap */
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.beauty-breadcrumb .breadcrumb-item {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

.beauty-breadcrumb .breadcrumb-item.active {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  max-width: 140px !important;
}

.btn-back-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important; /* 绝对强效禁折行 */
  flex-shrink: 0 !important;      /* 绝对强效禁止挤压 */
  padding: 5px 14px !important;
  font-size: 0.8rem !important;
  line-height: 1 !important;
  height: 30px !important;
  border-radius: 20px !important;
}


/* ==========================================================================
   看图页面包屑与下方卡片 100% 960px 物理宽度齐平 & PC 标题全量解封
   ========================================================================== */
.beauty-breadcrumb-bar {
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.beauty-breadcrumb .breadcrumb-item.active {
  max-width: none !important; /* PC 端大屏 100% 完整展示全标题，绝对不打点截断 */
  white-space: normal !important;
  overflow: visible !important;
}

@media (max-width: 768px) {
  .beauty-breadcrumb-bar {
    max-width: 100% !important;
  }
  .beauty-breadcrumb .breadcrumb-item.active {
    max-width: 130px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}
/* ==========================================================================
   仅针对移动端 (<= 768px) 幻灯片比例与标题单独微调 (PC 端 0 影响，HTML 0 改动)
   ========================================================================== */
@media (max-width: 768px) {
  #heroCarousel,
  #heroCarousel .carousel-inner,
  #heroCarousel .carousel-item,
  #heroCarousel .hero-banner-card,
  #heroCarousel img {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
  }

  #heroCarousel .hero-title-panel {
    padding: 10px 14px !important;
    background: linear-gradient(0deg, rgba(15, 18, 25, 0.92) 0%, rgba(15, 18, 25, 0) 100%) !important;
  }

  #heroCarousel .hero-title {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
  }

  #heroCarousel .badge {
    font-size: 0.7rem !important;
    padding: 2px 8px !important;
    margin-bottom: 4px !important;
  }
}
/* ==========================================================================
   仅针对移动端 (<= 768px) 隐藏【最新图集列表】与【热门标签 Bar】，PC 端 100% 正常显示
   ========================================================================== */
@media (max-width: 768px) {
  .latest-updates-panel,
  .col-lg-4:has(.latest-updates-panel),
  #tags.filter-pills,
  .filter-pills#tags {
    display: none !important;
  }
}
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
   仅针对移动端 (<= 768px) 内容看图页 (show.htm) 强效彻底隐藏 Header 导航栏
   ========================================================================== */
@media (max-width: 768px) {
  body.show-page .header,
  body.show-page header,
  body.show-page header.header,
  body.show-page nav,
  body.show-page .navbar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
