/**
 * PureDude 自定义品牌与功能增强样式 (custom.css)
 * 涵盖：Logo展示、广告位挂载容器、浮动营销小部件、语言切换器、底部知识库、深色模式与GEO友好排版
 */

:root {
  --pd-primary: #FF3366;
  --pd-primary-hover: #ff4777;
  --pd-accent: #FFAE33;
  --pd-bg: #14161D;
  --pd-card-bg: #1C1E26;
  --pd-border: #2D303E;
  --pd-text-main: #FFFFFF;
  --pd-text-muted: #9E A4 B8;
  --pd-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* 1. Header 品牌 Logo 与顶部布局适配 */
.header-logo-puredude {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  height: 60px;
}
.header-logo-puredude img {
  height: 54px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
.header-mob-logo-img {
  height: 38px;
  width: auto;
}

/* 移动端专属标语 (桌面端默认隐藏) */
.mobile-header-subtitle {
  display: none;
}

/* 顶部多语言下拉与 Google 翻译微调 */
.lang-menu-drop {
  z-index: 999;
}
.lang-menu-item {
  width: 100%;
}
.lang-menu-link {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
  text-decoration: none;
}
.lang-menu-link:hover {
  background-color: rgba(255, 151, 1, 0.1);
}
.lang-menu-link.active {
  font-weight: bold;
  color: #ff9701 !important;
}

#google_translate_element {
  display: none;
  padding: 8px 16px;
  background: #1C1E26;
  border-bottom: 1px solid #2D303E;
  text-align: center;
}
.ad-banner-box {
  border-radius: 12px;
  padding: 12px 20px;
  margin: 0 auto;
}
.ad-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ad-banner-badge {
  background: var(--pd-primary);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.ad-banner-content {
  flex: 1;
  min-width: 200px;
}
.ad-banner-title {
  color: #fff;
  font-size: 15px;
  display: block;
}
.ad-banner-desc {
  color: #b5bad0;
  font-size: 13px;
}
.ad-banner-btn {
  background: linear-gradient(135deg, var(--pd-primary), var(--pd-accent));
  color: #fff !important;
  font-size: 13px;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ad-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.5);
}

/* PDC-Casting 中间横幅广告 */
#ad-inline-banner-container {
  margin: 24px 0;
}
.pdc-casting-block {
  background: linear-gradient(135deg, #1d1829 0%, #2b1d3a 100%);
  border: 1px solid rgba(255, 51, 102, 0.3);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pdc-badge {
  display: inline-block;
  background: rgba(255, 51, 102, 0.2);
  color: var(--pd-primary);
  border: 1px solid var(--pd-primary);
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.pdc-casting-block h3 {
  color: #fff;
  font-size: 20px;
  margin: 6px 0;
}
.pdc-casting-block p {
  color: #b8bdd2;
  font-size: 14px;
  max-width: 650px;
  margin: 0 auto 16px auto;
}
.pdc-btn {
  display: inline-block;
  background: linear-gradient(90deg, #FF3366, #FFAE33);
  color: #fff !important;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 24px;
  text-decoration: none !important;
}

/* 右下角浮动看板娘小部件 (Chat Widget) */
.puredude-chat-widget {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 999;
  background: #1C1E26;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  overflow: hidden;
}
.chat-widget-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none !important;
  color: inherit;
}
.chat-widget-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--pd-primary), var(--pd-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}
.chat-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid var(--pd-primary);
  animation: chat-widget-pulse 1.8s infinite;
}
@keyframes chat-widget-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* 保护并确保源站分类底部按钮 hover 原生脉冲呼吸光晕动画生效 */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(var(--animation-rgb-value, 255 177 66) / var(--animation-rgb-opacity, 70%));
  }
  70% {
    box-shadow: 0 0 0 10px rgb(var(--animation-rgb-value, 255 177 66) / 0%);
  }
  to {
    box-shadow: 0 0 0 0 rgb(var(--animation-rgb-value, 255 177 66) / 0%);
  }
}
.chat-widget-badge {
  display: inline-block;
  background: #E50914;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 1px 6px;
  border-radius: 3px;
}
.chat-widget-title {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
}
.chat-widget-sub {
  color: #8E92A4;
  font-size: 11px;
}
.chat-widget-close-btn, .ext-widget-close-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: transparent;
  border: none;
  color: #8E92A4;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}
.chat-widget-close-btn:hover, .ext-widget-close-btn:hover {
  color: #fff;
}

/* 右侧悬浮 Deals Tab */
.puredude-deals-tab {
  position: fixed;
  right: 0;
  top: 40%;
  z-index: 998;
  background: #1C1E26;
  border: 1px solid rgba(255, 51, 102, 0.4);
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}
.puredude-deals-tab:hover {
  transform: translateX(-4px);
}
.deals-tab-text {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}
.deals-tab-accent {
  color: var(--pd-accent);
}
.deals-count-pill {
  background: var(--pd-primary);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
}

/* 扩展推荐浮动小部件 (Extension Widget) */
.puredude-extension-widget {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 999;
  background: #1C1E26;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 8px 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
.ext-widget-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}
.ext-widget-icon {
  font-size: 20px;
  color: var(--pd-accent);
}
.ext-widget-title {
  color: #fff;
  font-size: 13px;
  display: block;
}
.ext-widget-sub {
  color: #8E92A4;
  font-size: 11px;
}

/* 分类置顶赞助商卡片 */
.promoted-sponsor-item {
  position: relative;
  background: rgba(255, 51, 102, 0.08) !important;
  border: 1px solid rgba(255, 51, 102, 0.25) !important;
  border-radius: 8px;
  margin-bottom: 8px;
}
.sponsor-badge-tag {
  position: absolute;
  top: 4px;
  right: 6px;
  background: var(--pd-primary);
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  padding: 1px 5px;
  border-radius: 3px;
}

