.marquee {
    overflow: hidden;
    display: -ms-flexbox;
    display: flex;
    height: 34px;
    background: #EFF7F8 url(../../images/gg.png) no-repeat 5px center;
    margin:10px  15px 0;
    background-size: 15px;
    padding-left:25px;
}
.marquee span {
    font-size: 1rem!important;
    margin: auto 0.1rem;
}
.marquee span:first-of-type img {
    height: 34px;
    vertical-align: top;
}
/* 纯自动播报：禁止长按选中/拖蓝、禁止点击有反应（pointer-events 让触点直接穿透）。
   位置必须在 .marquee 上，内层 span 已由 p 全部包住，逐层都不可选。 */
.marquee,
.marquee * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    pointer-events: none;
}
.marquee .marquee_box {
    display: inline-block;
    width: calc(100%);
    margin-left: 0.1rem;
    height: 34px;
    overflow: hidden;
    line-height: 34px;
    position: relative;
    isolation: isolate;
}
/* 上下 8px 羽化：让滚到边线的那一行淡出，而不是被硬切掉。
   用与底色一致的渐变盖一层，比 mask-image 在 iOS 上稳，且不会碰到左侧喇叭图标。
   行高 34px、字 14px，上下各留 10px，8px 的渐变全部落在留白里，不啃字。 */
