/* ========================================
   头部导航样式 - 一比一复刻 047.shoutu.net
   依赖 mtheme/css/style.css 的基础 .flex .between .margin 类
   ======================================== */

/* ===== 变量 ===== */
:root {
    --nav-radius: 12px;
    --nav-color: #26b2ff;
    --nav-height: 70px;
}

/* ===== 头部容器 ===== */
.head {
    width: 100%;
    height: var(--nav-height);
    position: absolute;
    z-index: 9998;
    top: 0;
    vertical-align: middle;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
    box-shadow: none;
}

.head.no-null {
    overflow: visible;
}

.head.header_nav0 {
    height: var(--nav-height);
}

/* ===== Logo ===== */
.head .logo {
    flex-shrink: 0;
}

.head .logo-brand {
    display: inline-block;
    margin: 10px 0;
}

.head .logo-brand img {
    width: auto;
    height: 50px;
}

.head .logo-brand .logo2 {
    display: none;
}

/* ===== 左侧 ===== */
.head .left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ===== 导航 ===== */
.head .head-nav {
    position: relative;
    align-items: center;
    display: flex;
    margin-left: 30px;
}

.head .head-nav ul {
    display: flex;
    align-items: center;
    z-index: 9998;
    list-style: none;
    padding: 0;
    margin: 0;
}

.head .head-nav li {
    position: relative;
    display: inline-block;
    line-height: var(--nav-height);
    height: 100%;
    margin-left: 28px;
    width: auto;
}

.head .head-nav li:first-child {
    margin-left: 0;
}

.head .head-nav a {
    color: hsla(0, 0%, 100%, .87);
    font-size: 15px;
    font-weight: 400;
    transition: color .3s;
    text-decoration: none;
}

.head .head-nav a:hover,
.head .head-nav a.current {
    color: var(--nav-color);
}

.head .head-nav .bold1 a,
.bold1 .this-get {
    font-weight: 700;
}

.head .head-nav .fa {
    margin-right: 6px;
    font-size: 18px;
}

/* ===== 更多下拉 ===== */
.head-more-a {
    position: relative;
}

.head-more-a .nav-more {
    margin-left: 4px;
}

.head-more-a .head-more {
    border-radius: var(--nav-radius);
    position: absolute;
    left: 0;
    top: 100%;
    width: 700px;
    padding: 15px;
    z-index: 9998;
    line-height: 16px;
    display: none;
    background-color: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .1);
}

.theme2 .head-more-a .head-more {
    background-color: rgba(17, 19, 25, .95);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .5);
}

.head-more-a:hover .head-more {
    display: block;
}

.head-more-a .nav-link {
    line-height: 36px;
    height: 36px;
    margin: 4px 10px;
    padding: 0 20px;
    font-size: 14px;
    border-radius: 50px;
    display: inline-block;
    color: #666;
    background-color: #f5f6f7;
}

.theme2 .head-more-a .nav-link {
    background-color: rgb(17, 19, 25);
    color: hsla(0, 0%, 100%, .6) !important;
}

.head-more-a .nav-link:hover {
    color: #fff !important;
    background: var(--nav-color);
}

.head-more-a .nav-link .fa {
    margin-right: 6px;
    font-size: 16px;
}

/* ===== 搜索框 ===== */
.head .this-search {
    border: 1px solid hsla(0, 0%, 100%, 0);
    background: rgba(0, 0, 0, .2);
    background: linear-gradient(90deg, rgba(114, 214, 245, .2), rgba(200, 193, 221, .2) 50%, rgba(255, 148, 179, .2));
    height: 40px;
    line-height: 40px;
    border-radius: 21px;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 2px 4px transparent;
    width: 460px;
    margin-right: 15px;
    z-index: 23;
}

.head .this-search .flex-public {
    width: 100%;
    padding: 0 6px;
    display: flex;
    align-items: center;
    height: 100%;
}

