.download-page-hero {
    padding-bottom: 8px;
}

.download-page-hero h1 {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 44px;
}

.download-page-hero .text-gray {
    color: #6e6e6e;
    font-weight: 500;
}

.download-back {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px 20px;
    font-size: 15px;
}

.download-back a {
    color: #007AFF;
    text-decoration: none;
    font-weight: 500;
}

.download-back a:hover {
    text-decoration: underline;
}

.download-table-wrap {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px 32px;
}

.download-table-panel {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.download-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.download-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 15px;
}

.download-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.download-table thead th {
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 14px 16px;
    background: #f9f9fb;
    border-bottom: 1px solid #e8e8ed;
    white-space: nowrap;
}

.download-table thead th.col-platform {
    min-width: 140px;
}

.download-table thead th .platform-head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.download-table thead th .platform-head-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.download-table thead th .platform-req {
    font-size: 11px;
    font-weight: 400;
    color: #888;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.2;
}

.download-table thead th .platform-head img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.download-table tbody td {
    padding: 16px;
    border-bottom: 1px solid #ececf0;
    vertical-align: top;
}

.download-table tbody tr:last-child td {
    border-bottom: none;
}

.download-table tbody tr:hover td {
    background: #fafafc;
}

.download-table tbody tr.row-latest td:first-child {
    background: linear-gradient(90deg, rgba(0, 122, 255, 0.06) 0%, transparent 100%);
}

.col-version {
    width: 148px;
    min-width: 148px;
}

.col-released {
    width: 108px;
    white-space: nowrap;
    color: #888;
    font-size: 14px;
}

.version-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.version-label strong {
    font-size: 17px;
    font-weight: 700;
    color: #1d1d1f;
}

.version-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 9999px;
    background: #007AFF;
    color: #fff;
}

.version-badge.badge-legacy {
    background: #e8e8ed;
    color: #666;
}

.cell-empty {
    color: #c7c7cc;
    font-size: 14px;
}

.cell-download {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cell-download a {
    color: #007AFF;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.cell-download a:hover {
    text-decoration: underline;
}

.cell-download a.is-disabled {
    color: #aeaeb2;
    pointer-events: none;
    font-weight: 500;
}

.cell-download .file-meta {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

.cell-download .file-hash {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    color: #aeaeb2;
    letter-spacing: 0.02em;
    cursor: help;
}

.cell-coming-soon {
    min-height: 44px;
    justify-content: center;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 9999px;
    background: #f2f2f7;
    border: 1px dashed #c7c7cc;
    color: #8e8e93;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.download-upgrade-warning {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    max-width: 1024px;
    margin: 0 auto 28px;
    padding: 16px 18px;
    background: #fff8eb;
    border: 1px solid #ffd591;
    border-left: 4px solid #ff9500;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.download-upgrade-warning-icon {
    font-size: 20px;
    line-height: 1.35;
    flex-shrink: 0;
}

.download-upgrade-warning-body {
    font-size: 15px;
    line-height: 1.45;
    color: #3a3a3c;
}

.download-upgrade-warning-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
}

.download-upgrade-warning-body p:last-child {
    margin: 0;
}

.release-notes {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px 28px;
}

.release-notes-title {
    margin: 0 0 16px;
    padding-left: 4px;
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
}

.release-notes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.release-notes-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.release-notes-item header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 16px;
    background: #f5f5f7;
    border-bottom: 1px solid #e8e8ed;
    border-radius: 14px 14px 0 0;
}

.release-notes-item h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1d1d1f;
}

.release-notes-date {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.release-notes-item ul {
    margin: 0;
    padding: 16px 20px 16px calc(20px + 1.15rem);
    font-size: 14px;
    color: #555;
    line-height: 1.45;
    list-style-position: outside;
}

.release-notes-item li + li {
    margin-top: 4px;
}

.release-notes-item-legacy {
    opacity: 0.92;
}

@media (max-width: 768px) {
    .download-page-hero h1 {
        font-size: 32px;
    }

    .download-table tbody td,
    .download-table thead th {
        padding: 12px;
    }
}
