/* 基础样式 */
body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
    background-color: #f5f6f7;
}

#mainmenu {
    width: 600px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: left;
    background-color: white;
}

/* 标题样式 */
.menu-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* 搜索框样式 */
.search-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.search-box {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #333;
    display: inline-block;
    padding: 4px 8px;
}

/* 菜单样式 */
.menu {
    display: none;
    padding-left: 20px;
    margin-left: 10px;
    border-left: 1px solid #ddd;
}

.menu.show {
    display: block;
}

/* 文件夹图标样式 */
.fa-folder,
.fa-folder-open {
    margin-right: 5px;
    cursor: pointer;
}

/* 链接样式 */
li > a {
    cursor: pointer;
}

li > a:hover {
    background-color: #f0f0f0;
    border-radius: 3px;
}

/* 分隔线样式 */
#split {
    border-top: 1px solid #ddd;
    margin: 5px 0;
    padding: 0;
}

/* 信息图标样式 */
.fa-info-circle {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

/* 标记样式 */
.bei {
    margin-left: 5px;
}

/* 设备图标样式 */
.four, .two, .three, .five {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* 付费标记样式 */
.pay {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Android图标样式 */
.android {
    color: #a4c639;
    margin-right: 5px;
}

/* 互联网浏览器图标样式 */
.fa-internet-explorer {
    color: cornflowerblue;
    margin-right: 5px;
}

/* 文件夹图标样式 */
.fa-folder,
.fa-folder-open {
    color: gold;
    margin-right: 5px;
}

/* 链接图标样式 */
.fa-link {
    color: cornflowerblue;
    margin-right: 5px;
}

/* Windows图标样式 */
.fa-windows {
    color: dodgerblue;
    margin-right: 5px;
}

/* 礼物图标样式 */
.fa-gift {
    color: coral;
    margin-right: 5px;
}

/* 文件文本图标样式 */
.fa-file-text-o {
    color: teal;
    margin-right: 5px;
}

/* 人民币图标样式 */
.fa-rmb {
	width: 16px;
    height: 16px;
    margin-right: 5px;
    text-align: center;
    color: Orange;
}
/* 禁止图标样式 */

.fa-ban {
    color: Orange;
    margin-right: 5px;
}

/* 警告三角形图标样式 */
.fa-exclamation-triangle {
    color: #FFC83D;
    margin-right: 5px;
}

/* YouTube播放图标样式 */
.fa-youtube-play {
    color: tomato;
    margin-right: 5px;
}

/* 固定顶部区域 */
body {
    overflow-y: auto;
}

#mainmenu {
    position: relative;
}

/* 标题样式 */
.menu-title {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1001;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0;
    color: #333;
}

/* 悬浮搜索框样式 */
.floating-search {
    position: sticky;
    top: 60px;
    background-color: white;
    padding: 10px;
    z-index: 1000;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.search-container {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 24px;
    padding: 2px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-container .search-box {
    flex: 1;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    background-color: transparent;
}

.search-container .search-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    font-size: 14px;
    margin-right: 5px;
}

.search-container .search-btn:hover {
    background-color: #45a049;
}

.search-controls {
    display: flex;
    align-items: center;
    margin-left: 5px;
}

.search-count {
    margin-right: 10px;
    font-size: 12px;
    color: #666;
    padding: 0 5px;
}

.search-arrow {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-right: 5px;
    border-radius: 4px;
}

.search-arrow:hover {
    background-color: #f0f0f0;
}

.search-close {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border-radius: 4px;
}

.search-close:hover {
    background-color: #f0f0f0;
}

/* 内容区域样式 */
#mainmenu > li:not(.menu-title):not(.floating-search) {
    margin-top: 10px;
}