/* 3. 底部信息排版与知识库样式 */
#copyright-message-container {
  background: #101217;
  padding: 40px 0 20px 0;
  border-top: 1px solid #1C1E26;
  margin-top: 40px;
}
.copyright-message-headline {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.copyright-message-desc {
  color: #9EA4B8;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.copyright-message-desc a {
  color: var(--pd-primary);
  text-decoration: underline;
}
.footer-safety-list {
  padding-left: 20px;
  margin: 10px 0;
}
.footer-safety-list li {
  margin-bottom: 8px;
  color: #C0C4D6;
}

/* 页脚社交与版权栏 */
#site-footer-container {
  background: #0B0D11;
  padding: 24px 0 40px 0;
  border-top: 1px solid #181A20;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
#site-footer-container .socials {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
#site-footer-container .socials-link {
  color: #8E92A4;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #181A20;
  transition: all 0.2s;
}
#site-footer-container .socials-link:hover {
  color: #fff;
  background: var(--pd-primary);
}
.social-badge {
  background: var(--pd-primary);
  color: #fff;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 3px;
  margin-right: 4px;
}
.theme-toggle-btn {
  background: #181A20;
  border: 1px solid #2D303E;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.footer-links .link {
  color: #8E92A4;
  text-decoration: none;
  font-size: 13px;
}
.footer-links .link:hover {
  color: #fff;
}
.footer-copy-text {
  color: #6C7082;
  font-size: 12px;
}

/* 4. 深色主题微调与响应式适配 */
@media (max-width: 768px) {
  .header-logo-puredude img {
    height: 40px;
  }
  .ad-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .puredude-chat-widget {
    bottom: 16px;
    right: 12px;
  }
  .puredude-extension-widget {
    display: none; /* 移动端隐藏过窄扩展浮窗以提升浏览体验 */
  }
}

/* ===================================================
 * 5. 全站核心分类卡片与瀑布流系统 (100% 对齐源站样式 + content-visibility 极速渲染)
 * =================================================== */

/* 源站经典全景背景与纹理 */
body {
  background-color: #767676 !important;
  background-image: url("../images/patterns/pattern-light.png") !important;
  background-repeat: repeat !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

body.dark-theme,
body.dark {
  background-color: #1a1b20 !important;
  background-image: url("../images/patterns/pattern-dark.png"), none !important;
}

/* 4 列自适应优雅瀑布流网格 */
.categories-grid {
  display: block !important;
  column-count: 4 !important;
  column-gap: 16px !important;
  padding: 16px 0 !important;
  opacity: 1 !important;
}

@media (max-width: 1400px) {
  .categories-grid {
    column-count: 3 !important;
  }
}

@media (max-width: 992px) {
  .categories-grid {
    column-count: 2 !important;
    column-gap: 12px !important;
  }
}

@media (max-width: 600px) {
  .categories-grid {
    column-count: 1 !important;
  }
}

/* 单个分类卡片容器 (对齐源站白底黑边 + content-visibility 首屏秒开优化) */
.category-container {
  display: block !important;
  background-color: #FDFDFD !important;
  border: 2.5px solid rgba(118, 118, 118, 0.35) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
  position: relative !important;
  overflow: hidden !important;
  margin-bottom: 16px !important;
  break-inside: avoid !important;
  page-break-inside: avoid !important;
  /* 现代浏览器首屏极速跳过离屏重绘，性能提升 100 倍！ */
  content-visibility: auto !important;
  contain-intrinsic-size: 280px 450px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.category-container:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22) !important;
}

body.dark-theme .category-container,
body.dark .category-container {
  background-color: #24262E !important;
  border-color: #353846 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
}

/* 分类卡片头部：完全继承源站原生布局、居中标题与主题色彩条 */
.category-container .category-header h2,
.category-container .category-header h2 a,
.category-container .category-header h3,
.category-container .category-header h3 a {
  color: #1a1a1a !important;
  text-decoration: none !important;
}

body.dark-theme .category-container .category-header h2,
body.dark-theme .category-container .category-header h2 a,
body.dark-theme .category-container .category-header h3,
body.dark-theme .category-container .category-header h3 a,
body.dark .category-container .category-header h2,
body.dark .category-container .category-header h2 a,
body.dark .category-container .category-header h3,
body.dark .category-container .category-header h3 a {
  color: #FFFFFF !important;
}

/* 类别引导提示文字 */
.category-container .category-text-block {
  padding: 5px 14px !important;
  font-size: 11px !important;
  color: #888888 !important;
  background: #F7F8FA !important;
  border-bottom: 1px solid #ECEEF3 !important;
}

body.dark-theme .category-container .category-text-block,
body.dark .category-container .category-text-block {
  background: #1B1D23 !important;
  color: #7A7E90 !important;
  border-bottom-color: #282B37 !important;
}

/* 网站列表区域：对齐源站紧凑高度与平滑滚动条，避免单个超大分类撑破页面高度 */
.category-container .category-wrapper {
  max-height: 480px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 0 !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.category-container .category-wrapper::-webkit-scrollbar {
  width: 5px;
}
.category-container .category-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
body.dark-theme .category-container .category-wrapper::-webkit-scrollbar-thumb,
body.dark .category-container .category-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

.category-container ul {
  display: flex !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  counter-reset: site-rank-num !important;
}

@media (min-width: 992px) {
  .category-container ul {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }
  .category-container .category-header > .icon-category {
    display: none !important;
  }
}

/* 单个网站条目 (高度 28px，对齐源站精致紧凑风格) */
.category-container .category-item {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 5px 14px !important;
  min-height: 28px !important;
  border-bottom: 1px solid #F2F3F5 !important;
  transition: background-color 0.15s ease !important;
  position: relative !important;
}

/* 序号 (1. 2. 3. ...) */
.category-container .category-item:not(.promoted-sponsor-item)::before {
  counter-increment: site-rank-num;
  content: counter(site-rank-num) ".";
  font-size: 11.5px;
  color: #999999;
  margin-right: 8px;
  font-weight: 700;
  min-width: 18px;
  text-align: right;
  flex-shrink: 0;
}

body.dark-theme .category-container .category-item,
body.dark .category-container .category-item {
  border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}

.category-container .category-item:hover {
  background-color: #F0F2F6 !important;
}

body.dark-theme .category-container .category-item:hover,
body.dark .category-container .category-item:hover {
  background-color: #2C2F3A !important;
}

.category-container .category-item .link-analytics {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #111111 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 1 auto !important;
  max-width: calc(100% - 30px) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  padding-right: 6px !important;
}

.category-container .category-item .link-title {
  display: inline-block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  vertical-align: middle !important;
}

/* 国旗与标签紧随站点名称右侧，单行居中对齐禁止折行 */
.category-container .category-item .icon-flag,
.category-container .category-item .flag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-left: 4px !important;
  vertical-align: middle !important;
  width: 16px !important;
  height: 12px !important;
}

