/*
Theme Name: Show666 Video
Theme URI: https://show666.sbs/
Author: Show666
Description: 独立视频主题，合并站点父子主题定制，保留现有页面和会员播放业务。
Version: 1.2.3
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: show666-video
Update URI: false
*/

/* =========================================================
   00) 用户中心左侧头像卡片：会员等级 badge（可见性 + 尺寸统一）
   ========================================================= */
body.uc-page .bg-white.rounded.overflow-hidden > .card.text-center .badge{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;

  font-size:12px !important;
  padding:4px 8px !important;
  line-height:1.1 !important;
  border-radius:999px !important;
}

/* 会员等级（暗黑模式 bg-opacity-10 太淡）：提亮 */
body.uc-page .bg-white.rounded.overflow-hidden > .card.text-center .badge.bg-warning{
  background-color: rgba(255, 193, 7, .25) !important;
  color: rgba(255,255,255,.92) !important;
}
body.uc-page .bg-white.rounded.overflow-hidden > .card.text-center .badge.bg-warning i{
  color: rgba(255,255,255,.92) !important;
}

/* 图标也缩一点 */
body.uc-page .bg-white.rounded.overflow-hidden > .card.text-center .badge i{
  font-size:11px !important;
  margin-right:4px !important;
}

/* =========================================================
   01) video-hero：移动端播放器高度/遮罩（保持你现用终版）
   ========================================================= */
@media (max-width:768px){
  .archive-hero.video-hero .video-hero-container{
    position:relative !important;
    height:0 !important;
    padding-bottom:56.25% !important; /* 16:9 */
    min-height:220px !important;
    overflow:hidden !important;
    padding-left:0 !important;
    padding-right:0 !important;
    z-index:2 !important;
  }
  .archive-hero.video-hero .video-hero-container :is(.ri-video-warp,.article-video){
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    overflow:visible !important;
  }
  .archive-hero.video-hero .video-hero-container :is(.video-js,video){
    width:100% !important;
    height:100% !important;
  }
  .archive-hero.video-hero .video-hero-container .ri-video-view{
    position:absolute !important;
    inset:0 !important;
    z-index:10 !important;
    overflow:hidden !important;
  }
  .archive-hero.video-hero{ position:relative !important; }
  .archive-hero.video-hero .archive-hero-bg{ z-index:0 !important; }
}

/* =========================================================
   02) 用户中心 Dashboard：顶部信息 + 九宫格
   ========================================================= */
.uc-dashboard-head .uc-avatar{ display:flex; justify-content:center; }
.uc-dashboard-head .uc-avatar img{ width:86px; height:86px; object-fit:cover; }

.uc-dashboard-head :is(.uc-name-line,.uc-sub-line){
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}
.uc-dashboard-head .uc-name-line{ gap:10px; margin-top:4px; }
.uc-dashboard-head .uc-sub-line{ gap:12px; opacity:.9; margin-top:6px; }
.uc-dashboard-head .uc-badge{ margin:0 !important; }

