* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f5f5;
}

/* 顶部搜索区 */
.header {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #FF4D4F;
}

h3 {
    font-size: 16px;
    font-weight: normal;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    height: 32px;
    padding: 0 12px;
    margin: 0 12px;
}

.search-box i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    margin-right: 6px;
}

.search-box input {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    font-size: 13px;
    height: 100%;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.right-menu {
    display: flex;
    align-items: center;
    color: #fff;
}

.points {
    font-size: 11px;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.points span:nth-child(2) {
    font-size: 15px;
    margin: 0;
}

.my-link {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}

/* 导航栏 */
.nav-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    height: 40px;
}

.nav-bar::-webkit-scrollbar {
    display: none;
}

.nav-scroll {
    display: flex;
    padding: 0 12px;
    white-space: nowrap;
    height: 100%;
}

.nav-item {
    padding: 0 24px;
    font-size: 14px;
    color: #999;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item.active {
    color: #F5222D;
    font-weight: 500;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1.5px;
    background: #F5222D;
}

/* 内容列表 */
.content-list {
    padding: 8px;
    margin-bottom: 60px;
}

.content-item {
    background: #fff;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 8px;
}

.content-item .tag {
    color: #F5222D;
    font-size: 13px;
    margin-bottom: 6px;
}

.content-item .title {
    font-size: 15px;
    color: #262626;
    margin-bottom: 8px;
    line-height: 1.4;
}

.content-item .info {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #8C8C8C;
}

.video-item .video-preview {
    position: relative;
    margin-bottom: 8px;
}

.video-item .video-preview img {
    width: 100%;
    border-radius: 3px;
}

.video-item .duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 10px;
    line-height: 1;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fff;
    padding: 6px 0;
    border-top: 1px solid #eee;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px;
    text-decoration: none;
}

.bottom-nav .nav-item i {
    font-size: 18px;
    margin-bottom: 3px;
    color: #666;
}

.bottom-nav .nav-item span {
    font-size: 11px;
    color: #666;
}

.bottom-nav .nav-item.active i,
.bottom-nav .nav-item.active span {
    color: #F5222D;
}

.bottom-nav .center {
    margin-top: -20px;
}

.circle-btn {
    width: 44px;
    height: 44px;
    background: #F5222D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.circle-btn i {
    font-size: 22px;
    color: #fff !important;
} 