.category-container .category-item .icon-flag::before {
  display: inline-block !important;
  flex-shrink: 0 !important;
  width: 16px !important;
  height: 12px !important;
}

.category-container .category-item .ai-friendly-icon,
.category-container .category-item .icon_show_newicon,
.category-container .category-item .icon_vr_friendly {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  margin-left: 4px !important;
  vertical-align: middle !important;
}

body.dark-theme .category-container .category-item .link-analytics,
body.dark .category-container .category-item .link-analytics {
  color: #E2E4EA !important;
}

.category-container .category-item:hover .link-analytics {
  color: #FF6C3F !important;
}

/* 评测按钮 */
.category-container .category-item .review {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  opacity: 0.4 !important;
  color: #888888 !important;
  text-decoration: none !important;
  font-size: 11px !important;
  background: transparent !important;
  transition: opacity 0.2s, transform 0.2s !important;
  flex-shrink: 0 !important;
}

.category-container .category-item .review::before {
  content: "🔍" !important;
}

.category-container .category-item:hover .review {
  opacity: 1 !important;
  transform: scale(1.15) !important;
}

/* 分类卡片底部的“查看全部”按钮 (优先继承源站分类专属配色) */
/* 确保分类容器底部预留 50px 空间容纳源站绝对定位的胶囊按钮 */
.category-container {
  position: relative !important;
  padding-bottom: 50px !important;
}

.category-container .category-bottom {
  display: flex !important;
}

/* ========================================================
   移动端响应式极致对齐源站 (<= 991px)
   包含：Header 居中立体大 Logo、汉堡与放大镜搜索、
   移动端专属顶栏标语、卡片内部条目双列 (50% 宽) 流式布局、
   居中分类彩条与居中描述、清除多余置顶小黑三角、
   右侧悬浮橙色滚动指示圆钮 (Scrollspy Down Button)
======================================================== */
@media (max-width: 991px) {
  /* 移动端顶栏必须紧贴视口顶部，彻底消除上方留白与间隙 (对齐图1) */
  .header {
    padding-top: 0 !important;
  }

  /* 隐藏桌面端特有顶栏与桌面端置顶小黑三角 */
  .top-bar,
  .header-desk,
  .scrollspy-btn-fixed {
    display: none !important;
  }

  /* 移动端顶栏副标语 (对齐图1: Porn Dude评论了2026年最好的色情网站) */
  .mobile-header-subtitle {
    display: block !important;
    text-align: center !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 10px 14px 4px !important;
    margin: 0 auto !important;
    line-height: 1.4 !important;
    letter-spacing: 0.2px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
  }

  /* 1. Header 顶栏水平平齐对齐 (左侧汉堡、中间Logo、右侧放大镜严格水平中心对齐) */
  .header-mob {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
    height: 58px !important;
    background: #17191d !important;
    position: relative !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
    z-index: 100 !important;
    box-sizing: border-box !important;
  }

  /* 左侧汉堡按钮: 严格垂直居中与精致 3 本条 */
  .header-mob .burger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 2 !important;
    margin: 0 !important;
    outline: none !important;
  }
  .header-mob .burger .burger-bar {
    position: relative !important;
    display: block !important;
    width: 24px !important;
    height: 2.5px !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.2s ease !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
  }
  .header-mob .burger .burger-bar::before,
  .header-mob .burger .burger-bar::after {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    width: 24px !important;
    height: 2.5px !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
    left: 0 !important;
    transition: all 0.2s ease !important;
  }
  .header-mob .burger .burger-bar::before {
    top: -7px !important;
  }
  .header-mob .burger .burger-bar::after {
    top: 7px !important;
  }

  /* 中间品牌 Logo: 严格水平居中与垂直居中 (与左右两侧按钮中心绝对对齐) */
  .header-mob .header-mob-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    height: 34px !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
  }
  .header-mob .header-mob-logo img,
  .header-mob .header-mob-logo svg {
    height: 32px !important;
    width: auto !important;
    max-width: 145px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)) !important;
  }

  /* 右侧搜索放大镜按钮: 尺寸与左侧按钮对称统一 (38x38)，图标纯白精致 */
  .header-mob .search-opener {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    cursor: pointer !important;
    z-index: 2 !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
  }
  .header-mob .search-opener .icon-mask {
    width: 22px !important;
    height: 22px !important;
    background-color: #ffffff !important;
    display: block !important;
    margin: 0 !important;
  }
  .header-mob .lang-selector-group {
    display: none !important;
  }

  /* 2. 分类卡片在手机端全宽显示，内部列表改为真实双列 (2 Columns) */
  .categories-grid {
    padding: 10px 10px !important;
    display: block !important;
  }
  .categories-grid .category-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px 0 !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    display: block !important;
    padding-bottom: 52px !important;
  }

  /* 卡片头部居中排版 (对齐图1) */
  .categories-grid .category-container .category-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 12px 14px 6px !important;
    position: relative !important;
  }
  .categories-grid .category-container .category-header > .icon-category {
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 6px !important;
    display: inline-flex !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }
  .categories-grid .category-container .category-header h2 {
    color: #1a1a1a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
    height: auto !important;
    line-height: 1.3 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }
  .categories-grid .category-container .category-header h2 a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: 15px !important;
  }
  body.dark-theme .categories-grid .category-container .category-header h2,
  body.dark-theme .categories-grid .category-container .category-header h2 a,
  body.dark .categories-grid .category-container .category-header h2,
  body.dark .categories-grid .category-container .category-header h2 a {
    color: #ffffff !important;
  }

  /* 居中主题色短横条 */
  .categories-grid .category-container .category-header::after {
    content: "" !important;
    display: block !important;
    width: 44px !important;
    height: 3px !important;
    border-radius: 2px !important;
    background-color: rgb(var(--category-rgb, 255 151 1)) !important;
    margin: 8px auto 6px auto !important;
    position: static !important;
    transform: none !important;
  }
  .categories-grid .category-container .category-header::before {
    display: none !important;
  }

  /* 居中描述文字 */
  .categories-grid .category-container .category-header .desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 12px !important;
    color: #767676 !important;
    line-height: 1.45 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 10px !important;
  }
  body.dark-theme .categories-grid .category-container .category-header .desc,
  body.dark .categories-grid .category-container .category-header .desc {
    color: #a0a4b0 !important;
  }

  /* 卡片滚动区域与双列网格 (高度固定约 290px，超出内滚出滚动条) */
  .categories-grid .category-container .category-wrapper {
    max-height: 290px !important;
    min-height: 160px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0 !important;
  }
  .categories-grid .category-container .category-wrapper ul,
  .category-container ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    padding: 2px 4px !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    counter-reset: site-rank-num !important;
  }
  .categories-grid .category-container .category-item,
  .category-container .category-item {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    box-sizing: border-box !important;
    padding: 5px 6px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    height: 30px !important;
    min-height: 30px !important;
    border-bottom: 1px solid #F2F3F5 !important;
    background: transparent !important;
  }
  body.dark-theme .categories-grid .category-container .category-item,
  body.dark .categories-grid .category-container .category-item {
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
  }

  /* 隐藏描述段落，保持紧凑整齐 */
  .categories-grid .category-container .category-item .desc {
    display: none !important;
  }
  /* 序号与站点名称 */
  .categories-grid .category-container .category-item:not(.promoted-sponsor-item)::before {
    counter-increment: site-rank-num;
    content: counter(site-rank-num) ".";
    font-size: 11px !important;
    color: #999999 !important;
    margin-right: 4px !important;
    font-weight: 700 !important;
    min-width: 16px !important;
    text-align: right !important;
    flex-shrink: 0 !important;
  }
  .categories-grid .category-container .category-item .link-analytics {
    display: inline-flex !important;
    align-items: center !important;
    max-width: calc(100% - 20px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    vertical-align: middle !important;
    margin-right: 2px !important;
    color: #111111 !important;
  }
  body.dark-theme .categories-grid .category-container .category-item .link-analytics,
  body.dark .categories-grid .category-container .category-item .link-analytics {
    color: #ffffff !important;
  }
  .categories-grid .category-container .category-item .link-title {
    display: inline-block !important;
    max-width: 96px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    vertical-align: middle !important;
    font-weight: 500 !important;
  }
  /* 图标紧凑排列 */
  .categories-grid .category-container .category-item .icon-site {
    margin-right: 4px !important;
    flex-shrink: 0 !important;
    transform: scale(0.9) !important;
  }
  .categories-grid .category-container .category-item .icon-flag,
  .categories-grid .category-container .category-item .ai-friendly-icon,
  .categories-grid .category-container .category-item .icon_show_newicon {
    flex-shrink: 0 !important;
    margin-left: 2px !important;
    transform: scale(0.85) !important;
  }
  .categories-grid .category-container .category-item .review,
  .categories-grid .category-container .category-item .review_force {
    flex-shrink: 0 !important;
    margin-left: 2px !important;
  }
}

