* {
    box-sizing: border-box;
}

div {
    &::-webkit-scrollbar {
        display: none;
    }
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
}

#app {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* 头部导航 */
.header {
    max-width: 600px;
    height: 65px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 10px 6px;
    z-index: 9;
    background-color: #000;
}

.header .menu {
    height: 40px;
}

.header .ai {
    height: 32px;
    margin-left: 5px;
}

.header .title {
    flex: 1;
    color: #f79003;
    font-weight: 900;
    padding-left: 20px;
    font-size: 32px;
}

.header .search {
    margin-left: 5px;
    height: 32px;
}


/* 弹窗广告 */
.ad-dialog {
    max-width: 600px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 100;
}

.ad-dialog-close {
    left: -100%;
    top: -100%;
}

.ad-dialog .ad-dialog-con {
    width: 90%;
    max-height: 50%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.ad-dialog .ad-dialog-con .close {
    position: absolute;
    right: 0;
    top: -50px;
    width: 40px;
    height: 40px;
}

.ad-dialog .ad-dialog-con a {
    display: block;
    overflow: hidden;
    width: 100%;
    max-height: 100%;
}

.ad-dialog .ad-dialog-con a img {
    width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
}
.ad-dialog .ad-dialog-con .ads {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.ad-dialog .ad-dialog-con .ads .ad {
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}
.ad-dialog .ad-dialog-con .ads .ad img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}


/* 轮播图 */
.top-banners {
    width: 100%;
    height: 60vw;
    max-height: 360px;
}
.top-banners .top-banner {
    width: 100%;
    height: 60vw;
    max-height: 360px;
}
.top-banners .top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 文字走马灯 */
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  margin: 10px 0 0 0;
}

.marquee .marquee-inner {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}


/* 标签广告 */
.links-ads {
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.links-ads .links-ad {
    color: #f79003;
    text-decoration: none;
    text-align: center;
}



/* 顶部分类 */
.top-navs {
    max-width: 600px;
    height: 60px;
    position: fixed;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0px 6px 10px 6px;
    white-space: nowrap;
    overflow-x: auto;
    z-index: 9;
    background-color: #000;
}

.top-navs .top-nav {
    display: inline-block;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #2e2e2e;
    margin-right: 5px;
    height: 45px;
    line-height: 45px;
}

.top-navs .active-top-nav {
    color: #f79003;
}

/* 弹窗导航 */
.navs-dialog {
    position: fixed;
    width: 100%;
    max-width: 600px;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
}

.navs-dialog-close {
    top: -100%;
    left: -100%;
}

.navs-dialog .navs-dialog-con {
    width: 75%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #000;
    padding: 20px;
}

.navs-dialog .navs-dialog-con .navs-dialog-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #f79003;
    font-weight: 900;
    font-size: 32px;
}

.navs-dialog .navs-dialog-con .close {
    width: 36px;
    height: 36px;
}

.navs-dialog .navs-dialog-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.navs-dialog .navs-dialog-items .navs-dialog-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #212121;
    border-radius: 8px;
    height: 46px;
    width: 100%;
    margin-bottom: 10px;
    color: #ccc;
    padding: 0 20px;
}

.navs-dialog .navs-dialog-items .active-top-dialog-nav {
    color: #f79003;
}


/* 列表元素 */
.list {
    padding: 10px;
    width: 100%;
}

.list .list-item {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 10px;
    height: 132px;
    position: relative;
    overflow: hidden;
    display: block;
    color: #fff;
}

.list .list-item .bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list .list-item .hot {
    position: absolute;
    padding: 2px 5px;
    border-radius: 4px;
    background-color: #000;
    color: red;
    font-size: 12px;
    top: 6px;
    right: 8px;
}

.list .list-item .title {
    position: absolute;
    width: 90%;
    max-height: 90%;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-weight: bold;
    font-size: 16px;
}


/* 分页 */
.fenye {
    padding: 30px 16px 35px 16px;
}

.fenye .pages {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fenye .pages .next .icon {
    width: 20px;
    height: 20px;
    margin: 0 4px;
}

.fenye .pages .pre {
    transform: rotate(180deg);
}

.fenye .pages .nums {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fenye .pages .nums .num {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background-color: #151515;
    margin: 0 4px;
}

.fenye .pages .nums .active-num {
    border: 2px solid #f79003;
}

.fenye .jump {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.fenye .jump .jump-ipt {
    background-color: #151515;
    outline: none;
    border: none;
    width: 50px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    margin: 0 10px;
    border-radius: 4px;
    overflow: hidden;
    height: 36px;
}

.fenye .jump .jump-btn {
    border-radius: 4px;
    background-color: #f79003;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
}


/* 横幅广告 */
.banners {
    padding: 15px 10px;
    border-top: 1px solid #262626;
}

.banners .banner {
    width: 100%;
    height: 50px;
    margin-bottom: 8px;
    display: block;
    overflow: hidden;
}

.banners .banner .bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 底部信息 */
.bot {
    padding: 0 10px 10px 10px;
}

.bot .bot-logo {
    text-align: center;
}

.bot .bot-logo .bot-logo-icon {
    height: 60px;
}

.bot .links {
    border-top: 1px solid #262626;
    border-bottom: 1px solid #262626;
    color: #969696;
    font-size: 18px;
    padding: 20px 0 10px 0;
}

.bot .links .link-item {
    margin-bottom: 10px;
}

.bot .links .link-item a {
    color: #f79003;
    text-decoration: none;
}

.bot .concat {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot .concat .concat-icon {
    width: 36px;
    height: 36px;
}

.bot .concat .concat-name {
    margin-left: 5px;
    color: #f79003;
    text-decoration: underline;
}

.bot .copyright {
    text-align: center;
    font-size: 12px;
    color: #969696;
    border-top: 1px solid #262626;
    padding-top: 20px;
}

.bot .copyright span {
    color: #f79003;
}


/* 浮窗广告 */
.float-ad {
    width: 100px;
    height: 100px;
    position: fixed;
    right: 20px;
    bottom: 150px;
    z-index: 11;
}

.float-ad .float-ad-img {
    width: 100px;
    height: 100px;
}

.float-ad .float-ad-img img {
    width: 100%;
    height: 100%;
}

.float-ad .float-ad-close {
    position: absolute;
    right: -12px;
    top: -12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-ad .float-ad-close img {
    width: 18px;
    height: 18px;
}


/* 回到顶部 */
.backtop {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2b2a2a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: fixed;
    right: 20px;
    bottom: 285px;
    z-index: 11;
    transition: all ease .3s;
    transform-origin: center center;
    transform: scale(0);
}

.backtop img {
    width: 14px;
    height: 14px;
    transform-origin: center center;
    transform: rotate(-90deg);
}

.backtop span {
    font-size: 12px;
    color: #fff;
}