body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0}
body{color:#333;background:#fff;font:12px "pingfang SC","Microsoft YaHei","微软雅黑",helvetica,arial,verdana,tahoma,sans-serif}
th,td{text-align:left;vertical-align:top}
a{color:#333;text-decoration:none;cursor:pointer}
a:hover{color:#333;text-decoration:none}
a:focus{outline:0}
img{display:inline-block;border:0;vertical-align:middle}
li{list-style:none}ol{padding:0 0 0 2em}
input,label,select,option,textarea,button,fieldset,legend{font-family:inherit}
input[type=text],
textarea{-webkit-appearance:none;-webkit-border-radius:0;outline:0}
a,input,em,h2{-webkit-tap-highlight-color:rgba(255,0,0,0);}
.clear{
    clear: both;
}
body{
    /*background: #f1f2f3;*/
    overflow-x: hidden;
}
#wapPageLoader{position:fixed;left:0;top:0;right:0;bottom:0;background:#fff;z-index:99999;display:flex;align-items:center;justify-content:center;opacity:1;visibility:visible;pointer-events:auto;-webkit-transition:opacity .18s ease,visibility .18s ease;transition:opacity .18s ease,visibility .18s ease;}
body.page-loaded #wapPageLoader{opacity:0;visibility:hidden;pointer-events:none;}
.wap-page-loader-spinner{width:34px;height:34px;border:3px solid rgba(0,0,0,.10);border-top-color:#ff1f4b;border-radius:50%;-webkit-animation:wapPageLoaderSpin .7s linear infinite;animation:wapPageLoaderSpin .7s linear infinite;}
@-webkit-keyframes wapPageLoaderSpin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg);}to{-webkit-transform:rotate(360deg);transform:rotate(360deg);}}
@keyframes wapPageLoaderSpin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg);}to{-webkit-transform:rotate(360deg);transform:rotate(360deg);}}
body.controller-index.action-index #wapPageLoader,
body.controller-share.action-index #wapPageLoader,
body.controller-video.action-lists #wapPageLoader,
body.controller-video.action-search #wapPageLoader,
body.controller-video.action-vipdsp #wapPageLoader,
body.controller-video.action-vipdsp_play #wapPageLoader,
body.controller-images.action-lists #wapPageLoader,
body.controller-images.action-search #wapPageLoader,
body.controller-images.action-show #wapPageLoader,
body.controller-member.action-member #wapPageLoader,
body.controller-member.action-collection_video #wapPageLoader,
body.controller-member.action-record_video #wapPageLoader,
body.controller-member.action-record_gold #wapPageLoader,
body.controller-systemPay.action-recharge #wapPageLoader,
body.controller-audio.action-lists #wapPageLoader,
body.controller-audio.action-play #wapPageLoader{display:none !important;}
.swiper-slide{
    height: 150px;
}

.important{
    font-weight: bold;
    color: #f00;
}

/*分页*/
.sort-pager{
    text-align: center;
}
.pagination{
    height:30px;
    margin: 20px;
    display: inline-block;
}
.pagination li{
    float: left;
    margin-right: 5px;
    cursor: pointer;
    padding: 0 !important;
}
.pagination li a{
    display: block;
    color: #555;
    background: #fff;
    min-width: 14px;
    _width: 14px;
    height: 28px;
    padding: 0 7px;
    line-height: 28px;
    text-align: center;
    border: 1px solid #eee;
    font-size: 15px;
}
.pagination li.active span{
    border: 1px solid #2fb3ff;
    background: #2fb3ff;
    color: #fff;
}
.pagination .prev span, .pagination .disabled span {
    min-width: 0;
    width: 60px;
    padding: 0;
    color: #555;
}
.pagination span {
    display: block;
    color: #c6c6c6;
    background: #fff;
    min-width: 14px;
    _width: 14px;
    height: 28px;
    padding: 0 7px;
    line-height: 28px;
    text-align: center;
    border: 1px solid #eee;
    font-size: 15px;
}


@media only screen and (max-width: 640px) {
    header nav a {
        padding: 0;
        height: auto;
    }
    header nav .special div {
        margin-left: -1px;
    }
}

@media only screen and (max-width: 400px) {

    header nav .special {
        width: 25%;
        margin: 0;
    }
    header nav a div {
        border-radius: 0;
    }
    header nav span {
        line-height: 26px;
    }
}

.content{
    margin: 0 0 50px;
    overflow-x: hidden;
}
font{
    background: #ff6c00;
    color: #fff;
    padding: 0 2px;
}