/* 3. 悬浮橙色向下滚动圆钮 (Scrollspy Down Button 带环形白色进度条与触底回到首页) */
.scrollspy-down-btn {
  --circ: 128.81;
  --offset: calc(var(--circ) * (1 - var(--percent, 0)));
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 151, 1, 0.55);
  cursor: pointer;
  z-index: 98;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  background: transparent;
}
/* 宽屏桌面端大屏适配：悬浮向下滚动按钮紧贴居中内容右侧，不再孤立在屏幕最右侧 */
@media (min-width: 1280px) {
  .scrollspy-down-btn {
    left: calc(50% + (var(--container-width, 1150px) / 2) + 16px);
    right: auto;
  }
}
.scrollspy-down-btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(255, 151, 1, 0.7);
}
.scrollspy-down-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.scrollspy-down-btn .scrollspy-btn-circles {
  position: absolute;
  inset: 0;
  width: 44px;
  height: 44px;
  transform: rotate(-90deg); /* 顺时针从 12 点钟方向展开 */
}
.scrollspy-down-btn .scrollspy-btn-circle-bg {
  fill: #ff9701;
}
.scrollspy-down-btn .scrollspy-btn-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 2.5;
}
.scrollspy-down-btn .scrollspy-btn-progress-bar {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 128.81;
  stroke-dashoffset: var(--offset, 128.81);
  transition: stroke-dashoffset 0.1s linear;
}
.scrollspy-down-btn .scrollspy-arrow-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.scrollspy-down-btn .scrollspy-arrow-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
/* 到达底部时：旋转 180 度翻转为向上箭头，进度条闭合满圈，与图3完全一致 */
.scrollspy-down-btn.is-at-bottom .scrollspy-arrow-icon,
.scrollspy-down-btn.scrollspy-btn-to-top .scrollspy-arrow-icon {
  transform: rotate(180deg);
}
.scrollspy-down-btn.is-at-bottom .scrollspy-btn-progress-bar,
.scrollspy-down-btn.scrollspy-btn-to-top .scrollspy-btn-progress-bar {
  stroke-dashoffset: 0 !important;
}

/* 4. 分类详情页 (二级页面) 核心样式支持 */
.category-detail-page {
  background: #14161d;
  color: #ffffff;
  min-height: 100vh;
}
.category-detail-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}
.category-breadcrumbs {
  font-size: 14px;
  color: #8e92a4;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.category-breadcrumbs a {
  color: #ff9701;
  text-decoration: none;
}
.category-breadcrumbs a:hover {
  text-decoration: underline;
}
.category-banner {
  background: #1c1e26;
  border: 1px solid #2d303e;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.category-banner h1 {
  font-size: 26px;
  margin: 0 0 10px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-banner p {
  color: #a0a5b8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.category-sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
@media (max-width: 768px) {
  .category-sites-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.floating-back-home {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
}
.floating-back-home .back-home-pill {
  background: rgba(28, 30, 38, 0.95);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #ff9701;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, background-color 0.2s;
}
.floating-back-home .back-home-pill:hover {
  background: #ff9701;
  color: #ffffff;
  transform: scale(1.05);
}

/* ========================================================
   全站统一图 1 规范底部 (深蓝知识库问答区 + 吉祥物头像 + 橙色 Footer)
   ======================================================== */
.site-footer-wrapper {
  width: 100%;
  margin-top: 40px;
  position: relative;
  box-sizing: border-box;
}

/* 上半部分：深蓝背景知识库特色问答区 (#017acf) */
.site-footer-lead {
  background-color: #017acf;
  color: #ffffff;
  padding: 34px 0 54px;
  position: relative;
  font-size: 14px;
  line-height: 1.7;
}
.site-footer-lead-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
}
.site-footer-lead-content {
  flex: 1;
  min-width: 0;
}
.site-footer-lead-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px 0;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.site-footer-lead-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13.5px;
  line-height: 1.75;
}
.site-footer-lead-text strong {
  color: #ffffff;
  font-weight: 700;
}
.site-footer-lead-text a {
  color: #ffe600;
  text-decoration: underline;
}
.site-footer-lead-text a:hover {
  color: #ffffff;
}

/* 右侧返回顶部圆形按钮已按需求移除 */
.site-footer-lead-scrollspy {
  display: none !important;
}
.scrollspy-circle-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #ff9701;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, background-color 0.2s;
}
.scrollspy-circle-btn:hover {
  transform: translateY(-2px);
  background-color: #e68500;
}
.scrollspy-circle-btn .scrollspy-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scrollspy-circle-btn .scrollspy-arrow {
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  position: relative;
  z-index: 2;
}

