.dl-page {
    max-width: 1080px;
    margin: 0 auto 2rem;
}

.dl-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 24px;
    padding: 28px 32px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.22), transparent 42%),
        linear-gradient(135deg, #005eca 0%, #266cbd 58%, #478bc7 100%);
    color: #fff;
    overflow: hidden;
}

.dl-hero__copy {
    max-width: 560px;
}

.dl-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.dl-hero__title {
    margin: 12px 0 8px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
}

.dl-hero__subtitle {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.dl-hero__visual {
    flex: 0 0 auto;
}

.dl-hero__logo {
    display: block;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 18px 36px rgba(8, 28, 64, 0.28);
}

.dl-phone {
    width: 132px;
    height: 230px;
    padding: 12px 10px;
    border-radius: 28px;
    background: #0d1b2e;
    box-shadow: 0 18px 36px rgba(8, 28, 64, 0.28);
    position: relative;
}

.dl-phone__notch {
    width: 48px;
    height: 8px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #1c3354;
}

.dl-phone__screen {
    height: calc(100% - 18px);
    border-radius: 16px;
    background: linear-gradient(180deg, #e8f1ff 0%, #ffffff 40%);
    padding: 14px 12px;
}

.dl-phone__bar {
    height: 10px;
    width: 58%;
    border-radius: 999px;
    background: #005eca;
    margin-bottom: 12px;
}

.dl-phone__line,
.dl-phone__pills span {
    display: block;
    border-radius: 8px;
    background: #d7e4f7;
}

.dl-phone__line {
    height: 36px;
    margin-bottom: 8px;
}

.dl-phone__line--short {
    height: 24px;
    width: 72%;
}

.dl-phone__pills {
    display: flex;
    gap: 6px;
    margin-top: 16px;
}

.dl-phone__pills span {
    flex: 1;
    height: 28px;
}

.dl-card {
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    padding: 22px 22px 20px;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
}

.dl-hero--compact {
    padding: 22px 28px;
}

.dl-hero--compact .dl-hero__title {
    font-size: 1.55rem;
}

.dl-admin-bar {
    display: flex;
    justify-content: flex-end;
}

.dl-card--android {
    border-color: #cfe0f6;
}

.dl-card--upload {
    border-color: #d7e4f4;
    margin-bottom: 0;
}

.dl-card__icon--upload {
    background: #eaf3ff;
    color: #005eca;
}

.dl-upload-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dl-upload-form__row .form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.dl-upload-form .form-control {
    font-size: 0.92rem;
}

.dl-upload-form .dl-btn-download {
    align-self: flex-start;
    margin-top: 4px;
}

.dl-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.dl-card__icon--android {
    background: #e8f6ec;
    color: #3ddc84;
}

.dl-card__icon--play {
    background: #eef5ff;
    color: #1a73e8;
}

.dl-card__icon--ios {
    background: #f3f4f6;
    color: #111;
}

.dl-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.dl-card__head h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.dl-pill {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #005eca;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.dl-pill--muted {
    background: #f1f3f6;
    color: #6b7280;
}

.dl-card__desc,
.dl-card__hint {
    color: #5f6b7a;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.dl-card__hint {
    margin: 12px 0 0;
    font-size: 0.85rem;
}

.dl-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 0.88rem;
}

.dl-meta li + li {
    margin-top: 4px;
}

.dl-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #005eca 0%, #266cbd 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
}

.dl-btn-download:hover,
.dl-btn-download:focus {
    color: #fff;
    background: linear-gradient(180deg, #0052b3 0%, #1f5ca3 100%);
}

.dl-btn-download:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.dl-missing {
    color: #b45309;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.dl-android-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.dl-android-actions__copy {
    flex: 1 1 180px;
}

.dl-qr-hint {
    margin: 0 0 12px;
    color: #374151;
    font-size: 0.92rem;
    font-weight: 600;
}

.dl-qr-note {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.45;
}

.dl-qr {
    width: 148px;
    height: 148px;
    margin: 8px auto 0;
    border-radius: 12px;
    border: 1px dashed #d0d7e2;
    background:
        repeating-linear-gradient(90deg, #eef2f7 0 10px, transparent 10px 20px),
        repeating-linear-gradient(0deg, #eef2f7 0 10px, transparent 10px 20px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aa3b2;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.dl-qr--live {
    margin: 0;
    width: 156px;
    height: 156px;
    padding: 8px;
    border: 1px solid #d7e4f4;
    background: #fff;
}

.dl-qr--live img {
    width: 100%;
    height: 100%;
    display: block;
    image-rendering: pixelated;
}

.dl-qr span {
    background: rgba(255, 255, 255, 0.92);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
}

.dl-guide {
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    padding: 22px 24px;
}

.dl-guide h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.dl-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.dl-steps li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.dl-steps li + li {
    margin-top: 12px;
}

.dl-steps__num {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eaf3ff;
    color: #005eca;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dl-guide__note {
    margin: 0;
    color: #6b7280;
    font-size: 0.88rem;
}

@media (max-width: 768px) {
    .dl-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
    }

    .dl-hero__title {
        font-size: 1.55rem;
    }

    .dl-hero__visual {
        align-self: center;
    }
}
