* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}
header {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #333;
}
#stats-header {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #aaa;
}
.tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}
.tab-btn {
    background: #333;
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s;
}
.tab-btn.active, .tab-btn:hover {
    background: #555;
}
.tab-content {
    display: none;
    padding: 0 1rem;
}
.tab-content.active {
    display: block;
}
.list {
    margin-top: 1rem;
}
.card {
    background: #111;
    border-radius: 5px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.card img {
    width: 60px;
    height: 90px;
    object-fit: cover;
    border-radius: 3px;
}
.card .info {
    flex: 1;
}
.card .title {
    font-weight: bold;
    margin-bottom: 0.25rem;
}
.card .meta {
    font-size: 0.9rem;
    color: #aaa;
}
.progress-container {
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    overflow: hidden;
    height: 8px;
    margin: 0.5rem 0;
}
.progress-bar {
    height: 100%;
    background-color: #4caf50;
    width: 0%;
    transition: width 0.3s;
}
.search-box {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background: #222;
    border: none;
    color: #fff;
    border-radius: 3px;
}
.no-data, .error {
    text-align: center;
    padding: 2rem;
    color: #aaa;
}
@media (max-width: 600px) {
    .card {
        flex-direction: column;
        align-items: flex-start;
    }
    .card img {
        width: 100%;
        height: auto;
        max-height: 200px;
    }
}
