
/* ==========================================================
   H20 - Quick Download
   命名空间：.article-app-download
   ========================================================== */

.article-app-download.app-download-quick {
    padding: 48px 0;
    background: var(--bg, #fff);
    color: var(--text, #1e293b);
}

.article-app-download .app-download-quick__inner {
    width: min(100% - 32px, var(--container, 1280px));
    margin-inline: auto;
}

.article-app-download .app-download-quick__header {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.article-app-download .app-download-quick__eyebrow,
.article-app-download .app-download-quick__group-label {
    display: inline-block;
    color: var(--primary, #3897e6);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.article-app-download .app-download-quick__heading {
    margin: 10px 0 12px;
    color: var(--text, #1e293b);
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 750;
    line-height: 1.25;
}

.article-app-download .app-download-quick__description {
    margin: 0;
    color: var(--text-light, #64748b);
    font-size: 15px;
    line-height: 1.8;
}

.article-app-download .app-download-quick__group {
    margin-top: 38px;
}

.article-app-download .app-download-quick__group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.article-app-download .app-download-quick__group-title {
    margin: 5px 0 0;
    color: var(--text, #1e293b);
    font-size: 24px;
    font-weight: 750;
}

.article-app-download .app-download-quick__count {
    color: var(--text-light, #64748b);
    font-size: 13px;
    white-space: nowrap;
}

.article-app-download .app-download-quick__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.article-app-download .app-download-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 22px;
    background: var(--bg, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius, 12px);
    box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,.05));
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.article-app-download .app-download-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary, #3897e6);
    box-shadow: 0 10px 30px rgba(56,151,230,.10);
}

.article-app-download .app-download-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.article-app-download .app-download-card__device {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.article-app-download .app-download-card__device-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    color: var(--primary, #3897e6);
    background: var(--bg-light, #f8fafc);
    border-radius: 12px;
}

.article-app-download .app-download-card__device-icon svg {
    display: block;
    width: 25px;
    height: 25px;
}

.article-app-download .app-download-card__device-name {
    margin: 0;
    color: var(--text, #1e293b);
    font-size: 16px;
    font-weight: 700;
}

.article-app-download .app-download-card__device-description {
    margin: 3px 0 0;
    color: var(--text-light, #64748b);
    font-size: 12px;
}

.article-app-download .app-download-card__platform {
    padding: 5px 10px;
    color: var(--primary, #3897e6);
    background: rgba(56,151,230,.09);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.article-app-download .app-download-card__content {
    margin-top: 20px;
}

.article-app-download .app-download-card__title {
    margin: 0;
    color: var(--text, #1e293b);
    font-size: 15px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.article-app-download .app-download-card__meta {
    margin: 8px 0 0;
    color: var(--text-light, #64748b);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.article-app-download .app-download-card__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.article-app-download .app-download-card__button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 20px;
    color: #fff;
    background: var(--primary, #3897e6);
    border: 1px solid var(--primary, #3897e6);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background .2s ease,
        border-color .2s ease;
}

.article-app-download .app-download-card__button:hover {
    color: #fff;
    background: var(--primary-hover, #2f86d2);
    border-color: var(--primary-hover, #2f86d2);
}

.article-app-download .app-download-card__button svg {
    width: 17px;
    height: 17px;
}

.article-app-download .app-download-card__button--disabled {
    color: var(--text-light, #64748b);
    background: var(--bg-light, #f8fafc);
    border-color: var(--border, #e2e8f0);
    cursor: not-allowed;
}

.article-app-download .app-download-card__source {
    color: var(--text-light, #64748b);
    font-size: 13px;
    text-decoration: none;
}

.article-app-download .app-download-card__source:hover {
    color: var(--primary, #3897e6);
    text-decoration: underline;
}

.article-app-download .app-download-quick__disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
    padding: 16px;
    background: var(--bg-light, #f8fafc);
    border-radius: 10px;
}

.article-app-download .app-download-quick__disclaimer-icon {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    color: #fff;
    background: var(--text-light, #64748b);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.article-app-download .app-download-quick__disclaimer p {
    margin: 0;
    color: var(--text-light, #64748b);
    font-size: 13px;
    line-height: 1.8;
}

.article-app-download .app-download-quick__notice {
    padding: 24px;
    background: var(--bg-light, #f8fafc);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius, 12px);
}

.article-app-download .app-download-quick__notice strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text, #1e293b);
    font-size: 16px;
}

.article-app-download .app-download-quick__notice p {
    margin: 0;
    color: var(--text-light, #64748b);
    font-size: 14px;
    line-height: 1.8;
}

.article-app-download a:focus-visible {
    outline: 3px solid rgba(56,151,230,.45);
    outline-offset: 3px;
}

/* 平板 */
@media (max-width: 768px) {
    .article-app-download.app-download-quick {
        padding: 36px 0;
    }

    .article-app-download .app-download-quick__header {
        margin-bottom: 28px;
        text-align: left;
    }

    .article-app-download .app-download-quick__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .article-app-download .app-download-card {
        padding: 18px;
    }

    .article-app-download .app-download-card__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .article-app-download .app-download-card__button {
        width: 100%;
        box-sizing: border-box;
    }

    .article-app-download .app-download-card__source {
        text-align: center;
    }
}

/* 小屏手机 */
@media (max-width: 420px) {
    .article-app-download .app-download-quick__group-header {
        align-items: flex-end;
    }

    .article-app-download .app-download-card__top {
        align-items: flex-start;
    }

    .article-app-download .app-download-card__device-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .article-app-download .app-download-card__device-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* 减少动态效果 */
@media (prefers-reduced-motion: reduce) {
    .article-app-download .app-download-card,
    .article-app-download .app-download-card__button {
        transition: none;
    }

    .article-app-download .app-download-card:hover {
        transform: none;
    }
}
