* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.ctr {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ctt {
    padding: 10px 5px 15px;
    color: #555;
    font-size: large;
    font-weight: bold;
}

.dnr {
    text-align: center;
    margin-bottom: 20px;
    line-height: 2.4em;
}

.dnr .fst {
    font-size: larger;
}

.dnr .snd {
    font-size: xx-large;
    letter-spacing: 2px;
    font-weight: bold;
    line-height: 2em;
}

.dnr .trd {
    font-size: small;
    font-weight: lighter;
    line-height: 2.4em;
}

.dnr .fth {
    display: flex; 
    flex-direction: row;
    line-height: 2em;
    justify-content: center;
}

.dnr .fth div {
    padding: 0 10px;
}

#zero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF6B35, #F7931E, #FFD700);
    border: 1px solid #B8860B;
    width: 100%;
    height: 88px;
    text-align: center;
    letter-spacing: 10px;
    font-size: xx-large;
    font-weight: bold;
    color: #8B4513;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    line-height: 100px;
    overflow: hidden;
    margin-bottom: 10px;
}

.q-a {
    background: #007BFF;
    color: white;
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

.q-a br {
    display: none;
}

.q-a a {
    color: white;
}

.main {
    margin-bottom: 20px;
}

.ns-c {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ns-g {
    flex: 1;
    margin-right: 10px;
}

.ns-g:last-child {
    margin-right: 0;
}

.ns-g img {
    width: 100%;
    min-height: 210px;
    max-height: 210px;
    object-fit: cover;
    border-radius: 5px;
}

.ns-g h3 {
    font-size: 1.2em;
    margin: 10px 0;
}

.ns-g ul {
    list-style: none;
    padding: 5px;
}

.ns-g ul li {
    margin: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 560px;
    margin-bottom: 5px;
}

.ns-g ul li a {
    color: #007BFF;
}

.ns-g ul li a:hover {
    text-decoration: underline;
}

.ns-l {
    position: relative;
    display: inline-block;
    width: 100%;
}

.ns-l img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.96);
}

.ns-t {
    width: 80%;
    position: absolute;
    left: 50%;
    top: 35%;
    transform: translateX(-50%);
    margin: 0;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1.2em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner {
    position: relative;
    display: block;
    margin-bottom: 20px;
    width: 100%;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

/*
.banner img {
    height: 72px;
    width: auto;
}
*/

.badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: #007bff;
    color: white;
    font-size: xx-small;
    padding: 0px 3px;
    border-radius: 3px;
}

.dnlist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
    line-height: 1.8em;
}

.dnlist a {
    text-decoration: none;
}

.dn {
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.dn h3 {
    font-size: 1.1em;
}

.dn p {
    margin: 5px 0;
}

.dnt {
    color: #007bff;
    font-size: x-large;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.6em;
}

.dnm {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dnp {
    font-size: 14px;
}

.sm {
    font-size: 0.8em;
    color: #555;
}

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8em;
    line-height: 2.4em;
    letter-spacing: 1px;
}

footer a {
    color: #333;
    text-decoration: none;
}

#isbanner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(235deg, #d6d6d6, #fff);
    border: 1px solid #d6d6d6;
    width: 100%;
    height: 88px;
    text-align: center;
    letter-spacing: 10px;
    font-size: xx-large;
    font-weight: bold;
    color: #FF6A00;
    line-height: 100px;
    overflow: hidden;
}

#ademo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(235deg, #FFD700, #fff);
    border: 1px solid #FFD700;
    width: 100%;
    height: 88px;
    text-align: center;
    letter-spacing: 10px;
    font-size: xx-large;
    font-weight: bold;
    color: #666;
    line-height: 100px;
    overflow: hidden;
}

#dmlpbd1, #dmlpbd3, #dmlpbd5, #dmlpbd6, #dmlpbd7, #dmlpbd8 {
    display: none;
}

#dmlpbd2 {
    margin-bottom: 10px;
    padding: 0;
    width: 100%;
    overflow: hidden;
}

#dmlpbd4-1, #dmlpbd4-2 {
    margin-bottom: -8px;
    padding: 0;
    width: auto;
    overflow: hidden;
}

#dmlpbd9 {
    display: block;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgb(46, 130, 255);
    margin-bottom: 20px;
    padding: 0;
    width: auto;
    overflow: hidden;
}

@media (min-width: 769px) and (max-width: 1080px) {
    .ctr {
        width: 100%;
        max-width: unset;
        min-width: unset;
        margin: auto;
        background: #fff;
        box-shadow: unset;
    }

    .ns-g ul li {
        max-width: 366px;
    }

    .ns-g ul li:nth-child(n+6) {
        display: none;
    }
}

@media (max-width: 768px) {
    .ctr {
        width: 100%;
        max-width: unset;
        min-width: unset;
        margin: auto;
        background: #fff;
        box-shadow: unset;
    }

    .q-a br {
        display: unset;
    }

    .ctt {
        text-align: center;
    }

    .ctt span {
        display: none;
    }

    .dnlist a:nth-child(n+7) {
        display: none;
    }

    .dnr .fst {
        font-size: small;
        line-height: 1em;
    }

    .dnr .snd {
        font-size: larger;
    }

    .dnr .trd {
        font-size: xx-small;
        font-weight: lighter;
    }

    .dnr .fth {
        flex-direction: column;
        font-size: small;
    }

    .ns-c {
        flex-direction: column;
    }

    .ns-g {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .ns-g:last-child {
        margin-bottom: 0;
    }

    .ns-g ul li:nth-child(n+6) {
        display: none;
    }

/*
    .banner img {
        height: 26px;
        width: auto;
    }
*/

    .badge {
        bottom: 3px;
        right: 3px;
        padding: 0px 3px;
        border-radius: 2px;
    }

    #isbanner,
    #zero,
    #ademo {
        width: 100%;
        height: 72px;
        font-size: large;
        font-weight: bold;
        letter-spacing: unset;
    }
    
    #dmlpbd1 {
    /*
        display: flex;
        background: #fff;
        width: auto;
        height: 70px;
    */
    }
    
    #dmlpbd3, #dmlpbd5, #dmlpbd8 {
        display: block;
        align-items: center;
        justify-content: center;
        text-align: center;
        border: 1px solid #d8d8d8;
        margin-bottom: 20px;
        padding: 0;
        width: auto;
        overflow: hidden;
    }
    
    #dmlpbd6, #dmlpbd7 {
        text-align: center;
        margin-bottom: 20px;
        padding: 0;
        width: auto;
        overflow: hidden;
    }

    #dmlpbd9 {
        display: none;
    }
}
