/* 全局样式 - 5分钟解压 5min.fun */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #f5f5f5;
    color: #333;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

/* 通用导航栏 */
.top-nav {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}
.top-nav a {
    text-decoration: none;
    color: #666;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-nav a:hover {
    color: #667eea;
}
.top-nav .nav-title {
    margin-left: auto;
    font-weight: 600;
    color: #333;
    font-size: 1em;
}

/* 计数器样式 */
.counter-bar {
    text-align: center;
    padding: 16px;
    background: white;
    border-bottom: 1px solid #eee;
}
.counter-bar .count {
    font-size: 2em;
    font-weight: 700;
    color: #667eea;
}
.counter-bar .label {
    font-size: 0.85em;
    color: #999;
}

/* 按钮通用 */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    border: none;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}
.btn-secondary {
    background: #f0f0f0;
    color: #666;
}
.btn-secondary:hover {
    background: #e0e0e0;
}