* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    background-color: #f4f4f4;
}

h1 {
    text-align: center;
    font-size: 3em;
    color: #000;
}

h3 {
    text-align: center;
    font-size: 1.2em;
}

h3 span {
    padding: 8px;
    background-color: #DCDCDC;
    color: #333
}

a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}


table {
    margin-top: 16px;
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #000;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #e6f3ff;
}

th, td {
    text-align: center;
}

@media screen and (max-width: 600px) {
    table {
        font-size: 12px;
    }

    th, td {
        padding: 8px;
    }
}

.badge {
    background-color: #6666cc;
    color: #FFF;
    padding: 4px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 0 2px;
}

.rank {
    font-size: 0.8em;
    color: #FFF;
    background-color: #666;
    margin: 0 2px;
    padding: 4px;
    font-weight: bold;
}

.rank-1 {
    background-color: #FFD700;
}

/* 金色 */
.rank-2 {
    background-color: #C0C0C0;
}

/* 银色 */
.rank-3 {
    background-color: #CD7F32;
}

/* 铜色 */
.rank-4 {
    background-color: #4169E1;
}

/* 皇家蓝 */
.rank-5 {
    background-color: #228B22;
}

/* 森林绿 */
.rank-6 {
    background-color: #FF4500;
}

/* 橙红色 */
.rank-7 {
    background-color: #8A2BE2;
}

/* 紫罗兰色 */
.rank-8 {
    background-color: #A0522D;
}

/* 赭色 */

.badge-title {
    font-size: 0.8em;
    background-color: #999;
    color: #fff;
    FONT-WEIGHT: bold;
    padding: 4px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    margin: 0 2px;
    animation: anim-title 3s infinite;
    display: inline-block;
}

.badge-chicken {
    animation: chicken 3s infinite;
}

span svg {
    height: 16px;
    width: 16px;
}


@keyframes anim-title {
    from {
        background-color: #797979;
        -webkit-box-shadow: 0 0 9px #797979;
    }
    50% {
        background-color: #9999CC;
        -webkit-box-shadow: 0 0 18px #9999CC;
    }
    to {
        background-color: #797979;
        -webkit-box-shadow: 0 0 9px #797979;
    }
}

@keyframes chicken {
    from {
        background-color: orangered;
        -webkit-box-shadow: 0 0 9px orangered;
    }
    50% {
        background-color: orange;
        -webkit-box-shadow: 0 0 18px orange;
    }
    to {
        background-color: orangered;
        -webkit-box-shadow: 0 0 9px orangered;
    }
}

.history-day {
    font-size: 0.8em;
    color: #4169E1;
    border-bottom: 2px solid #4169E1;
    margin: 0 2px;
    padding: 2px 4px;
}

.footer {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
}

thead tr th {
    position: sticky;
    top: 0;
}


.seq {
    background: #333;
    font-weight: bold;
    color: #FFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    box-shadow: 0 0 10px #333;
    margin: 4px 8px;
}

.seq-top {
    background: #FFD700;
    box-shadow: 0 0 10px #FFD700;
}