/* Jem 下载信息：按钮式资源下载卡片，只使用 .jem-download 前缀。 */
.jem-download {
    margin: 40px 0 0;
    padding: 22px 24px;
    border: 1px solid rgba(31, 41, 55, .12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
    color: #18221e;
}

.jem-download,
.jem-download * {
    box-sizing: border-box;
}

.jem-download-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.jem-download-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #98a1aa;
    font: 600 10px/1.3 system-ui, sans-serif;
    letter-spacing: .16em;
}

.jem-download-head h2 {
    margin: 0;
    color: #18221e;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.jem-download-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.jem-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f2f4f7;
    color: #1f2937;
    font: 600 14px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
    text-align: center;
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.jem-download-button:hover {
    background: #e9edf3;
    color: #111827;
}

.jem-download-button:active {
    transform: translateY(1px);
}

.jem-download-button.is-primary {
    border-color: #2f6fed;
    background: #2f6fed;
    color: #fff;
}

.jem-download-button.is-primary:hover {
    border-color: #245bd0;
    background: #245bd0;
    color: #fff;
}

.jem-download-button.is-locked {
    flex-direction: column;
    gap: 2px;
    padding: 7px 18px;
    border-color: #e5e7eb;
    background: #f7f8fa;
    color: #9aa3af;
    cursor: not-allowed;
}

.jem-download-button.is-locked:hover {
    background: #f7f8fa;
    color: #9aa3af;
}

.jem-download-button.is-locked small {
    color: #aeb5bf;
    font-size: 10px;
    font-weight: 500;
}

.jem-download-hint {
    margin: 12px 0 0;
    color: #98a1aa;
    font-size: 11px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .jem-download {
        margin-top: 28px;
        padding: 18px 16px;
    }

    .jem-download-buttons {
        gap: 8px;
    }

    .jem-download-button {
        flex: 1 1 130px;
        padding: 0 14px;
    }
}
