a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
main,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}

body {
    background-color: #141a32;
    color: black;
}

.mobile-app {
    background-color: #141a32;
    height: auto !important;
    max-width: 500px;
    margin: auto;
}

.mobile-body .swiper-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 14px;
    padding: 5px;
}

.mobile-body .swiper-slide-active {
    transform: scaleY(1);
}

.mobile-body .slider-item {
    width: 90% !important;
    height: 100% !important;
    padding-right: 0 !important;
}

.slider-item {
    box-sizing: border-box;
}

.mobile-body .screenshot-container {
    max-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.mobile-body .s-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(30px);
    z-index: -1;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    text-align: center;
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-body .swiper-pagination .swiper-pagination-bullet {
    margin: 4px;
    background: #e0e0e0;
    opacity: 1;
}

.mobile-body .swiper-pagination .swiper-pagination-bullet-active {
    border: 2px solid #fed853;
    background: #fff;
}

.header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #141a32;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
}

/* 头部控制区域 */
.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

/* 搜索栏 */
.search-bar {
    display: flex;
    align-items: center;
}

.search-toggle {
    background-color: #2f3d6a;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-container {
    display: flex;
    align-items: center;
    position: relative;
    background-color: #141a32;
}

.search-container input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    width: 320px;
    background-color: #2f3d6a;
    color: white;
}

.search-container button {
    background-color: #2f3d6a;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-container {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    /* 默认隐藏 */
    transition: all 0.3s ease;
}

.search-container.show {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
}

#search-button {
    border-radius: 0 4px 4px 0;
    margin-right: 10px;
}

.search-close {
    color: black;
    border: none;
    padding: 8px 15px;
    margin: 0px 10px;
    display: block;
    border-radius: 4px;
}

/* 折叠图标 */
.menu-toggle {
    background-color: #2f3d6a;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin-right: auto;
}

/* 侧边菜单容器 */
.sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    /* 默认隐藏 */
    width: 320px;
    height: 100%;
    background-color: #141a32;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

@media (min-width: 501px) {
    .sidebar.show {
        left: calc((100vw - 520px) / 2);
    }
}

@media (max-width: 500px) {
    .sidebar.show {
        left: 0;
    }
}

.sidebar ul {
    list-style: none;
    padding: 20px;
    flex-direction: column;
    /* 垂直排列 */
    display: flex;
}

.sidebar ul li {
    margin-bottom: 10px;
    width: 100%;
}

.sidebar ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 15px;
    border-radius: 4px;
    display: block;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    color: white;
    background-color: #2f3d6a;
}

.nav:not(.sidebar) {
    display: none;
    /* 隐藏横向导航栏 */
}

/* 关闭按钮 */
.menu-close {
    background-color: transparent;
    color: #4a90e2;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 1.2rem;
}

.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
    margin-top: 10px;
}

.footer-content h3 {
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

.footer-bottom a {
    text-decoration: none;
    color: #bdc3c7;
}

/* 主题切换按钮样式 */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2f3d6a;
    color: white;
    transition: all 0.3s ease;
}

/* 暗色主题样式 */
body.dark-theme {
    background-color: #121212;
    color: #e0e0e0;
}

.dark-theme .header {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-theme .logo h1 {
    color: #e0e0e0;
}

.dark-theme .nav ul li a {
    color: #e0e0e0;
}

.dark-theme .nav ul li a:hover,
.dark-theme .nav ul li a.active {
    color: #e0e0e0;
    background-color: #2a2a2a;
}

.dark-theme .part-right a {
    color: #e0e0e0;
}

.dark-theme .icon-more {
    color: #e0e0e0;
}

.dark-theme .search-bar input {
    background-color: #2a2a2a;
    border-color: #444;
    color: #e0e0e0;
}

.dark-theme button {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

.dark-theme .sidebar {
    background-color: #1e1e1e;
}

.dark-theme .search-container {
    background-color: #1e1e1e;
}

.dark-theme .mobile-app {
    background-color: #1e1e1e;
}

.dark-theme .mobile-body {
    background-color: #1e1e1e;
}

.dark-theme .footer {
    background-color: #1e1e1e;
}

.dark-theme .footer-content {
    border-color: #333;
}

.dark-theme .footer-content h3 {
    color: #e0e0e0;
}

.dark-theme .footer-bottom {
    border-color: #333;
    color: #aaa;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    flex: 0 0 auto;
    margin-right: 10px;
}

.carousel-item img {

    height: 240px;
    object-fit: cover;
    border-radius: 8px;
}

.mid-banner .carousel-item {
    width: calc(100vw - 36px);
    max-width: 450px;
}

.mid-banner img {
    width: 100%;
    height: auto;
    ;
}

.mid-banner .categorize-box {
    background: none;
    box-shadow: none;
    text-align: start;
    margin-left: 10px;
}

.part-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    position: relative;
}

.part-text {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: white;
}

.part-right {
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    color: white;
}

.part-right a {
    color: inherit;
    text-decoration: none;
}

.part-right img {
    width: 7px;
    height: 13px;
    vertical-align: middle;
}

.icon-more {
    margin-left: 5px;
    font-size: 14px;
    color: white;
    transition: color 0.3s ease;
}

.video-list {
    height: auto !important;
}

.video-item {
    width: 100%;
    padding-bottom: 20px;
}

.video-wrapper {
    display: block;
    max-width: 500px;
    max-height: 230px;
    margin: 0 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
    overflow: hidden;
    position: relative;
}

.video-wrapper a {
    color: inherit;
    text-decoration: none;
}

.video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-img img {
    width: 100%;
    height: auto;
}

.video-name {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 57px 20px 20px 20px;
    background: linear-gradient(180deg, transparent 0, #000);
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.float {
    position: fixed;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    color: #fff;
    right: 20px;
    bottom: 5vh;
    width: 60px;
    height: 60px;
    z-index: 9999999999;
    border-radius: 90px 0 0 90px;
}

.float img {
    width: 100%;
    height: 100%;
}

.play {
    width: 100%;
    height: 400px;
    background-color: black;
    margin-top: 10px;
}