.marquee .marquee_box::before,
.marquee .marquee_box::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 8px;
    pointer-events: none;
    z-index: 2;
}
.marquee .marquee_box::before {
    top: 0;
    background: linear-gradient(to bottom, #EFF7F8 0%, rgba(239,247,248,0) 100%);
}
.marquee .marquee_box::after {
    bottom: 0;
    background: linear-gradient(to top, #EFF7F8 0%, rgba(239,247,248,0) 100%);
}
.marquee .marquee_box .marquee_list p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    margin: 0;
}
/* 播报三段：账号为主、时间次要、会员名用品牌蓝点出来
   原 #97a1ac 在 #EFF7F8 底上只有 2.4:1，14px 小字看着发虚，统一加深 */
.marquee .mq-name { color: #333d47; }
.marquee .mq-time { color: #6b7784; }
.marquee .mq-group { color: #0E7490; }
/* 盖掉上面对 .marquee span 的统一设置（1rem + 左右 margin），保持 14px 连续排版 */
.marquee .marquee_box .marquee_list p span { font-size: 14px !important; margin: 0; }
/* 购买播报「停一下再滚一行」：位移和时长由脚本写行内 style（transition + translateY），
   这里只负责提合成层，避免 iOS 上滚动时闪。缓动在脚本里用 cubic-bezier(.4,0,.2,1)。 */
.marquee .marquee_box .marquee_list {
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.weui-footer, .weui-grid__label{font-size: 12px;}
.weui-grid{ padding: 5px 10px}
.weui-search-bar:after{ border:0}
.weui-grids,.weui-popup__modal{ background:#FFF}
.weui-grids{ margin-bottom:10px;}
.popup-second-title {text-align: center; font-size: 24px;color: #333;font-weight: 400;margin: 30px 15px 10px 15px;}
.close-popup{ margin:0 15px; border-radius:30px; margin-bottom:20px;}
.weui-article p{ margin:0}
.allqs a{color:#e14546;}
.bottombtn{ position:fixed; background:#FFF; padding:15px 0 0 ; bottom:0; width:100%; left:0; z-index:999}
.weui-popup__modal .fixbox {position: absolute;-webkit-overflow-scrolling: touch;width: 100%;height: 100vh;overflow: hidden;overflow-y: auto;}
.weui-search-bar__cancel-btn{color:#e14546; }
.homenav{ position:absolute; right:10px; top:50px; background: #fff; ;z-index: 15;box-shadow: 0 0 20px 0px #E6E6E6; border-radius:3px; display:none}
.homenav ul{ padding:0; margin:0}
.homenav li{ text-align:center;padding:0 10px 0 30px; font-size:14px; color:#FFF; background-size:16px; list-style:none }
.homenav li.navfir{border-bottom:1px solid #eee;  background-size:16px;}
.homenav li a{ font-size:14px; color:#666; text-decoration:none}
.mask{height:100%; width:100%; position:fixed; _position:absolute; top:0; z-index:10;opacity:0.3; filter: alpha(opacity=30); background-color:#000; display:none; }
.weui-search-bar{background:none; padding:10px;}
.weui-article{padding-bottom:100px}
.pagebox{ text-align:center; padding:15px 0}.pagebox a{ color:#666; text-align:center;}
.weui-popup__container{ z-index:16;}
.swiper-container { margin:10px 15px; border-radius:7px;box-shadow: 0 3px 13px 4px #f3f3f3;}
.swiper-container img {display: block;width: 100%;aspect-ratio: 690/318;object-fit: cover;}
.weui-grid__icon{ width:33px; height:auto}
.viptip{color:#f00;line-height:initial; font-size: 20px;height:20px; margin-right:5px; }
.mod_top_nav{ padding:0 15px; margin-bottom:5px; }
.course-mod{ width:100%; float:left; padding:0; box-sizing:border-box; margin:0;  }
.mod_list{ padding:0;}
.right_nav{ float:right; padding-top:20px}
.mods{ margin:15px 10px; background:#FFF; box-shadow: 0px 3px 13px 4px #eee; border-radius:5px;}
.moreico{ margin:0 0 0 5px}
.hotico{color:#E14A2B}
.livelabel{ padding:0 7px !important;background: rgba(0,0,0,.3) !important; top:9px !important; right: inherit !important; left:10px; border-radius:1rem}
.livelabel .iconfont{ font-size:13px;}
.watchingicoimg{ margin-right:10px; width:12px !important; height:12px !important }
.video_topssearch{ display:block; margin: 15px 0 10px;  width:100%; box-sizing:border-box; z-index:100;}
.video_topssearch .sitenamebox{ float:left;display:flex; margin:0 15px; }
.video_topssearch .sitenamebox a{ color:#FFF; font-size:16px; margin-top:3px;}
.video_topssearch .searchform{display:flex;position:relative; margin:0 15px;}
.video_topssearch .search_keywords{ font-family: PingFang-SC-Regular;display: inline-block;-moz-box-sizing: border-box;width:100%;background-color: rgba(226, 226, 226, 0.4);height:35px; padding:0 15px; box-sizing:border-box; border-radius:20px; z-index:100;  border:0; top:1px;outline: 0; left:0; -webkit-tap-highlight-color: transparent; font-size:14px;}
.video_topssearch .search_keywords::placeholder{ color:#999; text-align: center}
.video_topssearch .search_btn{ position:absolute; right:15px; background:none;border:0;outline: 0; top:8px; font-size:15px; color:#333; z-index:101 }
.video_topssearch .search_btn .weui-icon-search{color:#333; }
.weui-grids:before{ border:0}
.label_boottom{font-size:12px; margin-top:1px; color:#a0a7b5}
.rightspan{ float:right; }
.catebox{ float:left;background: #fff3f3;color: #E14A2B;  margin-right:5px; padding:0 5px; font-size:12px; line-height:normal;    margin-top: 4px;}
.weui-cell__bd p{ height:26px; overflow:hidden}
.sline{ margin:0 5px; color:#eee}
.cateico{ position:absolute; left:15px; top:15px; color:#0E7490;font-size:14px;}
.indexcatebd{ padding-left:30px;}
.gocate{background-image: linear-gradient(90deg,#0E7490,#1291AC); color:#FFF; border-radius:3px; padding:2px 10px; font-size:14px}
/* 底部留白 70px：底部 tabbar 是 fixed，实测高约 58px（5 padding + 32 图标行 + 3 + 18 文案），
   原来只留 30px，滚到底会盖住最后一张卡片的价格行（列表页 .doc-list 用的就是 70px） */
.bodybox{padding:0 15px 70px; margin-top: 15px; border-top: 8px solid #fafafd;}
/* iOS 手势条再兜一层；安卓/华为 env 为 0 时按上面的 70px 走 */
@supports (padding-bottom: env(safe-area-inset-bottom)){
    .bodybox{padding-bottom: calc(70px + env(safe-area-inset-bottom));}
}
.nav-tab-box{height: 57px; position:-webkit-sticky; position:sticky; top:0; z-index:99; background:#fff}
.tab-box{border-bottom: 1px solid #eee; height: 41px; padding-top: 15px; background: #fff; z-index: 99; margin-bottom: 10px; width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch}
.tab-box::-webkit-scrollbar {display: none;}
.tab-box ul{ height: 41px; display: flex; align-items:center; position:relative}
.tab-box ul li{ flex: 0 0 auto; color: #666; margin-right: 10px; padding:0 4px; font-size:16px; white-space:nowrap}
.tab-box ul li.active{ font-weight: 600; position: relative; color: #0E7490; font-size: 16px;}
.tab-box .down-open-btn{ display: none}
@supports (bottom: env(safe-area-inset-bottom)){body,.weui-tabbar{padding-bottom: env(safe-area-inset-bottom);padding-bottom: constant(safe-area-inset-bottom);}}
.course-mod:last-child .mod_content{ border: 0}
.mod_content{ display: flex;flex-direction: column; justify-content: center; border-bottom:1px solid #eee; height: 85px; padding:15px 0; margin:0; position: relative}
.mod_content_right{position: absolute; right: 10px; width: 70px;  border-radius: 5px; box-shadow: 0 0 12px 2px #f5f5f5; margin-left: 15px; box-sizing: border-box; height: 85px;}
.mod_content_right img{ width: 100%; height: 100%; object-position: top; object-fit: scale-down;}
.mod_content_right span.type-label{position:absolute;right:5px;bottom:7px;font-size:24px;}
.mod_content_top{word-wrap:break-word; font-weight: 500;  padding-right: 100px; line-height: 22px; overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
.mod_bottom_detail-info{float:left;width:auto; font-size: 13px}
.mod_bottom{margin-top:10px;text-align:right;padding:0;font-size:12px;display: flex; color: #9a9a9a}
.mod_top_nav h2{ display: inline-block;font-size: 18px;color: #333;padding-right: 22px; margin:10px 0 5px;}
.mod_top_nav .top_nav_breadcrumb{ float:right;color: #999;font-size: 14px;margin: 13px 0 5px;}
.mod_top_nav .top_nav_breadcrumb a{ display: inline-block;padding: 0 3px;font-size: 14px;color: #999;}
.mod_top_nav .top_nav_breadcrumb cite{ margin:0 5px; color:#e3e3e3}
.mod_content_center-title{padding:0px 8px 3px 35px;font-size:16px; height:26px; color:#333;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;margin:0 0 5px; line-height:26px;}
.header_iconav .weui-grid:before,.header_iconav .weui-grid:after{ display:none  !important;}
.header_iconav,.live_course{margin: 20px auto 0; padding-bottom:10px;position: relative;overflow: hidden;z-index: 1; width:100%; background:#FFF}
.header_iconav .swiper-pagination-bullet{ height:3px; width:5px;border-radius:10px;margin:0 2px !important}
.header_iconav .swiper-pagination-bullet-active{ background:#0E7490;width:12px; border-radius: 50px;}
.swiper-pagination-bullet-active{ background:#eee}
.header_iconav .swiper-pagination-bullets{ bottom:0px}
.header_iconav .weui-grids{ margin-bottom:0 !important}
.categoryView ul{display:flex;margin:14px 15px 0;flex-wrap:wrap;justify-content:space-between}
.categoryView ul li{position:relative;box-sizing:border-box;margin-bottom:.08rem;width:49%;height:85px;background-size:100% 100%}
.categoryView ul li a{position:absolute;top:0;display:block;width:100%;height:100%}
.categoryView ul li p:nth-of-type(1){margin-top:16px;margin-left:12px;color:#333;font-weight:700;font-size:16px}
.categoryView ul li p:nth-of-type(2){margin-top:5px;margin-left:12px;width:100px;color:#666;font-size:12px;line-height:15px}
.active-line{position:absolute;bottom:5px;left:0;width:5px;height:3px;border-radius:50px;background:#0E7490;transform-origin:50% 50%;-webkit-transform-origin:50% 50%;-webkit-transition:transform .3s cubic-bezier(.22,.61,.36,1), width .3s cubic-bezier(.22,.61,.36,1);transition:transform .3s cubic-bezier(.22,.61,.36,1), width .3s cubic-bezier(.22,.61,.36,1)}
/* 首屏入场：宽度 0 → 实宽的同时把 translateX 从「tab 中心」拉回 tab 左边，
   两者同缓动插值，中线恒定在 tab 中心，看上去就是从中间向两边长出来。
   只在首屏用一次 0.35s，之后切换仍是 0.22s。 */
.active-line.grow{-webkit-transition-duration:.35s,.35s;transition-duration:.35s,.35s}
#down-open{ position: relative}
#down-open ul{  height: auto; display: inline-block; width: 100%;}
#down-open ul li{ float: left; margin-bottom: 10px}
#down-open .down-open-btn{ display: block; position: absolute; right: 0; top: 15px}
#down-open .down-open-btn:before{content: " ";  box-shadow:0 0 3px 0 #f0f0f0; position: absolute;left: -15px;top:3px; width: 1px; height: 20px; border-right: 1px solid #f0f0f0;}
#down-open .down-open-btn .keke_iconfont{ font-size: 14px;}
#down-open .active-line{ display: none}
#down-open ul li.active{ color: #0E7490;font-weight: 600;}
.w20p{ width: 20% !important}
.weui-loadmore{ margin-top: 0; display:block; float: left; width: 100%; margin-bottom: -10px}
.fixed-top{ position: fixed; top: 0; padding-top: 10px; background: #fff; z-index: 999}

/* ====== 手机端卡片网格 (首页) ====== */
.doc-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; padding:0; margin-top:5px }

/* ====== 列表到底：查看更多资料（与小程序同款胶囊） ======
   原来 H5 到底只有一片空白，用户以为加载坏了；
   尺寸对齐小程序（320rpx = 160px / 18rpx = 9px / 27rpx = 13.5px） */
.see-more{ padding:20px 0 0; text-align:center }
.see-more a{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:160px; padding:9px 0; font-size:13.5px; line-height:1.2;
  color:#0E7490; background:#EDF6F7; border-radius:999px; text-decoration:none;
  transition:background .18s ease, transform .18s ease;
}
.see-more a:active{ background:#dbe9ff; transform:scale(.985) }
.see-more i{ font-style:normal; margin-left:4px; font-size:14px; line-height:1 }
.doc-card{ display:block; background:#fff; border-radius:6px; overflow:hidden; text-decoration:none; border:1px solid #eee; transition:box-shadow .2s; -webkit-tap-highlight-color:transparent }
.doc-card:active{ box-shadow:0 3px 12px rgba(0,0,0,.1) }
.card-thumb{ position:relative; width:100%; padding-top:62%; overflow:hidden; background:#f7f8fa }
.card-thumb img:not(.kd-fticon){ position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; display:block }
.card-vip-tag{ position:absolute; top:6px; left:6px; background:linear-gradient(135deg,#f60,#f30); color:#fff; font-size:10px; padding:1px 7px; border-radius:2px; z-index:2; font-weight:600; line-height:1.5 }
.card-type-tag{ position:absolute; top:4px; right:4px; color:#fff; font-size:18px; padding:0; z-index:2; line-height:1; text-shadow:0 1px 3px rgba(0,0,0,.35) }
.card-type-tag .kd-fticon{ width:18px; height:18px; display:block; filter:drop-shadow(0 1px 2px rgba(0,0,0,.28)) }
.card-body{ padding:10px 11px 12px }
.card-title{ font-size:13px; color:#333; margin:0 0 8px; line-height:1.35; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; font-weight:400; min-height:35px }
.card-meta{ display:flex; align-items:center; justify-content:space-between }
.card-price{ font-size:13px; color:#E14A2B; font-weight:600 }
.card-price .free{ color:#52c41a; font-weight:400; font-size:12px }
.card-stats{ font-size:11px; color:#bbb }
.card-stats .keke_iconfont{ font-size:12px !important; margin-right:1px; vertical-align:middle }

/* ====== 顶部收录统计：左累计 / 右今日更新 ====== */
/* .ue_c 只有上下 padding，这里补成两端对齐；不动它的虚线底边 */
.tips.ue_c{ display:flex; align-items:center; justify-content:space-between; }
/* 左侧正文跟右侧同号，别一边 12 一边 13 看着像两拨人写的 */
.tips.ue_c .countnum{ font-size:13px }
/* 右侧数字用 span 不用 strong —— .ue_c strong 带 color:#333 !important，会把它压成黑的。
   文字与左侧同为灰，只有数字带色：整行染蓝会把「今日更新」读成按钮 */
.stat-today{ font-size:13px; color:#8a8f96; text-decoration:none; white-space:nowrap }
.stat-today .n{ font-size:15px; font-weight:600; color:#0E7490 }