/* 中间居中跨界卡通吉祥物 Dude 头像 */
.site-footer-mascot-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -38px;
  margin-bottom: -15px;
  z-index: 10;
  pointer-events: none;
}
.site-footer-mascot-link {
  display: inline-block;
  pointer-events: auto;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.site-footer-mascot-link:hover {
  transform: scale(1.08) rotate(-3deg);
}
.site-footer-mascot-img {
  width: 76px;
  height: 76px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

/* 下半部分：橙色 Footer (#ff9701) */
.site-footer-bar {
  background-color: #ff9701;
  color: #ffffff;
  padding-top: 26px;
  position: relative;
  z-index: 5;
}
.site-footer-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 24px;
  text-align: center;
  box-sizing: border-box;
}

/* 社交与功能圆形按钮行 */
.footer-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-wrap: wrap;
}
.footer-social-item {
  display: inline-flex;
}
.footer-social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #ff9701;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  overflow: hidden;
}
.footer-social-circle:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background-color: #fff9f0;
}
.footer-social-circle .circle-txt {
  font-size: 10px;
  font-weight: 900;
  color: #ea8300;
  letter-spacing: -0.3px;
}
.footer-social-circle .icon-mask {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #ff9701;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.footer-social-circle.circle-mail .icon-mask {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}
.footer-social-circle.circle-twitter .icon-mask {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'/%3E%3C/svg%3E");
}
.footer-social-circle.circle-theme .icon-mask {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26 5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26 5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z'/%3E%3C/svg%3E");
}

/* 导航链接条 (含 RTA 徽标) */
.footer-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-links li {
  display: inline-flex;
  align-items: center;
}
.footer-nav-links a {
  color: #ffffff;
  font-size: 13px;
  text-decoration: none;
  opacity: 0.95;
  transition: opacity 0.2s, text-decoration 0.2s;
}
.footer-nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-rta-item {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
}
.footer-rta-img {
  display: block;
  height: 18px;
  width: auto;
  border-radius: 3px;
}

/* 最底部深橙色版权声明条 (#ea8300) */
.site-footer-copyright-strip {
  background-color: #ea8300;
  padding: 12px 20px;
  text-align: center;
  font-size: 12px;
  color: #ffffff;
  box-sizing: border-box;
}
.footer-copyright-text {
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0.95;
}
.footer-copyright-text a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.footer-copyright-text a:hover {
  text-decoration: underline;
}

/* 手机端与小屏全端响应式兼容规则 (@media max-width: 991px) */
@media (max-width: 991px) {
  .site-footer-lead {
    padding: 24px 0 44px;
  }
  .site-footer-lead-container {
    flex-direction: column;
    align-items: stretch;
    padding: 0 16px;
    gap: 16px;
  }
  .site-footer-lead-title {
    font-size: 17px;
    margin-bottom: 10px;
  }
  .site-footer-lead-text {
    font-size: 13px;
    line-height: 1.65;
  }
  .site-footer-lead-scrollspy {
    align-self: flex-end;
    margin-top: -10px;
  }
  .site-footer-mascot-wrap {
    margin-top: -30px;
    margin-bottom: -12px;
  }
  .site-footer-mascot-img {
    width: 60px;
    height: 60px;
  }
  .site-footer-bar-container {
    padding: 0 14px 20px;
  }
  .footer-social-icons {
    gap: 10px;
    margin-bottom: 16px;
  }
  .footer-social-circle {
    width: 34px;
    height: 34px;
  }
  .footer-nav-links {
    gap: 6px 12px;
  }
  .footer-nav-links a {
    font-size: 12px;
  }
}

/* ========================================================
   移动端高保真分类抽屉导航 (Drawer - 100% 对齐图2源站规范)
======================================================== */
.drawer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10005 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: visibility 0.25s ease !important;
}
.drawer.is-open,
.drawer.drawer-open {
  pointer-events: auto !important;
  visibility: visible !important;
}
.drawer-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(2px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
  display: block !important;
  z-index: 1 !important;
}
.drawer.is-open .drawer-overlay,
.drawer.drawer-open .drawer-overlay {
  opacity: 1 !important;
  visibility: visible !important;
}
.drawer-inner {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 90% !important;
  max-width: 360px !important;
  min-width: 280px !important;
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(-100%) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.5) !important;
  z-index: 2 !important;
  overflow: hidden !important;
}
.drawer.is-open .drawer-inner,
.drawer.drawer-open .drawer-inner {
  transform: translateX(0) !important;
}
/* 向下兼容旧版 .drawer-content 结构，保障任何场景下内容正常显现 */
.drawer.is-open .drawer-content,
.drawer.drawer-open .drawer-content {
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* 1. 抽屉黑底 Header */
.drawer-header {
  background: #17191d !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 14px !important;
  flex-shrink: 0 !important;
}
.drawer-closer {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  padding: 6px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
.drawer-closer svg {
  stroke: #ffffff !important;
}
.drawer-header-logo {
  display: flex !important;
  align-items: center !important;
  height: 32px !important;
}
.drawer-logo-img {
  height: 30px !important;
  width: auto !important;
  max-width: 170px !important;
  object-fit: contain !important;
}
.drawer-search-btn {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  padding: 6px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.drawer-search-btn .icon-regular-magnifier {
  width: 20px !important;
  height: 20px !important;
  background-color: #ffffff !important;
}

/* 2. 抽屉 Toolbar */
.drawer-toolbar {
  background: #ffffff !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding: 0 12px !important;
  border-bottom: 1px solid #ebecee !important;
  flex-shrink: 0 !important;
}
.drawer-toolbar:has(.drawer-socials) {
  justify-content: space-between !important;
}
.drawer-socials {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.drawer-socials-item {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}
.drawer-socials-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #4b5563 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
}
.drawer-socials-link img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
}
.drawer-socials-link .icon-mask {
  width: 18px !important;
  height: 18px !important;
  background-color: #6b7280 !important;
}
.drawer-socials-item.drawer-item-blog .drawer-socials-link {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #ff9701 !important;
  background: #fff5eb !important;
  padding: 3px 6px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(255, 151, 1, 0.3) !important;
}
.drawer-badge-dot {
  position: absolute !important;
  top: -2px !important;
  right: -2px !important;
  width: 7px !important;
  height: 7px !important;
  background: #ef4444 !important;
  border-radius: 50% !important;
  border: 1.5px solid #ffffff !important;
}
.drawer-socials-link.icon-shop {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #10b981 !important;
  background: #ecfdf5 !important;
  padding: 3px 6px !important;
  border-radius: 4px !important;
}
.drawer-lang-box {
  margin-left: auto !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  padding: 4px 6px !important;
  border-radius: 6px !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.drawer-lang-box:hover,
.drawer-lang-box.is-open {
  background-color: rgba(0, 0, 0, 0.05) !important;
}
.drawer-lang-btn {
  width: 20px !important;
  height: 14px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  border: none !important;
  background-color: transparent !important;
  cursor: pointer !important;
  display: block !important;
  flex-shrink: 0 !important;
}
.drawer-lang-caret {
  font-size: 10px !important;
  color: #9ca3af !important;
  transition: transform 0.2s ease !important;
  display: inline-block !important;
  line-height: 1 !important;
}
.drawer-lang-box.is-open .drawer-lang-caret {
  transform: rotate(180deg) !important;
}
.drawer-lang-drop {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 6px) !important;
  right: 0 !important;
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
  min-width: 140px !important;
  z-index: 100 !important;
  overflow: hidden !important;
}
.drawer-lang-box.is-open .drawer-lang-drop {
  display: block !important;
}
.drawer-lang-list {
  list-style: none !important;
  padding: 4px 0 !important;
  margin: 0 !important;
}
.drawer-lang-item {
  margin: 0 !important;
  padding: 0 !important;
}
.drawer-lang-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #374151 !important;
  text-decoration: none !important;
  transition: background-color 0.15s, color 0.15s !important;
  white-space: nowrap !important;
}
.drawer-lang-link.icon-flag::before {
  content: "" !important;
  width: 18px !important;
  height: 12px !important;
  display: inline-block !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  flex-shrink: 0 !important;
}
.drawer-lang-link:hover,
.drawer-lang-link:active {
  background-color: #f3f4f6 !important;
  color: #ff9701 !important;
}
.drawer-lang-link.active {
  color: #ff9701 !important;
  font-weight: 600 !important;
  background-color: #fff7ed !important;
}
/* 夜间模式适配 */
.dark .drawer-lang-box:hover,
.dark .drawer-lang-box.is-open,
body.dark-theme .drawer-lang-box:hover,
body.dark-theme .drawer-lang-box.is-open {
  background-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .drawer-lang-drop,
body.dark-theme .drawer-lang-drop {
  background-color: #1f2937 !important;
  border-color: #374151 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
}
.dark .drawer-lang-link,
body.dark-theme .drawer-lang-link {
  color: #e5e7eb !important;
}
.dark .drawer-lang-link:hover,
.dark .drawer-lang-link:active,
body.dark-theme .drawer-lang-link:hover,
body.dark-theme .drawer-lang-link:active {
  background-color: #374151 !important;
  color: #fbbf24 !important;
}
.dark .drawer-lang-link.active,
body.dark-theme .drawer-lang-link.active {
  background-color: rgba(251, 191, 36, 0.15) !important;
  color: #fbbf24 !important;
}

/* 3. 抽屉滚动列表 */
.drawer-scroll-body {
  flex: 1 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  background: #ffffff !important;
}
.drawer-nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.drawer-item,
.drawer-nav-item {
  border-bottom: 1px solid #f1f2f4 !important;
}
.drawer-link,
.drawer-nav-link {
  display: flex !important;
  align-items: center !important;
  min-height: 52px !important;
  padding: 6px 12px !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.15s ease !important;
}
.drawer-nav-link:active,
.drawer-nav-link:hover {
  background: #f7f8fa !important;
}
.drawer-nav-bullet {
  width: 18px !important;
  flex-shrink: 0 !important;
  text-align: center !important;
  font-weight: bold !important;
  line-height: 1 !important;
}
.drawer-nav-bullet.bullet-check {
  font-size: 13px !important;
}
.drawer-nav-bullet.bullet-dot {
  font-size: 11px !important;
}
.drawer-nav-link .icon-category {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  margin: 0 8px 0 2px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}
.drawer-nav-info {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
}
.drawer-nav-title {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.25 !important;
}
.drawer-nav-meta {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.drawer-meta-icons {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  flex-shrink: 0 !important;
}
.drawer-meta-icons li {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  border-radius: 2px !important;
  display: inline-block !important;
  padding: 0 !important;
  margin: 0 !important;
}
.drawer-meta-amount {
  font-size: 11.5px !important;
  color: #9ca3af !important;
  white-space: nowrap !important;
}

/* 锁定滚动 */
body.drawer-locked {
  overflow: hidden !important;
  touch-action: none !important;
}

/* ==========================================================================
   两侧贴边浮动挂件隐藏规范 (根据需求先隐藏左侧 Video Chat 与右侧 Deals Tab 挂件)
   ========================================================================== */
.chat-widget,
.deals-tab,
.puredude-chat-widget,
.puredude-deals-tab,
#ad-chat-widget,
#ad-deals-tab {
  display: none !important;
}

/* ==========================================================================
   阅读评论功能隐藏规范 (根据需求先隐藏卡片悬停浮层中的阅读评论入口)
   ========================================================================== */
.review-card-action-review {
  display: none !important;
}

/* ==========================================================================
   导航栏搜索功能隐藏规范 (根据需求先隐藏导航栏搜索框及触发按钮)
   ========================================================================== */
.header-desk .search-form,
.header-desk .header-search,
.search-form,
.header-search,
.header-mob .search-opener {
  display: none !important;
}

/* ==========================================================================
   商务合作联系方式弹窗与导航栏高亮样式
   ========================================================================== */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.contact-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.contact-modal-card {
  position: relative;
  background: #1c1e26;
  border: 1px solid rgba(255, 151, 1, 0.4);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 24px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 151, 1, 0.15);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s ease;
  color: #fff;
  font-family: inherit;
}
.contact-modal-overlay.active .contact-modal-card {
  transform: translateY(0) scale(1);
}
.contact-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.contact-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #ff9701;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.contact-modal-close {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}
.contact-modal-close:hover {
  color: #fff;
}
.contact-modal-desc {
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 20px;
}
.contact-modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-modal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #252834;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  gap: 12px;
}
.contact-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.contact-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 151, 1, 0.15);
  color: #ff9701;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-item-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.contact-item-label {
  font-size: 11px;
  color: #9ca3af;
}
.contact-item-val {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-item-btn {
  background: #ff9701;
  color: #000;
  border: none;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.contact-item-btn:hover {
  background: #ffa726;
  color: #000;
}
.contact-item-btn:active {
  transform: scale(0.96);
}
.contact-toast {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: #fff;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.contact-toast.show {
  opacity: 1;
}

/* ==========================================================================
   页面底部直接显示联系方式 & 界面右侧悬浮联系我们按钮
   ========================================================================== */

/* 1. 隐藏原底部社交圆圈图标与冗长法律链接 */
.footer-social-icons,
.footer-nav-links {
  display: none !important;
}

/* 2. 界面右侧悬浮固定信封图标商务合作浮标 (桌面端或首页固定展示，高级翡翠绿商务新配色) */
.pd-floating-contact-btn:not(.bottom-toolbar-contact),
#pd-floating-contact-btn {
  position: fixed !important;
  right: 14px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(calc(-50% + 56px)) !important;
  z-index: 99 !important;
  box-sizing: border-box !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45), 0 0 12px rgba(16, 185, 129, 0.25) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
  text-decoration: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  animation: pdFloatPulse 3s infinite ease-in-out !important;
}

