*{
    margin: 0;
    padding: 0;
    font-size: 0.18rem;
}

img{
    width: 100%;
}
a{
    color: #333;
}

.body{
    width: 6.4rem;
    margin: auto;
    position: relative;
    display: table;
    overflow: hidden;
}
/*******************************
首页
********************************/
.container {
    max-width: 6rem;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 0.2rem;
    padding-top: 0.2rem;
}

.header h1 {
    font-size: 0.24rem;
    color: white;
    margin-bottom: 0.05rem;
    font-weight: 600;
    text-shadow: 0 0.02rem 0.05rem rgba(0, 0, 0, 0.2);
}

.header p {
    font-size: 0.14rem;
    color: rgba(255, 255, 255, 0.8);
}

.date-tabs {
    display: flex;
    background: white;
    border-radius: 0.12rem;
    overflow: hidden;
    box-shadow: 0 0.02rem 0.1rem rgba(0, 0, 0, 0.1);
    margin-bottom: 0.2rem;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 0.12rem;
    font-size: 0.16rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.tab.active {
    background-color: #1e88e5;
    color: white;
}

.schedule-card {
    background: white;
    border-radius: 0.12rem;
    box-shadow: 0 0.02rem 0.1rem rgba(0, 0, 0, 0.1);
    margin-bottom: 0.2rem;
    overflow: hidden;
}

.schedule-header {
    padding: 0.15rem;
    border-bottom: 0.01rem solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-title {
    font-size: 0.18rem;
    font-weight: 600;
    color: #333;
}

.date-display {
    color: #666;
    font-size: 0.14rem;
}

.schedule-body {
    padding: 0.15rem;
}

.live-item {
    display: flex;
    padding: 0.15rem;
    border-radius: 0.1rem;
    margin-bottom: 0.15rem;
    background-color: #f8fafc;
    transition: all 0.3s;
}

.live-item:last-child {
    margin-bottom: 0;
}

.live-item:hover {
    transform: translateY(-0.02rem);
    box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.1);
}

.time-info {
    width: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: 0.15rem;
    border-right: 0.01rem dashed #e0e0e0;
}

.time-range {
    font-size: 0.16rem;
    font-weight: 600;
    color: #1e88e5;
    margin-bottom: 0.08rem;
    text-align: center;
}

.confirm-status {
    font-size: 0.12rem;
    padding: 0.03rem 0.1rem;
    border-radius: 0.1rem;
    display: inline-block;
}

.status-confirmed {
    background-color: #1890ff;
    color: white;
}

.status-pending {
    background-color: #faad14;
    color: white;
}

.status-leave {
    background-color: #ff4d4f;
    color: white;
}

.live-details {
    flex: 1;
    padding: 0 0.15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.live-title {
    font-size: 0.16rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.05rem;
}

.live-host {
    font-size: 0.14rem;
    color: #666;
}

.live-status {
    width: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 0.15rem;
    border-left: 0.01rem dashed #e0e0e0;
}

.live-status-text {
    font-size: 0.12rem;
    padding: 0.03rem 0.1rem;
    border-radius: 0.1rem;
    display: inline-block;
    margin-bottom: 0.1rem;
}

.status-live {
    background-color: #ff4d4f;
    color: white;
}

.status-upcoming {
    background-color: #52c41a;
    color: white;
}

.status-ended {
    background-color: #d9d9d9;
    color: #666;
}

.live-actions {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    width: 100%;
}

.action-btn {
    font-size: 0.12rem;
    padding: 0.05rem 0.1rem;
    border-radius: 0.06rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.confirm-btn {
    background-color: #52c41a;
    color: white;
}

.leave-btn {
    background-color: #faad14;
    color: white;
}

.cancel-btn {
    background-color: #d9d9d9;
    color: #666;
}

.action-btn:disabled {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

.empty-state {
    text-align: center;
    padding: 0.4rem 0.2rem;
    color: #999;
}

.empty-state i {
    font-size: 0.48rem;
    margin-bottom: 0.15rem;
    color: #d9d9d9;
}

.footer {
    text-align: center;
    padding: 0.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.14rem;
    margin-top: 0.3rem;
}

.stats-card {
    background: white;
    border-radius: 0.12rem;
    box-shadow: 0 0.02rem 0.1rem rgba(0, 0, 0, 0.1);
    margin-bottom: 0.2rem;
    padding: 0.15rem;
}

.stats-title {
    font-size: 0.16rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
    color: #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.1rem;
}

.stat-item {
    text-align: center;
    padding: 0.1rem;
    border-radius: 0.08rem;
    background-color: #f8fafc;
}

.stat-value {
    font-size: 0.18rem;
    font-weight: 600;
    color: #1e88e5;
}

.stat-label {
    font-size: 0.12rem;
    color: #666;
    margin-top: 0.03rem;
}



/* CSS样式 */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    width: 6.4rem;
    margin: auto;
    background: white;
    border-top: 1px solid #eee;
    padding: 10px 0;
    z-index: 1000;
}

.nav-item {
    text-align: center;
    flex: 1;
}

.nav-link {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 5px 0;
    cursor: pointer;
}

.nav-item.active .nav-link {
    color: #1E9FFF; /* 激活颜色 */
}

.nav-item.active .nav-icon {
    color: #1E9FFF;
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
    display: block;
}

.nav-text {
    font-size: 12px;
}