
.mcf-download-wrap {
    margin: 1.75rem 0 2rem;
    color: inherit;
    font-size: inherit;
}

.mcf-download-panel {
    margin: 1.15rem 0 .9rem;
    padding: .95rem;
    border: 1px solid #d8ead8;
    border-top: 3px solid #0d7a1a;
    border-radius: 6px;
    background: #f8fcf8;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .04);
}

.mcf-download-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: .65rem;
    margin: 0 0 .95rem;
    padding: 0 0 .95rem;
    border-bottom: 1px solid #dcebdc;
}

.mcf-download-info-item {
    min-width: 0;
    padding: .7rem .75rem;
    border: 1px solid #dcebdc;
    border-radius: 5px;
    background: #fff;
    line-height: 1.35;
}

.mcf-download-info-label {
    display: block;
    margin: 0 0 .2rem;
    color: #334155;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.mcf-download-info-value {
    color: #111827;
    font-weight: 600;
}

.mcf-download-info-value a {
    color: #006600;
    font-weight: 700;
    text-decoration: none;
}

.mcf-download-info-value a:hover,
.mcf-download-info-value a:focus {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mcf-download-section {
    margin: 0 0 .95rem;
    padding: 0;
    line-height: 1.55;
}

.mcf-download-section-title {
    display: block;
    margin: 0 0 .55rem;
    font-weight: 700;
    color: #111827;
}

.mcf-download-section-text {
    margin: 0 0 .75rem;
    color: #334155;
    font-size: .9rem;
    font-style: normal;
    line-height: 1.5;
}

.mcf-download-download-text {
    font-style: italic;
}

.mcf-download-chip {
    display: inline-block;
    margin: 0 .2rem .25rem 0;
    padding: .14rem .42rem;
    border: 1px solid #cfe6cf;
    border-radius: 4px;
    background: #fff;
    color: #006600;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.3;
}

.mcf-download-chip-loader-mod {
    border-color: #cfe6cf;
    background: #f2fbf2;
    color: #006600;
}

.mcf-download-chip-loader-resourcepack {
    border-color: #d5c7ff;
    background: #f6f2ff;
    color: #5b2db5;
}

.mcf-download-chip-loader-shader {
    border-color: #b9c7ff;
    background: #eef2ff;
    color: #243aa8;
}

.mcf-download-chip-loader-map {
    border-color: #ffd6a7;
    background: #fff7ed;
    color: #b45309;
}

.mcf-download-chip-loader-modpack {
    border-color: #bde3ff;
    background: #eff8ff;
    color: #0369a1;
}

.mcf-download-compat-extra {
    display: inline-block;
    margin-left: .35rem;
    color: #334155;
}

.mcf-download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: .75rem;
}

.mcf-download-card {
    padding: .85rem .8rem;
    border: 1px solid #dcebdc;
    border-radius: 5px;
    background: #fff;
    text-align: center;
}

.mcf-download-version {
    display: block;
    margin: 0 0 .65rem;
    padding-bottom: .45rem;
    border-bottom: 1px solid #e4efe4;
    color: #006600;
    font-weight: 800;
}

.mcf-download-files {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .35rem;
}

.mcf-download-file {
    display: inline-flex;
}

.mcf-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: .42rem .8rem;
    border: 1px solid #087415;
    border-radius: 5px;
    background: #087415;
    color: #fff !important;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
}

.mcf-download-btn:hover,
.mcf-download-btn:focus {
    border-color: #006600;
    background: #006600;
    color: #fff !important;
    text-decoration: none !important;
}

.mcf-download-btn.is-disabled {
    border-color: #cbd5e1;
    background: #e2e8f0;
    color: #475569 !important;
    cursor: not-allowed;
}

.mcf-download-all {
    margin: .95rem -.95rem -.95rem;
    padding: .75rem .95rem;
    border-top: 1px solid #dcebdc;
    text-align: center;
}

.mcf-download-all a {
    color: #006600;
    font-size: .88rem;
    font-style: italic;
    font-weight: 700;
    text-decoration: none;
}

.mcf-download-all a:hover,
.mcf-download-all a:focus {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 640px) {
    .mcf-download-panel {
        padding: .75rem;
    }

    .mcf-download-info {
        grid-template-columns: 1fr;
        gap: .5rem;
    }

    .mcf-download-grid {
        grid-template-columns: 1fr;
    }

    .mcf-download-all {
        margin: .75rem -.75rem -.75rem;
    }
}