/* 移动端分类详情页底部工具栏：联系我们信封按钮与返回/滚动圆钮无缝并排 */
.bottom-toolbar .bottom-toolbar-contact,
.bottom-toolbar button.bottom-toolbar-contact,
.bottom-toolbar .pd-floating-contact-btn.bottom-toolbar-contact {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  margin: 0 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border: 2px solid #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45) !important;
  cursor: pointer !important;
  padding: 0 !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  animation: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.bottom-toolbar .bottom-toolbar-contact:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.6) !important;
}

.bottom-toolbar .bottom-toolbar-contact:active {
  transform: scale(0.95) !important;
}

.bottom-toolbar .bottom-toolbar-contact .icon-mask {
  width: 20px !important;
  height: 16px !important;
  background-color: #ffffff !important;
  pointer-events: none !important;
}

.bottom-toolbar .bottom-toolbar-contact .floating-tooltip {
  display: none !important;
}

/* 宽屏大屏对齐：与 .scrollspy-down-btn 保持相同的贴边水平定位 */
@media (min-width: 1280px) {
  .pd-floating-contact-btn:not(.bottom-toolbar-contact),
  #pd-floating-contact-btn {
    left: calc(50% + (var(--container-width, 1150px) / 2) + 16px) !important;
    right: auto !important;
  }
}