.head .this-search .this-select {
    display: block;
    margin-left: 4px;
    margin-right: 10px;
    color: hsla(0, 0%, 100%, .9);
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.head .this-search .this-select .fa {
    margin-left: 8px;
    font-size: 12px;
}

.head .this-search .this-input {
    flex: 1;
    background: transparent;
    border: none;
    color: hsla(0, 0%, 100%, .87);
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    outline: none;
    min-width: 0;
}

.head .this-search .this-input::placeholder {
    color: hsla(0, 0%, 100%, .4);
}

.head .this-search .this-hot {
    padding: 0 10px;
    font-size: 12px;
    color: hsla(0, 0%, 100%, .6);
    white-space: nowrap;
    text-decoration: none;
}

.head .this-search .ds-sousuo {
    display: block;
    font-size: 14px;
    width: 32px;
    height: 32px;
    border-radius: 100%;
    text-align: center;
    line-height: 32px;
    color: #fff;
    border: 0;
    margin-top: 3px;
    cursor: pointer;
    background: var(--nav-color);
}

.head .this-search .ds-sousuo:hover {
    opacity: .85;
}

/* ===== 右侧功能区 ===== */
.head .right {
    align-items: center;
    display: flex;
}

.head .right .margin:last-child {
    padding-right: 0;
}

.head .margin .this-user {
    width: 40px;
    height: 40px;
    display: block;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.head .margin .this-user img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

.head .margin a {
    display: flex;
    box-sizing: border-box;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    flex-direction: column;
    line-height: 1;
    height: var(--nav-height);
    color: hsla(0, 0%, 100%, .6);
    transition: color .3s;
    text-decoration: none;
}

.head .margin a:hover {
    color: var(--nav-color);
}

.head .margin i {
    font-size: 22px;
}

.head .margin em {
    -webkit-transition: all .3s;
    transition: all .3s;
    display: block;
    margin-top: 4px;
    height: 12px;
    line-height: 12px;
    font-size: 12px;
}

/* ===== 搜索/历史弹出层 ===== */
.pop-list-body {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: 100%;
    z-index: 9999;
    overflow-y: auto;
    transition: right .3s ease;
    background: #fff;
}

.theme2 .pop-list-body {
    background: #16151b;
}

.pop-list-body.pop-show {
    right: 0;
}

.box-bg2.pop-bj {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 9997;
    display: none;
}

.box-bg2.pop-bj.pop-show {
    display: block;
}

.wap-head {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.theme2 .wap-head {
    border-bottom-color: rgba(255, 255, 255, .06);
}

.wap-head .l a {
    font-size: 24px;
    color: #333;
    text-decoration: none;
}

.theme2 .wap-head .l a {
    color: #ddd;
}

.wap-head h2 {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.head-search {
    padding: 15px;
    position: relative;
}

.head-search .search-input {
    width: 100%;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0 50px 0 15px;
    font-size: 14px;
    outline: none;
    background: #f8f8f8;
    color: #333;
}

.theme2 .head-search .search-input {
    background: #1e1d23;
    border-color: #2a2a2a;
    color: #ddd;
}

.head-search .search-input-sub {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 15px;
    top: 15px;
    border-radius: 0 20px 20px 0;
    background: var(--nav-color);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    border: none;
}

/* ===== 播放记录 ===== */
.play-catalog {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.theme2 .play-catalog {
    border-bottom-color: rgba(255, 255, 255, .06);
}

.play-catalog span {
    padding: 0 20px;
    position: relative;
    cursor: pointer;
}

.play-catalog span.on::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--nav-color);
}

.play-catalog span a {
    color: #999;
    font-size: 14px;
    text-decoration: none;
}

.play-catalog span.on a {
    color: var(--nav-color);
    font-weight: 700;
}

/* ===== 热门搜索列表 ===== */
.public-list-new {
    padding: 0 15px;
}

.title-m {
    padding: 15px 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-m h5 {
    font-size: 15px;
    font-weight: 400;
    color: #333;
}

.theme2 .title-m h5 {
    color: #ddd;
}

.wap-diy-vod-e ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vod-link {
    display: flex;
    align-items: center;
    height: 42px;
    line-height: 42px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(0, 0, 0, .04);
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.theme2 .vod-link {
    border-bottom-color: rgba(255, 255, 255, .04);
    color: #ddd;
}

.vod-link:hover {
    color: var(--nav-color);
}

.vod-no-style {
    font-size: 20px;
    color: #ccc;
    margin-right: 4px;
}

.vod-on-e-styles {
    font: 700 14px Impact;
    margin-right: 8px;
    width: 12px;
}

.key1 { color: #ff4444; }
.key2 { color: #ff7f00; }
.key3 { color: #ffaa00; }

.vod-center {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== 用户菜单 ===== */
.gen-account-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    z-index: 9998;
    display: none;
}

.head-user-info {
    height: 88px;
    overflow: hidden;
    text-align: left;
    position: relative;
    width: 100%;
    min-height: 150px;
    background-position: center;
    background-size: cover;
    padding-top: 30px;
    padding-bottom: 15px;
}

.head-user-info .head-user {
    background: rgba(255, 255, 255, .24);
    border-radius: 6px;
    text-align: center;
    display: block;
    width: 90px;
    height: 36px;
    line-height: 36px;
    position: absolute;
    bottom: 30px;
    left: 15px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

/* ===== 辅助类 ===== */
.cor4 { color: hsla(0, 0%, 100%, .87); }
.cor5 { color: #999; }
.cor6 { color: var(--nav-color); }
.r3 { color: #ff6c00; }
.ol2 { background: var(--nav-color); }
.ft4 { font-size: 14px; }
.roll { overflow: hidden; }
.rel { position: relative; }
.none { display: none; }
.hide { display: none; }
.bold1 { font-weight: 700; }
.size { box-sizing: border-box; }
.box { box-sizing: border-box; }
.bj { background-color: #fff; }
.theme2 .bj { background-color: #16151b; }
.br { border: 1px solid; }
.top30 { margin-top: 30px; }
.around { -webkit-justify-content: space-around; justify-content: space-around; }
.radius { border-radius: var(--nav-radius); }
.pc-show0 { display: block; }
.wap-show1 { display: none; }
.pc-hide { display: none; }
.wap-hide { display: block; }
.content-center { color: hsla(0, 0%, 100%, .6); }
.content-center:hover { color: var(--nav-color); }

/* ===== 移动端搜索按钮隐藏 ===== */
.head .gen-search {
    display: none;
}

/* ===== 响应式 ===== */
@media screen and (max-width: 820px) {
    .head {
        padding: 0 12px;
        height: 91px;
        overflow: hidden;
    }

    .head.header_nav0 {
        height: 60px !important;
    }

    .head.header_nav0 .head-nav {
        display: none !important;
    }

    .head .left {
        width: calc(100% - 12px);
        display: block;
        position: absolute;
        left: 12px;
        top: 0;
    }

    .head .right {
        height: 45px;
        margin-top: 8px;
        position: absolute;
        right: 12px;
        top: 0;
    }

    .head .logo-brand {
        margin: 5px 0 0 0;
    }

    .head .logo-brand img {
        height: 40px;
    }

    .head .head-nav {
        position: absolute;
        width: 100%;
        overflow: hidden;
        top: 45px;
        left: 0;
        height: 46px;
        display: inline-block;
        margin-left: 0;
    }

    .head .head-nav li {
        margin-left: 0;
        margin-right: 22px;
        line-height: 46px;
    }

    .head .margin {
        height: 45px;
        line-height: 45px;
        padding: 0 6px;
    }

    .head .this-search,
    .head .margin em {
        display: none;
    }

    .head .gen-search {
        display: block;
    }

    .head .margin a {
        line-height: inherit;
        height: initial;
    }

    .head .this-search {
        width: 280px;
    }

    .head .head-nav .swiper-slide {
        display: none;
    }

    .head .head-nav .head-more-a,
    .head-more .none2 {
        display: inline-block !important;
    }

    .head-more-a .head-more {
        left: -256px;
    }

    .head .qiAnDao_bnt,
    .head .gen-history {
        display: none;
    }

    .pop-list-body {
        max-width: 100%;
        width: 100%;
    }

    .pc-show0 { display: none; }
    .wap-show1 { display: block; }
    .pc-hide { display: block; }
    .wap-hide { display: none; }
}

@media screen and (min-width: 821px) and (max-width: 1200px) {
    .head .this-search {
        width: 320px;
    }

    .head .head-nav li {
        margin-left: 20px;
    }

    .head .head-nav {
        margin-left: 20px;
    }
}

@media screen and (min-width: 1201px) {
    .head {
        max-width: 1400px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.head .head-nav a,
.head .margin a,
.head .this-search {
    transition: all .3s ease;
}
