/* PC 下载中心 */

.download-pc-body {
    background: #f3f6fb;
    min-height: 100vh;
}

.dl-hero {
    margin-top: 70px;
    padding: 64px 20px 40px;
    background:
        radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.18), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(30, 64, 175, 0.22), transparent 45%),
        linear-gradient(160deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
    color: #fff;
}

.dl-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.dl-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 12px;
}

.dl-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.dl-subtitle {
    font-size: 1.05rem;
    opacity: 0.88;
    max-width: 640px;
}

.dl-main {
    max-width: 1100px;
    margin: -28px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.dl-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    align-items: start;
}

.dl-sidebar,
.dl-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.dl-sidebar {
    padding: 20px 16px;
}

.dl-side-title {
    font-size: 1rem;
    color: #64748b;
    margin: 0 12px 14px;
    font-weight: 600;
}

.dl-project-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dl-project-item {
    display: block;
    padding: 14px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dl-project-item:hover {
    background: #f1f5f9;
}

.dl-project-item.is-active {
    background: linear-gradient(135deg, #1e40af, #0ea5e9);
    color: #fff;
}

.dl-project-name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
}

.dl-project-code {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    opacity: 0.75;
}

.dl-panel {
    padding: 28px 32px 32px;
}

.dl-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.dl-project-title {
    font-size: 1.8rem;
    margin-bottom: 6px;
    color: #0f172a;
}

.dl-version {
    color: #64748b;
}

.dl-mobile-link {
    font-size: 0.9rem;
    color: #1e40af;
    white-space: nowrap;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 8px 14px;
    background: #eff6ff;
}

.dl-mobile-link:hover {
    background: #dbeafe;
}

.dl-notes {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 28px;
}

.dl-notes h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #334155;
}

.dl-notes-body {
    white-space: pre-wrap;
    color: #475569;
    line-height: 1.7;
    font-size: 0.98rem;
}

.dl-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dl-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 92px;
    border-radius: 14px;
    padding: 18px 20px;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dl-btn:hover {
    transform: translateY(-2px);
}

.dl-btn-android {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.28);
}

.dl-btn-ios {
    background: linear-gradient(135deg, #111827, #374151);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.28);
}

.dl-btn-disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

.dl-btn-label {
    font-size: 1.15rem;
    font-weight: 700;
}

.dl-btn-desc {
    margin-top: 6px;
    font-size: 0.88rem;
    opacity: 0.9;
}

.dl-alert {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 12px;
    padding: 16px 18px;
}

.dl-alert-soft {
    margin-top: 0;
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
}

.dl-empty {
    color: #94a3b8;
    padding: 12px;
}

.dl-latest-card {
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 48%);
    border-radius: 16px;
    padding: 22px 22px 20px;
    margin-bottom: 28px;
    position: relative;
}

.dl-latest-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1d4ed8;
    background: #dbeafe;
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 12px;
}

.dl-latest-name {
    font-size: 1.45rem;
    color: #0f172a;
    margin-bottom: 6px;
}

.dl-latest-sub {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.dl-notes-inline {
    margin-bottom: 20px;
}

.dl-history-title {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 14px;
}

.dl-table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.dl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.dl-table th,
.dl-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.dl-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    white-space: nowrap;
}

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

.dl-table tr.is-latest {
    background: #f0f9ff;
}

.dl-tag {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.72rem;
    color: #1d4ed8;
    background: #dbeafe;
    border-radius: 999px;
    padding: 2px 8px;
    vertical-align: middle;
}

.dl-summary {
    color: #64748b;
    max-width: 280px;
    line-height: 1.5;
}

.nav-link.active {
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .dl-layout {
        grid-template-columns: 1fr;
    }

    .dl-actions {
        grid-template-columns: 1fr;
    }

    .dl-panel-head {
        flex-direction: column;
    }

    .dl-title {
        font-size: 1.8rem;
    }

    .dl-summary {
        max-width: none;
    }
}
