:root {
    --bg: #0f0f10;
    --card: #1a1b1e;
    --text: #e6e6e6;
    --muted: #9aa0a6;
    --green: #3ddc84;
    --yellow: #fbbc04;
    --red: #ea4335;
    --border: #2a2b2f;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
}

.container {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 16px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 600;
}

.subtitle {
    font-size: 14px;
    color: var(--muted);
    margin-top: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
}

thead {
    background: #151619;
}

th,
td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

th {
    color: var(--muted);
    font-weight: 500;
}

tr:last-child td {
    border-bottom: none;
}

.badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.ok {
    background: rgba(61, 220, 132, 0.15);
    color: var(--green);
}

.warn {
    background: rgba(251, 188, 4, 0.15);
    color: var(--yellow);
}

.danger {
    background: rgba(234, 67, 53, 0.15);
    color: var(--red);
}

footer {
    margin-top: 16px;
    font-size: 12px;
    color: var(--muted);
    text-align: right;
}

/* 手机端隐藏“剩余时间” */
@media (max-width: 600px) {

    th:nth-child(4),
    td:nth-child(4) {
        display: none;
    }
}