body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header h1 { margin: 0 0 12px; }
nav a { margin-right: 12px; text-decoration: none; }
.card { background: #fff; padding: 16px; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
button { padding: 8px 14px; border: 1px solid #2563eb; background: #3b82f6; color: #fff; border-radius: 8px; cursor: pointer; }
button:hover { opacity: .9; }
.table-wrapper { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid #eee; padding: 8px; text-align: left; }
.error { margin-top: 12px; color: #b91c1c; }

.download-main {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 20px 0;
    margin-bottom: 0px;
}

.download-box {
    width: 370px;
    height: 14cm;
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
}

.download-title {
    font-family: 'Times New Roman', serif !important;
    font-size: 28px !important;
    font-weight: bold !important;
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 5px;
    width: 100%;
}

.download-content {
    font-family: 'Times New Roman', serif !important;
    font-size: 20px !important;
    font-weight: normal !important;
    text-align: left;
    margin: 0;
    line-height: 1.5;
}

.model-items-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
}

.model-item-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.model-item-row:first-child {
    margin-bottom: 35px;
}
.model-item-row:nth-child(2) {
    margin-bottom: 35px;
}
.model-item-row:nth-child(3) {
    margin-bottom: 35px;
}
.model-item-row:nth-child(4) {
    margin-bottom: 35px;
}

.model-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3b82f6;
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-family: 'Times New Roman', serif;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
}

#model-ngly {
    width: 160px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
}
#model-ngly:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

#model-sacy {
    width: 130px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
}
#model-sacy:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

#model-2hib {
    width: 300px;
    height: 50px;
    margin: 0 auto;
    font-size: 20px;
    font-weight: bold;
}
#model-2hib:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

#model-cro {
    width: 145px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
}
#model-cro:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

#model-suc {
    width: 145px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
}
#model-suc:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

#model-mal {
    width: 145px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
}
#model-mal:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

#model-ace {
    width: 145px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
}
#model-ace:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

#model-ubi {
    width: 135px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
}
#model-ubi:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

#model-pho {
    width: 155px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
}
#model-pho:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.data-items-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
}

.data-item-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.data-item-row:first-child {
    margin-bottom: 35px;
}
.data-item-row:nth-child(2) {
    margin-bottom: 35px;
}

.data-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3b82f6;
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-family: 'Times New Roman', serif;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
}

#data-seq {
    width: 300px;
    height: 50px;
    margin: 0 auto;
    font-size: 20px;
    font-weight: bold;
}
#data-seq:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

#data-esm {
    width: 300px;
    height: 50px;
    margin: 0 auto;
    font-size: 20px;
    font-weight: bold;
}
#data-esm:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

#data-pssm {
    width: 300px;
    height: 50px;
    margin: 0 auto;
    font-size: 20px;
    font-weight: bold;
}
#data-pssm:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.code-items-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
}

.code-item-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.code-item-row:first-child {
    margin-bottom: 35px;
}

.code-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3b82f6;
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-family: 'Times New Roman', serif;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
}

#code-tar {
    width: 300px;
    height: 50px;
    margin: 0 auto;
    font-size: 20px;
    font-weight: bold;
}
#code-tar:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.github-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.github-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
}

.github-logo {
    width: 40px;
    height: 40px;
    font-size: 40px !important;
    color: #24292f;
    display: inline-block;
    vertical-align: middle;
}

#code-web {
    width: 115px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
}
#code-web:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

#code-targz {
    width: 115px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
}
#code-targz:hover {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

main:not(.download-main) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
