/* ============================================================
   奇米影视 深色主题（仅 88cckk.com）
   对标 gs4x7nq4.com，1880/1750 容器 + 深色卡片墙
   ============================================================ */

body.qm-dark{
    background:#1F1F1F;
    color:#fff;
    padding-top:72px;
    font-family:"PingFang SC","Microsoft YaHei","微软雅黑",Arial,sans-serif;
}
body.qm-dark a{color:inherit;text-decoration:none;}
body.qm-dark a:hover{color:#fff;text-decoration:none;}
body.qm-dark img{max-width:100%;}
body.qm-dark .myui-topbg{display:none!important;}

/* ---------- 容器 ---------- */
body.qm-dark .container,
body.qm-dark .container.min{
    width:auto;
    max-width:1830px;
    padding-left:40px;
    padding-right:40px;
}
@media (max-width:767px){
    body.qm-dark .container,
    body.qm-dark .container.min{padding-left:12px;padding-right:12px;}
}

/* ---------- 顶部导航 ---------- */
body.qm-dark .myui-header__top{
    position:fixed;top:0;left:0;right:0;
    height:72px;background:#121212;
    box-shadow:none;border:0;z-index:100;
}
body.qm-dark .myui-header__top>.container{height:72px;}
body.qm-dark .myui-header__logo{height:72px;}
body.qm-dark .myui-header__logo .logo{color:#ff9900!important;line-height:72px!important;}
body.qm-dark .myui-header__menu>li>a{
    color:rgba(255,255,255,.85);font-size:18px;font-weight:500;line-height:72px;
}
body.qm-dark .myui-header__menu>li.active>a,
body.qm-dark .myui-header__menu>li>a:hover{color:#fff;font-weight:700;}
body.qm-dark .myui-header__user>li>a{color:rgba(255,255,255,.72);line-height:72px;font-size:17px;}
body.qm-dark .myui-header__user>li>a:hover{color:#fff;}
body.qm-dark .myui-header__user .dropdown-box{background:#1A1A1A;border:1px solid rgba(255,255,255,.08);}
body.qm-dark .myui-header__user .dropdown-box .text-muted{color:rgba(255,255,255,.6)!important;}
body.qm-dark .myui-header__user .dropdown-box a{color:#fff;}

/* 搜索面板 */
body.qm-dark .myui-header__search{
    background:#121212;border-top:1px solid rgba(255,255,255,.08);
    box-shadow:0 10px 30px rgba(0,0,0,.5);
}
body.qm-dark .myui-header__search .form-control{
    background:rgba(255,255,255,.08);border:0;color:#fff;border-radius:20px;
}
body.qm-dark .myui-header__search .form-control::placeholder{color:rgba(255,255,255,.4);}
body.qm-dark .myui-header__search .submit{color:rgba(255,255,255,.6);}
body.qm-dark .myui-header__search .search-hot a{color:rgba(255,255,255,.6);}
body.qm-dark .myui-header__search .dropdown-box{background:#1A1A1A;border:1px solid rgba(255,255,255,.08);}
body.qm-dark .search-dropdown-hot .text-muted{color:rgba(255,255,255,.6)!important;}
body.qm-dark .search-dropdown-hot a{color:#fff!important;}

/* ---------- 通用区块 ---------- */
.qm-sec{padding-top:60px;}
.qm-sec-head{
    display:flex;align-items:center;justify-content:space-between;
    margin-bottom:16px;
}
.qm-sec-head h2{font-size:29px;font-weight:600;color:#fff;margin:0;}
.qm-sec-head h2 small{font-size:14px;color:rgba(255,255,255,.4);margin-left:10px;font-weight:400;}
.qm-more{font-size:14px;color:rgba(255,255,255,.6);}
.qm-more:hover{color:#fff;}

/* ---------- 首页主视觉 ---------- */
.qm-hero{
    position:relative;height:900px;overflow:hidden;background:#000;
}
.qm-hero-track{position:absolute;inset:0;}
.qm-slide{
    position:absolute;inset:0;opacity:0;transition:opacity .6s ease;pointer-events:none;
}
.qm-slide.on{opacity:1;pointer-events:auto;}
.qm-slide>a{display:block;width:100%;height:100%;}
.qm-hero-info{
    position:absolute;left:50%;bottom:70px;transform:translateX(-50%);
    width:1830px;max-width:calc(100% - 80px);padding:0 40px;
    pointer-events:none;
}
.qm-hero-title{
    line-height:1.2;
    font-size:48px;font-weight:600;color:#fff;margin:0 0 10px;
    text-shadow:0 2px 18px rgba(0,0,0,.55);
    max-width:800px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.qm-hero-sub{
    line-height:1.4;
    font-size:14px;color:rgba(255,255,255,.6);margin:0;max-width:800px;
    text-shadow:0 1px 8px rgba(0,0,0,.6);
}
.qm-arrow{
    position:absolute;top:50%;transform:translateY(-50%);
    width:40px;height:80px;border:0;border-radius:8px;cursor:pointer;
    background:transparent;color:rgba(255,255,255,.4);font-size:40px;line-height:80px;
    padding:0;z-index:5;outline:none;
}
.qm-arrow:hover{background:rgba(255,255,255,.08);color:#fff;backdrop-filter:blur(8px);}
.qm-arrow.prev{left:10px;}
.qm-arrow.next{right:10px;}
.qm-dots{
    position:absolute;left:50%;bottom:70px;transform:translateX(-50%);
    height:32px;padding:0 14px;border-radius:100px;
    background:rgba(0,0,0,.3);backdrop-filter:blur(4px);
    display:flex;align-items:center;gap:12px;z-index:5;
}
.qm-dot{
    width:8px;height:8px;border-radius:8px;background:rgba(255,255,255,.3);
    cursor:pointer;transition:all .25s;
}
.qm-dot.on{width:16px;background:#fff;}

@media (max-width:1749px){
    .qm-hero{height:700px;}
    .qm-hero-title{font-size:40px;}
}
@media (max-width:1399px){
    .qm-hero{height:520px;}
    .qm-hero-title{font-size:34px;}
}
@media (max-width:991px){
    .qm-hero{height:380px;}
    .qm-hero-title{font-size:26px;}
}
@media (max-width:767px){
    .qm-hero{height:260px;}
    .qm-hero-info{bottom:36px;padding:0 12px;max-width:100%;}
    .qm-hero-title{font-size:20px;white-space:normal;}
    .qm-hero-sub{display:none;}
    .qm-arrow{display:none;}
    .qm-dots{bottom:24px;height:24px;}
}

/* ---------- 卡片 ---------- */
.qm-grid{display:grid;gap:40px 20px;}
.qm-grid-8{grid-template-columns:repeat(8,1fr);}
.qm-grid-7{grid-template-columns:repeat(7,1fr);}
.qm-grid-6{grid-template-columns:repeat(6,1fr);}
.qm-card{display:block;position:relative;}
.qm-poster{
    position:relative;padding-top:140%;border-radius:10px;overflow:hidden;
    background:#121212;
}
.qm-poster>img{
    position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;
    transition:transform .25s ease;
}
.qm-badge{
    position:absolute;top:10px;right:10px;z-index:3;
    height:17px;line-height:17px;padding:0 6px;border-radius:4px;
    background:#6D83F2;color:#fff;font-size:12px;font-weight:600;
}
.qm-badge:empty{display:none;}
.qm-hover{
    position:absolute;left:0;right:0;bottom:0;z-index:2;
    height:188px;padding:12px;box-sizing:border-box;
    background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.9) 100%);
    opacity:0;transition:opacity .25s ease;
    display:flex;flex-direction:column;justify-content:flex-end;
    font-size:12px;color:rgba(255,255,255,.8);
}
.qm-hover .qm-h-title{
    font-size:27px;font-weight:600;color:#fff;line-height:1.2;
    margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.qm-hover .qm-h-score{font-size:32px;font-weight:700;color:rgba(255,255,255,.4);float:right;line-height:1;}
.qm-hover .qm-h-tags{display:flex;gap:5px;flex-wrap:wrap;margin:6px 0 8px;}
.qm-hover .qm-h-tags span{
    height:24px;line-height:24px;padding:0 8px;border-radius:4px;
    background:rgba(255,255,255,.12);font-size:12px;color:#fff;
}
.qm-hover .qm-h-line{margin-top:4px;color:rgba(255,255,255,.8);}
.qm-hover .qm-h-desc{
    margin-top:6px;line-height:15px;color:rgba(255,255,255,.8);
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.qm-hover .qm-h-foot{
    display:flex;justify-content:space-between;align-items:center;
    margin-top:8px;color:rgba(255,255,255,.8);
}
.qm-card:hover .qm-poster>img{transform:scale(1.229,1.242) translateY(18px);}
.qm-card:hover .qm-hover{opacity:1;}
.qm-card:hover{z-index:10;}

.qm-info{
    display:flex;align-items:baseline;gap:6px;
    padding:8px 8px 0;
}
.qm-info h4{
    flex:1;margin:0;font-size:18px;font-weight:600;color:#fff;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.qm-info .qm-note{font-size:14px;color:rgba(255,255,255,.4);white-space:nowrap;}
.qm-info .qm-score{font-size:20px;font-weight:700;color:rgba(255,255,255,.4);white-space:nowrap;}

/* ---------- 首页：6 列 + 热榜 ---------- */
.qm-split{display:grid;grid-template-columns:1fr 426px;gap:16px;align-items:start;}
.qm-rank{background:transparent;}
.qm-rank-list{list-style:none;margin:0;padding:0;}
.qm-rank-list li{
    display:flex;align-items:center;gap:12px;
    height:48px;border-bottom:1px solid rgba(255,255,255,.06);
}
.qm-rank-list li.top,
.qm-rank-list li:nth-child(-n+3){height:108px;}
.qm-rank-no{
    width:32px;text-align:center;font-size:24px;font-weight:700;
    font-family:"DIN Alternate",Arial,sans-serif;color:#fff;flex:none;
}
.qm-rank-list li:nth-child(1) .qm-rank-no{color:#FF183E;}
.qm-rank-list li:nth-child(2) .qm-rank-no{color:#FF5D38;}
.qm-rank-list li:nth-child(3) .qm-rank-no{color:#FFB820;}
.qm-rank-main{flex:1;min-width:0;}
.qm-rank-main a{
    display:block;font-size:16px;color:#fff;line-height:22px;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.qm-rank-main em{
    display:block;font-style:normal;font-size:12px;color:rgba(255,255,255,.6);
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.qm-rank-heat{font-size:14px;color:rgba(255,255,255,.6);white-space:nowrap;}
.qm-rank-heat i{margin-right:3px;font-size:12px;}

/* ---------- 分类页筛选 ---------- */
.qm-filter{padding-top:20px;}
.qm-frow{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;}
.qm-frow:last-child{margin-bottom:0;}
.qm-chip{
    display:inline-block;height:36px;line-height:34px;padding:0 18px;
    border:1px solid rgba(255,255,255,.08);border-radius:6px;
    font-size:14px;color:#fff;white-space:nowrap;
}
.qm-chip:hover{border-color:rgba(255,255,255,.3);}
.qm-chip.on{background:#fff;color:#121212;border-color:#fff;font-weight:400;}
.qm-sort{
    display:flex;align-items:center;gap:18px;
    margin-top:24px;margin-bottom:20px;min-height:20px;
}
.qm-sort a{font-size:18px;color:rgba(255,255,255,.6);}
.qm-sort a.on{color:#fff;}
.qm-sort .qm-sep{width:1px;height:14px;background:rgba(255,255,255,.2);}
.qm-count{margin-left:auto;font-size:14px;color:rgba(255,255,255,.6);}
.qm-count b{color:#fff;font-weight:400;}

/* ---------- 分页 ---------- */
.qm-page{
    display:flex;align-items:center;justify-content:center;gap:10px;
    list-style:none;padding:60px 0 70px;margin:0;
}
.qm-page li{display:inline-block;}
.qm-page li a,.qm-page li span{
    display:inline-block;min-width:32px;height:32px;line-height:30px;
    padding:0 6px;border:1px solid rgba(255,255,255,.08);border-radius:4px;
    font-size:12px;text-align:center;color:#fff;box-sizing:border-box;
}
.qm-page li a:hover{border-color:rgba(255,255,255,.4);}
.qm-page li.on a,.qm-page li.on span{background:#fff;color:#121212;border-color:#fff;}
.qm-page li.disabled a,.qm-page li.disabled span{color:rgba(255,255,255,.4);border-color:rgba(255,255,255,.08);}
.qm-page .qm-jump{display:flex;align-items:center;gap:8px;margin-left:6px;color:rgba(255,255,255,.6);font-size:14px;}
.qm-page .qm-jump input{
    width:60px;height:32px;line-height:32px;text-align:center;
    background:transparent;border:1px solid rgba(255,255,255,.08);border-radius:4px;
    color:#fff;outline:none;
}
.qm-page .qm-jump button{
    width:32px;height:32px;background:transparent;border:1px solid rgba(255,255,255,.08);
    border-radius:4px;color:#fff;cursor:pointer;font-size:12px;
}

/* 分类页 SEO 文案（底部弱化） */
.qm-seo{margin-top:40px;padding:20px 0;color:rgba(255,255,255,.45);font-size:13px;line-height:22px;}
.qm-seo h1{font-size:16px;color:rgba(255,255,255,.6);font-weight:400;margin:0 0 8px;}
.qm-seo strong{color:rgba(255,255,255,.6);font-weight:400;}

/* 长尾词 */
.qm-tags{padding:24px 0 10px;}
.qm-tags h3{font-size:16px;color:rgba(255,255,255,.6);font-weight:400;margin:0 0 12px;}
.qm-tags a{
    display:inline-block;margin:0 10px 10px 0;padding:4px 10px;
    border:1px solid rgba(255,255,255,.08);border-radius:4px;
    font-size:13px;color:rgba(255,255,255,.6);
}

/* ---------- 详情页 ---------- */
.qm-detail-top{display:flex;gap:24px;padding-top:20px;}
.qm-poster-lg{
    flex:none;width:275px;height:397px;border-radius:12px;overflow:hidden;
    background:#121212;position:relative;
}
.qm-poster-lg img{width:100%;height:100%;object-fit:cover;}
.qm-poster-lg .qm-play-ic{
    position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
    background:rgba(0,0,0,.25);opacity:0;transition:.25s;font-size:44px;color:#fff;
}
.qm-poster-lg:hover .qm-play-ic{opacity:1;}
.qm-detail-info{flex:1;min-width:0;}
.qm-dtitle{font-size:36px;font-weight:600;color:#fff;margin:0 0 14px;line-height:1.3;}
.qm-dtitle small{font-size:16px;color:#ff5c5c;font-weight:400;margin-left:10px;}
.qm-chips{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:16px;}
.qm-chips a,.qm-chips span{
    display:inline-block;height:24px;line-height:22px;padding:0 11px;
    border:1px solid rgba(255,255,255,.08);border-radius:4px;
    font-size:14px;color:rgba(255,255,255,.6);box-sizing:border-box;
}
.qm-chips a:hover{border-color:rgba(255,255,255,.35);color:#fff;}
.qm-rows{font-size:16px;line-height:20px;margin-bottom:18px;}
.qm-rows>div{margin-bottom:18px;}
.qm-rows label{color:rgba(255,255,255,.6);font-weight:400;margin-right:5px;}
.qm-rows a{color:#fff;margin-right:10px;}
.qm-cta{display:flex;align-items:center;gap:12px;margin:18px 0 22px;}
.qm-btn-main{
    display:inline-flex;align-items:center;justify-content:center;gap:4px;
    width:160px;height:60px;background:#fff;color:#121212!important;
    border-radius:10px;font-size:20px;font-weight:500;
}
.qm-btn-main:hover{background:rgba(255,255,255,.9);color:#121212!important;}
.qm-btn-icon{
    display:inline-flex;align-items:center;justify-content:center;
    width:60px;height:60px;border:1px solid #fff;border-radius:10px;
    color:#fff;font-size:20px;
}
.qm-btn-icon:hover{background:rgba(255,255,255,.08);}
.qm-stats{display:flex;align-items:stretch;margin:10px 0 18px;}
.qm-stat{
    display:flex;flex-direction:column;justify-content:center;
    padding:0 22px;border-right:1px solid rgba(255,255,255,.12);
    min-height:37px;
}
.qm-stat:first-child{padding-left:0;}
.qm-stat:last-child{border-right:0;}
.qm-stat b{font-size:14px;color:#fff;font-weight:400;line-height:20px;}
.qm-stat span{font-size:12px;color:rgba(255,255,255,.6);line-height:18px;}
.qm-stat i{font-size:16px;margin-right:4px;color:rgba(255,255,255,.8);}
.qm-desc{font-size:16px;line-height:24px;color:rgba(255,255,255,.8);margin:0;}
.qm-panel{margin-top:40px;}
.qm-panel h2{font-size:20px;font-weight:500;color:#fff;margin:0 0 14px;}
.qm-lines{display:flex;flex-wrap:wrap;gap:10px;}
.qm-lines a{
    display:inline-block;height:42px;line-height:40px;padding:0 26px;
    border:1px solid rgba(255,255,255,.08);border-radius:6px;
    font-size:14px;color:rgba(255,255,255,.9);box-sizing:border-box;
}
.qm-lines a:hover,.qm-lines a.on{background:#fff;color:#121212;border-color:#fff;}
.qm-episodes{display:grid;grid-template-columns:repeat(8,1fr);gap:10px;margin:8px 0 0;padding:0;list-style:none;}
.qm-episodes li{margin:0;padding:0;list-style:none;}
.qm-lines.nav-tabs{border-bottom:0;padding:0;margin:0;}
.qm-lines.nav-tabs>li{float:none;display:inline-block;margin:0;}
.qm-lines.nav-tabs>li>a{margin:0;border:0;}
.qm-episodes a{
    display:block;height:40px;line-height:38px;text-align:center;
    border:1px solid rgba(255,255,255,.08);border-radius:6px;
    font-size:14px;color:rgba(255,255,255,.8);
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 6px;
}
.qm-episodes a:hover,.qm-episodes a.on{background:#fff;color:#121212;border-color:#fff;}

/* ---------- 播放页 ---------- */
.qm-player-shell{
    margin-top:20px;background:rgba(255,255,255,.04);
    border-radius:12px;overflow:hidden;
}
.qm-player{position:relative;width:100%;background:#000;}
.qm-player .embed-responsive{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;}
.qm-player .embed-responsive iframe,
.qm-player .embed-responsive video,
.qm-player .embed-responsive embed{
    position:absolute;left:0;top:0;width:100%!important;height:100%!important;border:0;
}
.qm-op{
    display:flex;align-items:center;gap:28px;
    height:54px;padding:0 24px;font-size:14px;color:rgba(255,255,255,.4);
}
.qm-op a{color:rgba(255,255,255,.4);display:inline-flex;align-items:center;gap:3px;}
.qm-op a:hover{color:#fff;}
.qm-op i{font-size:18px;}
.qm-op .qm-op-right{margin-left:auto;display:flex;align-items:center;gap:12px;}
.qm-op .qm-op-right span{font-size:14px;color:rgba(255,255,255,.4);}
.qm-play-head{display:flex;align-items:flex-end;gap:16px;margin-top:26px;}
.qm-play-title{font-size:30px;font-weight:700;color:#fff;margin:0;}
.qm-play-title small{font-size:16px;color:rgba(255,255,255,.6);font-weight:400;margin-left:8px;}
.qm-play-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px;color:rgba(255,255,255,.6);margin-top:12px;}
.qm-play-meta .qm-sep{color:rgba(255,255,255,.3);}
.qm-play-meta .qm-mtag{
    display:inline-block;height:26px;line-height:24px;padding:0 11px;
    border:1px solid rgba(255,255,255,.08);border-radius:4px;
    font-size:14px;color:rgba(255,255,255,.6);box-sizing:border-box;
}
.qm-play-desc{font-size:14px;line-height:22px;color:rgba(255,255,255,.6);margin-top:10px;}

/* 选集抽屉 */
.qm-drawer-handle{
    position:fixed;right:0;top:45%;width:18px;height:93px;z-index:95;
    background:#2A2A2A;border-radius:8px 0 0 8px;cursor:pointer;
    display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.6);
}
.qm-drawer{
    position:fixed;right:0;top:72px;bottom:0;width:360px;z-index:94;
    background:#1F1F1F;border-left:1px solid rgba(255,255,255,.08);
    transform:translateX(100%);transition:transform .3s ease;
    overflow-y:auto;padding:16px 24px 24px;box-sizing:border-box;
}
.qm-drawer.open{transform:none;}
.qm-drawer h3{font-size:20px;font-weight:500;color:#fff;margin:0 0 16px;}
.qm-drawer .qm-lines{display:block;margin-bottom:16px;}
.qm-drawer .qm-lines a{display:block;width:100%;height:43px;line-height:41px;text-align:left;margin-bottom:10px;}
.qm-drawer .qm-episodes{grid-template-columns:repeat(4,1fr);}

/* ---------- 顶部内联搜索 ---------- */
body.qm-dark .qm-topsearch{
    float:right;width:368px;height:40px;margin:16px 24px 0 0;
}
body.qm-dark .qm-topsearch form{position:relative;height:40px;margin:0;}
body.qm-dark .qm-topsearch input{
    width:100%;height:40px;line-height:40px;border:0;border-radius:20px;
    background:rgba(255,255,255,.08);color:#fff;padding:0 44px 0 16px;
    font-size:14px;box-sizing:border-box;outline:none;
}
body.qm-dark .qm-topsearch input::placeholder{color:rgba(255,255,255,.4);}
body.qm-dark .qm-topsearch button{
    position:absolute;right:0;top:0;width:44px;height:40px;background:none;border:0;
    color:rgba(255,255,255,.6);font-size:16px;cursor:pointer;
}
body.qm-dark .myui-header__search{display:none!important;}
@media (max-width:1199px){body.qm-dark .qm-topsearch{display:none;}}

.qm-note:empty{display:none;}

/* ---------- 页脚 ---------- */
.qm-foot{background:#1F1F1F;margin-top:80px;padding:60px 0 0;border-top:1px solid rgba(255,255,255,.06);}
.qm-foot-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:50px;}
.qm-foot-card{background:rgba(255,255,255,.04);border-radius:8px;padding:24px;}
.qm-foot-card h4{font-size:16px;color:rgba(255,255,255,.8);font-weight:500;margin:0 0 14px;}
.qm-foot-card a{display:block;font-size:16px;color:rgba(255,255,255,.6);line-height:34px;}
.qm-foot-card a:hover{color:#fff;}
.qm-foot-help{
    display:flex;justify-content:center;gap:16px;margin:40px 0 20px;
    font-size:16px;color:rgba(255,255,255,.6);
}
.qm-foot-help span{color:rgba(255,255,255,.2);}
.qm-foot-copy{
    text-align:center;font-size:16px;color:rgba(255,255,255,.66);
    padding:20px 0 40px;border-top:1px solid rgba(255,255,255,.06);
}
.qm-foot-copy p{margin:0;}
@media (max-width:767px){
    .qm-foot-cols{grid-template-columns:1fr;gap:16px;}
    .qm-foot-help{flex-wrap:wrap;}
}

/* ---------- 响应式列数 ---------- */
@media (max-width:1749px){
    .qm-grid-8{grid-template-columns:repeat(6,1fr);}
    .qm-grid-7{grid-template-columns:repeat(6,1fr);}
    .qm-split{grid-template-columns:1fr 360px;}
}
@media (max-width:1399px){
    .qm-grid-8{grid-template-columns:repeat(5,1fr);}
    .qm-grid-7{grid-template-columns:repeat(5,1fr);}
    .qm-grid-6{grid-template-columns:repeat(5,1fr);}
    .qm-split{grid-template-columns:1fr 320px;}
    .qm-poster-lg{width:230px;height:332px;}
    .qm-dtitle{font-size:30px;}
}
@media (max-width:1199px){
    .qm-grid-8,.qm-grid-7,.qm-grid-6{grid-template-columns:repeat(4,1fr);}
    .qm-split{grid-template-columns:1fr;}
    .qm-rank{margin-top:30px;}
}
@media (max-width:991px){
    .qm-grid-8,.qm-grid-7,.qm-grid-6{grid-template-columns:repeat(3,1fr);}
    .qm-detail-top{flex-direction:column;}
    .qm-poster-lg{width:200px;height:289px;}
    .qm-dtitle{font-size:24px;}
    .qm-episodes{grid-template-columns:repeat(5,1fr);}
    .qm-stats{flex-wrap:wrap;gap:12px 0;}
    .qm-stat{padding:0 14px;}
}
@media (max-width:767px){
    .qm-grid-8,.qm-grid-7,.qm-grid-6{grid-template-columns:repeat(2,1fr);gap:24px 12px;}
    .qm-info h4{font-size:15px;}
    .qm-info .qm-score{font-size:16px;}
    .qm-info .qm-note{font-size:12px;}
    .qm-sec{padding-top:36px;}
    .qm-sec-head h2{font-size:20px;}
    .qm-filter{padding-top:12px;}
    .qm-frow{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch;}
    .qm-frow::-webkit-scrollbar{display:none;}
    .qm-chip{height:32px;line-height:30px;padding:0 14px;font-size:13px;}
    .qm-sort a{font-size:15px;}
    .qm-count{display:none;}
    .qm-page{padding:30px 0 40px;gap:6px;}
    .qm-page li.hide-m{display:none;}
    .qm-btn-main{width:140px;height:52px;font-size:18px;}
    .qm-btn-icon{width:52px;height:52px;}
    .qm-play-title{font-size:22px;}
    .qm-drawer{width:86%;}
    .qm-op{gap:16px;padding:0 12px;overflow-x:auto;white-space:nowrap;}
    .qm-op .qm-op-right{display:none;}
}


/* ============ QM-GENERIC-PAGES 通用内页深色 ============ */
body.qm-dark .wrap{background:transparent;}
body.qm-dark .myui-panel,
body.qm-dark .myui-panel-bg,
body.qm-dark .myui-panel-bg2{background:#121212;border-radius:8px;}
body.qm-dark .myui-panel__head .title{color:#fff;}
body.qm-dark .myui-panel a{color:#fff;}
body.qm-dark .text-muted{color:rgba(255,255,255,.6)!important;}
body.qm-dark .myui-vodlist__media li{border-color:rgba(255,255,255,.08);}
body.qm-dark .myui-vodlist__media .thumb a{background-color:#121212;}
body.qm-dark .myui-vodlist__media h4 a,
body.qm-dark .myui-vodlist__detail h4 a{color:#fff;}
body.qm-dark .myui-vodlist__media .detail{color:rgba(255,255,255,.7);}
body.qm-dark .myui-vodlist__thumb{background-color:#121212;}
body.qm-dark .form-control{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:#fff;}
body.qm-dark .form-control::placeholder{color:rgba(255,255,255,.4);}
body.qm-dark .btn-default{background:transparent;border-color:rgba(255,255,255,.15);color:#fff;}
body.qm-dark .btn-default:hover{background:rgba(255,255,255,.08);}
body.qm-dark .btn-warm{background:#fff;border-color:#fff;color:#121212;}
body.qm-dark .btn-warm:hover{background:rgba(255,255,255,.9);color:#121212;}
/* ===== FIX-BTN-CONTRAST: 面板内白底按钮文字可读 ===== */
body.qm-dark .myui-panel a.btn-warm,
body.qm-dark .myui-panel a.btn-warm:hover,
body.qm-dark .myui-panel a.btn-warm:focus{color:#121212;}
body.qm-dark .myui-panel a.btn-warm i{color:#121212;}
body.qm-dark .myui-page .btn{min-width:32px;height:32px;line-height:30px;padding:0 10px;border-radius:4px;font-size:12px;}
body.qm-dark .myui-page .btn-warm{background:#fff;color:#121212;}
body.qm-dark .myui-panel_hd .more{color:rgba(255,255,255,.6);}
body.qm-dark .dropdown-box{background:#1A1A1A;border:1px solid rgba(255,255,255,.08);}
body.qm-dark .nav-tabs>li.active>a{background:#1A1A1A;border-color:rgba(255,255,255,.12);color:#fff;}
body.qm-dark .myui-content__list li a{color:#fff;}
body.qm-dark .split-line{border-color:rgba(255,255,255,.15);}
body.qm-dark .myui-screen__list .btn{background:transparent;border-color:rgba(255,255,255,.12);color:#fff;}


/* ============ QM-MOBILE-SEARCH ============ */
body.qm-dark .qm-msearch-btn{display:none;}
body.qm-dark .qm-msearch{display:none;position:fixed;top:72px;left:0;right:0;z-index:99;
  background:#121212;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.08);}
body.qm-dark .qm-msearch.on{display:block;}
body.qm-dark .qm-msearch form{display:flex;gap:8px;margin:0;}
body.qm-dark .qm-msearch input{flex:1;height:38px;border:0;border-radius:19px;
  background:rgba(255,255,255,.08);color:#fff;padding:0 14px;font-size:14px;outline:none;}
body.qm-dark .qm-msearch button{width:64px;height:38px;border:0;border-radius:19px;
  background:#fff;color:#121212;font-size:14px;}
@media (max-width:1199px){
  body.qm-dark .qm-msearch-btn{display:inline-block;float:right;color:#fff;
    font-size:20px;line-height:72px;margin-right:14px;}
  body.qm-dark .myui-header__user{display:none;}
}

/* ===== FIX-20261018: 首页栅格溢出 / 移动导航 / 搜索定位 ===== */
.qm-grid-8{grid-template-columns:repeat(8,minmax(0,1fr));}
.qm-grid-7{grid-template-columns:repeat(7,minmax(0,1fr));}
.qm-grid-6{grid-template-columns:repeat(6,minmax(0,1fr));}
.qm-card,.qm-info,.qm-info h4{min-width:0;}
.qm-split{grid-template-columns:minmax(0,1fr) 426px;}
.qm-hover .qm-h-line{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.qm-dark .qm-topsearch{position:absolute;top:16px;right:200px;float:none;margin:0;}
@media (max-width:1749px){
  .qm-grid-8{grid-template-columns:repeat(6,minmax(0,1fr));}
  .qm-grid-7{grid-template-columns:repeat(6,minmax(0,1fr));}
  .qm-split{grid-template-columns:minmax(0,1fr) 360px;}
}
@media (max-width:1399px){
  .qm-grid-8{grid-template-columns:repeat(5,minmax(0,1fr));}
  .qm-grid-7{grid-template-columns:repeat(5,minmax(0,1fr));}
  .qm-grid-6{grid-template-columns:repeat(5,minmax(0,1fr));}
  .qm-split{grid-template-columns:minmax(0,1fr) 320px;}
}
@media (max-width:1199px){
  .qm-grid-8,.qm-grid-7,.qm-grid-6{grid-template-columns:repeat(4,minmax(0,1fr));}
  .qm-split{grid-template-columns:minmax(0,1fr);}
  body.qm-dark{padding-top:116px;}
  body.qm-dark .myui-header__menu{
    display:flex!important;position:fixed;top:72px;left:0;right:0;z-index:99;
    height:44px;margin:0;padding:0 12px;gap:20px;list-style:none;
    overflow-x:auto;overflow-y:hidden;background:#121212;
    border-top:1px solid rgba(255,255,255,.06);white-space:nowrap;
    -webkit-overflow-scrolling:touch;
  }
  body.qm-dark .myui-header__menu li{float:none;display:inline-flex;align-items:center;height:44px;margin:0;padding:0;}
  body.qm-dark .myui-header__menu li a{line-height:44px;padding:0;color:#fff;}
  body.qm-dark .qm-msearch-btn{position:absolute;top:0;right:56px;float:none;margin:0;line-height:72px;}
  body.qm-dark .qm-msearch{top:116px;}
}
@media (max-width:991px){
  .qm-grid-8,.qm-grid-7,.qm-grid-6{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:767px){
  .qm-grid-8,.qm-grid-7,.qm-grid-6{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* ===== CLEAN-HERO-20261021: 无叠层全幅轮播 ===== */
.qm-slide .qm-slide-img{display:block;width:100%;height:100%;object-fit:cover;filter:none;transform:none;}

/* ===== PLAY-GUARD-20261024: 线路提示层 ===== */
.qm-play-tip{position:absolute;inset:0;z-index:9;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.72);color:#fff;font-size:14px;letter-spacing:.5px;padding:0 20px;text-align:center;}

/* ===== P0-TAG-ENTRY-20261025: 长尾标签区块 ===== */
.qm-tagsec{margin-top:26px;}
.qm-taglist{display:flex;flex-wrap:wrap;gap:10px;padding:16px 18px;background:#161616;border:1px solid rgba(255,255,255,.06);border-radius:8px;}
.qm-tag{display:inline-block;padding:6px 14px;border-radius:20px;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);color:rgba(255,255,255,.82);font-size:13px;line-height:20px;
  max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:all .2s;}
.qm-tag:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.24);color:#fff;text-decoration:none;}
.qm-tag-loading{color:rgba(255,255,255,.4);font-size:13px;}
@media (max-width:767px){.qm-taglist{padding:12px;gap:8px;} .qm-tag{font-size:12px;padding:5px 12px;}}

/* ===== MOBILE-P0-20261026: 移动端收口（安全区/操作栏/抽屉/搜索热区） ===== */
:root{
  --qm-top-h:116px;
  --qm-safe-l:env(safe-area-inset-left,0px);
  --qm-safe-r:env(safe-area-inset-right,0px);
  --qm-safe-b:env(safe-area-inset-bottom,0px);
}
html{-webkit-text-size-adjust:100%;}
body{-webkit-tap-highlight-color:transparent;}
body.qm-dark .myui-header__top{padding-left:var(--qm-safe-l);padding-right:var(--qm-safe-r);}
.qm-drawer-mask{position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,.5);z-index:93;display:none;}
.qm-drawer-mask.on{display:block;}

@media (max-width:1199px){
  body.qm-dark{padding-top:var(--qm-top-h);}
  body.qm-dark .qm-msearch-btn{top:14px;right:56px;width:44px;height:44px;line-height:44px;
    text-align:center;border-radius:8px;background:rgba(255,255,255,.06);}
  .qm-drawer{top:var(--qm-top-h);}
  .qm-drawer-handle{width:18px;padding:0 13px;box-sizing:content-box;}
}

@media (max-width:767px){
  input,select,textarea{font-size:16px!important;}
  body.qm-dark .qm-foot{padding-bottom:calc(40px + var(--qm-safe-b));}
  .qm-op{height:auto;min-height:54px;flex-wrap:wrap;gap:10px 16px;padding:10px 12px;
    overflow:visible;white-space:normal;}
  .qm-op a{min-height:44px;display:inline-flex;align-items:center;}
  .qm-op .qm-op-right{display:none;}
  .qm-episodes{grid-template-columns:repeat(4,1fr);gap:8px;}
}

@media (max-width:360px){
  .qm-episodes{grid-template-columns:repeat(3,1fr);}
}

/* ===== MOBILE-P1-20261027: 触控目标 / 海报 / hover 兜底 ===== */
@media (max-width:1199px){
  body.qm-dark .myui-header__menu li a{font-size:14px;min-width:44px;text-align:center;padding:0 4px;}
}
@media (max-width:767px){
  .qm-foot-card a{padding:11px 0;line-height:22px;}
  .qm-page li a,.qm-page li span{min-width:40px;height:40px;line-height:38px;}
  .qm-page .qm-jump input,.qm-page .qm-jump button{height:40px;}
  .qm-tag{min-height:36px;display:inline-flex;align-items:center;}
  .qm-chips a,.qm-chips span{height:32px;line-height:30px;padding:0 12px;}
  .qm-rank-list li.top,.qm-rank-list li:nth-child(-n+3){height:84px;}
  .qm-detail-top{gap:14px;}
  .qm-poster-lg{width:42vw;max-width:200px;height:auto;aspect-ratio:5/7;}
  .qm-detail-info{width:100%;}
  .qm-rows{font-size:15px;line-height:1.7;}
  .qm-cta .qm-btn-main{flex:1;width:auto;}
  .qm-stats{overflow-x:auto;flex-wrap:nowrap;}
  .qm-stat{padding:0 12px;}
  .qm-filter{position:relative;}
  .qm-filter::after{content:"";position:absolute;right:0;top:12px;bottom:0;width:24px;
    background:linear-gradient(90deg,rgba(31,31,31,0),#1F1F1F);pointer-events:none;}
}
@media (max-width:360px){
  .qm-hero{height:220px;}
  .qm-grid{gap:18px 10px;}
  .qm-info h4{font-size:14px;}
}
@media (hover:none){
  .qm-hover{display:none;}
}

/* ===== MOBILE-P2-20261028: 平板列数 / 横屏 ===== */
@media (min-width:768px) and (max-width:991px){
  .qm-grid-8,.qm-grid-7,.qm-grid-6{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-height:520px) and (orientation:landscape){
  .qm-hero{height:200px;}
  .qm-sec{padding-top:24px;}
  .qm-foot{margin-top:40px;}
}

/* ===== UI-P0-20261029: 角标左置 / 快速选集 ===== */
.qm-quickeps{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;}
.qm-quickeps a{display:inline-flex;align-items:center;justify-content:center;min-width:64px;height:40px;
  padding:0 14px;border:1px solid rgba(255,255,255,.12);border-radius:6px;
  font-size:14px;color:rgba(255,255,255,.9);box-sizing:border-box;}
.qm-quickeps a:hover{background:#fff;color:#121212;border-color:#fff;}
.qm-quickeps .qm-quickall{border-style:dashed;color:rgba(255,255,255,.6);}
@media (max-width:767px){
  .qm-badge{left:10px;right:auto;}
  .qm-quickeps a{height:44px;min-width:70px;}
}

/* ===== UI-P0-20261030: 播放页线路 / 上下集 ===== */
.qm-linebar{display:flex;align-items:center;gap:10px;padding:12px 14px;
  background:rgba(255,255,255,.04);border-top:1px solid rgba(255,255,255,.06);}
.qm-linebar-label{font-size:13px;color:rgba(255,255,255,.5);flex:none;}
.qm-linechips{display:flex;flex-wrap:wrap;gap:8px;min-width:0;}
.qm-linechips a{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:6px;
  border:1px solid rgba(255,255,255,.12);font-size:13px;color:rgba(255,255,255,.8);}
.qm-linechips a.on{background:#fff;color:#121212;border-color:#fff;}
.qm-epnav{display:flex;gap:10px;margin:14px 0 6px;}
.qm-epnav a{display:inline-flex;align-items:center;gap:4px;height:40px;padding:0 16px;
  border:1px solid rgba(255,255,255,.12);border-radius:6px;font-size:14px;color:rgba(255,255,255,.85);}
.qm-epnav a:hover{background:#fff;color:#121212;}
@media (max-width:767px){
  .qm-linechips a{height:40px;}
  .qm-epnav a{height:44px;flex:1;justify-content:center;}
}

/* ===== UI-P0-20261031: 线路 chips 移动端横滑 ===== */
@media (max-width:767px){
  .qm-linechips{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px;}
  .qm-linechips::-webkit-scrollbar{display:none;}
  .qm-linechips a{flex:none;}
}

/* ---------- 搜索页 P0-5（20261101） ---------- */
.qm-search-kw{color:#6D83F2;}
.qm-search-count{font-size:14px;color:rgba(255,255,255,.5);white-space:nowrap;}
.qm-search-count b{color:#6D83F2;font-weight:700;margin:0 2px;}
.qm-search-empty{padding:48px 0;text-align:center;color:rgba(255,255,255,.5);font-size:15px;margin:0;}
.qm-search-empty a{color:#6D83F2;}
@media (max-width:767px){
  .qm-search-sec .qm-sec-head{align-items:baseline;gap:8px;}
  .qm-search-sec .qm-sec-head h2{font-size:18px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .qm-search-count{font-size:12px;flex:none;}
  .qm-search-empty{padding:32px 0;font-size:14px;}
}

/* ===== P1-1 首页：换一换 / 移动端 hero 降高（20261102） ===== */
.qm-tools{display:flex;align-items:center;gap:16px;}
.qm-refresh{font-size:14px;color:rgba(255,255,255,.55);white-space:nowrap;}
.qm-refresh:hover{color:#fff;}
.qm-refresh.loading{opacity:.45;pointer-events:none;}
@media (max-width:767px){
  .qm-hero{height:160px;}
  .qm-hero-info{bottom:18px;}
  .qm-dots{bottom:4px;height:14px;}
  .qm-tools{gap:12px;}
  .qm-refresh{font-size:12px;}
}
@media (max-width:360px){
  .qm-hero{height:150px;}
}

/* ===== P1-2 搜索历史 / 热门搜索（20261103） ===== */
.qm-hotsec{padding-top:20px;}
.qm-hotsec + .qm-search-sec{padding-top:12px;}
.qm-hotline{display:flex;align-items:center;gap:10px;margin-bottom:12px;min-width:0;}
.qm-hot-label{flex:none;font-size:14px;color:rgba(255,255,255,.5);}
.qm-hotchips{display:flex;gap:8px;flex:1;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
.qm-hotchips::-webkit-scrollbar{display:none;}
.qm-hotchips a{flex:none;height:32px;line-height:30px;padding:0 12px;border:1px solid rgba(255,255,255,.12);
  border-radius:16px;font-size:13px;color:rgba(255,255,255,.85);box-sizing:border-box;white-space:nowrap;}
.qm-hotchips a:hover{background:#fff;color:#121212;border-color:#fff;}
.qm-hot-clear{flex:none;font-size:12px;color:rgba(255,255,255,.45);}
.qm-hot-clear:hover{color:#fff;}
@media (max-width:767px){
  .qm-hotsec{padding-top:16px;}
  .qm-hot-label{font-size:12px;}
  .qm-hotchips a{height:30px;line-height:28px;font-size:12px;padding:0 10px;}
}

/* ===== P1-3 评论区（20261104） ===== */
.qm-cmsec .container{max-width:900px;}
.qm-cm-form{display:flex;gap:10px;align-items:flex-start;margin-bottom:18px;flex-wrap:wrap;}
.qm-cm-form input{width:160px;height:40px;padding:0 12px;border-radius:6px;
  border:1px solid rgba(255,255,255,.12);background:#151515;color:#fff;font-size:14px;box-sizing:border-box;}
.qm-cm-form input::placeholder,.qm-cm-form textarea::placeholder{color:rgba(255,255,255,.35);}
.qm-cm-form textarea{flex:1;min-width:240px;min-height:72px;padding:10px 12px;border-radius:6px;
  border:1px solid rgba(255,255,255,.12);background:#151515;color:#fff;font-size:14px;
  box-sizing:border-box;resize:vertical;font-family:inherit;}
.qm-cm-submit{display:flex;align-items:center;gap:12px;width:100%;}
.qm-cm-submit button{height:38px;padding:0 22px;border:0;border-radius:19px;background:#6D83F2;
  color:#fff;font-size:14px;cursor:pointer;}
.qm-cm-submit button:disabled{opacity:.6;cursor:default;}
.qm-cm-tip{font-size:12px;color:rgba(255,255,255,.5);}
.qm-cm-list{list-style:none;margin:0;padding:0;}
.qm-cm-list li{display:flex;gap:12px;padding:16px 0;border-top:1px solid rgba(255,255,255,.07);}
.qm-cm-ava{flex:none;width:36px;height:36px;border-radius:50%;background:rgba(109,131,242,.25);
  color:#aebcff;font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:center;}
.qm-cm-main{flex:1;min-width:0;}
.qm-cm-top{display:flex;align-items:baseline;gap:10px;margin-bottom:6px;}
.qm-cm-top b{font-size:14px;color:#fff;font-weight:600;}
.qm-cm-top span{font-size:12px;color:rgba(255,255,255,.35);}
.qm-cm-main p{margin:0 0 8px;font-size:14px;line-height:1.7;color:rgba(255,255,255,.82);word-break:break-word;}
.qm-cm-act a{font-size:12px;color:rgba(255,255,255,.45);}
.qm-cm-act a[data-on="1"]{color:#6D83F2;}
.qm-cm-empty{padding:24px 0;text-align:center;color:rgba(255,255,255,.4);font-size:14px;}
@media (max-width:767px){
  .qm-cmsec .container{padding:0 12px;}
  .qm-cm-form input{width:100%;}
  .qm-cm-form textarea{min-width:0;width:100%;}
  .qm-cm-submit button{height:40px;flex:none;}
}

/* ===== P2-1 体育赛事（20261105） ===== */
.qm-sports{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.qm-sp-card{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#1A1A1A;
  border:1px solid rgba(255,255,255,.06);border-radius:10px;min-width:0;}
.qm-sp-card:hover{border-color:rgba(255,255,255,.22);}
.qm-sp-date{flex:none;width:52px;text-align:center;}
.qm-sp-date b{display:block;font-size:16px;font-weight:600;color:#fff;line-height:1.1;}
.qm-sp-date span{font-size:11px;color:rgba(255,255,255,.35);}
.qm-sp-main{flex:1;min-width:0;}
.qm-sp-main em{display:inline-block;font-style:normal;font-size:11px;line-height:16px;
  color:#6D83F2;border:1px solid rgba(109,131,242,.4);border-radius:4px;padding:0 5px;margin-bottom:4px;}
.qm-sp-main h4{margin:0;font-size:14px;font-weight:500;color:#fff;line-height:1.4;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.qm-sp-main p{margin:2px 0 0;font-size:12px;color:rgba(255,255,255,.35);}
.qm-sp-card>i{flex:none;color:rgba(255,255,255,.3);}
@media (max-width:1199px){
  .qm-sports{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:767px){
  .qm-sports{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;}
  .qm-sports::-webkit-scrollbar{display:none;}
  .qm-sp-card{flex:none;width:250px;}
}

/* ===== 20261106 区块头操作项点击热区 >=44x44 ===== */
.qm-tools a,
.qm-sec-head > .qm-more{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;min-height:44px;padding:0 8px;margin:-14px 0;
}
