.wrapper {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f5;
    color: #333333;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 15px;
    line-height: 1.6;
}

h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.5em;
}

#package-count, #update-time {
    color: #2c3e50;
    font-weight: bold;
    font-size: 1em;
}

p {
    margin: 5px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

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

th {
    background-color: #2c3e50;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.9em;
}

td {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85em;
}

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

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

a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9em;
}

a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    h2 {
        font-size: 1.2em;
    }

    #package-count, #update-time {
        font-size: 0.9em;
    }

    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    th, td {
        padding: 8px;
        min-width: 80px;
    }

    th {
        font-size: 0.8em;
    }

    td {
        font-size: 0.75em;
    }

    a {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin-bottom: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    td {
        border: none;
        position: relative;
        padding-left: 50%;
    }

    td:before {
        content: attr(data-label);
        position: absolute;
        left: 8px;
        width: 45%;
        padding-right: 10px;
        font-weight: bold;
        color: #2c3e50;
    }

    td:nth-child(1):before { content: "软件包名称"; }
    td:nth-child(2):before { content: "版本"; }
    td:nth-child(3):before { content: "操作"; }
}
