﻿:root {
    --primary-color: #1E9FFF;
    --secondary-color: #FF5722;
    --bg-color: #F8F8F8;
    --text-color: #333;
    --border-color: #E6E6E6;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
}

.app-container {
    max-width: 560px;
    margin: 0 auto;
    background-color: #F2F6F9;
    min-height: 100vh;
    position: relative;
    padding-bottom: 40px;
}

.header {
    background: linear-gradient(135deg, var(--primary-color), #5FB878);
    height: 40px;
    color: white;
    /*padding: 15px;*/
    text-align: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stats-bar {
    display: contents;
    justify-content: space-around;
    margin-top: 15px;
    font-size: 12px;
}
/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #999;
    text-align: center;
    cursor: pointer;
    align-content: center;
    justify-content: center;
    align-items: center;
}

    .nav-item.active {
        color: #14cb39;
    }
.nav-item-text {
    font-weight: 400;
    font-size: 14px;
    color: #afbec3;
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-text {
    font-size: 14px;
}

.page {
    display: none;
}

    .page.active {
        display: block;
    }

.back-btn {
    position: absolute;
    left: 15px;
    top: 8px;
    font-size: 14px;
    color: white;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
