@media (max-width: 750px) {
    body {
        background-image: url(https://pic1.imgdb.cn/item/690c45d93203f7be00db8a24.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: scroll;
        margin: 0;
        padding-top: 95px;
        font-size: 14px;
        line-height: 1.5;
    }

    button {
        cursor: pointer;
    }

    /* ========== Navigation ========== */

    .nav {
        position: fixed;
        height: auto;
        width: 100%;
        top: 0;
        background-image: url(https://pic1.imgdb.cn/item/690c45bf3203f7be00db89bf.png);
        background-size: cover;
        background-repeat: no-repeat;
        display: grid;
        grid-template-rows: auto auto;
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        padding: 6px 4px;
        gap: 4px;
        box-sizing: border-box;
        z-index: 100;
    }

    .nav > a {
        grid-row: 1;
        grid-column: 1 / 6;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        gap: 6px;
    }

    .nav > a .nav-logo {
        margin: 0;
    }

    .nav-title {
        display: inline;
        cursor: pointer;
        font-size: 13px;
        color: rgb(255, 128, 0);
        font-family: 宋体, 楷体, serif;
        white-space: nowrap;
        margin: 0;
    }

    .nav > button:nth-of-type(1) {
        grid-row: 2;
        grid-column: 4;
    }
    .nav > button:nth-of-type(2) {
        grid-row: 2;
        grid-column: 5;
    }
    .nav > button:nth-of-type(3) {
        grid-row: 2;
        grid-column: 1;
    }
    .nav > button:nth-of-type(4) {
        grid-row: 2;
        grid-column: 2;
    }
    .nav > button:nth-of-type(5) {
        grid-row: 2;
        grid-column: 3;
    }

    .nav button {
        font-size: 9px;
        padding: 6px 2px;
        margin: 0;
        width: 80%;
        white-space: nowrap;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-btn-auth {
        padding: 6px 2px;
        margin: 0;
        background-color: aqua;
        border-radius: 4px;
        cursor: pointer;
        white-space: nowrap;
        box-sizing: border-box;
        font-size: 9px;
        width: 80%;
        text-align: center;
    }

    .nav-btn-item {
        padding: 6px 2px;
        margin: 0;
        background-color: rgb(0, 179, 255);
        border-radius: 4px;
        cursor: pointer;
        font-size: 9px;
        box-sizing: border-box;
        white-space: nowrap;
        width: 80%;
        text-align: center;
    }

    /* ========== Layout ========== */

    .hero-header {
        text-align: center;
        margin: 0 auto;
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .header-img {
        display: block;
        margin: 0 auto;
    }

    .header-h1 {
        text-align: center;
        margin: 10px auto;
    }

    /* ========== Typography ========== */

    .text-body {
        font-size: 18px;
        margin: 0;
        font-family: 宋体, 楷体, serif;
    }

    .text-label {
        margin-top: 10px;
        font-weight: bold;
    }

    .text-divider {
        border-bottom: 3px solid black;
        width: auto;
        max-width: 350px;
        margin: 0 16px;
    }

    .section-title {
        font-family: 宋体, 楷体, serif;
        margin: 12px 16px;
    }

    .more-link {
        color: white;
        float: right;
        text-decoration: none;
    }

    .auth-link {
        color: blue;
    }

    /* ========== Tables ========== */

    table {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        display: block;
    }

    .table-cell {
        width: auto;
        min-width: 150px;
        padding: 6px 4px;
    }

    .content-table td {
        width: auto;
        min-width: 150px;
        padding: 6px 4px;
    }

    /* ========== Images ========== */

    .img-preview {
        width: 110px;
        height: 150px;
        cursor: pointer;
        border-radius: 5px;
    }

    .img-card {
        width: 150px;
        height: 200px;
        cursor: pointer;
        border-radius: 5px;
        border: 1px solid #b8a878;
        box-shadow: 0px 2px 6px #CABC87;
        padding: 0;
        margin: 15px 10px;
    }

    .nav-logo {
        width: 30px;
        cursor: pointer;
    }

    /* ========== Buttons ========== */

    .page-btn {
        width: 40px;
        height: 40px;
        cursor: pointer;
        border-radius: 5px;
        background-color: #fff;
    }

    .submit-btn {
        font-size: 20px;
        padding: 10px;
        margin: 15px;
        background-color: aqua;
        border-radius: 5px;
        cursor: pointer;
    }

    #img-wr {
        width: 150px;
        height: 200px;
        cursor: pointer;
        border-radius: 5px;
        display: block;
        margin: 0 auto;
    }

    /* ========== Modal ========== */

    .modal::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.3);
        z-index: -1;
    }

    .modal {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        width: 90%;
        max-width: 400px;
        height: auto;
        max-height: 80vh;
        background-color: #ffffff;
        background-image: url(https://pic1.imgdb.cn/item/690c45d93203f7be00db8a24.png);
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
        padding: 16px;
        z-index: 1000;
        overflow-y: auto;
        animation: modalMobile 0.3s ease-out forwards;
        -webkit-overflow-scrolling: touch;
    }

    .modal.Close {
        animation: modalCloseMobile 0.3s ease-out forwards;
    }

    .modal h1 {
        font-size: 20px;
        margin: 10px 0;
        text-align: center;
        font-family: 宋体, 楷体, serif;
    }

    .modal p {
        font-size: 14px;
        line-height: 1.6;
        margin: 8px 0;
        text-align: center;
    }

    .modal img {
        width: 80% !important;
        height: auto !important;
        max-height: 300px;
        object-fit: contain;
        margin: 10px auto !important;
        display: block;
        border-radius: 10px;
    }

    .modal-close {
        position: relative;
        display: flex;
        width: 80px;
        height: 40px;
        margin: 15px auto 5px;
        justify-content: center;
        align-items: center;
        background-color: rgb(122, 190, 226);
        color: #fff;
        border-radius: 10px;
        cursor: pointer;
        font-size: 16px;
        text-align: center;
        font-weight: bold;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .modal-close:active {
        background-color: rgb(67, 173, 234);
        transform: scale(0.95);
    }

    @keyframes modalMobile {
        0% {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.7);
        }
        100% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
    }

    @keyframes modalCloseMobile {
        0% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
        100% {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.7);
        }
    }
}
