/* Support → Driver Download */
.supp-dl {
    --supp-dl-max: 1100px;
    --supp-dl-red: var(--primary-color, #8b0000);
    --supp-dl-red-dark: #6d0000;
    background: #f4f5f7;
}

.supp-dl-hero {
    padding: clamp(2.5rem, 6vw, 3.5rem) 16px clamp(2rem, 4vw, 2.75rem);
    text-align: center;
    background: linear-gradient(180deg, #eef0f3 0%, #f4f5f7 100%);
}

.supp-dl-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.supp-dl-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--supp-dl-red);
}

.supp-dl-hero h1 {
    margin: 0 0 1rem;
    font-size: var(--text-page-title);
    font-weight: 800;
    color: #1e293b;
    line-height: 1.15;
}

.supp-dl-intro {
    margin: 0 auto;
    max-width: 38rem;
    font-size: clamp(0.98rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    color: #64748b;
}

.supp-dl-platforms {
    padding: 0 16px clamp(2rem, 4vw, 2.5rem);
    margin-top: -0.5rem;
}

.supp-dl-platforms-inner {
    max-width: var(--supp-dl-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.supp-dl-platform-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.75rem 1.35rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
    border: 1px solid #e8ecf1;
}

.supp-dl-platform-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--supp-dl-red);
    color: #fff;
    font-size: 1.65rem;
}

.supp-dl-platform-title {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
}

.supp-dl-platform-card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #64748b;
}

.supp-dl-drivers {
    padding: 0 16px clamp(3rem, 6vw, 4rem);
}

.supp-dl-drivers-inner {
    max-width: var(--supp-dl-max);
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
    border: 1px solid #e4e8ed;
    overflow: hidden;
}

.supp-dl-drivers-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e8ecf1;
}

.supp-dl-drivers-head h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
}

.supp-dl-search {
    position: relative;
    min-width: min(100%, 260px);
}

.supp-dl-search i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
}

.supp-dl-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.85rem 0.55rem 2.35rem;
    border: 1px solid #d1d9e0;
    border-radius: 999px;
    font-size: 0.9rem;
    color: #334155;
    background: #f8fafc;
}

.supp-dl-search input:focus {
    outline: none;
    border-color: #94a3b8;
    background: #fff;
}

.supp-dl-table-wrap {
    overflow-x: auto;
}

.supp-dl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.supp-dl-table thead th {
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    white-space: nowrap;
}

.supp-dl-table thead tr {
    border-bottom: 3px solid var(--supp-dl-red);
}

.supp-dl-table tbody td {
    padding: 1rem 1.25rem;
    color: #334155;
    border-bottom: 1px solid #e8ecf1;
    vertical-align: middle;
}

.supp-dl-table tbody tr:last-child td {
    border-bottom: none;
}

.supp-dl-table tbody tr.is-hidden {
    display: none;
}

.supp-dl-name {
    font-weight: 600;
    color: #1e293b;
}

/* Available Drivers 表格：暗红色文字下载链接（与官网品牌色一致） */
.supp-dl-table .supp-dl-dl-cell a.supp-dl-link {
    color: #8b0000;
    font-weight: 600;
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.supp-dl-table .supp-dl-dl-cell a.supp-dl-link:hover,
.supp-dl-table .supp-dl-dl-cell a.supp-dl-link:focus {
    color: #6d0000;
    text-decoration: underline;
}

.supp-dl-table .supp-dl-dl-cell .supp-dl-link.is-muted {
    color: #94a3b8;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}

.supp-dl-empty {
    margin: 0;
    padding: 2rem 1.5rem;
    text-align: center;
    color: #64748b;
}

.supp-dl-no-results {
    display: none;
    margin: 0;
    padding: 1.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
}

.supp-dl-no-results.is-visible {
    display: block;
}

@media (max-width: 900px) {
    .supp-dl-platforms-inner {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

@media (max-width: 640px) {
    .supp-dl-drivers-head {
        flex-direction: column;
        align-items: stretch;
    }

    .supp-dl-search {
        width: 100%;
    }
}