.not-comment{
    height: 200px;
    line-height: 200px;
    text-align: center;
}
/*公共样式*/
/*滚动*/
.slide{
    height:200px;
    border: 1px solid #ccc;
}
/*列表*/
.panel{
    padding: 5px 10px;
  /*  margin-top: 165px;*/

}
.panel .title{
    font-weight: bold;
    font-size: 16px;
    padding: 0 6px;
}
.panel .title .name{
    color:#333;
    font-size: 15px;
    display: inline-block;
    font-weight: bold;
}
.panel .title .name i{
    padding-left: 3px;
    font-size: 18px;
    vertical-align: middle;
}
.panel .title .column-tip{
    display: inline-block;
    float: right;
}
.panel .title .column-tip a{
    color:#888;
    font-size: 15px;
}
.content-list:after,.img-list:after{
    /*overflow: hidden;*/
    content: "";
    height: 0;
    line-height: 0;
    display: block;
    visibility: hidden;
    clear: both;
}
.clearfix:after{
    content: "";
    height: 0;
    line-height: 0;
    display: block;
    visibility: hidden;
    clear: both;
}
.content-list li{
    display: inline-block;
    width: 46%;
    min-height: 50px;
     float: left;
    margin: 2%;
}
.content-list li a{
    display: block;
    height:auto;
background:#d9d9d9 !important;}
.content-list li img{
    max-width: 100%;
}
/*分类的头部*/
.vault-box{
    overflow: hidden;
   /* position: fixed;*/
    background: #fff;
    z-index: 99;
    top: 41px;
    width: 100%;
    /*max-width: 1024px;*/
}
.vault-top{
    height:auto !important;
    overflow:visible !important;
}
.vault-top .tab{
    height: 35px;
      border-bottom: 1px solid rgba(255,255,255,.10);
    line-height: 35px;
    padding: 0 10px;
}
.vault-top .tab a{
    margin: 0 20px;
    display: inline-block;
}
.vault-top .tab a:first-child{
    margin-left: 10px;
}
.vault-top .tab a.cur{
      color: #ff6b6b;
      border-bottom: 2px solid #ff6b6b;
}
.vault-top .item{
    display: block;
    margin: 0 10px;
      border-bottom: 1px solid rgba(255,255,255,.08);
    overflow: auto;
    padding: 5px 0;
    overflow: hidden;
    overflow-x: hidden;
    white-space: normal;
}
.vault-top .item:last-child{
    border-bottom: none;
}
.vault-box .select{
    width: 100%;
    max-width: 640px;
    height: 40px;
    line-height: 30px;
    display: block;
    text-align: center;
    color: #555;
    font-size: 12px;
    border-top: none;
    position: relative;
    z-index: 104;
    background: url(../images/drop_down.png) no-repeat;
    background-size: 100% auto;
}

.item label{
    float: left;
    color: #bbb;
    padding: 9px 10px 9px 3px;
    display: inline-block;
    width: 48px;
    text-align: right;
}
.item ul{
    /*width: 20000px;*/
    overflow-x: hidden;
    margin-left: 60px;
    white-space: normal;
}
.vault-top .item ul::-webkit-scrollbar {display:none}
.item ul li{
    display: inline-block;
    padding: 2px 7px;
    margin: 8px 5px 5px;
}
.item ul a{
      color:#d7d7d7;
}
.item ul li.current{
    border-radius: 5px;
}
.item ul li.current a{
    color: #ec4b4b;
}
/*评论*/
.font-text{
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.font-text img{
    display: inline-block;
    width: 38px;
    height:38px;
    border-radius: 50%;
}
.font-text input{
    width: 80%;
    border: 1px solid #e2e2e2;
    margin-left: 15px;
    height: 30px;
    border-radius: 15px;
    display: none;
}
.area-box{
    /*display: none;*/
    display: inline-block;
    margin-left: 15px;
    vertical-align: top;
    width: 80%;
}
.area-box textarea{
    width: 92%;
    height: 60px;
    border-radius: 7px;
    border: 1px solid #e2e2e2;
    padding: 10px;
    line-height: 20px;
}
.area-box span{
    font-family: Constantia,Georgia;
    font-size: 16px;
    color: #888;
}
.area-box .btn-box{
    float: right;
}
.area-box .btn-box a{
    display: inline-block;
    width: 62px;
    height: 30px;
    line-height: 30px;
    border-radius: 32px;
    background: #eee;
    text-align: center;
    color: #aaa;
    text-decoration: none;
}
.area-box .btn-box a.canel{
    background: #fff;
    border: 1px solid #aaa;
    margin-right: 10px;
}
.area-box .btn-box a.send{
    color: #fff;
    background: #dbdbdb;
}
.area-box .btn-box a.send.submit{
    background: #218aff;
}
.cmt-input {
    box-sizing: border-box;
    height: 35px;
    padding: 0 .9375rem;
    line-height: 35px;
    border-radius: 35px;
    border: 1px solid #e3e3e3;
    background: #f7f7f7;
    font-size: .85rem;
    color: #c8c8c8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*评论*/
.comment-list li {
    padding: 15px 0px;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}
.comment-list li:last-child{
    border-bottom: none;
}
.comment-list li .user-avatar {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    float: left;
}
.comment-list li .user-avatar a {
    display: inline-block;
}
.comment-list li .user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.comment-list li .comment-section {
    display: inline-block;
    float: left;
    width: 80%;
}
.comment-list li .comment-section .user-info {
    width: 100%;
    font-size: 15px;
}
.comment-section .user-info .user-name {
    color: #2fb3ff;
}
.comment-section .user-info .comment-timestamp {
    margin: 0 10px 0 16px;
    font-size: 12px;
    color: #bbb;
}
.comment-list li .comment-section .comment-text {
    padding-top: 10px;
    margin-bottom: 5px;
    font-size: 15px;
    word-wrap: break-word;
    word-break: normal;
}

/*测试*/
.v {
    margin: 0;
    padding: 0;
}
.v .v-thumb {
    z-index: 1;
    position: relative;
    background: #999;
    height: 120px;
    overflow: hidden;
}
.v img {
    display: block;
    border: 0 none;
}
.v .v-thumb img {
    width: 100%;
    height: auto;
}
.v .v-thumb .v-pic-real {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.v .v-link {
    z-index: 4;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.v .v-thumb .v-tagrb {
    z-index: 5;
    position: absolute;
    bottom: 3px;
    right: 5px;
    line-height: normal;
}
.v .v-time {
    color: #fff;
    font-family: Tahoma, arial, helvetica, verdana, tahoma, sans-serif;
    white-space: nowrap;
}
.v .v-straw{
    position: absolute;
    top: 3px;
    right: 3px;
    display: inline-block;
    padding: 2px;
    /*background: #E5B559;*/
    background: #F65F00;
    color: #fff;
    font-size: 12px;
    z-index: 9;
    border-radius: 3px;
    font-family: cursive;
    line-height: normal;
}
.v .fn-duoji{
    position: absolute;
    bottom: 5px;
    left: 5px;
    font-size: 20px;
    background: rgba(0,0,0,.5);
    color: #fff;
    width: 25px;
    text-align: center;
    border-radius: 2px;
}
.v .v-metadata {
    padding: 5px 0;
    background: #d9d9d9 !important;
}
.v .v-title{
    overflow: hidden;
    white-space: normal;
    word-break: break-all;
    text-overflow: initial;
    padding: 0 4px;
    font-size: 18px;
    line-height: 24px;
    min-height: 48px;
    height: auto;
}
  .v .v-title,.v .v-title *{
      color:#111 !important;
  }
  .v .v-desc var,.v .v-desc var *{
      color:#111 !important;
  }

.v .v-desc{
    padding: 0 4px 0 4px;
    height:auto;
    color: #111;
    font-size: 14px;
    line-height: 22px;
}
.v .v-desc i,.v .v-desc span{
    color: #111;
    display: inline-block;
    font-size: 14px;
}
.v .v-desc i{
    font-size: 14px;
}
.fn-jinbi1{
    color: #eabd11 !important;
}
.v .v-desc var{
    font-style: normal;
    color: #111;
    font-size: 14px;
}
.swiper-container{
    /*margin-top: 40px !important;*/
    max-height: 200px;
}
.swiper-container img{
    width: 100%;
    height: 100%;
}


/*****************************************************************/

.adver{
    background: #f1f1f1;
    margin: 10px;
    position: relative;
    height: 70px;
    text-align: center;
    line-height: 70px;
}
.adver img{
    max-width: 100%;
}
.adver span{
    position: absolute;
    bottom: 0;
    right: 0;
    line-height: normal;
    padding: 2px 5px;
    background: rgba(0,0,0,.2);
    color: #fff;
    font-size: 12px;
}
.upload{
    position: fixed;
    right: 10px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #3b9eff;
    text-align: center;
    color: #fff;
    z-index: 100;
    font-size: 12px;
}
.upload i{
    display: block;
    font-size: 20px;
    margin-top: 5px;
}
.not-comment{
    min-height: 200px;
    text-align: center;
    line-height: 200px;
    width: 100%;
    background: transparent;
    display: block;
}

  /*底部*/
  footer{
      position: fixed;
      bottom: 0;
      height: 56px;
      width: 100%;
      background:#fff;
      border-top: 1px solid #eee;
      z-index: 111;
      display:flex;
      align-items:center;
      padding: 6px 6px; /* 取消左右缝隙 */
      box-sizing:border-box;
  }
  footer a{
      flex:1 1 0;
      margin: 0;                 /* 无缝 */
      height: 42px;
      text-align:center;
      color:#111;
      background:#fff;
      border:2px solid #111;
      border-radius: 8px;
      font-size: 15px;           /* 文字缩小 */
      font-weight: 700;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      padding: 2px 0;
      box-sizing:border-box;
  }
  footer a i{
      display:block;
      width:22px;
      height:22px;
      line-height:22px;
      font-size:14px !important; /* 图标缩小 */
      margin: 0 auto 2px;
      background:transparent;
      color:#111;
  }
  footer a.active{
        background:#fff;
        color:#E73332!important;
    }
    footer a.active i{
        color:#E73332!important;
    }

.gived{
    color:#FF9800!important;
}
/* ===== THEME_TOGGLE (global) ===== */
body{background:#fff;color:#111;}


/* 顶部徽标 + 切换按钮 */

/* ===== 分类/标签（列表页+首页通吃） ===== */

  /* === VIDEO_LIST_FILTER_UNIFIED_CARD === */
  .page-video-lists .vault-top .item{
    position:relative;
    padding:8px 10px;
    background:#fff;
  }
  .page-video-lists .vault-top .item + .item{
    border-top:1px solid #f1f1f1;
  }
  .page-video-lists .vault-top .item label{
    display:none;
  }
  .page-video-lists .vault-top .item ul{
    margin:0;
  }
  .page-video-lists #class_box,
  .page-video-lists #sub_box,
  .page-video-lists #tag_box,
  .page-video-lists #orderCode{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    align-items:flex-start;
    align-content:flex-start;
    gap:8px 8px;
    padding:0;
    margin:0;
    width:100%;
    list-style:none;
  }
  .page-video-lists #class_box li,
  .page-video-lists #sub_box li,
  .page-video-lists #tag_box li,
  .page-video-lists #orderCode li{
    margin:0;
    padding:0;
    list-style:none;
    flex:0 0 auto;
    width:auto;
  }
  .page-video-lists #class_box li a,
  .page-video-lists #sub_box li a,
  .page-video-lists #tag_box li a,
  .page-video-lists #orderCode li a{
    display:block;
    min-width:52px;
    height:32px;
    line-height:32px;
    padding:0 12px;
    margin:0;
    border:1px solid #e9e9e9;
    border-radius:8px;
    background:#f7f7f7;
    color:#333;
    font-size:13px;
    font-weight:500;
    text-align:center;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    box-sizing:border-box;
    box-shadow:none;
  }
  .page-video-lists #class_box li.current a,
  .page-video-lists #sub_box li.current a,
  .page-video-lists #tag_box li.current a,
  .page-video-lists #orderCode li.current a{
    background:#111;
    color:#fff;
    border-color:#111;
  }


/* 黑色主题：输入框/占位符可见 */

/* 黑色主题：黑白按钮文字可见 */

/* 黑色主题：链接默认色 */






/* NOFLASH_VAULTTOP_FORCE */
.vault-top{
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
  transition:none !important;
  animation:none !important;
}


/* LISTS_FINAL START */
/* lists 首屏只渲染最终态：不折叠、不动画、不闪 */
html.page-video-lists .vault-top{
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
}
html.page-video-lists .vault-top,
html.page-video-lists .vault-top *{
  transition:none !important;
  animation:none !important;
}
/* 更多按钮即使还存在也隐藏 */
html.page-video-lists .vault-top .select{display:none !important;}
/* LISTS_FINAL END */


/* LISTS_NOFLASH_FINAL START */
/* 关键：不靠 JS 加 class，lists.html 自己的容器已带 .page-video-lists，所以首屏直接最终态 */
.page-video-lists .vault-top,
.page-video-lists .vault-top *{
  transition:none !important;
  animation:none !important;
}

/* 不折叠 */
.page-video-lists .vault-top{
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
}

/* 更多按钮彻底隐藏（你已经删了，这里兜底） */
.page-video-lists .vault-top .select{display:none !important;}

/* 分类/排序按钮：最终态（后面你要再调小再说） */




/* layer global center hack removed: restore mobile layer default layout */

/* --- v-thumb & v-pic-real 修复：自适应比例，不变形、不裁切、不拉伸 --- */
.v .v-thumb {
    height: auto !important;
    aspect-ratio: 16 / 9; /* 按你的视频比例自动调节，可改成 4/3、3/4 等 */
    background: #000 !important;
}

.v .v-thumb .v-pic-real {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* --- 首页：只对 #home_list 做两列布局，不影响分类页 --- */
#home_list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    padding: 4px !important;
    box-sizing: border-box !important;
}

#home_list li {
    width: calc(50% - 6px) !important;  /* 两列等宽 */
    margin-bottom: 8px !important;     /* 竖向间隙 */
    list-style: none !important;
}

#home_list li .v {
    width: 100% !important;
    background: #fff !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

/* 首页图片比例固定 16:9，兼容所有手机（安卓/iPhone） */
#home_list li .v-thumb {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 8.5 !important;
    background: #fff !important;
}

