.anime-download-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin: 32px 0;
    padding: 24px;
    border: 1px solid rgba(124, 58, 237, .18);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(241, 247, 255, .92));
    box-shadow: 0 16px 44px rgba(47, 65, 120, .12);
}

.anime-download-kicker,
.anime-dl-kicker {
    margin: 0 0 8px;
    color: #e11d48;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.anime-download-panel h3 {
    margin: 0 0 14px;
    color: #161a2f;
    font-size: 24px;
}

.anime-download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.anime-download-meta span,
.anime-dl-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    color: #46516b;
    font-size: 13px;
    font-weight: 700;
}

.anime-download-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    min-width: 172px;
}

.anime-download-primary,
.anime-download-btn,
.anime-dl-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: #ff4d6d;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 12px 28px rgba(255, 77, 109, .28);
}

.anime-download-btn span {
    margin-right: 8px;
}

.anime-download-secondary,
.anime-dl-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    background: #fff;
    color: #1f2a44 !important;
    font-weight: 800;
    text-decoration: none !important;
}

.anime-download-code {
    color: #6b7280;
    font-size: 13px;
    text-align: center;
}

.anime-dl-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 56px;
}

.anime-dl-hero {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.anime-dl-cover {
    overflow: hidden;
    border-radius: 8px;
    background: #101525;
    box-shadow: 0 18px 44px rgba(24, 35, 78, .2);
    aspect-ratio: 4 / 5;
}

.anime-dl-cover img,
.anime-dl-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.anime-dl-info h1,
.anime-dl-list-head h1 {
    margin: 0;
    color: #151827;
    font-size: 42px;
    line-height: 1.15;
}

.anime-dl-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.anime-dl-desc,
.anime-dl-list-head p {
    color: #536079;
    font-size: 16px;
    line-height: 1.8;
}

.anime-dl-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.anime-dl-main-btn.is-disabled {
    opacity: .65;
}

.anime-dl-password {
    margin-top: 16px;
    color: #4b5563;
}

.anime-dl-password.is-locked,
.anime-download-code.is-locked {
    color: #e11d48;
    font-weight: 800;
}

.anime-dl-channels {
    margin-top: 36px;
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
}

.anime-dl-channels h2 {
    margin: 0 0 18px;
    color: #171c2f;
    font-size: 24px;
}

.anime-dl-channel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.anime-dl-channel:first-of-type {
    border-top: 0;
}

.anime-dl-channel h3 {
    margin: 4px 0 0;
    color: #151827;
    font-size: 20px;
}

.anime-dl-channel-no {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(34, 199, 216, .12);
    color: #087987;
    font-size: 12px;
    font-weight: 800;
}

.anime-dl-comment-tip {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(255, 77, 109, .1);
    color: #9f1239;
    font-weight: 700;
}

.anime-dl-comment-tip a {
    margin-left: 8px;
    color: #be123c;
    text-decoration: underline;
}

.anime-dl-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.anime-dl-grid > div,
.anime-dl-list-head {
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
}

.anime-dl-grid h2 {
    margin: 0 0 16px;
    color: #171c2f;
    font-size: 22px;
}

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

.anime-dl-spec li {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.anime-dl-spec span {
    color: #7a8499;
}

.anime-dl-spec strong,
.anime-dl-note {
    color: #263047;
}

.anime-dl-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.anime-dl-card {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #fff;
}

.anime-dl-card a {
    color: inherit;
    text-decoration: none;
}

.anime-dl-card img {
    aspect-ratio: 16 / 10;
}

.anime-dl-card div {
    padding: 16px;
}

.anime-dl-card h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.anime-dl-card p {
    margin: 0;
    color: #667085;
}

@media (max-width: 760px) {
    .anime-download-panel,
    .anime-dl-hero,
    .anime-dl-grid {
        grid-template-columns: 1fr;
    }

    .anime-dl-info h1,
    .anime-dl-list-head h1 {
        font-size: 32px;
    }

    .anime-download-actions {
        min-width: 0;
    }

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