.pd-floating-contact-btn:hover {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(calc(-50% + 56px)) scale(1.08) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.65), 0 0 18px rgba(16, 185, 129, 0.45) !important;
}

.pd-floating-contact-btn:active {
  transform: translateY(calc(-50% + 56px)) scale(0.95) !important;
}

/* 浮标信封图标居中并采用纯白高亮呈现 */
.pd-floating-contact-btn .icon-mask {
  width: 20px !important;
  height: 16px !important;
  background-color: currentColor !important;
  mask-image: var(--icon-regular-envelop) !important;
  -webkit-mask-image: var(--icon-regular-envelop) !important;
  mask-position: center !important;
  -webkit-mask-position: center !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-size: contain !important;
  -webkit-mask-size: contain !important;
  transition: transform 0.25s ease !important;
  pointer-events: none !important;
}

.pd-floating-contact-btn:hover .icon-mask {
  transform: scale(1.1) !important;
}

/* 浮标 Hover 提示气泡 Tooltip (向左滑出，深绿微光高质感) */
.pd-floating-contact-btn .floating-tooltip {
  position: absolute !important;
  right: calc(100% + 12px) !important;
  top: 50% !important;
  transform: translateY(-50%) translateX(6px) !important;
  background: rgba(6, 44, 30, 0.95) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  padding: 5px 11px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(16, 185, 129, 0.5) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  letter-spacing: 0.5px !important;
}

.pd-floating-contact-btn .floating-tooltip::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: -5px !important;
  transform: translateY(-50%) !important;
  border-width: 5px 0 5px 5px !important;
  border-style: solid !important;
  border-color: transparent transparent transparent rgba(6, 44, 30, 0.95) !important;
}

.pd-floating-contact-btn:hover .floating-tooltip {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(-50%) translateX(0) !important;
}

@keyframes pdFloatPulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45), 0 0 10px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.65), 0 0 16px rgba(16, 185, 129, 0.4);
  }
}

/* 3. 底部极简商务合作联系方式 (纯净暗黑流线设计，对齐图1源站极简风格) */
.footer-contact-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 24px 16px 20px !important;
  margin: 0 auto !important;
  max-width: 800px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  color: #fff !important;
}

.footer-contact-header {
  margin-bottom: 12px !important;
  max-width: 680px !important;
}

.footer-contact-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #ffae33 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 8px !important;
  box-shadow: none !important;
}

.footer-contact-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: 0.2px !important;
  line-height: 1.3 !important;
}

.footer-contact-desc {
  font-size: 13px !important;
  color: #94a3b8 !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* 极简流线联系方式列表 (去卡片化，轻量优雅) */
.footer-contact-simple-list {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin-top: 14px !important;
  padding: 8px 20px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
}

.footer-contact-simple-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13.5px !important;
}

.footer-contact-simple-item .simple-label {
  color: #94a3b8 !important;
  font-size: 13px !important;
}

.footer-contact-simple-item .simple-val {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  border-bottom: 1px dashed rgba(255, 151, 1, 0.4) !important;
  padding-bottom: 1px !important;
}