#home_list li .v-thumb .v-pic-real {
    position: absolute !important;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    background-size: 100% 100% !important; background-repeat: no-repeat !important;
    background-position: center !important;
}


/* --- 首页真正两列布局：完全隔离分类页、搜索页 --- */
#home_list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
}

#home_list > li {
    width: calc(50% - 6px) !important;   /* 两列 */
    margin-bottom: 8px !important;
}

/* 内部卡片留一点点边距，看起来不贴边 */
#home_list > li .v {
    background: #fff !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}


/* --- 首页缩略图强制显示：兼容 iPhone X / 14 / 15 --- */
#home_list .v-thumb {
    min-height: 122px !important;
    position: relative !important;
}

#home_list .v-thumb .v-pic-real {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    background-size: 100% 100% !important; background-repeat: no-repeat !important;
    background-position: center !important;
}


/* --- 安卓与苹果统一：图片之间固定留 6px 缝隙 --- */
#home_list {
    padding: 3px !important;
}

#home_list > li {
    margin: 3px !important;
}


/* --- 修复 iPhone X 分类页不显示图片（只作用于分类页） --- */
.content-list:not(#home_list) .v-thumb {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 140px !important;   /* 🔥 关键：避免 iPhone X 高度塌陷 */
    background: #000 !important;
    overflow: hidden !important;
}

