.dl-profile-sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 640px;
}

.dl-profile-card {
    background: #181818;
    border: 1px solid #2a2a2a;
    padding: 20px 24px;
}

.dl-profile-card-danger {
    text-align: center;
}

.dl-profile-card-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dl-profile-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dl-profile-row .dl-input {
    flex: 1;
}

.dl-input-code {
    max-width: 120px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 4px;
}

.dl-btn-save {
    white-space: nowrap;
    background: #82ae36;
    color: #000;
    border: none;
    padding: 12px 22px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
}

.dl-btn-save:hover {
    opacity: .85;
}

.dl-btn-save:disabled {
    opacity: .5;
    cursor: default;
}

.dl-profile-avatar-upload {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dl-profile-avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #82ae36;
    flex-shrink: 0;
    border: 2px solid #82ae36;
}

.dl-profile-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dl-file-label {
    cursor: pointer;
    display: inline-block;
}

.dl-profile-favs {
    margin-top: 4px;
}

.dl-profile-empty {
    color: #666;
    font-size: 14px;
    padding: 12px 0;
}

.dl-profile-fav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dl-profile-fav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    background: #000;
    text-decoration: none;
    transition: background .2s;
}

.dl-profile-fav-item:hover {
    background: #1a1a1a;
}

.dl-profile-fav-item img,
.dl-fav-thumb-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #82ae36;
    font-size: 20px;
    flex-shrink: 0;
}

.dl-profile-fav-info {
    flex: 1;
}

.dl-profile-fav-title {
    color: #fff;
    font-size: 15px;
}

.dl-profile-fav-cost {
    color: #82ae36;
    font-size: 13px;
    margin-top: 2px;
}

.dl-btn-danger {
    background: transparent;
    color: #ff4444;
    border: 1px solid #ff4444;
    padding: 12px 28px;
    cursor: pointer;
    font-weight: 600;
    transition: all .2s;
}

.dl-btn-danger:hover {
    background: #ff4444;
    color: #000;
}

.dl-profile-msg {
    font-size: 13px;
    margin-top: 8px;
    min-height: 18px;
}

.dl-profile-msg.success {
    color: #82ae36;
}

.dl-profile-msg.error {
    color: #ff4444;
}

@media (max-width: 768px) {
    .dl-profile-row {
        flex-direction: column;
        align-items: stretch;
    }

    .dl-profile-row .dl-input,
    .dl-profile-row .dl-btn {
        width: 100%;
    }

    .dl-input-code {
        max-width: none;
    }

    .dl-profile-avatar-upload {
        flex-direction: column;
        text-align: center;
    }
}