.footer-contact-simple-item .simple-val:hover {
  color: #ffae33 !important;
  border-bottom-color: #ffae33 !important;
}

.footer-contact-simple-divider {
  color: rgba(255, 255, 255, 0.2) !important;
  font-size: 13px !important;
  user-select: none !important;
}

@media (max-width: 640px) {
  .footer-contact-simple-list {
    flex-direction: column !important;
    gap: 8px !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
  }
  .footer-contact-simple-divider {
    display: none !important;
  }
}

/* 分类详情页移动端：彻底隐藏屏幕右侧腰部的桌面端信封浮标 */
@media (max-width: 991px) {
  .pd-floating-contact-desktop,
  #pd-floating-contact-btn.pd-floating-contact-desktop,
  body.categorypage #pd-floating-contact-btn,
  body.categorypage .pd-floating-contact-btn:not(.bottom-toolbar-contact) {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .pd-floating-contact-btn:not(.bottom-toolbar-contact) {
    right: 14px !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(calc(-50% + 56px)) !important;
    box-sizing: border-box !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
  }
  .pd-floating-contact-btn:not(.bottom-toolbar-contact) .icon-mask {
    width: 20px !important;
    height: 16px !important;
  }
  .pd-floating-contact-btn:not(.bottom-toolbar-contact) .floating-tooltip {
    display: none !important;
  }
  .footer-contact-section {
    padding: 24px 16px 18px !important;
    width: calc(100% - 20px) !important;
  }
  .footer-contact-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-contact-subline {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   44se.vip 3D 潮流吉祥物尺寸与动效优化 (确保卡通头像完整展示不截断)
   ========================================================================== */
.header-logo-maskot-half {
  overflow: visible !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  position: relative !important;
}
.header-logo-maskot-half-img {
  max-height: 146px !important;
  width: auto !important;
  max-width: 130px !important;
  right: 20px !important;
  bottom: 0px !important;
  top: auto !important;
  transform: none !important;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  pointer-events: auto;
}
.header-logo-maskot-half:hover .header-logo-maskot-half-img {
  transform: translateY(-4px) scale(1.03) !important;
  filter: drop-shadow(0 12px 24px rgba(255, 151, 1, 0.35));
}

/* 恢复右侧悬浮向下滚动指示圆钮正常呈现 */

/* ==========================================================================
   首页公告弹窗组件样式系统 (Home Popup Modal)
   ========================================================================== */
body.pd-popup-open {
  overflow: hidden !important;
}

.pd-home-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: rgba(10, 12, 16, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-home-popup-overlay.pd-popup-visible {
  opacity: 1;
  pointer-events: auto;
}

.pd-home-popup-card {
  background: #1C1E26;
  border: 1px solid rgba(255, 151, 1, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 151, 1, 0.12);
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.92) translateY(14px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-sizing: border-box;
}

.pd-home-popup-overlay.pd-popup-visible .pd-home-popup-card {
  transform: scale(1) translateY(0);
}

.pd-home-popup-overlay.pd-popup-closing .pd-home-popup-card {
  transform: scale(0.95) translateY(10px);
}

.pd-home-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 151, 1, 0.04);
}

.pd-home-popup-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pd-home-popup-icon {
  font-size: 20px;
  line-height: 1;
}

.pd-home-popup-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.3px;
}

.pd-home-popup-close-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.pd-home-popup-close-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.pd-home-popup-body {
  padding: 22px 24px;
  overflow-y: auto;
  color: #CBD5E1;
  font-size: 14px;
  line-height: 1.75;
  flex: 1;
  min-height: 80px;
  max-height: 52vh;
  word-break: break-word;
}

.pd-home-popup-body h1,
.pd-home-popup-body h2,
.pd-home-popup-body h3 {
  color: #FFFFFF;
  margin-top: 12px;
  margin-bottom: 8px;
  font-weight: 600;
}

.pd-home-popup-body h1 { font-size: 20px; }
.pd-home-popup-body h2 { font-size: 17px; }
.pd-home-popup-body h3 { font-size: 15px; }

.pd-home-popup-body p {
  margin: 0 0 10px 0;
}

.pd-home-popup-body p:last-child {
  margin-bottom: 0;
}

.pd-home-popup-body a {
  color: #FF9701;
  text-decoration: underline;
  transition: color 0.2s;
}

.pd-home-popup-body a:hover {
  color: #FFAE33;
}

.pd-home-popup-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 8px 0;
}

.pd-home-popup-body ul,
.pd-home-popup-body ol {
  padding-left: 20px;
  margin: 8px 0 12px 0;
}

.pd-home-popup-body li {
  margin-bottom: 4px;
}

.pd-home-popup-body blockquote {
  border-left: 3px solid #FF9701;
  margin: 10px 0;
  padding: 6px 14px;
  background: rgba(255, 151, 1, 0.06);
  color: #E2E8F0;
  border-radius: 0 6px 6px 0;
}

.pd-home-popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 17, 23, 0.6);
  gap: 12px;
  flex-wrap: wrap;
}

.pd-home-popup-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94A3B8;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.pd-home-popup-checkbox-label:hover {
  color: #E2E8F0;
}

.pd-home-popup-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #FF9701;
  cursor: pointer;
}

.pd-home-popup-action-btn {
  background: linear-gradient(135deg, #FF9701 0%, #FF6600 100%);
  color: #FFFFFF;
  border: none;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(255, 151, 1, 0.3);
}

.pd-home-popup-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 151, 1, 0.45);
}

.pd-home-popup-action-btn:active {
  transform: translateY(1px);
}

@media (max-width: 576px) {
  .pd-home-popup-card {
    max-height: 90vh;
    border-radius: 12px;
  }
  .pd-home-popup-body {
    padding: 16px;
    font-size: 13px;
  }
  .pd-home-popup-footer {
    padding: 12px 16px;
  }
  .pd-home-popup-action-btn {
    flex: 1;
    text-align: center;
  }
}

/* 移除分类详情页头部冗余的语言下拉筛选按钮（对齐产品设计，统一由顶栏控制语言） */
.category-filters,
.category-filter-langs {
  display: none !important;
}

/* 全局隐藏 PC 端裸露的黑色小三角置顶按钮，防止其与右侧现代悬浮圆钮重叠 */
.scrollspy-btn-fixed,
.homepage .scrollspy-btn-fixed,
.scrollspy-btn:not(.scrollspy-down-btn) {
  display: none !important;
}