.content-list:not(#home_list) .v-thumb .v-pic-real {
    position: absolute !important;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
}


/* --- 分类页标题加粗 --- */
.content-list:not(#home_list) .v-title {
    font-weight: 700 !important;
    color: #111 !important;
}

/* 小说正文在黑夜模式下看不见，强制加深文字颜色 */
.novel-content,
.novel-show .content,
.article-con,
.article-content,
#chaptercontent,
#Article {
    color:#111 !important;
}
/* ===== NOVEL DARK MODE FIX ===== */
    background:#111 !important;          /* 小说正文背景改深色 */
    border-color:#333 !important;
}
    color:#eee !important;               /* 正文文字变亮 */
}

/* 字体设置按钮 */
    background:#333 !important;
    color:#eee !important;
}

/* 分页块 */
    background:#333 !important;
    color:#eee !important;
}
    background:#4285f4 !important;
    color:#fff !important;
}

/* === FORCE CONSISTENT SCALE (MOBILE / TABLET) === */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{
  max-width:100%;
}

/* =========================
   TABLET / RESPONSIVE TUNE
   ========================= */

/* 1) 全设备：防止华为/部分WebView自动放大字体导致布局“被撑大” */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

/* 2) 全设备：不要让 body 自己做 max-width 居中（改为由容器控制） */
body{
  margin:0;
  max-width:none;
  overflow-x:hidden;
}

