 * {margin: 0; padding: 0; box-sizing: border-box; }
                    body {
                        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
                        background: #0f0f1a;
                        color: #e8e8f0;
                        min-height: 100vh;
                        padding: 40px 20px;
                    }
                    .container {
    width: 100%;
    max-width: none;
    padding: 0 40px;     /* 两侧留点呼吸空间 */
    margin: 0;
}
                    header {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        margin-bottom: 32px;
                        padding-bottom: 20px;
                        border-bottom: 1px solid #2a2a3a;
                    }
                    h1 {font-size: 22px; font-weight: 600; }
                    h1 span { color: #6c8cff; }
                    .refresh {
                        background :#6c8cff;
                        color: #fff;
                        border: none;
                        padding: 8px 16px;
                        border-radius: 8px;
                        cursor: pointer;
                        font-size: 14px;
                        transition: background .2s;
                    }
                    .refresh:hover { background: #5577ee; }
                    .refresh:disabled {opacity: .5; cursor: not-allowed; }

                    ol {list-style: none; counter-reset: rank; }
                    li {
                        counter-increment: rank;
                        display: flex;
                        gap: 16px;
                        padding: 18px 0;
                        border-bottom: 1px solid #1e1e2e;
                        animation: fadeIn .4s ease both;
                    }
                    li::before {
                        content: counter(rank, decimal-leading-zero);
                        font-size: 14px;
                        font-weight: 700;
                        color: #6c8cff;
                        min-width: 28px;
                        padding-top: 2px;
                        font-variant-numeric: tabular-nums;
                    }
                    li .title {font-size: 16px; line-height: 1.5; }
                    @keyframes fadeIn {
                        from {opacity: 0; transform: translateY(6px); }
                        to {opacity: 1; transform: translateY(0); }
                    }

                    .status {text-align: center; padding: 40px 0; color: #888; }
                    .error {color: #ff6b6b; }



                    /* 多国家网格：桌面每行4栏 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);   /* 4栏 */
    gap: 20px;
}

/* 每个国家卡片 */
.country-card {
    background: #1a1a2a;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #2a2a3a;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.country-card h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a2a3a;
    color: #6c8cff;
}

.country-card ol {
    list-style: none;
    counter-reset: rank;
    flex: 1;
}

.country-card li {
    counter-increment: rank;
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #1e1e2e;
    font-size: 14px;
    line-height: 1.4;
    animation: fadeIn .4s ease both;
}

.country-card li::before {
    content: counter(rank, decimal-leading-zero);
    font-size: 12px;
    font-weight: 700;
    color: #6c8cff;
    min-width: 22px;
    font-variant-numeric: tabular-nums;
}

.country-card .status {
    padding: 20px 0;
    font-size: 13px;
}

/* 平板：每行2栏 */
@media (max-width: 1100px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机：单栏一行 */
@media (max-width: 640px) {
    .container {
    padding: 0 5px;     /* 两侧留点呼吸空间 */
    
}
    .news-grid {
        grid-template-columns: 1fr;
    }
    body {
        padding: 0px 12px;
    }
}