.uc-grid{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.uc-grid>li{ margin:0; padding:0; }

.uc-grid-item,
.uc-grid-item :is(.uc-grid-link,.uc-grid-a){
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none !important;
  background:rgba(46,63,80,.92);
  color:#fff !important;
  font-size:14px;
  border-radius:14px;
}
.uc-grid-item{ min-height:70px; letter-spacing:.3px; }
.uc-grid-item :is(.uc-grid-link,.uc-grid-a){ height:64px; border-radius:12px; }

.uc-grid-item:hover,
.uc-grid-item :is(.uc-grid-link,.uc-grid-a):hover{ opacity:.92; }

@media (min-width:992px){
  .uc-grid{ gap:14px; }
  .uc-grid-item{ min-height:74px; font-size:15px; }
}

/* =========================================================
   03) 用户中心：隐藏点（只影响 /user/）
   ========================================================= */
body.uc-page .card.text-center>p.mb-1,
body.uc-page .mb-1>span:first-child,
.uc-dashboard-head .uc-login{ display:none !important; }

/* 隐藏 4 个大统计卡片（所有端） */


/* 返回按钮圆角（移动端） */
@media (max-width:768px){
  .uc-back-to-home .btn{ border-radius:10px; }
}

/* =========================================================
   04) 额度信息：统一小块风格（不要胶囊）
   ========================================================= */
body.uc-page :is(.uc-mini-stats,.card.small.text-center.bg-success.bg-opacity-10) .badge,
body.uc-page .card-body.mb-4 .ms-2.lh-1 h5 .badge{
  border-radius:6px !important;
  padding:3px 8px !important;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  box-shadow:none !important;
  border:1px solid rgba(255,255,255,.12) !important;
  white-space:nowrap;
}

body.uc-page :is(.uc-mini-stats p.mb-2.text-success.fw-bold,
                 .card.small.text-center.bg-success.bg-opacity-10 p.mb-2.text-success){
  font-size:14px !important;
  font-weight:800 !important;
  opacity:.95;
}

/* 第1个=已用（淡红）/第2个=剩余（淡绿） */
body.uc-page .uc-mini-stats .badge.bg-primary:nth-of-type(1),
body.uc-page .card.small.text-center.bg-success.bg-opacity-10 .badge.bg-primary:nth-of-type(1),
body.uc-page .card-body.mb-4 .ms-2.lh-1 h5 .badge.text-primary:nth-of-type(1){
  background:rgba(255,82,82,.22) !important;
  color:rgba(255,235,235,.98) !important;
  border-color:rgba(255,82,82,.25) !important;
}
body.uc-page .uc-mini-stats .badge.bg-primary:nth-of-type(2),
body.uc-page .card.small.text-center.bg-success.bg-opacity-10 .badge.bg-primary:nth-of-type(2),
body.uc-page .card-body.mb-4 .ms-2.lh-1 h5 .badge.text-primary:nth-of-type(2){
  background:rgba(0,200,83,.20) !important;
  color:rgba(230,255,240,.98) !important;
  border-color:rgba(0,200,83,.24) !important;
}

@media (max-width:768px){
  body.uc-page .card-body.mb-4 .ms-2.lh-1 h5{ gap:6px !important; flex-wrap:wrap; }
  body.uc-page .card-body.mb-4 .ms-2.lh-1 h5>span.d-md-none{ margin-left:6px !important; gap:6px !important; }
}

/* 用户中心头像统一 30px */
body.uc-page .avatar.avatar-xl{
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  min-height:30px !important;
  flex:0 0 30px !important;
  margin:0 !important;
  padding:0 !important;
}
body.uc-page :is(.avatar.avatar-xl img,img.avatar-img){
  width:30px !important;
  height:30px !important;
  max-width:30px !important;
  max-height:30px !important;
  object-fit:cover !important;
  border-width:1px !important;
  box-shadow:none !important;
}

/* =====================================================
   06) 红色高级按钮（保持原效果）
   ===================================================== */
.show666-vip-gate .show666-vip-play-btn{
  background:linear-gradient(135deg,#ff2d55,#ff5e3a) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:999px !important;
  padding:12px 36px !important;
  font-weight:700 !important;
  letter-spacing:.5px !important;
  box-shadow:0 10px 28px rgba(255,45,85,.35) !important;
  transition:.2s ease !important;
}
.show666-vip-gate .show666-vip-play-btn:hover{
  transform:translateY(-2px) !important;
  box-shadow:0 16px 36px rgba(255,45,85,.55) !important;
}

/* =====================================================
   07) Dark De-Gray Pack（最终精简整合）
   ===================================================== */
html[data-bs-theme="dark"]{
  --lk-text:rgba(240,242,246,.92);
  --lk-muted:rgba(230,232,238,.85);

  /* 四卡四色 */
  --vip-c1:#1e3a8a; --vip-c1-h:#1b347d;
  --vip-c2:#166534; --vip-c2-h:#145c2f;
  --vip-c3:#4c1d95; --vip-c3-h:#3f177b;
  --vip-c4:#b7aa46; --vip-c4-h:#a89c3f;
}

/* 01) 页头/导航/头像弹窗：去灰度 */
html[data-bs-theme="dark"] .site-header :is(.navbar,.actions,.navbar a,.actions a),
html[data-bs-theme="dark"] .site-header{ color:var(--lk-muted) !important; }

html[data-bs-theme="dark"] .site-header .navbar a:hover,
html[data-bs-theme="dark"] .site-header .navbar :is(.current-menu-item>a,.active>a){
  color:#fff !important;
}

/* 头像弹窗/下拉（最灰的地方） */
html[data-bs-theme="dark"] .site-header .action-hover-menu :is(a,.text-muted,small,.small){
  color:var(--lk-muted) !important;
  opacity:1 !important;
}
html[data-bs-theme="dark"] .site-header .action-hover-menu a:hover{ color:#fff !important; }

/* 02) 正文/常见灰字 */
html[data-bs-theme="dark"] :is(article.post-content,.post-content,.entry-content,.article-content){
  color:var(--lk-text) !important;
}
html[data-bs-theme="dark"] :is(.text-muted,small,.small,.article-meta,.post-meta,.article-meta a){
  color:var(--lk-muted) !important;
  opacity:1 !important;
}

/* 侧边栏 */
html[data-bs-theme="dark"] .sidebar-wrapper{ color:var(--lk-muted) !important; }
html[data-bs-theme="dark"] .sidebar-wrapper a{ color:inherit !important; }
html[data-bs-theme="dark"] .sidebar-wrapper :is(.entry-title,.entry-title a){ color:var(--lk-text) !important; }

/* 03) 分类筛选（分类=实心块，标签=线框块） */
html[data-bs-theme="dark"] .filter-warp{ color:#e3e5ea !important; }
html[data-bs-theme="dark"] .filter-warp a{ color:inherit !important; }

/* 分类（第1个 ul） */
html[data-bs-theme="dark"] .filter-warp .container>ul.filter-item:first-of-type{ margin-bottom:14px; }
html[data-bs-theme="dark"] .filter-warp .container>ul.filter-item:first-of-type li.filter-link a{
  padding:8px 12px;
  border-radius:6px;
  background:#2a2d33;
  border:1px solid #2a2d33;
  transition:.15s ease;
}
html[data-bs-theme="dark"] .filter-warp .container>ul.filter-item:first-of-type li.filter-link a:hover{
  background:#353941;
  border-color:#353941;
}
html[data-bs-theme="dark"] .filter-warp .container>ul.filter-item:first-of-type li.filter-link.active a{
  background:#3e434d;
  border-color:#3e434d;
  color:#fff !important;
}

/* 标签（第2个 ul） */
html[data-bs-theme="dark"] .filter-warp .container>ul.filter-item:nth-of-type(2) li.filter-link a{
  padding:7px 10px;
  border-radius:6px;
  background:transparent;
  border:1px solid rgba(255,255,255,.18);
  color:rgba(220,222,228,.85) !important;
  transition:.15s ease;
}
html[data-bs-theme="dark"] .filter-warp .container>ul.filter-item:nth-of-type(2) li.filter-link a:hover{
  border-color:rgba(255,255,255,.35);
  color:#fff !important;
}
html[data-bs-theme="dark"] .filter-warp .container>ul.filter-item:nth-of-type(2) li.filter-link.active a{
  border-color:#fff;
  color:#fff !important;
}

/* 04) 会员卡：小字提亮 + 按钮白字（全站可用，不涉及四色误伤） */
html[data-bs-theme="dark"] .price-card :is(.price-desc,.price-desc li,.price-body .price-day,.price-body p){
  color:var(--lk-muted) !important;
}
html[data-bs-theme="dark"] .price-card :is(.btn,.btn *,.price-header,.price-header *){
  color:#fff !important;
  opacity:1 !important;
  filter:none !important;
  text-shadow:none !important;
}

/* 补差价：原价(划线)更小一点，差价更醒目 */
html[data-bs-theme="dark"] .price-card .price-ammount del{
  font-size:.72em;
  opacity:.7;
}
html[data-bs-theme="dark"] .price-card .price-ammount .price-diff{
  font-weight:800;
}

/* =====================================================
   ✅ 会员四卡四色（已限制范围：只命中 用户中心 + 含 vip 的页面）
   - 防止误伤其它页面的 row/col/price-card
   ===================================================== */
html[data-bs-theme="dark"] :is(body.uc-page, body[class*="vip"]) .row>.col:nth-child(1) .price-card .price-header{ background:var(--vip-c1) !important; }
html[data-bs-theme="dark"] :is(body.uc-page, body[class*="vip"]) .row>.col:nth-child(1) .price-card .btn{ background:var(--vip-c1) !important; border-color:var(--vip-c1) !important; }
html[data-bs-theme="dark"] :is(body.uc-page, body[class*="vip"]) .row>.col:nth-child(1) .price-card .btn:hover{ background:var(--vip-c1-h) !important; border-color:var(--vip-c1-h) !important; }

html[data-bs-theme="dark"] :is(body.uc-page, body[class*="vip"]) .row>.col:nth-child(2) .price-card .price-header{ background:var(--vip-c2) !important; }
html[data-bs-theme="dark"] :is(body.uc-page, body[class*="vip"]) .row>.col:nth-child(2) .price-card .btn{ background:var(--vip-c2) !important; border-color:var(--vip-c2) !important; }
html[data-bs-theme="dark"] :is(body.uc-page, body[class*="vip"]) .row>.col:nth-child(2) .price-card .btn:hover{ background:var(--vip-c2-h) !important; border-color:var(--vip-c2-h) !important; }

html[data-bs-theme="dark"] :is(body.uc-page, body[class*="vip"]) .row>.col:nth-child(3) .price-card .price-header{ background:var(--vip-c3) !important; }
html[data-bs-theme="dark"] :is(body.uc-page, body[class*="vip"]) .row>.col:nth-child(3) .price-card .btn{ background:var(--vip-c3) !important; border-color:var(--vip-c3) !important; }
html[data-bs-theme="dark"] :is(body.uc-page, body[class*="vip"]) .row>.col:nth-child(3) .price-card .btn:hover{ background:var(--vip-c3-h) !important; border-color:var(--vip-c3-h) !important; }

html[data-bs-theme="dark"] :is(body.uc-page, body[class*="vip"]) .row>.col:nth-child(4) .price-card .price-header{ background:var(--vip-c4) !important; }
html[data-bs-theme="dark"] :is(body.uc-page, body[class*="vip"]) .row>.col:nth-child(4) .price-card .btn{ background:var(--vip-c4) !important; border-color:var(--vip-c4) !important; }
html[data-bs-theme="dark"] :is(body.uc-page, body[class*="vip"]) .row>.col:nth-child(4) .price-card .btn:hover{ background:var(--vip-c4-h) !important; border-color:var(--vip-c4-h) !important; }

/* 05) 会员开通条款（list-group text-muted） */
html[data-bs-theme="dark"] .list-group-item.text-muted,
html[data-bs-theme="dark"] .list-group-item.text-muted::before{
  color:var(--lk-muted) !important;
  opacity:1 !important;
}

/* 06) 用户中心左侧菜单提亮 */
html[data-bs-theme="dark"] .uc-page .uc-menu-warp .menu-item a{
  color:var(--lk-muted) !important;
  opacity:1 !important;
}
html[data-bs-theme="dark"] .uc-page .uc-menu-warp .menu-item.current-menu-item a,
html[data-bs-theme="dark"] .uc-page .uc-menu-warp .menu-item a:hover{ color:#fff !important; }

/* 07) CDK 兑换区 */
html[data-bs-theme="dark"] .vip-cdk-body .text-muted{ color:var(--lk-text) !important; opacity:1 !important; }
html[data-bs-theme="dark"] .vip-cdk-body #vip-cdk-action :is(input,textarea,select){ color:var(--lk-text) !important; }
html[data-bs-theme="dark"] .vip-cdk-body #vip-cdk-action :is(input,textarea)::placeholder{
  color:rgba(240,242,246,.65) !important;
  opacity:1 !important;
}
html[data-bs-theme="dark"] .vip-cdk-body #vip-cdk-action .form-control{
  background:rgba(255,255,255,.06) !important;
  border-color:rgba(255,255,255,.14) !important;
}
html[data-bs-theme="dark"] .vip-cdk-body #vip-cdk-action :is(.btn,.btn *){ color:#fff !important; opacity:1 !important; }

/* 08) 安全排除：不要洗白图标/图片/徽章 */
html[data-bs-theme="dark"] :is(i,svg,img,video,canvas,.badge){
  color:unset !important;
  filter:none !important;
}

/* =====================================================
   充值卡片/弹窗充值：白底按钮文字强制黑
   ===================================================== */
/* 1) 头像弹窗（hover-warp）白底按钮 -> 黑字 */
html[data-bs-theme="dark"] .navbar .action-hover-menu .hover-warp :is(.btn.btn-light,.btn.btn-white,.btn.bg-white,a.btn.btn-light,a.btn.btn-white,a.btn.bg-white),
html[data-bs-theme="dark"] .navbar .action-hover-menu .hover-warp :is(.btn.btn-light,.btn.btn-white,.btn.bg-white) *{
  color:#111 !important;
}
/* 兜底：outline-light 也黑 */
html[data-bs-theme="dark"] .navbar .action-hover-menu .hover-warp :is(.btn.btn-outline-light,.btn.btn-outline-light *){ color:#111 !important; }

/* 2) modal 弹窗内：白底/浅底按钮 -> 黑字 */
html[data-bs-theme="dark"] :is(.modal,.offcanvas,.swal2-container) :is(.btn.btn-light,.btn.btn-white,.btn.bg-white,a.btn.btn-light,a.btn.btn-white,a.btn.bg-white),
html[data-bs-theme="dark"] :is(.modal,.offcanvas,.swal2-container) :is(.btn.btn-light,.btn.btn-white,.btn.bg-white) *{
  color:#111 !important;
}

/* =====================================================
   ✅ 修复：头像 hover 弹窗内「VIP会员 + 用户名」仍然发灰（仅头部弹窗）
   ===================================================== */
html[data-bs-theme="dark"] .site-header .action-hover-menu .hover-warp{
  color:var(--lk-text) !important;
}

/* 弹窗内常见灰字类全部提亮 */
html[data-bs-theme="dark"] .site-header .action-hover-menu .hover-warp :is(.text-muted, .muted, small, .small){
  color:var(--lk-muted) !important;
  opacity:1 !important;
}

/* 用户名/标题行更亮 */
html[data-bs-theme="dark"] .site-header .action-hover-menu .hover-warp :is(.user-name, .username, .name, h6, strong, b){
  color:var(--lk-text) !important;
  opacity:1 !important;
}

/* VIP 小胶囊不发灰 */
html[data-bs-theme="dark"] .site-header .action-hover-menu .hover-warp :is(.badge, .vip, .vip-badge, .vip-tag){
  opacity:1 !important;
  filter:none !important;
}

/* 弹窗里链接别发灰 */
html[data-bs-theme="dark"] .site-header .action-hover-menu .hover-warp a{
  color:var(--lk-muted) !important;
  opacity:1 !important;
}
html[data-bs-theme="dark"] .site-header .action-hover-menu .hover-warp a:hover{
  color:#fff !important;
}

/* =====================================================
   登录/注册页小改动
   ===================================================== */
/* 登录页底部版权/政策文字隐藏 */
form .text-center.small{
  display:none !important;
}

/* 登录页 “注册账号”提亮 */
.login-btn.btn-link.text-primary{
  color:#3b82f6 !important;
  font-size:16px !important;
  font-weight:600 !important;
}
.login-btn.btn-link.text-primary:hover{
  color:#60a5fa !important;
}

/* =========================================
   vip-upgrade 页面 用户头像缩小到 30px
   - 保留：该页不一定走 uc-page，不能直接删
   ========================================= */
body.page-template-vip-upgrade .avatar.avatar-xl{
  width:30px !important;
  height:30px !important;
}

body.page-template-vip-upgrade .avatar.avatar-xl img{
  width:30px !important;
  height:30px !important;
  object-fit:cover;
}

/* =========================================
   vip-upgrade 顶部用户信息卡片高度压缩
   去掉 card 外层 padding
   ========================================= */
body.page-template-vip-upgrade .card{
  padding:0 !important;
  margin-bottom:0 !important;
}

body.page-template-vip-upgrade .card-body{
  padding:8px 12px !important;
}

/* =====================================================
   VIP-UPGRADE 页面顶部 Banner 压缩（110px）
   ===================================================== */
body.page-template-vip-upgrade .archive-hero{
  position:relative !important;
  overflow:hidden !important;
  padding:0 !important;
}

body.page-template-vip-upgrade .archive-hero-bg{
  position:absolute !important;
  top:0;
  left:0;
  right:0;
  height:110px !important;
  min-height:110px !important;
  z-index:0 !important;
}

body.page-template-vip-upgrade .archive-hero-bg:before,
body.page-template-vip-upgrade .archive-hero-bg:after{
  z-index:0 !important;
}

body.page-template-vip-upgrade .archive-hero .container.py-3.py-md-5{
  padding-top:12px !important;
  padding-bottom:12px !important;
  position:relative !important;
  z-index:2 !important;
}

body.page-template-vip-upgrade .archive-title{
  margin-bottom:4px !important;
}

body.page-template-vip-upgrade .archive-desc{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

body.page-template-vip-upgrade .archive-hero + *{
  margin-top:12px !important;
}

/* 分类/归档页文章列表：把 2x3 改成 3x5 */
.archive .ratio-2x3,
.category .ratio-2x3,
.tax .ratio-2x3{
  --ri-aspect-ratio: 180% !important;
}

.archive .ratio-2x3::before,
.category .ratio-2x3::before,
.tax .ratio-2x3::before{
  padding-top: 170% !important;
}

.archive .post-item .entry-media .media-img,
.category .post-item .entry-media .media-img,
.tax .post-item .entry-media .media-img{
  background-position: center top !important;
}

/* =========================================================
   首页搜索模块（整合最终版）
   ========================================================= */
.home-search-box .search-bg{
    padding-top:10px !important;
}

.home-search-box .search-warp{
    max-width:50% !important;
    width:100% !important;
    padding-top:20px !important;
    padding-bottom:20px !important;
    height:auto !important;
    min-height:0 !important;
}

.search-title{
    font-size:36px !important;
    font-weight:800 !important;
    line-height:1.28 !important;
    letter-spacing:2px !important;
    color:#fff !important;
    margin-bottom:14px !important;
    text-shadow:
        0 0 1px #ff3b3b,
        0 0 2px #ff3b3b,
        0 0 3px #ff3b3b,
        0 2px 6px rgba(0,0,0,.7);
}

.home-search-box .search-form{
    max-width:720px !important;
    margin:0 auto !important;
    border-radius:18px !important;
    background:#121418 !important;
    border:2px solid rgba(255,60,60,.35) !important;
    box-shadow:
        0 0 0 1px rgba(255,60,60,.15),
        0 12px 40px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,.04) !important;
    transition:.25s;
}

.home-search-box .search-form:hover{
    border-color:rgba(255,70,70,.6) !important;
}

.home-search-box .search-form:focus-within{
    border-color:#ff3b3b !important;
    box-shadow:
        0 0 0 3px rgba(255,60,60,.25),
        0 16px 50px rgba(0,0,0,.6) !important;
}

.home-search-box .search-form input{
    height:60px !important;
    font-size:16px !important;
    background:transparent !important;
    color:#fff !important;
    border:0 !important;
    box-shadow:none !important;
}

.home-search-box .search-form input::placeholder{
    color:rgba(255,255,255,.45) !important;
}

.home-search-box .search-form button,
.home-search-box .search-form i{
    color:#ff3b3b !important;
}

.home-search-box .search-hots{
    margin-top:14px !important;
    margin-bottom:0 !important;
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    align-items:center !important;
}

.home-search-box .search-hots .me-1{
    color:#ff3b3b !important;
    font-weight:700 !important;
    margin:4px 6px !important;
}

.home-search-box .search-hots span:not(.me-1){
    display:inline-block !important;
    margin:4px 6px !important;
    padding:6px 14px !important;
    border-radius:999px !important;
    background:rgba(255,60,60,.12) !important;
    border:1px solid rgba(255,60,60,.35) !important;
    color:#ff5c5c !important;
    transition:.2s;
}

.home-search-box .search-hots span:not(.me-1):hover{
    background:#ff3b3b !important;
    color:#fff !important;
    border-color:#ff3b3b !important;
    transform:translateY(-1px);
}

@media (max-width:768px){

    .home-search-box .search-bg{
        padding-top:6px !important;
    }

    .home-search-box .search-warp{
        max-width:100% !important;
        width:100% !important;
        padding-top:12px !important;
        padding-bottom:12px !important;
    }

    .search-title{
        font-size:18px !important;
        line-height:1.35 !important;
        padding:0 10px !important;
        margin-bottom:10px !important;
    }

    .home-search-box .search-form{
        max-width:90% !important;
        margin:0 auto !important;
    }

    .home-search-box .search-form input{
        height:36px !important;
        line-height:36px !important;
        padding:0 12px !important;
        font-size:14px !important;
    }

    .home-search-box .search-form button{
        height:36px !important;
        line-height:36px !important;
        padding:0 12px !important;
    }

    .home-search-box .search-hots{
        margin-top:10px !important;
    }

    .home-search-box .search-hots .me-1{
        font-size:12px !important;
    }

    .home-search-box .search-hots span:not(.me-1){
        font-size:13px !important;
        padding:4px 8px !important;
        margin:3px 5px !important;
    }
}

/* =========================================================
   首页统计模块（最终整合版）
   ========================================================= */
#show666_child_home_stats-2{
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
}

#show666_child_home_stats-2 > section,
#show666_child_home_stats-2 > section.container{
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
}

.show666-child-statbar{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  padding:18px 10px;
  border-radius:20px;
  background:#5a0006;
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}

.show666-child-statbar .it{
  flex:1 1 0;
  padding:0 16px;
  text-align:center;
  min-width:0;
}

.show666-child-statbar .it + .it{
  border-left:1px solid rgba(255,255,255,.10);
}

.show666-child-statbar .n{
  font-size:18px;
  font-weight:900;
  color:#fff;
  line-height:1.15;
}

.show666-child-statbar .t{
  margin-top:6px;
  font-size:12px;
  font-weight:700;
  color:rgba(255,255,255,.75);
}

.show666-child-statbar .it.uptime .n{
  font-size:15px;
}

@media (max-width:992px){
  .show666-child-statbar{
    flex-wrap:wrap;
  }

  .show666-child-statbar .it{
    flex:0 0 33.333%;
    padding:12px 8px;
    border-left:none;
    border-top:1px solid rgba(255,255,255,.10);
  }

  .show666-child-statbar .it:nth-child(-n+3){
    border-top:none;
  }

  .show666-child-statbar .it:nth-child(4),
  .show666-child-statbar .it:nth-child(5){
    flex:0 0 50%;
  }
}

@media (max-width:520px){
  .show666-child-statbar .n{
    font-size:16px;
  }

  .show666-child-statbar .it.uptime .n{
    font-size:13px;
  }

  .show666-child-statbar .it{
    padding:10px 6px;
  }
}

/* =====================================================
   头部：登录 / 注册 / 语言切换 / 头像（已整合去重版）
   - 替换掉原来零散的 register-link / logo / header-user-lang-group / 手机端间距几段
   ===================================================== */
.site-header .actions .register-btn i{
  display:none !important;
}

.site-header .actions .register-link{
  display:inline-block !important;
  font-size:13px !important;
  font-weight:400 !important;
  line-height:1 !important;
  color:#fff !important;
  text-decoration:none !important;
  vertical-align:middle !important;
}
.site-header .actions .register-link:hover{
  color:#fff !important;
  opacity:.9;
}

.site-header .header-user-lang-group{
  display:inline-flex !important;
  align-items:center !important;
  gap:12px !important;
  white-space:nowrap;
}

.site-header .header-user-lang-group > .header-lang-switcher,
.site-header .header-user-lang-group > .avatar-warp{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  min-width:0;
  margin:0 !important;
  padding:0 !important;
}

.site-header .header-user-lang-group > .header-lang-switcher .trp-shortcode-switcher__wrapper{
  margin:0 !important;
}

.site-header .header-user-lang-group > .avatar-warp .display-name{
  max-width:72px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

@media (max-width:768px){
  .site-header .actions .register-link{
    display:none !important;
  }

  .site-header .logo-wrapper img{
    width:80px !important;
    height:auto !important;
  }

  .navbar .actions > * + *{
    margin-left:.25rem !important;
  }

  .navbar .actions .action-btn{
    padding:.15rem !important;
  }

  .navbar .actions .action-hover-menu > .d-inline-flex.align-items-center{
    align-items:center !important;
  }

  .navbar .actions .action-hover-menu .trp-shortcode-switcher__wrapper{
    margin-right:4px !important;
  }

  .navbar .actions .action-hover-menu .avatar-warp{
    margin:0 !important;
    padding:0 !important;
  }
}

/* ===== Video.js 播放/暂停图标修复：仅修左下角三角按钮，不改播放逻辑 ===== */
.video-js .vjs-play-control .vjs-icon-placeholder:before{
  content: "\f101" !important;
  font-family: VideoJS !important;
  font-weight:400 !important;
  font-style:normal !important;
}

.video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before,
.video-js.vjs-playing .vjs-play-control .vjs-icon-placeholder:before{
  content: "\f103" !important;
  font-family: VideoJS !important;
}

.video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before,
.video-js.vjs-ended .vjs-play-control .vjs-icon-placeholder:before{
  content: "\f116" !important;
  font-family: VideoJS !important;
}

.video-js.vjs-paused .vjs-play-control .vjs-icon-placeholder:before{
  content: "\f101" !important;
  font-family: VideoJS !important;
}



/* 首页搜索说明文字 */
.home-search-box .search-desc{
  font-size: 20px !important;
}

/* 手机端：显示并缩小 */
@media (max-width: 767.98px){
  .home-search-box .search-desc{
    display: block !important;
    font-size: 13px !important;
  }
}

/* 手机端搜索模块显示说明表述 */
@media (max-width: 767.98px){
  .home-search-box .search-desc{
    display: block !important;
  }
}





/* Multi-episode mobile pages reserve space for the player and its episode list. */
@media (max-width:768px){
  .archive-hero.video-hero[data-show666-multiple="1"] .video-hero-container{
    height:auto !important;
    min-height:0 !important;
    padding-bottom:0 !important;
    overflow:visible !important;
  }
  .archive-hero.video-hero[data-show666-multiple="1"] .video-hero-container .ri-video-warp{
    position:relative !important;
    inset:auto !important;
    height:0 !important;
    min-height:220px !important;
    padding-top:56.25% !important;
  }
  .archive-hero.video-hero[data-show666-multiple="1"] .video-hero-container .video-js{
    padding-top:0 !important;
  }
  .archive-hero.video-hero[data-show666-multiple="1"] .show666-real-player{
    height:100%;
  }
}

/* TranslatePress 自动语言检测提示层：彻底隐藏 */
#trp_no_text_popup_wrap {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