/* 3) 平板：居中容器 + 更舒服的留白 */
@media (min-width: 768px){
  /* 你站里主要内容容器常见是 .content 或 .box */
  .content, .box{
    max-width: 1100px;
    margin-left:auto;
    margin-right:auto;
    padding-left:16px;
    padding-right:16px;
    box-sizing:border-box;
  }


/* 4) 平板：列表改栅格（尽量兼容你现有结构）
   你的卡片类名里常见：.content-list li / .v / .pic-list 等
   这里用“尽量不破坏”的写法：只对常见列表容器生效 */
@media (min-width: 768px){
  .content-list,
  .pic-list,
  .img-list,
  .v-list,
  .list{
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:12px;
  }
  .content-list li,
  .pic-list li,
  .img-list li,
  .v-list li,
  .list li{
    width:auto !important;
    margin:0 !important;
  }
}

/* 5) 大平板/横屏：3列更像“App” */
@media (min-width: 1024px){
  .content-list,
  .pic-list,
  .img-list,
  .v-list,
  .list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* =========================
   TABLET / RESPONSIVE OPT (2026-02-20)
   ========================= */

/* 防系统/浏览器自动放大字体导致布局炸 */
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{ margin:0; max-width:none; overflow-x:hidden; }

/* 平板：内容居中 + 留白 */
@media (min-width: 768px){
  .content, .box, .vault-box, .container, .main{
    max-width: 1180px;
    margin-left:auto;
    margin-right:auto;
    padding-left:16px;
    padding-right:16px;
    box-sizing:border-box;
  }


/* 平板/桌面：列表多列（兼容你站的 li 结构） */
@media (min-width: 900px){
  /* 常见列表容器：视频列表/图片列表 */
  #home_list, .content-list, .pics, .v-list, .list, ul#list, ul.video_list, ul.img_list{
    display:grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap:12px !important;
  }
  #home_list li, .content-list li, .pics li, .v-list li, .list li, ul#list li, ul.video_list li, ul.img_list li{
    width:auto !important;
    float:none !important;
  }
}

/* 中等平板：2列 */
@media (min-width: 768px) and (max-width: 899px){
  #home_list, .content-list, .pics, .v-list, .list, ul#list, ul.video_list, ul.img_list{
    display:grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap:12px !important;
  }
  #home_list li, .content-list li, .pics li, .v-list li, .list li, ul#list li, ul.video_list li, ul.img_list li{
    width:auto !important;
    float:none !important;
  }
}

/* =========================================================
   TABLET LAYOUT OPTIMIZE (>=768px)  [BEGIN]
   目标：平板更像“网站”，更舒服：居中容器、列表多列、头部不臃肿
   ========================================================= */
@media (min-width:768px){

  /* 1) 页面主体：居中 + 留白 */
  .content, .box{
    max-width: 1180px;
    margin-left:auto;
    margin-right:auto;
    padding-left:18px;
    padding-right:18px;
    box-sizing:border-box;
  }


  /* 4) 首页/列表：变多列（命中 #home_list / .content-list） */
  #home_list.content-list,
  .content-list{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:14px 14px !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  /* 默认 3 列 */
  #home_list.content-list > li,
  .content-list > li{
    width: calc((100% - 28px) / 3) !important; /* 2 个 gap=14 => 28 */
    margin:0 !important;
    box-sizing:border-box !important;
  }

  /* 更大平板/横屏：4 列 */
  @media (min-width:1024px){
    #home_list.content-list > li,
    .content-list > li{
      width: calc((100% - 42px) / 4) !important; /* 3 个 gap=14 => 42 */
    }
  }

  /* 5) 卡片更“像卡片”：避免贴边（不依赖你的具体结构） */
  .content-list li{
    border-radius:12px;
    overflow:hidden;
  }
}
/* =========================
   TABLET LAYOUT OPTIMIZE [END]
   ========================= */

/* === LISTS_ALIGN_LEFT_BEGIN: 列表页“全部/亚洲/欧美...”左对齐（仅 page-video-lists） === */
  /* === VIDEO_LIST_FILTER_UNIFIED_CARD === */
  .page-video-lists .vault-top .item{
    position:relative !important;
    margin:0 5px !important;
padding:8px 5px !important;
      background:transparent !important;
  }
    .page-video-lists .vault-top .tab,.page-video-lists .vault-top .tab a{background:transparent !important;color:#eaeaea !important;}
    .page-video-lists .vault-top .tab a.cur{color:#ff6b6b !important;border-bottom-color:#ff6b6b !important;}
    .page-video-lists #class_box li a,.page-video-lists #sub_box li a,.page-video-lists #tag_box li a,.page-video-lists #orderCode li a{background:rgba(255,255,255,.06) !important;border-color:rgba(255,255,255,.10) !important;color:#f1f1f1 !important;}
  .page-video-lists .vault-top .item + .item{
      border-top:1px solid rgba(255,255,255,.10) !important;
    }
  .page-video-lists .vault-top .item + .item::before{
    display:none !important;
  }
  .page-video-lists .vault-top .item label{
    display:none !important;
  }
  .page-video-lists .vault-top .item ul{
    margin:0 !important;
  }

  .page-video-lists #class_box,
  .page-video-lists #sub_box,
  .page-video-lists #tag_box,
  .page-video-lists #orderCode{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:flex-start !important;
    align-items:flex-start !important;
    align-content:flex-start !important;
    gap:4px 4px !important;
    padding:0 !important;
    margin:0 !important;
    width:100% !important;
    list-style:none !important;
  }

  .page-video-lists #class_box li,
  .page-video-lists #sub_box li,
  .page-video-lists #tag_box li,
  .page-video-lists #orderCode li{
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
    flex:0 0 auto !important;
    width:auto !important;
  }

  .page-video-lists #class_box li a,
  .page-video-lists #sub_box li a,
  .page-video-lists #tag_box li a,
  .page-video-lists #orderCode li a{
    display:block !important;
    min-width:44px !important;
    height:32px !important;
    line-height:32px !important;
    padding:0 8px !important;
    margin:0 !important;
    border:1px solid #e9e9e9 !important;
    border-radius:8px !important;
    background:#f7f7f7 !important;
    color:#333 !important;
    font-size:13px !important;
    font-weight:500 !important;
    text-align:center !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    box-sizing:border-box !important;
    box-shadow:none !important;
  }

  .page-video-lists #class_box li.current a,
  .page-video-lists #sub_box li.current a,
  .page-video-lists #tag_box li.current a,
  .page-video-lists #orderCode li.current a{
    background:#111 !important;
    color:#fff !important;
    border-color:#111 !important;
  }


/* FAVOR_TAB_CAPSULE */
.fav-tabs{
  display:flex;
  gap:10px;
  padding:10px 12px;
  overflow-x:auto;
}
.fav-tab{
  padding:6px 14px;
  border-radius:999px;
  background:#f5f5f5;
  color:#333;
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
}
.fav-tab.on{
  background:#ff3b3b;
  color:#fff;
}

/* TABBOX_CAPSULE: member 收藏顶部分类胶囊 */
.tab-box{
  display:flex !important;
  gap:10px !important;
  padding:10px 12px !important;
  overflow-x:auto !important;
  white-space:nowrap !important;
}
.tab-box a{
  display:inline-block !important;
  padding:6px 14px !important;
  border-radius:999px !important;
  background:#f5f5f5 !important;
  color:#333 !important;
  font-size:14px !important;
  font-weight:600 !important;
  margin:0 !important;
  border:0 !important;
}
.tab-box a.cur{
  background:#ff3b3b !important;
  color:#fff !important;
  border:0 !important;
}

/* TABBOX_CAPSULE_CLEAN: 去掉 jQueryMobile 的分隔线/伪元素/阴影 */
.tab-box a:before,
.tab-box a:after{
  content:none !important;
  display:none !important;
}
.tab-box a,
.tab-box a.ui-btn,
.tab-box a.ui-link{
  background-image:none !important;
  box-shadow:none !important;
  text-shadow:none !important;
  border:0 !important;
}
.tab-box .ui-btn-inner,
.tab-box .ui-btn-text{
  border:0 !important;
  background:none !important;
  box-shadow:none !important;
  text-shadow:none !important;
  padding:0 !important;
}

/* FIX_CLEAR_TEXT: 移除 jQueryMobile 搜索框的 clear text */
.ui-input-clear,
.ui-input-clear:before,
.ui-input-clear:after{
  display:none !important;
  content:none !important;
}
input::-webkit-search-cancel-button{
  -webkit-appearance:none;
  display:none;
}
input::-ms-clear{
  display:none;
}

/* === FIX: 视频缩略图去黑边，自动铺满 === */
.v-thumb{
    position: relative;
    overflow: hidden;
}
.v-thumb img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;      /* 关键：裁剪铺满 */
    object-position: center;
}

/* === FIX2: 彻底消除缩略图底部空白 === */
.v-thumb{
    position: relative;
    overflow: hidden;
}

.v-thumb img{
    position: absolute;      /* 关键 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* === FORCE_COVER: 非首页列表(含消费记录)缩略图铺满裁切，去黑条 === */
.content-list:not(#home_list) .v .v-thumb{
  position: relative !important;
  overflow: hidden !important;
}

.content-list:not(#home_list) .v .v-thumb img{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* === PURCHASE NOTICE（已购买视频页公告） === */
.purchase-notice{
    margin: 10px 12px;
    padding: 10px 12px;
    border: 1px solid #ff4d4f;
    border-radius: 6px;
    background: #fff5f5;
    color: #d9363e;
    font-size: 15px;          /* 比普通字稍大 */
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.purchase-notice .notice-icon{
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background: no-repeat center/contain;
    background-image:url("data:image/svg+xml,%3Csvg viewBox=%270 0 1024 1024%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath fill=%27%23ff4d4f%27 d=%27M128 384v256h192l224 224V160L320 384H128zm640 128c0-74-42-138-104-170v340c62-32 104-96 104-170zm64 0c0 102-58 190-144 234v-468c86 44 144 132 144 234z%27/%3E%3C/svg%3E");
}

/* CENTER_MSG_ONLY_20260223 */
.layui-m-layer0.layui-m-layer-msg{
  top: 50% !important;
  bottom: auto !important;
}
.layui-m-layer0.layui-m-layer-msg .layui-m-layerchild{
  -webkit-transform: translateY(-50%) !important;
  transform: translateY(-50%) !important;
}

/* CENTER_MSG_ONLY_20260223_V2 */
.layui-m-layer.layui-m-layer-msg{
  top: 50% !important;
  bottom: auto !important;
}
.layui-m-layer.layui-m-layer-msg .layui-m-layerchild{
  -webkit-transform: translateY(-50%) !important;
  transform: translateY(-50%) !important;
}
.layui-m-layer.layui-m-layer-msg .layui-m-layercont{
  white-space: normal !important;
  word-break: break-all !important;
  overflow-wrap: anywhere !important;
  line-height: 1.45 !important;
}

/* MSG_CENTER_5_CENTER_FINAL_20260223 */
body .layui-m-layer.MSG_CENTER_5 .layui-m-layerchild{
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  -webkit-transform: translate(-50%, -50%) !important;
  transform: translate(-50%, -50%) !important;
  max-width: 86% !important;
  width: auto !important;
  -webkit-animation: none !important;
  animation: none !important;
}
body .layui-m-layer.MSG_CENTER_5 .layui-m-layersection{
  top: auto !important;
}

body .layui-m-layer.MSG_CENTER_5 .layui-m-layerchild.layui-m-layer-msg{
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  bottom: auto !important;
  right: auto !important;
  margin: 0 !important;
  -webkit-transform: translate(-50%, -50%) !important;
  transform: translate(-50%, -50%) !important;
  max-width: 86% !important;
  width: auto !important;
  -webkit-animation: none !important;
  animation: none !important;
}
body .layui-m-layer.MSG_CENTER_5 .layui-m-layerchild.layui-m-layer-msg .layui-m-layercont{
  display: block !important;
  text-align: center !important;
  width: auto !important;
  padding: 10px 16px !important;
  white-space: normal !important;
  word-break: break-all !important;
  overflow-wrap: anywhere !important;
  line-height: 1.45 !important;
}


  footer a.nav-back i{
      transform: rotate(180deg);
  }

  #wapBackTop{
      position:fixed;
      right:12px;
      bottom:70px;
      width:36px;
      height:36px;
      display:none;
      text-align:center;
      line-height:36px;
      font-size:20px;
      font-weight:700;
      color:#333;
      background:#fff;
      border:1px solid rgba(0,0,0,.12);
      border-radius:50%;
      box-shadow:0 2px 8px rgba(0,0,0,.12);
      z-index:1002;
  }
/* IPAD_TOP_NAV_DARK_START */
@media screen and (min-width:768px) and (max-width:1366px) and (pointer:coarse){
  .page-video-lists .vault-top .tab{
    background:linear-gradient(180deg,#111 0%,#1a1a1a 38%,#232323 100%) !important;
  }
  .page-video-lists .vault-top .tab .audioNavNoWrap{
    background:transparent !important;
  }
  .page-video-lists .vault-top .tab a,
  .page-video-lists .vault-top .tab .audioNavNoWrap a{
    color:#fff !important;
  }
  .page-video-lists .vault-top .tab a.cur,
  .page-video-lists .vault-top .tab .audioNavNoWrap a.cur{
    color:#ff6b6b !important;
    border-bottom-color:#ff6b6b !important;
  }
}
/* IPAD_TOP_NAV_DARK_END */
